rewrote specs, added new ui generation spec
- task-brief is the essential 3 questions answers - tdd - is the revised tdd plan - wireframe-gen - is 1st cut at writing up the mockup instructions - view-mockup - is the 2nd cut
This commit is contained in:
36
sources/task-brief.md
Normal file
36
sources/task-brief.md
Normal file
@@ -0,0 +1,36 @@
|
||||
────────────────────────────────────────────────────────────────────────
|
||||
|
||||
### 1. Task Description
|
||||
|
||||
│ NearBeach is a Django/Vue project management tool that currently has
|
||||
│ task detail views and task creation, but lacks a general task list
|
||||
│ view for users to see all their tasks across projects. Users must
|
||||
│ navigate through individual projects or kanban boards to find tasks,
|
||||
│ which is inefficient for project managers overseeing multiple
|
||||
│ projects. This task adds a dedicated /tasks/ page with filtering
|
||||
│ (status, assignee, project, date range), sortable columns, and
|
||||
│ pagination.
|
||||
|
||||
### 2. How to Judge Completion
|
||||
|
||||
│ Run the NearBeach setup commands (install, migrate, create superuser,
|
||||
│ runserver), log in as admin/password, and navigate to /tasks/ — a
|
||||
│ paginated table of tasks the user has permission to view should
|
||||
│ appear. Test filtering by status, assignee, project, and date range;
|
||||
│ verify column headers toggle ascending/descending sort; confirm page
|
||||
│ size selector (10/25/50/100) and page navigation work. Run python3
|
||||
│ manage.py test NearBeach.tests.tests_views.tests_task — 10+ new tests
|
||||
│ covering filtering, sorting, pagination, and permissions should pass.
|
||||
│ Create a second user without access to a project, log in as them, and
|
||||
│ verify they cannot see tasks from that project.
|
||||
|
||||
### 3. Other Notes for Reviewer
|
||||
|
||||
│ NearBeach uses a group-based permission system via ObjectAssignment —
|
||||
│ users only see tasks from projects their groups are assigned to. The
|
||||
│ implementation must filter the queryset at the database level (not in
|
||||
│ templates) following the existing pattern in sprint_list view.
|
||||
│ Superusers bypass all filters. The task touches Django views,
|
||||
│ templates, URL routing, forms, and requires comprehensive tests to
|
||||
│ ensure permission filtering works correctly across all
|
||||
│ filter/sort/pagination combinations.
|
||||
Reference in New Issue
Block a user