Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use-nano-ids-for-change-controlled-tables #3300

Merged

Conversation

samuelstroschein
Copy link
Member

Refactor: Use nano-ids for change controlled tables like discussions, comments, and labels.

-http://localhost:3005/app/fm/?f=0193f041-21ce-7ffc-ba6e-d2d62b399383&d=0193f041-2457-7ffc-ba7e-494efc37b1b8&l=55a7bcc8-63d8-43b7-af0b-3916618fc258
+http://localhost:3005/app/fm/?f=tUYFRUe4lb&d=rrzumhqqTOwq&l=MftKxYHfDw2bSVr8Bs

Additional information

The pattern is still not human readable. I assume that we will introduce a human readable pattern in the future in addition to permalinks. This change is a incremental step towards better link sharing and good enough for now.

Performance implications

Nano IDs are not sortable and theoretically make insertions slower. However, until we get lix'es that have billions of rows we need to get users first. Sharing is a key feature to get users.

Copy link

nx-cloud bot commented Dec 22, 2024

View your CI Pipeline Execution ↗ for commit 91e771a.

Command Status Duration Result
nx run-many --nx-bail --target=build --parallel ✅ Succeeded 7s View ↗
nx run-many --target=test --parallel ✅ Succeeded 54s View ↗
nx run-many --target=lint --parallel ✅ Succeeded 9s View ↗

☁️ Nx Cloud last updated this comment at 2024-12-22 21:32:18 UTC

@samuelstroschein samuelstroschein merged commit 4b9420b into main Dec 22, 2024
3 checks passed
@samuelstroschein samuelstroschein deleted the lixdk-282-use-nano-ids-for-change-controlled-tables branch December 22, 2024 21:32
@github-actions github-actions bot locked and limited conversation to collaborators Dec 22, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

use nano-ids for change controlled tables
1 participant