|
156 | 156 | ], |
157 | 157 | "passes": true |
158 | 158 | }, |
159 | | - { |
160 | | - "category": "functional", |
161 | | - "description": "Function List Page shows deployed functions from all user-accessible namespaces without requiring a PAT", |
162 | | - "steps": [ |
163 | | - "ClusterService refactored: remove ALL_NAMESPACES and useActiveNamespace logic, always watch across all user-accessible namespaces (functions in GitHub repos can target different namespaces via func.yaml, so single-namespace view is not useful; filtering deferred to a later feature)", |
164 | | - "ClusterService lists all namespaces/projects accessible to the logged-in user and watches Deployments with label function.knative.dev/name across all of them", |
165 | | - "Function List Page renders deployed functions even when no PAT has been entered (PatModal dismissed or not yet shown)", |
166 | | - "When PAT is later provided, repo data from SourceControlService is merged with already-visible deployed functions", |
167 | | - "Deployed functions without a matching repo still appear in the table with available cluster data (name, namespace, status, replicas, url)" |
168 | | - ], |
169 | | - "passes": false |
170 | | - }, |
171 | 159 | { |
172 | 160 | "category": "functional", |
173 | 161 | "description": "Set GitHub Secret (KUBECONFIG) on created function repos so GH Actions can deploy to the cluster", |
|
178 | 166 | "GH Actions workflow can authenticate to the cluster and run func deploy" |
179 | 167 | ], |
180 | 168 | "passes": true |
| 169 | + }, |
| 170 | + { |
| 171 | + "category": "technical", |
| 172 | + "description": "Restructure project so page-specific components and hooks live close to their page, not in a shared /components directory", |
| 173 | + "steps": [ |
| 174 | + "Evaluate co-location strategy (inline, page folder, or hybrid) and document the chosen convention", |
| 175 | + "Move CreateFunctionForm (+ test) into FunctionCreatePage directory (only used by CreatePage)", |
| 176 | + "Move FileTreeView (+ test) into FunctionEditPage directory (only used by EditPage)", |
| 177 | + "Move FunctionTable (+ test) into FunctionListPage directory (only used by ListPage)", |
| 178 | + "Verify shared components stay in /components: EmptyState (used by ListPage and EditPage), UserAvatar (used by all 3 pages)", |
| 179 | + "Update docs/ARCHITECTURE.md with the chosen co-location convention", |
| 180 | + "All tests pass, no broken imports" |
| 181 | + ], |
| 182 | + "passes": false |
181 | 183 | } |
182 | 184 | ] |
0 commit comments