Skip to content

refactor: connection status UX - #13518

Merged
antobinary merged 4 commits into
bigbluebutton:developfrom
JoVictorNunes:issue-13231
Nov 23, 2021
Merged

antobinary merged 4 commits into
bigbluebutton:developfrom
JoVictorNunes:issue-13231

Conversation

@JoVictorNunes

Copy link
Copy Markdown
Contributor

What does this PR do?

This PR refactors connection status modal while implementing new UX.

Captura de tela de 2021-10-19 10-01-58

Captura de tela de 2021-10-19 10-02-01

Captura de tela de 2021-10-19 10-02-03

Captura de tela de 2021-10-19 10-10-45

Closes Issue(s)

Closes #13231

@antobinary antobinary added this to the Release 2.5 milestone Oct 19, 2021
@prlanzarin

Copy link
Copy Markdown
Member

Are we entirely removing the quick access buttons to the data savings options?

@JoVictorNunes

Copy link
Copy Markdown
Contributor Author

@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.

@pedrobmarin

Copy link
Copy Markdown
Collaborator

How does it look like on mobile?

@JoVictorNunes

JoVictorNunes commented Oct 19, 2021 •

Copy link
Copy Markdown
Contributor Author

mobile-view
mobile-view2

@antobinary

Copy link
Copy Markdown
Member

@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.

@JoVictorNunes

JoVictorNunes commented Oct 19, 2021 •

Copy link
Copy Markdown
Contributor Author

On mobile version, I was thinking of putting the button to open data saving options next to the "Copy Stats" button.

@prlanzarin

prlanzarin commented Oct 19, 2021 •

Copy link
Copy Markdown
Member

@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.

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?

@pedrobmarin

Copy link
Copy Markdown
Collaborator

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?

@Jossef-767

Copy link
Copy Markdown

What does it look like in RTL mode?

@JoVictorNunes

Copy link
Copy Markdown
Contributor Author

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.

@JoVictorNunes

Copy link
Copy Markdown
Contributor Author

How does the other modals display their close button on 2.5? They follow the same design?

I think so. There is a common Modal component that is built on top of react-modal

@JoVictorNunes

Copy link
Copy Markdown
Contributor Author

What does it look like in RTL mode?

Captura de tela de 2021-10-20 10-07-56

Captura de tela de 2021-10-20 10-08-02

Captura de tela de 2021-10-20 10-08-40

Captura de tela de 2021-10-20 10-08-58

Note: mobile view is same as #13518 (comment)

@pedrobmarin

Copy link
Copy Markdown
Collaborator

How does the other modals display their close button on 2.5? They follow the same design?

I think so. There is a common Modal component that is built on top of react-modal

This is what I found for other modals at the develop branch
Screenshot 2021-10-20 at 11-29-55 BigBlueButton - Demo Meetingdfg - Join audio modal
:
Screenshot 2021-10-20 at 11-30-07 BigBlueButton - Demo Meetingdfg - Webcam settings
Screenshot 2021-10-20 at 11-30-29 BigBlueButton - Demo Meetingdfg - Closed captions

So there's a difference

@JoVictorNunes

Copy link
Copy Markdown
Contributor Author

Hello, @pedrobmarin.

Captura de tela de 2021-10-21 09-17-58

Captura de tela de 2021-10-21 09-18-04

What do you think?

@pedrobmarin

Copy link
Copy Markdown
Collaborator

Way better, thanks @JoVictorNunes

@JoVictorNunes

Copy link
Copy Markdown
Contributor Author

Way better, thanks @JoVictorNunes

Nice! :D

@pedrobmarin

Copy link
Copy Markdown
Collaborator

I liked the border-radius used for the icon. Could we use the same for the connection status button? It could look like the icon in this print:
138275860-958ff510-2a40-4b47-91e9-df06655931a0

@JoVictorNunes

Copy link
Copy Markdown
Contributor Author

I liked the border-radius used for the icon. Could we use the same for the connection status button? It could look like the icon in this print: 138275860-958ff510-2a40-4b47-91e9-df06655931a0

Sure!

@JoVictorNunes

Copy link
Copy Markdown
Contributor Author

The connection status button already has the same border-radius. I think it's barely noticeable because the button is small. You can zoom it to see.

@JoVictorNunes

Copy link
Copy Markdown
Contributor Author

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?

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?

@prlanzarin

Copy link
Copy Markdown
Member

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.

@pedrobmarin

Copy link
Copy Markdown
Collaborator

The connection status button already has the same border-radius. I think it's barely noticeable because the button is small. You can zoom it to see.

Hmm, I see. I think this is because of the absolute sizing at the border-radius with pixels. I believe we can keep proportions using a font-size relational sizing (em, for instance)

@JoVictorNunes

JoVictorNunes commented Oct 21, 2021 •

Copy link
Copy Markdown
Contributor Author

Hmm, I see. I think this is because of the absolute sizing at the border-radius with pixels. I believe we can keep proportions using a font-size relational sizing (em, for instance)

I totally agree.

@JoVictorNunes

Copy link
Copy Markdown
Contributor Author

Data savings button that will be displayed:

Captura de tela de 2021-10-25 08-44-03

Captura de tela de 2021-10-25 08-44-24

@github-actions

Copy link
Copy Markdown

This pull request has conflicts ☹
Please resolve those so we can review the pull request.
Thanks.

@JoVictorNunes

Copy link
Copy Markdown
Contributor Author

Hello guys!
I proposed the "Connection Stats" tab with a pretty simple pagination so that it's possible to show the connection status icon on mobile devices.

Captura de tela de 2021-11-23 09-06-47
Captura de tela de 2021-11-23 09-06-55
Captura de tela de 2021-11-23 09-07-11
Captura de tela de 2021-11-23 09-07-16
Captura de tela de 2021-11-23 09-09-19
Captura de tela de 2021-11-23 09-09-25

@JoVictorNunes
JoVictorNunes marked this pull request as ready for review November 23, 2021 12:29
@sonarqubecloud

Copy link
Copy Markdown

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 4 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@antobinary
antobinary merged commit f8a73cf into bigbluebutton:develop Nov 23, 2021
ramonlsouza pushed a commit that referenced this pull request Nov 3, 2026
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Refactor Connection Status UX

6 participants