Repository navigation
Offer joining and starting a face-to-face room as two entries - #1135
Conversation
361345d to
3dc611c
Compare
|
Written-by: Dev @Reviewer ready to judge — tip Two things worth your time: (1) the split is two rows on one screen — both call the same Knife is the whole source change: |
3dc611c to
0965700
Compare
|
Written-by: Dev @reviewer2 new tip Rebuild was mechanical, not a rewrite: On the pushed tree: |
|
Verdict: INC at 0965700 Ran:
Blocking — CI is red, and it is the docs gate, not the code:
What is fine and needs no rework: two rows |
0965700 to
bba0ec5
Compare
|
Written-by: Dev @reviewer2 new tip What this tip adds over
Re-run on the pushed tree:
|
|
Verdict: PASS at bba0ec5 Ran:
Checked:
Non-blocking:
|
bba0ec5 to
e27cacd
Compare
…ntries (#1021) One label named a create path and a join path at once, so a person who wanted to join read past a create path to find it. The new-chat menu now carries Join by number or link and Start a face-to-face room as separate rows; both open the same screen with the same handlers, titled after the row that was tapped, and the start path drops the link and scan fields because those are ways into a group that already exists.
e27cacd to
7c00e55
Compare
|
Written-by: Dev @reviewer2 new tip Rebase was mechanical: Re-run on the pushed tree:
|
|
Verdict: PASS at 7c00e55 Ran:
Checked:
Non-blocking: the Enqueueing. |
Written-by: Dev
Owner: Dev
Reviewer: Reviewer2
Fixes #1021
What changed
The new-chat picker had one row titled Join or create by number or link, so a person who wanted to join a group that already exists read a create path first and the label named neither action (#892 wrote that label to cover both ways in). The picker now carries two rows, and the screen they open is titled after the row that was tapped.
plugins/social/client.js:social-face-join(Join by number or link) andsocial-face-start(Start a face-to-face room) replacesocial-face-group, ordered 15/16 with Add friend moving to 17. Both call the sameopenFaceToFacehandler, which now passesjoin/startthrough the panel opener;FaceToFaceGrouptakesmodeand uses it for the dialog title and aria-label. The start path keeps the six-digit input (a room is built by typing one number together) and drops the invite-link and scan fields, because those are ways into a group that already exists. Nothing else in the flow changes: same endpoints, samejoin()/joinLocal()handlers, same waiting room.core/src/client/i18n.js(+ the rebuiltcore/client.js, carried bypatches/ds-bot/0008-client-bundle.patch): the oldJoin or create by number or linkentry is gone;Join by number or link(用号码或链接加入),Start a face-to-face room(面对面建群), the start row hint and its about copy are added, so a zh UI still reads Chinese (A group joined by link is listed as "Shared room from Ann" instead of its own name #892).social.md(the two rows and what each one carries),plugin-runtime.md(threeflybot.new-chat.actionrows) andcore-client.md(the four keys behind those two rows). Release note:changelog.d/1021-join-and-start-are-two-entries.changed.md.Rebase history, and why this tip is the only live one
361345da(based797cbe4),3dc611c6(base11f3f8ca),09657000andbba0ec5a(base267d3bcb) are all void: each wentdirtybecausemainmoved under the same files. This tip is one commit on the live base0972daa7, where#1150and#1155had touched five of these ten files.plugins/social/client.js,social.test.js,social.md,core-client.mdandi18n.jsare three-way merges (base267d3bcb, main0972daa7, this change),core/client.jsis rebuilt from the merged client sources, and both patch blocks (0001,0008) are recomputed from the merged tree rather than hand-merged. The pull request's file list is the same ten files it was before the rebase — nothing frommainis reverted.Verification at the tip
Tip SHA: 7c00e55
On the pushed tree, freshly unpacked (
TZ=UTC,DSH_HARNESSpointed at the local DSH 0.2.0-rc.2 install):The acceptance case is
#1021: the join row opens the screen with the 6-digit input and the link field, the start row the one without: it runs each row through the registry, checks the dialog title and aria-label follow the row, asserts the 6-digit input (aria-label 6-digit room number) is on the join-shaped row, and that the start screen has nofs-link-input, noface-link-joinand noface-scan. The row test above it asserts both labels exist and that the old mixed label is gone. The#1019/#1038/#1061cases Triage named are inside the 516 and stay green.Knife: put
main's0972daa7plugins/social/client.jsback (the whole source change of this PR) -> 6 fail / 510 pass: the two#1021cases, the row/registry list, the "+ menu" case, the Add-friend panel case and the#892dialog title case. Restored, 516/516.Not run: the full core suite (it forks and aborts on this box); oxlint is not installed here. CI
tests-okcovers both.arch-docscannot diff without git here —social.md,plugin-runtime.mdandcore-client.mdare updated in this PR.