Skip to content

feat(web-app): show device name on meeting rows - #242

Merged
i098 merged 2 commits into
mainfrom
fm/sanctum-meeting-device-name
Nov 23, 2026
Merged

i098 merged 2 commits into
mainfrom
fm/sanctum-meeting-device-name

Conversation

@i098

@i098 i098 commented Nov 23, 2026

Copy link
Copy Markdown
Owner

Closes #240

Summary

Each row in Menu > Meetings now shows the name of the paired device that captured the meeting. Browser-tab meetings show no name.

What changed and why

  • MeetingPage.meetings items are now MeetingListItem: Meeting plus device_name (string or null). No migration: listMeetings joins the listener that the server already stores, only when that listener has a device_id and the meeting is not a capture-group meeting.
  • The row meta line reads "live · Mon, Nov 23, 11:50 AM · Kitchen mic". In a narrow column the name wraps under the time; a long name ends in an ellipsis. No new colors, no negative margins, no line-height change.
  • SDK files regenerated (npm run sdk:generate). The fake domain lists device_name: null.
  • The fullscreen listening view does not change.

Screenshots

Real local API on a fresh test MySQL database (dropped afterwards), headless Chromium, two device meetings ("Kitchen mic" and a long ESP32 name) and one browser meeting.

1440x900 390x844
Before
After

Test evidence

  • npm run typecheck --workspaces --if-present: pass.
  • npx vitest run server/tests/meeting-boundaries.test.ts server/tests/api-contract.test.ts server/tests/boundary-corrections.test.ts web-app/tests on the test MySQL: 22 files, 244 tests pass. The listener test now checks device_name for a device listener and a browser listener.
  • npm run sdk:generate -- --check: generated SDK files are current.
  • npm run quality:fallow -- --base HEAD: no issues in changed files. npm run quality:sentrux: no degradation.
  • npx commitlint --from HEAD^ --to HEAD: pass.
  • Not run locally: the full npm run check:app (Playwright e2e, replay); CI runs it.

Checks

PR check plan: screenshot check, one ponytail-review round, CI, no no-mistakes run (small UI change).

ponytail-review (one round): one finding, applied. A capture-group meeting keeps the listener_id of its first device, so it would show that one device's name. The join now also requires m.capture_group_id IS NULL. No keeps.

i098 added 2 commits November 23, 2026 20:25
- The meeting list API returns device_name from the paired device's listener.
- Browser-tab and capture-group meetings return null.

Closes #240

@i098 i098 left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Checks pass on 7f0cf0d: all CI jobs green, including Application checks.

  • Screenshot check: before and after at 1440x900 and 390x844 against a real local API on a fresh test MySQL database (dropped afterwards). The two device meetings show "Kitchen mic" and a long ESP32 name that ends in an ellipsis. The browser meeting shows no name.
  • ponytail-review: one round. Its one finding (capture-group meetings) is applied.
  • The second commit fixes the earlier CI failure. The e2e test data has no device_name, so the row rendered a stray " · ". The row now shows the name only when it has a value.

@i098
i098 merged commit 6cddf55 into main Nov 23, 2026
11 checks passed
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.

Show the device name on each meeting in the Meetings list

1 participant