You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/PRD.md
+8-7Lines changed: 8 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -71,7 +71,7 @@ At the product level, the current version delivers three core values:
71
71
| Route | Page | Notes |
72
72
| --- | --- | --- |
73
73
|`/`| Welcome page | Default entry when no reachable workspace is available; also provides workspace open and settings entry |
74
-
|`/auth`| Auth page |The actual frontend login route |
74
+
|`/login`| Auth page |Frontend login route |
75
75
|`/workspace`| Workspace page | Main workspace; desktop and mobile use different experiences |
76
76
|`/settings`| Settings page | Desktop and mobile share the same capability set, with different navigation structures |
77
77
|`*`| 404 page | Displays unmatched paths and provides a return-home action |
@@ -156,7 +156,7 @@ The main content is a centered welcome card. Mobile only adjusts styling, not th
156
156
- The welcome page itself has no complex error state.
157
157
- If the app has already resolved at least one workspace, the startup flow usually redirects the user to `/workspace`, so the welcome page is not a long-lived state.
158
158
159
-
## 4.2 Auth Page `/auth`
159
+
## 4.2 Auth Page `/login`
160
160
161
161
### 4.2.1 Page Goal
162
162
@@ -1568,14 +1568,15 @@ This chapter covers only two kinds of content:
1568
1568
1569
1569
### 8.1 Auth Route Implementation Note
1570
1570
1571
-
The main product review chapters consistently describe the login page as `/auth`, because that is the actual mounted frontend login page.
1571
+
The frontend login page is mounted at `/login`.
1572
1572
1573
-
But one implementation fact still needs to be preserved:
1573
+
Backend auth endpoints remain under `/auth/*`, such as:
1574
1574
1575
-
- Server-side SPA navigation for unauthenticated users redirects to `/login`
1576
-
- Frontend bootstrap actively navigates users to `/auth` when auth fails
1575
+
-`/auth/status`
1576
+
-`/auth/login`
1577
+
-`/auth/logout`
1577
1578
1578
-
So the product document uses `/auth`in the main body, while preserving `/login` here as an implementation fact on the server side.
1579
+
`/auth`is not a frontend page route and should not be described as one in product-facing flow documentation.
0 commit comments