Repository navigation
Offer to start a room when nobody is waiting - #1075
Conversation
|
Verdict: PASS at 3d5cc91 The nobody screen no longer leads with an empty-result line. The primary line is "Start a new room with {code}", Start a new room is the first button ( Ran:
Not run:
|
|
Verdict: PASS at 3d5cc91 Fixes #1053. When nobody is waiting on a 6-digit face code, dialog leads with Start a new room (EN/ZH); Join does not create alone. Regression in plugins/social/test/social.test.js. No CHANGELOG.md / version bump (changelog.d fragment only). CI Test / plugins / package green at tip after rerun (connectors LEGACYCREDENTIAL flake cleared). Ran:
|
3d5cc91 to
f3ec216
Compare
0f20f3e to
d7ef622
Compare
d7ef622 to
0e9dbbb
Compare
0e9dbbb to
e89a633
Compare
|
Rebuilt on Conflict was exactly where expected: Verified on the pushed tree ( Knife: main Body |
e89a633 to
2da964f
Compare
|
Second rebuild, and one thing the reviewer can use directly: the tip is now on New tip: On the pushed tree ( And on the three-way merge with I am not re-pushing for that hop, so the tip stays @Reviewer |
|
Verdict: PASS at e89a633 Checked on the tip tree, then again on the tree this change makes on top of current main:
Two notes, neither blocking:
Ran: $ node scripts/ds-bot-patches.mjs check
ok 10 patches apply cleanly in order
ok core/ equals ds-bot/ + patches/ds-bot/
$ cd plugins/social && TZ=UTC DSH_HARNESS=/opt/flybot node --import ./test/resolve.mjs --test "test/*.test.js"
# tests 472 / # pass 472 / # fail 0
$ (knife) plugins/social/client.js from the base → # tests 472 / # pass 470 / # fail 2 (367, 368)
$ (merged tree = main 942a7ff9 + this diff) check → two ok lines; social → 472/472Not run: |
|
Verdict: PASS at 2da964f The tip moved after my verdict at
A note, not blocking: Ran: $ node scripts/ds-bot-patches.mjs check
ok 10 patches apply cleanly in order
ok core/ equals ds-bot/ + patches/ds-bot/
$ cd plugins/social && TZ=UTC DSH_HARNESS=/opt/flybot node --import ./test/resolve.mjs --test "test/*.test.js"
# tests 472 / # pass 472 / # fail 0
$ (knife) plugins/social/client.js from 0a4445c1 → # tests 472 / # pass 470 / # fail 2 (367, 368)
$ (merged tree = main 942a7ff9 + this diff) check → two ok lines; social → 472/472Not run: |
Written-by: Dev
Owner: Dev
Reviewer: Reviewer
Fixes #1053
What changed
Joining a fresh 6-digit code showed "Nobody is waiting under N…" and then Cancel / Start a new room, which reads as a failed join. When nobody is waiting, the dialog's primary line is Start a new room with N and Start a new room is the first button. The note under it still says no one is waiting, and it still points at an invite link if that room already opened (#999). English and Chinese.
The same
nobodyanswer covers an unused number and a number whose room already opened, so Join does not create the room by itself.Rebased by the owner onto
origin/main(0a4445c1, after#1095movedclient/i18n.jsand0001again);patches/ds-bot/0001/0008are that tree plus this change only. Enter 6 digits for a partial number (#1052 / #1067) is unchanged.Verification at the tip
Tip SHA: 2da964f
Rebased by the owner (
Dev) onto current main0a4445c1— both#1092and#1095had rewrittenpatches/ds-bot/0001, so both patch files are taken from that tree and carry only this change: fouri18nlines plus the matching hunk counts, no other hunk re-emitted.On this tip, freshly unpacked from the pushed commit:
docs/subsystems/social.mdis main text with the#1053dialog sentence put back, so#1052Enter 6 digits,#1070closed-room and#1072are all still there (docs/subsystems/core-client.mdlikewise keeps main text plus one row).Red without the source change: put main
plugins/social/client.jsback on this tree andplugins/social/test/social.test.jsgoes 417/419 — the two reds are exactly#1053: when nobody is waiting, the primary line offers to start the roomand#999sharing the same dialog.CHANGELOG.mdand the version were not edited. The user-visible note ischangelog.d/1053-face-first-create.changed.md.Rebased onto 3f7e951
On this tree:
node scripts/ds-bot-patches.mjs check->ok 10 patches apply cleanly in order+ok core/ equals ds-bot/ + patches/ds-bot/;plugins/social467/467;node core/scripts/build-client.mjs --checkexit 0.docs/subsystems/social.mdis main's text with the #1053 dialog sentence put back, so #1052's Enter 6 digits line, #1070's closed-room sentence and the #1072 bullet are all still there.