-
Notifications
You must be signed in to change notification settings - Fork 490
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
Status Message - Improve UI #4842
Comments
In backlog grooming today, there was some discussion about how it would be a little extra work to keep the dismissed message dismissed as the user navigates around the site. |
I just made pull request #5118 and moved this issue to code review at https://waffle.io/IQSS/dataverse |
Changed the UI component of the status header from a label to a warning alert. This will allow for the There are some things still to determine for this new layout.
Still have some minor HTML cleanup to do to get this ready to put back into code review, but wanted to get this screenshot in front of folks as well as the questions above. |
…up to an alert below the navbar [ref #4842]
With the entire status message now on screen, we want users to be able to dismiss this. If so, we need to store the fact that they dismissed in the session, so it doesn't just pop up when they navigate to another page. (unless there's some primefaces way to track this, but I don't know if they track that across the session automatically) |
Removed previous screenshot of the layout in order to update it here based on changes approved by @TaniaSchlatter. Layout is good and checked in, just need to work on the cookies for the dismissible functionality. |
@mheppler I've wired up the dismiss button to a session based variable. Let me know what you think. |
Looks good! The only question I had was if the status msg is X'd out while there no session, and then you log in, then there is no msg displayed. Should there be? |
@mheppler I had the alert close following the flow of the other info in the session, so it gets cleared on logout but does not on login. I can add another hook to clear it on login as well if this doesn't seemed like enough for supporting multiple users sharing the same computer. |
@matthew-a-dunlap: I selected French language in the interface, but the status message still remains in English. |
@matthew-a-dunlap:
|
I think that this issue is related to #5090 .
I have seen it on Spanish in e-ciencia Datos and now I see this message
in Spanish for all interface languages :
[image: image.png]
[image: image.png]
[image: image.png]
Juan Corrales
El lun., 15 oct. 2018 a las 17:09, JayanthyChengan (<
[email protected]>) escribió:
… @matthew-a-dunlap <https://github.com/matthew-a-dunlap>: I selected
French language in the interface, but the status message still remains in
English.
[image: screen shot 2018-10-15 at 11 07 38 am]
<https://user-images.githubusercontent.com/12862735/46959713-ae0d0600-d06a-11e8-83ce-fc50eccdbc30.png>
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#4842 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAT5CKaC7dnPHcWTM4_gIYme1cpM2rljks5ulKUNgaJpZM4VPQON>
.
|
@juancorr: Thanks for the images, |
Hi @JayanthyChengan, I am not completely safe. I think that the status message is in Spanish because I have visited this page in Spanish and language is not updated in some places. I have not added the " <f:view>". |
I was wrong, this issue is not related to #5090. " <f:view>" tag translate the "Manage Harvesting Clients" but not the login page. |
FYI, those messages are not what is meant by the "status message" which is text defined in the settings. If there is an issue with these other messages, would you mind opening up a separate issue? For the status message, the challenge for internationalization is that this is not text that is distributed with the code (or as an auxiliary component) but that is decided on by the admin. So an admin would need to decide to add an ad hoc status message and then all needed translations? That seems overwhelming. (from a technical perspective we could probably store each language status as a separate setting, or store the setting as a Map? Anyway, I suggest we keep the scope of this as primary language only and create a new issue where we can discuss how we will manage this for other languages. |
@juancorr @JayanthyChengan to reiterate what @scolapasta is saying, can you please create a new issue for the bug you found? Thanks! I'm moving this to QA after taking another look at pull request #5118 now that @mheppler and @matthew-a-dunlap have finished it off. |
@JayanthyChengan thanks! |
While reviewing the new navbar language toggle contributed by community developer @JayanthyChengan, the design team determined that the
:StatusMessageHeader
label, which displays just to the right of the Dataverse branding, will need to be moved in order to improve it's ability to communicate messages, as well as clear out a lil more real estate for the new navbar link.One solution that we liked was similar to an example found in a Stack Overflow answer.
The text was updated successfully, but these errors were encountered: