Skip to content
This repository was archived by the owner on May 29, 2026. It is now read-only.

fix: cascade error messages, settings validation, deep links, creation policy (#263 #265 #266 #267)#278

Merged
rubenvdlinde merged 1 commit into
developmentfrom
fix/repair-cascade-validation
May 27, 2026
Merged

fix: cascade error messages, settings validation, deep links, creation policy (#263 #265 #266 #267)#278
rubenvdlinde merged 1 commit into
developmentfrom
fix/repair-cascade-validation

Conversation

@rubenvdlinde

Copy link
Copy Markdown
Contributor

Summary

Test plan

  • Set allow_project_creation to 'admins' — verify non-admin users see no New project button
  • As admin, set allow_project_creation to 'all' — verify button reappears for all users
  • Submit malformed JSON as default_columns in admin settings — verify it is rejected (old value retained)
  • Verify deep links from unified search navigate to the correct history-mode URL

…eation policy

- #263 deleteProject cascade error messages now explicitly tell the user
  some data may remain and to retry, rather than silently halting.

- #265 allow_project_creation is now read by ProjectList: 'admins' policy
  hides the New project button and creation dialog from non-admin users.
  Added a UI control in Settings.vue so admins can configure the policy.

- #266 SettingsService.setAdminSettings validates default_columns as a
  non-empty JSON array of non-empty strings before persisting; malformed
  values are rejected with a logger warning instead of being stored verbatim.
  New validateDefaultColumns() method is public and testable.

- #267 DeepLinkRegistrationListener URL templates switched from hash-mode
  (#/tasks/{uuid}) to history-mode paths (/apps/planix/projects/{uuid})
  matching the router configuration. All five hardcoded 'planix' strings
  replaced with Application::APP_ID.
@rubenvdlinde rubenvdlinde merged commit ed1aa6b into development May 27, 2026
This was referenced May 27, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant