Skip to content

feat: use snake case + compact-uuids for frontend-facing IDs#34

Closed
alekseysotnikov wants to merge 1 commit into
dynamic-alpha:mainfrom
alekseysotnikov:feat/human-friendly-uuid
Closed

feat: use snake case + compact-uuids for frontend-facing IDs#34
alekseysotnikov wants to merge 1 commit into
dynamic-alpha:mainfrom
alekseysotnikov:feat/human-friendly-uuid

Conversation

@alekseysotnikov
Copy link
Copy Markdown
Contributor

Adds compact-uuids library and switches frontend-facing IDs from hyphen (-) to underscore (_) separator (snake case).

Rationale

  • Snake case: allow double-click selection of entire ID in browser devtools
  • Compact UUIDs: 26 chars vs 36 chars (30% smaller), URL-safe, no ambiguous characters (0/O, 1/l/I)

Changes

  1. Compact UUIDs: All UUID usages replaced with compact encoding
  2. Snake case: Only frontend-facing IDs modified - action-id and tab-id
Screen Recording 2026-04-16 at 21 36 14

Adds `compact-uuids` library and switches frontend-facing IDs from hyphen (`-`) to underscore (`_`) separator (snake case).
## Rationale
- **Snake case:** allow double-click selection of entire ID in browser devtools
- **Compact UUIDs:** 26 chars vs 36 chars (30% smaller), URL-safe, no ambiguous characters (0/O, 1/l/I)
## Changes
1. **Compact UUIDs:** All UUID usages replaced with compact encoding
2. **Snake case:** Only frontend-facing IDs modified - action-id and tab-id
@rschmukler
Copy link
Copy Markdown
Contributor

Merged this in a wider commit (0f51654) on main that keeps all the IDs consistent with each other. Thanks for the issue report and starting the PR - I appreciate the goal of ergonomics in the dev tools.

@rschmukler rschmukler closed this Apr 21, 2026
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.

2 participants