Connector settings in project settings #27

Merged
Gilles merged 1 commit from feat/26-connectors into master 2026-10-29 10:38:07 +00:00
Owner

Closes #26

Frontend for argus/backend#37 (PR argus/backend#39). Merge after it is deployed.

Changes

  • src/api/connectors.ts: list (null on 403), create, update (empty secret keeps the stored one), delete, run now; field errors (400) surfaced as ConnectorValidationError.
  • ConnectorsManager.vue in project settings: list (kind, URL, interval, enabled, last run, OK / error message), "Lancer maintenant" (reports filed or the tool's error), edit, enable/disable, delete; form with kind (fixed once created), name, internal URL, account, password (write-only, "(inchangé si vide)" when editing), interval (≥ 60 s), enabled.
  • Default MSW handler (403); tests in src/__tests__/ConnectorsManager.spec.ts.

Checks

pnpm run test:unit (103 passed), vue-tsc -b, pnpm run build.

🤖 Generated with Claude Code

https://claude.ai/code/session_014BSmBtGWeFBD9z4mYm9SjA

Closes #26 Frontend for argus/backend#37 (PR argus/backend#39). Merge after it is deployed. ## Changes - `src/api/connectors.ts`: list (null on 403), create, update (empty secret keeps the stored one), delete, run now; field errors (400) surfaced as `ConnectorValidationError`. - `ConnectorsManager.vue` in project settings: list (kind, URL, interval, enabled, last run, OK / error message), "Lancer maintenant" (reports filed or the tool's error), edit, enable/disable, delete; form with kind (fixed once created), name, internal URL, account, password (write-only, "(inchangé si vide)" when editing), interval (≥ 60 s), enabled. - Default MSW handler (403); tests in `src/__tests__/ConnectorsManager.spec.ts`. ## Checks `pnpm run test:unit` (103 passed), `vue-tsc -b`, `pnpm run build`. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_014BSmBtGWeFBD9z4mYm9SjA
feature: connector settings in project settings
All checks were successful
ci / unit (pull_request) Successful in 1m59s
ci / publish (pull_request) Has been skipped
6ecc716e49
A "Connecteurs" section (project admins, hidden on 403): list with the
last run's outcome, add/edit (kind, name, internal URL, account,
write-only password -- empty keeps the stored one -- and interval),
enable/disable, delete, and "Lancer maintenant" showing how many
reports were filed or the tool's error.

Closes #26

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014BSmBtGWeFBD9z4mYm9SjA
Author
Owner
<!-- argus-link-bot:argus/frontend --> 📊 [Rapports Argus pour cette PR](https://reports.stationmyr.net/argus/frontend/pr/27)
Gilles merged commit 57ca6a71fd into master 2026-10-29 10:38:07 +00:00
Gilles deleted branch feat/26-connectors 2026-10-29 10:38:08 +00:00
Sign in to join this conversation.
No description provided.