Raku / doc-website

Tooling to build/run the documentation website
Artistic License 2.0
7 stars 10 forks source link

Issues with popup - contrast, usability, history #382

Open andinus opened 3 months ago

andinus commented 3 months ago

On dark mode the contrast is quite bad, seems good on light mode. Here is a screenshot:

Screenshot 2024-05-15 at 10 22 27 AM

Regarding usability, most of the time I open the docs website from a fresh browser, i.e. local storage is wiped. My primary browser does it after every restart, so using the docs site has one extra step now, to close the popup - distracting. Of course, this is all because I don't persist local storage in the first place.

It is a good idea though. Can we think of a less distracting way? One idea is to add a distinctive banner below the navbar (screenshot below) - on clicking read more, ~it can either expand in place to show the announcement or show it in a popup. And the banner also disappears once the user has clicked read more.~ (Since we have an announcements page, that link can open that and there can be a 'x' button on that banner to suppress it)

Screenshot 2024-05-15 at 10 35 58 AM

~Also, if the visitor accidentally closes the popup, the only way to see that announcement again is visit the page in private more, but they might not realize that. Maybe we should add an "Announcements" page that lists previous announcements.~

I see that this page already exists, I got the link from Rakudo Weekly. I looked at the navbar for link to the announcements page.

finanalyst commented 3 months ago

@andinus Thank you for the feedback. I agree these are reasonable ideas! In fact I asked similar questions during the discussion about the design. The choices were made for pragmatic reasons because I did not have enough time to sort out all the compatibility issues.

So I think that the issues you raise are interesting and touch on a basic Raku community goal of making things inclusive to everyone. We are a community, so community feedback is needed to resolve some of these issues

I hope these considerations indicate why this new functionality is the way it is at present, but also that these features are not set in stone and we welcome ideas and suggestions for change.