Repository navigation
refactor: connection status UX - #13518
Conversation
|
Are we entirely removing the quick access buttons to the data savings options? |
|
@prlanzarin Yep! A new button to open the "Data saving" settings will be displayed below the status icon when the user is facing low bandwidth. |
|
How does it look like on mobile? |
|
@tylercopeland, does the mobile UI above match what you had in mind? @prlanzarin is there a requirement or a recommendation you'd like to express? Please share so we can adjust if needed before proceeding with this PR. |
|
On mobile version, I was thinking of putting the button to open data saving options next to the "Copy Stats" button. |
I have no requirements. I'm just not a fan of prioritizing technical info (like jitter or "Using TURN") in the UI over stuff that could be actually useful, on the spot, to the average end user (the data savings toggles being readily available like they currently are). What's the goal with having fine grained network stats data in the main tab of that modal? |
|
The other thing I had mentioned a couple of days ago was the close button. That looks off. It's collateral damage from a previous work done over this modal. How does the other modals display their close button on 2.5? They follow the same design? |
|
What does it look like in RTL mode? |
Some adjustments are still needed in RTL mode. I will share it with you as soon as it's done. |
I think so. There is a common Modal component that is built on top of react-modal |
Note: mobile view is same as #13518 (comment) |
This is what I found for other modals at the develop branch So there's a difference |
|
Hello, @pedrobmarin. What do you think? |
|
Way better, thanks @JoVictorNunes |
Nice! :D |
|
The connection status button already has the same |
Got you! But, as I said, a button for opening the "data savings" options will be displayed when the user is experiencing low bandwidth. So, what do you have in mind? Keep the data savings toggles? |
|
I guess the less invasive approach would be to always display the data savings shortcut/link regardless of the user's connection status. But that's something that Tyler has to weigh in; as I mentioned, this is not a requirement, just an opinion. |
Hmm, I see. I think this is because of the absolute sizing at the |
I totally agree. |
|
This pull request has conflicts ☹ |
b85c7a3 to
3e311ee
Compare
3e311ee to
e84cfab
Compare
|
Kudos, SonarCloud Quality Gate passed!
|
public.stats.help has had no visible effect since the connection status modal redesign (e84cfab, #13518, 2021). That commit deleted the "(more)" link that rendered the URL but kept this.help = getHelp() in the modal constructor, so the value has been validated, stored and never read. The default is the placeholder STATS_HELP_URL, which fails the URL check, so the link only ever appeared on servers that set the key. Remove the key from settings.yml and its two TypeScript mirrors, getHelp and URL_REGEX from connection-status/service.js (neither has another user), the assignment and the unused message definition from the modal, and the orphaned app.connection-status.more string from en.json. The other locale files are left to Transifex, as with other string removals. Dropping the yml key means an override that still carries public.stats.help is reported as an unknown key by the client-settings validator: a warning by default. With clientSettingsOverrideStrictValidation=true, bbb-apps-akka refuses to start on such an /etc/bigbluebutton/bbb-html5.yml and bbb-web rejects such a create call.




























What does this PR do?
This PR refactors connection status modal while implementing new UX.
Closes Issue(s)
Closes #13231