Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🚀 Feature: Creating a reusable loader for all the tabs while fetching responses. #1181

Closed
1 task done
ManishMadan2882 opened this issue Oct 1, 2024 · 11 comments · Fixed by #1188
Closed
1 task done
Assignees
Labels
frontend good first issue Good for newcomers hacktoberfest help wanted Extra attention is needed

Comments

@ManishMadan2882
Copy link
Collaborator

ManishMadan2882 commented Oct 1, 2024

🔖 Feature description

  1. Create a reusable skeleton component to handle asynchronous data(fetch)
  2. Component can be integrated in Settings > Documents, Chatbots, Analytics, logs

🎤 Why is this feature needed ?

Improves UX: Providing a skeleton loader helps maintain user engagement by showing a visual placeholder instead of a blank screen. This reduces perceived loading times and enhances the overall user experience.

✌️ How do you aim to achieve this?

The loader component will be designed to be highly flexible and customizable, enabling it to adapt to different shapes and structures (example: tables).

🔄️ Additional Information

Skeleton should match the design of the component in the ConversationBubble component, which appears until the sources are streamed.

👀 Have you spent some time to check if this feature request has been raised before?

  • I checked and didn't find similar issue

Are you willing to submit PR?

None

@ManishMadan2882 ManishMadan2882 added good first issue Good for newcomers help wanted Extra attention is needed hacktoberfest frontend labels Oct 1, 2024
@Vidhanvyrs
Copy link

hi @ManishMadan2882 can i work on this please assign it to me

@prathamesh424
Copy link
Contributor

hi @ManishMadan2882 I want to work on this issue can you assign it to me

@prathamesh424
Copy link
Contributor

solved issue #1188

@prathamesh424
Copy link
Contributor

prathamesh424 commented Oct 2, 2024

I solved the issue in #1188 ,so assign to me and merge the pull request @larinam , @jbampton , @ManishMadan2882
Screenshot 2024-10-01 231410

@prathamesh424
Copy link
Contributor

@dartpain , @larinam @jbampton you can check now added skeleton loader

call the function count represent the number of cards

dark theme :

Screen.Recording.2024-10-04.234152.mp4

light theme:

Screen.Recording.2024-10-04.233837.mp4

@prathamesh424
Copy link
Contributor

@dartpain updated the settings component

@KaranSingh36752
Copy link

@prathamesh424 did you make the dark theme also if not I want to make whole website option in dark theme?

@prathamesh424
Copy link
Contributor

@dartpain @larinam @jbampton

Updated the loading state and loader in the settings component :

Screenshot 2024-10-06 110355
Screenshot 2024-10-06 110859
Screenshot 2024-10-06 110914
Screenshot 2024-10-06 111143
Screenshot 2024-10-06 105221

@prathamesh424
Copy link
Contributor

@prathamesh424 did you make the dark theme also if not I want to make whole website option in dark theme?

support dark and light theme both

@KaranSingh36752
Copy link

Yeah i checked it was in settings..

@prathamesh424
Copy link
Contributor

@dartpain check out ..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
frontend good first issue Good for newcomers hacktoberfest help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants