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

[ Fix : Snackbar Functionality and Enhancements ] #205

Open
rohitPandey469 opened this issue Feb 19, 2025 · 1 comment · May be fixed by #206
Open

[ Fix : Snackbar Functionality and Enhancements ] #205

rohitPandey469 opened this issue Feb 19, 2025 · 1 comment · May be fixed by #206
Labels
bug Something isn't working feature UI/UX

Comments

@rohitPandey469
Copy link
Contributor

Describe the bug
While addressing another issue, I encountered an problem within the Control Buttons file. The Snackbar state is not being effectively managed, resulting in the Snackbar component failing to execute. So, Messages such as "tutorial complete," "Updating...," in case of remove step and "Updated..." in case of step title update etc. are not visible.

To Reproduce
Steps to reproduce the behavior:
One way to check is while on completeing the step, a snack msg like tutorial complete at the bottom left.

  1. Go to 'localhost:5173'
  2. Click on 'Add new Tutorial'
  3. Add dummy steps
  4. Upon completing a step, observe the absence of the expected message (e.g., "tutorial complete") at the bottom left.

Expected behavior
The expected behavior includes displaying messages such as "tutorial complete," "resetting tutorial," and "Updating...." (for Step Removal) or "Updated...." (for Step Title Updation). Additionally, this state management issue of snack persist at multiple locations within the app.
image
Although the Snackbar component functions correctly in OrgUserCard.

Desktop (please complete the following information):

  • OS: Windows
  • Browser Chrome

Additional context
An alternative to this could be "toast", but the app already uses "snackbar," which is designed for studying-related features and is likely more suitable for our needs. But we can always change it.

@github-actions github-actions bot added bug Something isn't working feature UI/UX labels Feb 19, 2025
@rohitPandey469
Copy link
Contributor Author

@rajutkarsh07 Sir please check this one aswell, I have isolated the Snackbar Component code. And to see it's working we need to merge it with other PR's #190 (for Image Drawer) or fix the current problems with steps(in tutorial creation). Please look into this aswell

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working feature UI/UX
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant