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: .agents/quality.md
+5-4Lines changed: 5 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,7 +20,7 @@ Tracks code quality per domain. Updated by automations as a side effect of featu
20
20
| Pages | A | Page view with title + editor, page tree with CRUD + drag-and-drop + nest/unnest. Page menu with export/import markdown. Page icon picker with emoji support. Cover images, backlinks, version history, favorites, trash/soft-delete, page duplication, inline page link search. Tree logic extracted to `src/lib/page-tree.ts` with 37 unit tests covering build, reorder, nest, unnest, and drop computation. Page tree keyboard shortcut tests (5 tests). Page icon design spec tests (1 test). Page visit error handling tests (2 tests). Persisted tree expansion tests (9 tests). 9 E2E specs: page CRUD (5), sidebar drag (2), page icon (4), page cover (5), page duplicate (4), favorites (7), trash (7), version history (5), page link search (4) — 43 tests total. |
21
21
| Editor | A | Full Lexical editor: slash commands, floating toolbar (with font family selector), floating link editor, drag-and-drop blocks, code highlighting, image upload, clipboard image paste, callouts, collapsible/toggle blocks, table support. Markdown import/export with shortcuts. Word count and reading time utility (18 tests). 18 unit test files (162 tests): theme mapping (9), markdown utils (8), design spec compliance (11), Node.contains safety (1), Lexical dispatch safety (1), collapsible toggle (12), callout node (5), image plugin (6), markdown shortcuts (12), emoji picker design spec (7), floating image toolbar (21), image node (19), word count (18), auto-link plugin (12), table serialization (6), save error handling (5), version save error handling (3), save debounce (6). 16 E2E specs (editor-auto-link, editor-auto-save, editor-callout-collapsible, editor-code-paste, editor-drag, editor-focus-mode, editor-font-family, editor-image-paste, editor-image-upload, editor-link, editor-list-indent, editor-markdown-shortcuts, editor-slash-commands, editor-table, editor-toolbar, editor-turn-into — 64 tests total). Auto-save with debounce. Sentry error capture on save failures and image uploads. |
22
22
| Search | A | Full-text search via PostgreSQL tsvector + tsquery. API route with integration tests (14 tests) including transient network retry regression tests. Sidebar search component with unit tests (12 tests). Sentry error capture. E2E spec covers search flow (`e2e/search.spec.ts`, 5 tests). |
23
-
| Import/Export | A | Markdown export (download .md) and import (parse .md, create page) via page menu. Markdown utils with unit tests (8 tests). E2E spec covers export and import flow (`e2e/import-export.spec.ts`, 2 tests). |
23
+
| Import/Export | A | Markdown export (download .md) and import (parse .md, create page) via page menu. Markdown utils with unit tests (8 tests). E2E spec covers export and import flow plus edge cases (`e2e/import-export.spec.ts`, 7 tests): basic export, basic import, unsupported elements, empty file, code block special chars, nested lists, round-trip. |
24
24
| Members | A | Member list with role badges, role change, remove. Invite form (email + role). Pending invite list with revoke. Invite accept page. Role select dropdown. Settings members page with server-side data fetching. Unit tests: invite-form (4 tests), member-list (14 tests), pending-invite-list (8 tests), role-select (8 tests). E2E coverage: invite, pending list, revoke, accept, role change, remove, member role restrictions (7 tests). |
25
25
| Feedback | A | Feedback form with screenshot capture. API route with integration tests (15 tests). Feedback form design spec tests (5 tests). Screenshot hook unit tests (2 tests). E2E spec covers sheet open, type selection, character count, form submission, reset, and validation (6 tests). |
26
26
| App Shell | A | Collapsible sidebar (desktop: aside, mobile: Sheet), sidebar context with ⌘+\ shortcut, workspace switcher, page tree, user menu with sign-out, focus mode hint, theme toggle, skip-to-content accessibility link. Clean component decomposition. Sidebar context unit tests (21 tests): state management, keyboard shortcut registration, toggle behavior, focus mode, mobile close-on-navigate. Loading skeleton tests (25 tests): app (4), workspace (5), page (6), settings (5), settings members (5). Error boundary tests (22 tests): route-error component (6), workspace error (4), page error (4), settings error (4), settings members error (4). Focus mode hint design spec tests (3 tests). Workspace home design spec tests (5 tests). E2E specs: sidebar responsive (4 tests), mobile responsive (5 tests — page creation, table scroll, board cards, slash menu, floating toolbar at 375×667), theme toggle (4 tests), skip-to-content (2 tests), not-found pages (3 tests), public routes (18 tests), accessibility audit with axe-core (10 tests — sign-in, workspace home, page editor, workspace settings, members, database table view, database board view, database calendar view, database gallery view, database list view), keyboard shortcuts dialog (5 tests — open via ? key, category display, shortcut verification, close on Escape, open via user menu), workspace home new database (1 test), workspace home mobile header (1 test), workspace home interactions (6 tests — new page, filter, sort, page navigation, clear filter, recently visited). |
@@ -34,8 +34,8 @@ Tracks code quality per domain. Updated by automations as a side effect of featu
34
34
| Category | Files | Tests |
35
35
|---|---|---|
36
36
| Unit/Integration (Vitest) | 139 | 1877 |
37
-
| E2E (Playwright) | 78 |381|
38
-
|**Total**|**217**|**2258**|
37
+
| E2E (Playwright) | 78 |386|
38
+
|**Total**|**217**|**2263**|
39
39
40
40
### Test files by domain
41
41
@@ -44,7 +44,7 @@ Tracks code quality per domain. Updated by automations as a side effect of featu
@@ -144,5 +144,6 @@ Tracks code quality per domain. Updated by automations as a side effect of featu
144
144
| 2026-05-12 | Add data-testid attributes to members components (#1058). Added testids to member-list, invite-form, pending-invite-list, and role-select. Updated e2e/members.spec.ts to use testid selectors instead of fragile text/CSS selectors. No new test files. Test totals unchanged: 139 Vitest files (1877 tests), 78 E2E specs (381 tests). |
145
145
| 2026-05-13 | Add data-testid attributes to favorites, trash, and page-link-search (#1061). Added testids to favorites-section (fav-section, fav-item, fav-remove-btn), trash-section (trash-section, trash-item, trash-restore-btn, trash-delete-btn), and page-link-plugin (pls-dropdown, pls-search-input, pls-result-item). Updated e2e/favorites.spec.ts (replaced 6 parent traversals), e2e/trash.spec.ts (replaced bare text selector), and e2e/page-link-search.spec.ts (replaced double parent traversal). No new test files. Test totals unchanged: 139 Vitest files (1877 tests), 78 E2E specs (381 tests). |
146
146
| 2026-05-13 | Migrate row-page, relation, and files E2E specs to data-testid selectors (#1065). Replaced 10 fragile `locator("text=...")` and CSS-class selectors across `database-row-page.spec.ts`, `database-relation.spec.ts`, and `database-files.spec.ts` with `getByTestId` targeting existing `db-row-property-*` and `db-cell-editor-*` testids. No new testids needed — all existing attributes were sufficient. No new test files. Test totals unchanged: 139 Vitest files (1877 tests), 78 E2E specs (381 tests). |
147
+
| 2026-05-13 | Expand import/export E2E coverage (#1076). Added 5 new tests to `e2e/import-export.spec.ts` (2→7): unsupported elements graceful handling, empty file import, code block special characters export, nested list export, round-trip export-then-import. Test totals: 139 Vitest files (1877 tests), 78 E2E specs (386 tests). |
0 commit comments