Skip to content

chore: delete the unused settings Vuex store (CM-1549) - #5002

Merged
gaspergrom merged 2 commits into
mainfrom
chore/CM-1549-delete-settings-store
Oct 16, 2026
Merged

gaspergrom merged 2 commits into
mainfrom
chore/CM-1549-delete-settings-store

Conversation

@gaspergrom

Copy link
Copy Markdown
Contributor

Summary

Deletes the unused settings Vuex store and its module registration. Nothing outside the store read it, and SettingsService is only used by it, so /settings and the API keys tab behave as before. settings-service.js stays for CM-1603.

  • One stale settings-store to router line leaves cycles-allowlist.json.

Closes linuxfoundation/lfx-cdp-insights-ops#249

Copilot AI balanced review requested due to automatic review settings October 16, 2026 12:42
@cursor

cursor Bot commented Oct 16, 2026 •

Copy link
Copy Markdown

PR Summary

Low Risk
Deletes unused state management with no remaining references; settings routes and service stay in place.

Overview
Removes the settings Vuex module entirely: settings-store.js is deleted and settings-module.js no longer registers a store (routes-only module).

Also drops the corresponding settings-store → router path from cycles-allowlist.json. Settings UI and SettingsService are unchanged; this is dead-code cleanup with no new behavior.

Reviewed by Cursor Bugbot for commit 854014e. Bugbot is set up for automated code reviews on this repo. Configure here.

Copilot AI 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.

🟢 Approval recommended

Reference tracing found no remaining store consumers, and the cleanup preserves routing and API-key functionality.

0 open findings

What changed in this PR

Removes the unused settings Vuex store while preserving settings routes and API-key behavior.

Changes:

  • Deletes the store and its module registration.
  • Removes the obsolete circular-dependency allowlist entry.
  • Leaves settings-service.js for follow-up cleanup.
File Description
frontend/​src/​modules/​settings/​settings-store.js Deletes the unused Vuex store.
frontend/​src/​modules/​settings/​settings-module.js Removes store registration; retains routes.
frontend/​cycles-allowlist.json Removes the deleted store’s cycle entry.

🧠 Review effort: Balanced


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Signed-off-by: Gašper Grom <gasper.grom@gmail.com>
Copilot AI balanced review requested due to automatic review settings October 16, 2026 12:46

Copilot AI 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.

🟢 Approval recommended

No remaining store consumers or unresolved issues were identified, and settings routing remains unchanged.

0 open findings

🧠 Review effort: Balanced

@gaspergrom
gaspergrom merged commit a425af1 into main Oct 16, 2026
14 checks passed
@gaspergrom
gaspergrom deleted the chore/CM-1549-delete-settings-store branch October 16, 2026 12:49
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