KamoCRM

Consolidate the member surface onto ?tab=legal-compliance

Refactorkamo-internal
Shipped
7 ஆகஸ்ட், 2026 அன்று 12:52 AM UTC
Author
kamo
Commit
2bf18eb

The standalone **************** route rendered the same component as the settings tab behind a second URL. Delete it and keep the tab: one surface, one entrance, nothing to keep in sync. MemberLegalCompliance.tsx moves to components/ beside the tab that mounts it (a pure rename — the file's imports are all @/app aliases). NavTop's badge now points at ?tab=legal-compliance, keeping its member-type gate, member-id guard, Badge, aria-label and Link component={NextLink}. extract-i18n-keys.mjs process.exit(1)s on a missing MODULE_PATH, so its entry for the deleted directory is replaced by the moved file's own path — otherwise the i18n gate breaks the moment the directory goes.

All changes

Like what you see shipping?

All of it arrives in your workspace on its own. Start on the free plan and read this page again in a month.

Start Free ForeverView Pricing