107 file(s), +11599 / -3528 lines
| Path | Role | + | - |
|---|---|---|---|
| messages/en.json | Config | +46 | -0 |
| messages/hi.json | Config | +46 | -0 |
| openapi/app-api.json | Config | +4918 | -3522 |
| openapi/permission-map.json | Config | +52 | -0 |
| src/app/[locale]/(workspace)/matters/[matterId]/page.test.tsx | App route | +20 | -2 |
| src/app/[locale]/(workspace)/matters/[matterId]/page.tsx | App route | +21 | -4 |
| src/app/api/internal/matters/[matterId]/brief/route.ts | App route | +32 | -0 |
| src/app/api/internal/matters/[matterId]/frame-status/route.ts | App route | +32 | -0 |
| src/app/api/internal/matters/[matterId]/frame/proposals/[field]/accept/route.ts | App route | +44 | -0 |
| src/app/api/internal/matters/[matterId]/frame/proposals/[field]/reject/route.ts | App route | +44 | -0 |
| src/app/api/internal/matters/[matterId]/frame/route.ts | App route | +43 | -0 |
| src/components/matter-detail/brief/matter-brief-page.stories.tsx | Component | +162 | -0 |
| src/components/matter-detail/brief/matter-brief-page.tsx | Component | +126 | -0 |
| src/components/matter-detail/brief/matter-brief-sections.tsx | Component | +219 | -0 |
| src/components/matter-detail/brief/presentation.ts | Component | +101 | -0 |
| src/gen/client/appAcceptMatterFrameProposal.ts | Generated contract | +76 | -0 |
| src/gen/client/appEditMatterFrame.ts | Generated contract | +73 | -0 |
| src/gen/client/appGetMatterBrief.ts | Generated contract | +63 | -0 |
| src/gen/client/appLockMatterFrameField.ts | Generated contract | +75 | -0 |
| src/gen/client/appRejectMatterFrameProposal.ts | Generated contract | +76 | -0 |
| src/gen/client/appUnlockMatterFrameField.ts | Generated contract | +65 | -0 |
| src/gen/client/index.ts | Generated contract | +6 | -0 |
| src/gen/hooks/index.ts | Generated contract | +28 | -0 |
| src/gen/hooks/useAppAcceptMatterFrameProposal.ts | Generated contract | +167 | -0 |
| src/gen/hooks/useAppEditMatterFrame.ts | Generated contract | +156 | -0 |
| src/gen/hooks/useAppGetMatterBrief.ts | Generated contract | +127 | -0 |
| src/gen/hooks/useAppGetMatterBriefSuspense.ts | Generated contract | +125 | -0 |
| src/gen/hooks/useAppLockMatterFrameField.ts | Generated contract | +161 | -0 |
| src/gen/hooks/useAppRejectMatterFrameProposal.ts | Generated contract | +167 | -0 |
| src/gen/hooks/useAppUnlockMatterFrameField.ts | Generated contract | +151 | -0 |
| src/gen/index.ts | Generated contract | +229 | -0 |
| src/gen/schemas/briefAuthority.json | Generated contract | +7 | -0 |
| src/gen/schemas/matterBriefCanonicalView.json | Generated contract | +126 | -0 |
| src/gen/schemas/matterBriefClockView.json | Generated contract | +69 | -0 |
| src/gen/schemas/matterBriefFieldLockView.json | Generated contract | +30 | -0 |
| src/gen/schemas/matterBriefForumView.json | Generated contract | +20 | -0 |
| src/gen/schemas/matterBriefFrameView.json | Generated contract | +86 | -0 |
| src/gen/schemas/matterBriefLocksView.json | Generated contract | +52 | -0 |
| src/gen/schemas/matterBriefPartyView.json | Generated contract | +45 | -0 |
| src/gen/schemas/matterBriefStageView.json | Generated contract | +45 | -0 |
| src/gen/schemas/matterBriefValueView.json | Generated contract | +24 | -0 |
| src/gen/schemas/matterBriefView.json | Generated contract | +354 | -0 |
| src/gen/schemas/matterFrameAcceptRequest.json | Generated contract | +74 | -0 |
| src/gen/schemas/matterFrameContentStatus.json | Generated contract | +7 | -0 |
| src/gen/schemas/matterFrameEditRequest.json | Generated contract | +17 | -0 |
| src/gen/schemas/matterFrameLockRequest.json | Generated contract | +13 | -0 |
| src/gen/schemas/matterFrameLockView.json | Generated contract | +30 | -0 |
| src/gen/schemas/matterFrameRatifyView.json | Generated contract | +248 | -0 |
| src/gen/schemas/matterFrameRejectRequest.json | Generated contract | +14 | -0 |
| src/gen/schemas/matterFrameSource.json | Generated contract | +7 | -0 |
| src/gen/schemas/matterFrameVersionView.json | Generated contract | +69 | -0 |
| src/gen/types/AppAcceptMatterFrameProposal.ts | Generated contract | +82 | -0 |
| src/gen/types/AppEditMatterFrame.ts | Generated contract | +76 | -0 |
| src/gen/types/AppGetMatterBrief.ts | Generated contract | +69 | -0 |
| src/gen/types/AppLockMatterFrameField.ts | Generated contract | +81 | -0 |
| src/gen/types/AppRejectMatterFrameProposal.ts | Generated contract | +82 | -0 |
| src/gen/types/AppUnlockMatterFrameField.ts | Generated contract | +74 | -0 |
| src/gen/types/BriefAuthority.ts | Generated contract | +13 | -0 |
| src/gen/types/MatterBriefCanonicalView.ts | Generated contract | +44 | -0 |
| src/gen/types/MatterBriefClockView.ts | Generated contract | +25 | -0 |
| src/gen/types/MatterBriefFieldLockView.ts | Generated contract | +31 | -0 |
| src/gen/types/MatterBriefForumView.ts | Generated contract | +22 | -0 |
| src/gen/types/MatterBriefFrameView.ts | Generated contract | +76 | -0 |
| src/gen/types/MatterBriefLocksView.ts | Generated contract | +23 | -0 |
| src/gen/types/MatterBriefPartyView.ts | Generated contract | +35 | -0 |
| src/gen/types/MatterBriefStageView.ts | Generated contract | +41 | -0 |
| src/gen/types/MatterBriefValueView.ts | Generated contract | +25 | -0 |
| src/gen/types/MatterBriefView.ts | Generated contract | +36 | -0 |
| src/gen/types/MatterFrameAcceptRequest.ts | Generated contract | +26 | -0 |
| src/gen/types/MatterFrameContentStatus.ts | Generated contract | +16 | -0 |
| src/gen/types/MatterFrameEditRequest.ts | Generated contract | +19 | -0 |
| src/gen/types/MatterFrameLockRequest.ts | Generated contract | +16 | -0 |
| src/gen/types/MatterFrameLockView.ts | Generated contract | +31 | -0 |
| src/gen/types/MatterFrameRatifyView.ts | Generated contract | +33 | -0 |
| src/gen/types/MatterFrameRejectRequest.ts | Generated contract | +16 | -0 |
| src/gen/types/MatterFrameSource.ts | Generated contract | +13 | -0 |
| src/gen/types/MatterFrameVersionView.ts | Generated contract | +59 | -0 |
| src/gen/types/index.ts | Generated contract | +102 | -0 |
| src/gen/zod/appAcceptMatterFrameProposalSchema.ts | Generated contract | +97 | -0 |
| src/gen/zod/appEditMatterFrameSchema.ts | Generated contract | +96 | -0 |
| src/gen/zod/appGetMatterBriefSchema.ts | Generated contract | +88 | -0 |
| src/gen/zod/appLockMatterFrameFieldSchema.ts | Generated contract | +97 | -0 |
| src/gen/zod/appRejectMatterFrameProposalSchema.ts | Generated contract | +97 | -0 |
| src/gen/zod/appUnlockMatterFrameFieldSchema.ts | Generated contract | +89 | -0 |
| src/gen/zod/briefAuthoritySchema.ts | Generated contract | +17 | -0 |
| src/gen/zod/index.ts | Generated contract | +90 | -0 |
| src/gen/zod/matterBriefCanonicalViewSchema.ts | Generated contract | +65 | -0 |
| src/gen/zod/matterBriefClockViewSchema.ts | Generated contract | +34 | -0 |
| src/gen/zod/matterBriefFieldLockViewSchema.ts | Generated contract | +26 | -0 |
| src/gen/zod/matterBriefForumViewSchema.ts | Generated contract | +20 | -0 |
| src/gen/zod/matterBriefFrameViewSchema.ts | Generated contract | +80 | -0 |
| src/gen/zod/matterBriefLocksViewSchema.ts | Generated contract | +35 | -0 |
| src/gen/zod/matterBriefPartyViewSchema.ts | Generated contract | +32 | -0 |
| src/gen/zod/matterBriefStageViewSchema.ts | Generated contract | +35 | -0 |
| src/gen/zod/matterBriefValueViewSchema.ts | Generated contract | +31 | -0 |
| src/gen/zod/matterBriefViewSchema.ts | Generated contract | +45 | -0 |
| src/gen/zod/matterFrameAcceptRequestSchema.ts | Generated contract | +41 | -0 |
| src/gen/zod/matterFrameContentStatusSchema.ts | Generated contract | +17 | -0 |
| src/gen/zod/matterFrameEditRequestSchema.ts | Generated contract | +24 | -0 |
| src/gen/zod/matterFrameLockRequestSchema.ts | Generated contract | +25 | -0 |
| src/gen/zod/matterFrameLockViewSchema.ts | Generated contract | +28 | -0 |
| src/gen/zod/matterFrameRatifyViewSchema.ts | Generated contract | +45 | -0 |
| src/gen/zod/matterFrameRejectRequestSchema.ts | Generated contract | +25 | -0 |
| src/gen/zod/matterFrameSourceSchema.ts | Generated contract | +17 | -0 |
| src/gen/zod/matterFrameVersionViewSchema.ts | Generated contract | +42 | -0 |
| src/lib/kubb-client.ts | Library | +26 | -0 |
| src/lib/matters/gateway.ts | Library | +81 | -0 |
The matter detail route now fills the existing Brief work mode with the
authority-labeled Brief assembly from GET /app/matters/{id}/brief
and the build liveness from GET /app/matters/{id}/frame-status.
The Matter ribbon, Worknav, and Matter action rail remain the existing
shell chrome.
Text fields reuse EditableSurface. Blur commits counsel edits
through PATCH /app/matters/{id}/frame. Proposed fields show the
existing confirm/reject affordance and call the generated accept/reject
mutations.
Storybook stories seed the generated TanStack Query cache for all five states, so the same component and generated hooks render without Clerk or a live backend.
The empty-state inline upload affordance is rendered as the Brief entry point. The full direct-to-S3 queue remains owned by the existing Matter action rail intake flow and is not duplicated in this Brief body.