refactor: replace the app's links module with the one in ui-client
TA
6h ago+56+56+01234567890123456789-139-139-012345678901234567890123456789
Proposed changes (including videos or screenshots)
apps/meteor/client/lib/links.ts and packages/ui-client/src/lib/links.ts were two copies of the same table of go.rocket.chat URLs, and they had drifted: the app copy gained abacDocs, abacLDAPDocs and logsDocs after the copy into ui-client (#37757).
- Adds the three missing keys to
ui-client'slinks. - Deletes the app copy; its 46 importers now take
links(orGO_ROCKET_CHAT_PREFIX) from@rocket.chat/ui-client, merged into an existingui-clientimport where the file had one. tests/e2e/calendar.spec.tsusedlinks.rocketChatonly as a sample meeting URL. It now uses the literal'https://rocket.chat/', so Playwright doesn't load theui-clientbarrel.
No behavior change, so no changeset.
Issue(s)
Steps to test or reproduce
Nothing to test manually: the URLs are unchanged. Typecheck, lint and the unit specs of the touched components cover it.
Further comments
This is the first of a few enabling refactors for moving views out of apps/meteor/client/views into @rocket.chat/ui-* packages. A package can't import from the app, and links is one of the app modules those views import the most.
🤖 Generated with Claude Code
Summary by CodeRabbit
- New Features
- Added direct links to documentation for ABAC, LDAP integration with ABAC, and logs.
- Updates
- Help, product information, download, and external-resource links continue to use their existing destinations. Navigation across workspace setup, administration, omnichannel, and rooms remains unchanged, preserving familiar workflows.