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
Inform users of Terms of Use Update, Dismissible Banner #7263
Comments
This looks great! Do you think this feature will be available to admins through the GUI? |
Hi @BPeuch - we'd plan to implement the management of this through the API initially. |
For discussion as this enters development:
|
From sprint planning
|
Two user scenarios that represent Harvard use case:
|
Proposed Table Design: A Notification Banner table which would include a text field for header and message analogous to the settings table entries of :StatusMessageHeader and :StatusMessageText, and a nullable time stamp after which the message would not display. (if null, the message would have to be dismissed by each user.) A join table for NotificationBanner/AuthenticatedUser, which would include ids for each and a time stamp for when the user has dismissed the notification. Something like this: |
Immediate Questions: |
In the case of a user that is not logged in, I'm assuming that we would post any notification that has not expired. Once they log in we can check if they have dismissed it. |
Thanks @scolapasta and @sekmiller for discussing just now:
|
Updated table design based on recent discussion: if the boolean dismissibleByUser is false the banner will be shown until the record in the table is deleted. It may be dismissed in a session. If it is true then it will only be shown to logged in users (and only if the dismissalTime in the join table for that user is null) |
Reviewed a WIP demo. To dos include:
We discussed that if the user changes the language after dismissing the alert, the alert will not be displayed a second time, because changing the language does not change the session (or the user). |
We have a minor terms of use update coming for dataverse.harvard.edu. We've been directed that we can just inform users of this in the application, and this option is attractive to me as it does not require us to build a workflow for re-acceptance (covered in #4978).
My first thought is a dismissable banner with a quick message and a link to the TOU that, once dismissed, does not appear again. We'd need to track the dismissal somehow. This feature may also be useful for other messages that we want to show once, such as a release announcement or some announcement about an upcoming community meeting.
We have StatusMessageHeader and StatusMessageText available to us (http://guides.dataverse.org/en/latest/installation/config.html#id174) but don't think either of these are what we want (as they are messages turned off and on by admins), but we do want to use that banner pattern:
Thanks @TaniaSchlatter for the screenshot and also for stating this a different way: "...having 2 types of system alert banners that look and appear the same but have two different purposes; persistent until turned off by the admin, vs persistent until turned off by the user"
The text was updated successfully, but these errors were encountered: