DiamondLightSource / DiamondLightSource/mx-daq-ui

Allow for stacking snackbars

Open
#134 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
TypeScript
Stars
1
Forks
1
Avg merge
23h 4m
Merged PRs (30d)
8

Description

Following from #131

Though MUI docs suggest to only have a single snackbar at a time, they admit that it's quite common practice to have multiple snackbars. They even suggest to use the [notistack](https://github.com/iamhosseindhv/notistack) API to replace the MUI snackbar as it itself is built upon the MUI snackbar.

It may require a bit of refactoring though so ideally it would be done once the important functionality it working and tests have been created.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing issue #131 and the MUI snackbar guidance linked in this issue, then compare the current snackbar behavior with the notistack API. The work is complete when multiple snackbars can be displayed and managed correctly, with tests covering the new behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.