kinow commented on PR #2123: URL: https://github.com/apache/jena/pull/2123#issuecomment-1843807809
Hi @neumarcx ! +1 for "Upload status"! >how about the following mockup. "Success" and / or "Failure" may actually not need to be shown prior to the upload. My first prototype didn't show the status by default, then I realized it would "move things in the UI". That's considered bad for UX [^1], but more importantly can impact performance negatively [^2], so it'd be nice if we could find a permanent place that doesn't move too much. And I didn't use colors because the red would attract your eyes (at least it does to me when I open a page like that), even if it says 0. So instead of users slowly reading the page, their first eye scanning would be to look at the red, and then proceed to use the page[^3]. Green would have the same effect, and it has also color-blindness issues [^4]. I tried to place each number in a fixed location using table columns so users would know where to find them, once they learn it. But a single line without a table could work too. [^1]: that's CLS, and I hate it because some sites (Twitter, DeviantArt, ...) and apps (Zoom, Discord) have this, that when you have your mouse over a button and something happens and the DOM elements shift, and you end up clicking on something else: https://javascript.plainenglish.io/3-ways-to-fix-cumulative-layout-shift-53df8bea1e0f?gi=e99977032785 [^2]: because it moves other HTML DOM elements, which might cause JS to have to re-render code like Vue.js components, and redraw things [^3]: related to visual weight & visual direction: https://www.smashingmagazine.com/2014/12/design-principles-visual-weight-direction/#visual-weight [^4]: https://www.smashingmagazine.com/2016/06/improving-color-accessibility-for-color-blind-users/#6-color-combinations -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
