Skip to content

feat: assign random names and rotate them on each join - #48

Open
Arthurk12 wants to merge 1 commit into
mconf:masterfrom
Arthurk12:rotate-real-names
Open

Arthurk12 wants to merge 1 commit into
mconf:masterfrom
Arthurk12:rotate-real-names

Conversation

@Arthurk12

Copy link
Copy Markdown
Member

What does this PR do?

Testing a meeting with several participants means editing fullName by hand before every join, and the generated "User 1234567" tells nothing about which participant is which once they are in the meeting. Realistic names also make it easier to test features that depend on them, like user name search.

Add two independent toggles to the options bar. "Assign random names" fills fullName with a realistic name from Faker instead of the numbered one. "New name on each join" picks a new name every time a join link is opened, so repeated joins enter as different people without touching the menu. They are kept apart so the rotation also works with the numbered names, for anyone who does not want Faker names.

Defer the rotation with a zero timeout: regenerating the links replaces the anchor that was clicked, and doing that during the click cancels the navigation the browser is about to perform.

Vendor Faker as a locale-specific ES module bundle instead of loading it from a CDN, so the page keeps working offline and the version is pinned in the repository. The page has no bundler, so a prebuilt bundle is the only option short of adding one.

Screenshot from 2026-09-15 15-28-32

Testing a meeting with several participants means editing fullName by
hand before every join, and the generated "User 1234567" tells nothing
about which participant is which once they are in the meeting.

Add two independent toggles to the options bar. "Assign random names"
fills fullName with a realistic name from Faker instead of the numbered
one. "New name on each join" picks a new name every time a join link is
opened, so repeated joins enter as different people without touching the
menu. They are kept apart so the rotation also works with the numbered
names, for anyone who does not want Faker names.

Defer the rotation with a zero timeout: regenerating the links replaces
the anchor that was clicked, and doing that during the click cancels the
navigation the browser is about to perform.

Vendor Faker as a locale-specific ES module bundle instead of loading it
from a CDN, so the page keeps working offline and the version is pinned
in the repository. The page has no bundler, so a prebuilt bundle is the
only option short of adding one.

Leave the userID input alone in every combination of the toggles.
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.

1 participant