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 dialog to announce new features in the UI #4814
Conversation
…er-modal Refactor NewFeatureDialog to only show once on form landing page
The new feature dialog used outdated wording; I've updated with the exception of removing "web forms" from the copy. This feature applies to *all* anonymous submissions, not just those made through Enketo web forms. If further adjustment is needed, it can be done in a separate PR. Internal discussion: https://chat.kobotoolbox.org/#narrow/stream/7-Kobo-UX.2FUI.2FProduct/topic/Project-level.20control.20of.20anonymous.20submission/near/327893
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Functionality looks good 👍 Thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oops, actually, there's an issue. The notification dismissal needs to be stored per user. I'll see if I can make a quick change myself. (If Patrick logs in, dismisses the notification, logs out, and later Kate logs in, Kate should still see the message.)
Description
Adds a new dialog component that can be placed on new features which may not stand out at first glance.
Notes
Dialog is a wrapper for whatever component needs to be featured. CSS places the dialog relative to the left-most part of the child. On close, the dialog adds a variable to localstorage and will not show again unless changed.
Related issues
Internal discussion:
https://chat.kobotoolbox.org/#narrow/stream/7-Kobo-UX.2FUI.2FProduct/topic/Project-level.20control.20of.20anonymous.20submission
Part of: #4728