Skip to content

Fix map base layers, entity tables, location posts, and settings controls - #5

Open
the-medo wants to merge 5 commits into
mainfrom
feature/tasks-from-todoist
Open

the-medo wants to merge 5 commits into
mainfrom
feature/tasks-from-todoist

Conversation

@the-medo

Copy link
Copy Markdown
Member

Completes five existing Todoist fixes: map bases stay enabled, entity lists sort across all pages with stable columns, editors can create and edit a location’s post from its row, and settings buttons only submit valid requests.

Changes

  • Enforce base-layer and map-ownership rules in transactional layer mutations; keep the base outside draggable overlays.
  • Make location-post creation permission-checked, atomic, and idempotent under retries and concurrent requests; refresh caches and open the editable post.
  • Add server sort directions for maps/locations, deterministic ordering before pagination, controlled sort/page state, fixed column widths, and internal horizontal scrolling. Pass the module filter to map lists.
  • Disable invalid or pending avatar/password submissions, prevent duplicate requests, and show failures for retry.
  • Regenerate protobuf, Swagger, database queries/mocks, and frontend API clients. The optional ID column remains deferred.

Validation

  • Worktree migration and full supported short Go test suite passed, including permission, rollback, concurrency, base-layer constraint, and sorting regressions.
  • Frontend lint, TypeScript (including Storybook), and production build passed.
  • Chromium checks passed for list sorting/paging/widths, location-post creation and saving, base-layer protection and anonymous rendering, and settings validation/pending/failure/retry/success states.
  • Password and avatar submission states used controlled responses. Real Cloudflare image upload remains unverified; selection-dialog and drag-and-drop variants were not exhaustively browser-tested.

Deployment

Apply migration 000032_map_base_layer_enabled with the backend/API changes before deploying the frontend. It repairs disabled base layers and rejects malformed historical layer positions for manual repair. Backend deployment remains manual.

See the task plan and validation record for details.

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.

1 participant