Skip to content

feat(settings): wire profile save and settings menu items (#98) - #353

Merged
unjica merged 3 commits into
developfrom
feat/98-settings-profile-menu
Jul 11, 2026
Merged

unjica merged 3 commits into
developfrom
feat/98-settings-profile-menu

Conversation

@unjica

@unjica unjica commented Jul 11, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Add PATCH /api/auth/me to update displayName (session required) with integration tests
  • Profile settings page loads real user via getDashboardUser() and saves through a server action
  • What's new settings page renders releases from loadChangelog() (same source as /docs/releases)
  • Contact support links to GitHub issues and shows platform version from API /health
  • Sync SettingsNav coming-soon flags: profile and changelog are live; preferences stays partial

Closes #98. Milestone: v1.8.0 — Settings & profile menu (#8).

Test plan

  • pnpm --filter api test (smoke + unit; integration skipped without DB)
  • pnpm --filter dashboard lint && pnpm --filter dashboard test
  • Sign in → Profile → edit display name → Save → refresh shows new name in user menu
  • What's new shows CHANGELOG entries (not static mock)
  • Contact support → GitHub issues opens repo issues; version matches /health
  • Preferences still shows coming soon (dashboard defaults not persisted yet)

Still coming soon

  • Preferences — dashboard defaults, density, privacy toggles (UI only)
  • Security, Audit log, Integrations, Labs — unchanged placeholders

Made with Cursor

unjica and others added 2 commits July 12, 2026 01:37
Add PATCH /api/auth/me for displayName, load real profile data in the dashboard,
render changelog from CHANGELOG.md, fix support GitHub link and platform version.

Co-authored-by: Cursor <[email protected]>
Apply PATCH response to local state so Discard cannot revert a successful save.

Co-authored-by: Cursor <[email protected]>
@unjica unjica added this to the v1.8.0 — Settings & profile menu milestone Jul 11, 2026

@cursor cursor Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 255e7c0. Configure here.

Comment thread apps/api/src/routes/auth.ts Resolved
Align with GET /auth/me so a stale session cannot trigger a Prisma not-found 500.

Co-authored-by: Cursor <[email protected]>
@unjica
unjica merged commit 11a260b into develop Jul 11, 2026
5 of 6 checks passed
@unjica
unjica deleted the feat/98-settings-profile-menu branch July 11, 2026 23:45
@unjica unjica modified the milestones: v1.8.0 — Settings & profile menu, v1.8.x — Settings & profile menu Jul 14, 2026
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.

Source maps: upload and symbolicated stack traces

1 participant