Skip to content

Refactor pages directory #935

Closed
@presleyp

Description

@presleyp

We can break this down further if needed but I figured the important thing was dividing up where we're touching in the codebase.

  • The pages directory should only contain directories, not bare files
  • Each filename should be PascalCased
  • Each filename should match the component name inside of it
  • Each page component name and page filename should end in Page
  • The directory structure of the pages directory should match the routing structure of the site, so the component for /workspaces/:workspaceId/edit should have the path pages/WorkspacesPage/WorkspacePage/EditWorkspacePage.tsx

Metadata

Metadata

Assignees

Labels

siteArea: frontend dashboard

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions