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

add snackbar on maintenance message #1902

Closed
wants to merge 3 commits into from
Closed

Conversation

AbdelHedhili
Copy link
Contributor

No description provided.

@AbdelHedhili AbdelHedhili self-assigned this Feb 7, 2024
@jamal-khey jamal-khey self-requested a review February 7, 2024 14:44
@@ -141,6 +145,12 @@ const App = () => {

const [tabIndex, setTabIndex] = useState(0);

const [maintenanceSnackBarId, setMaintenanceSnackBarId] = useState(null);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what happend if we recieve a second message before the first one expire ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

now the previous msg is cancelled when receiving a new one

Copy link
Contributor

@jamal-khey jamal-khey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tests and code Ok

@thangqp thangqp closed this Jul 24, 2024
@thangqp thangqp deleted the handle_maintenance_msg branch July 24, 2024 16:26
@thangqp thangqp restored the handle_maintenance_msg branch July 24, 2024 17:27
@thangqp thangqp reopened this Jul 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants