explore page not have loading icon #4642

Closed
opened 2026-02-21 18:07:22 -05:00 by yindo · 1 comment
Owner

Originally created by @faye1225 on GitHub (Jul 17, 2024).

Self Checks

  • This is only for bug report, if you would like to ask a question, please head to Discussions.
  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • Please do not modify this template :) and fill in all the required fields.

Dify version

0.6.14

Cloud or Self Hosted

Cloud

Steps to reproduce

image

✔️ Expected Behavior

explore page need have loading icon

Actual Behavior

The loading icon does not appear on the explore page when a request is made

Originally created by @faye1225 on GitHub (Jul 17, 2024). ### Self Checks - [X] This is only for bug report, if you would like to ask a question, please head to [Discussions](https://github.com/langgenius/dify/discussions/categories/general). - [X] I have searched for existing issues [search for existing issues](https://github.com/langgenius/dify/issues), including closed ones. - [X] I confirm that I am using English to submit this report (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)). - [X] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:) - [X] Please do not modify this template :) and fill in all the required fields. ### Dify version 0.6.14 ### Cloud or Self Hosted Cloud ### Steps to reproduce <img width="1564" alt="image" src="https://github.com/user-attachments/assets/92cefb30-1b33-40c4-a738-0d4bad3e6419"> ### ✔️ Expected Behavior explore page need have loading icon ### ❌ Actual Behavior The loading icon does not appear on the explore page when a request is made
yindo added the 🐞 bug label 2026-02-21 18:07:22 -05:00
yindo closed this issue 2026-02-21 18:07:22 -05:00
Author
Owner

@dosubot[bot] commented on GitHub (Jul 17, 2024):

Hello @faye1225! I'm here to assist you with any bugs, questions, or contributions related to the Dify repository. Let me know how I can help you!

The loading icon on the "Explore" page is controlled by conditional checks in the component. Specifically, the loading icon is displayed when the categories data is not available:

if (!categories) {
  return (
    <div className="flex h-full items-center">
      <Loading type="area" />
    </div>
  )
}

Ensure that the categories data is being fetched correctly and that the state is managed properly to trigger the loading icon when necessary [1].

To continue talking to Dosu, mention @dosu.

@dosubot[bot] commented on GitHub (Jul 17, 2024): <!-- Greeting --> Hello @faye1225! I'm here to assist you with any bugs, questions, or contributions related to the Dify repository. Let me know how I can help you! <!-- Answer --> The loading icon on the "Explore" page is controlled by conditional checks in the component. Specifically, the loading icon is displayed when the `categories` data is not available: ```tsx if (!categories) { return ( <div className="flex h-full items-center"> <Loading type="area" /> </div> ) } ``` Ensure that the `categories` data is being fetched correctly and that the state is managed properly to trigger the loading icon when necessary <sup>[[1]](https://github.com/langgenius/dify/blob/main/web/app/components/explore/app-list/index.tsx)</sup>. <!-- Dosu Comment Footer --> *To continue talking to [Dosu](https://dosu.dev), mention @dosu.*
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#4642