Skip to content

Complete audit #1 workflow and interface items - #3

Merged
Greatub merged 2 commits into
mainfrom
feat/workflow-and-ui
Oct 25, 2026
Merged

Greatub merged 2 commits into
mainfrom
feat/workflow-and-ui

Conversation

@Greatub

@Greatub Greatub commented Oct 25, 2026

Copy link
Copy Markdown
Owner

Implements the P1 workflow gaps and P2 interface items from audit #1.

Workflow

  • Phases and tasks: double-click a phase to rename it (child WBS numbers and predecessors follow), move it up/down or delete it. Tasks can be reordered and moved to another parent from the task dialog. WBS numbers are suggested when adding. Fixes a bug where empty phases were hidden, so a new phase could not be filled.
  • Projects: delete from the Project menu (JSON backup offered first; at least one project always remains). Archived projects are read-only, grouped under "Archived" in the switcher, and restorable from a notice bar.
  • Versions & change log dialog: compare a version as baseline, restore it or delete it (both undoable), and browse the change log. Version tags accept any script.
  • Undo / redo: Ctrl+Z, Ctrl+Shift+Z / Ctrl+Y and header buttons for task, phase and version changes; kept in memory and cleared when another project opens.
  • Language is a per-browser preference; switching projects no longer changes it.
  • Empty projects show a three-step guide. Native alert/confirm/prompt are gone: every prompt, confirmation and error uses one <dialog>-based component (Esc closes, focus moves in and back, errors shown inline).

Interface

  • Header: project name first; switcher, Project menu, Undo/Redo and status on one row; same height for empty and filled projects.
  • Table: column picker (combined People column, optional per-group and priority columns); the name column fills the remaining width; duration and progress are visible by default at 1024 and 1440 px; column choice and split width are remembered.
  • Dates are shown and entered as YYYY-MM-DD everywhere, with a calendar button.
  • Inline editing: Tab/Enter keep focus on the next field after an edit, including when typing continues before the re-render.
  • Gantt: focusable bars (arrow keys move, Shift+arrow resizes, Enter opens), pointer-event drag (touch works), delayed bars/rows marked in red, P1–P3 labels, people from all groups in bar labels.

Behaviour changes to note

  • Archived projects are now read-only (previously editable).
  • Adding a main task no longer creates a placeholder "Name - 1" sub-task.

Verification

  • npm test: build freshness + 67 logic checks (new tests/public/workflow.cjs, 11 checks).
  • npm run test:e2e: 25 browser checks at 1440/1024 px covering the flows above, including Excel export → re-import → preview → apply; fails if any native dialog appears. Passed 13 consecutive local runs.
  • Privacy gate passes for tracked files and full history.

Not included: status-date tag overlap, alias editing without JSON, the "Functional group" column, IndexedDB migration.


Generated by Claude Code

Workflow
- Edit, reorder and delete phases; reorder tasks and move them to
  another parent; keep empty phases visible; suggest WBS numbers
- Delete projects (backup offered); archived projects are read-only
  and grouped in the switcher
- Versions & change log dialog: compare, restore, delete versions;
  browse the audit log; allow non-Latin version tags
- In-memory undo/redo with Ctrl+Z / Ctrl+Shift+Z and header buttons
- Interface language is a per-browser preference
- Empty-project guide; one shared <dialog> component replaces
  alert/confirm/prompt everywhere

Interface
- Stable header: title, project switcher and menu, undo/redo, status
- Table column picker with combined People column, flexible name
  column, remembered column choice and split width
- ISO date text inputs with a picker button
- Focus stays on the next field after inline edits (Tab/Enter)
- Gantt bars: keyboard moves, pointer-event drag, delayed and
  priority marks

Tests: workflow unit tests and an expanded browser smoke test that
fails on any native dialog.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01YDUfgNJbzbahVnmNQpWUeF
@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review 🔄 Running since 2026-10-25T15:34:06.635430Z 2c1211e PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@Greatub
Greatub merged commit c0f73fa into main Oct 25, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants