Skip to content

Refactors and localizes endpoint views#720

Closed
SudoThijn wants to merge 12 commits into
feature/CONNECTOR-422/sources-refactorfrom
feature/CONNECTOR-424/endpoint-refactor
Closed

Refactors and localizes endpoint views#720
SudoThijn wants to merge 12 commits into
feature/CONNECTOR-422/sources-refactorfrom
feature/CONNECTOR-424/endpoint-refactor

Conversation

@SudoThijn
Copy link
Copy Markdown
Contributor

Enhances endpoint management by introducing a dedicated endpoint details page and standardizing list and log views.

  • Introduces a dedicated Endpoint Details page: Provides a comprehensive view for individual endpoints, including related rules and logs, improving navigation and user experience.
  • Integrates Nextcloud Vue components: Migrates the Endpoints list (EndpointsIndex) and Endpoint Logs (EndpointLogIndex) to use the CnIndexPage component, ensuring a consistent UI/UX with features like pagination, customizable views (card/table), and simplified actions.
  • Adds extensive internationalization: All user-facing strings across endpoint-related modals (AddEndpointRule, DeleteEndpoint, EditEndpoint, ViewEndpoint), the new EndpointDetails page, and list/log views are now fully localized.
  • Streamlines router configuration: Updates the routing to direct /endpoints/:id to the new EndpointDetails page.
  • Removes deprecated components: Deletes EndpointsList.vue and the old ViewEndpoint.vue page, consolidating functionality into the refactored views.

- Migrates `endpointStore` to use the `createCrudStore` pattern from `@conduction/nextcloud-vue`.
- Standardizes store property and method names (e.g., `endpointItem` to `item`, `endpointList` to `list`).
- Updates endpoint-related modals, views, and tests to reflect the new store structure.
- Refactors custom actions like `refreshEndpointLogs` and `exportEndpoint` into the extended CRUD store.
@rubenvdlinde
Copy link
Copy Markdown
Contributor

Closing as part of the stale-PR triage. This refactor chain (CONNECTOR-422→436, targeting the long-stale feature/nextcloud-vue integration branch) has been superseded end-to-end by the chain-E manifest-v2 cutover that landed on development:

  • All index pages (Sources / Endpoints / Consumers / Mappings / Jobs / Cloud Events / Synchronizations / Contracts / Rules / Import) now resolve via src/manifest.json against CnIndexPage / CnDetailPage / CnLogsPage from @conduction/nextcloud-vue
  • The legacy Vue chrome these PRs refactor (src/modals/Modals.vue, src/views/{Source,Endpoint,…}/*, src/navigation/MainMenu.vue, src/sidebars/Source/SourceLogSideBar.vue, the old per-resource stores) is still on disk but has zero active import sites in developmentCnAppRoot from nc-vue hosts the entire app
  • Per-resource refactors of those dead files therefore can't ever ship

No functionality to port — every UX improvement this chain proposed (filtering, stats panels, sidebars, l10n tooling) is delivered by the manifest-driven page types it would have replaced.

@rubenvdlinde rubenvdlinde deleted the feature/CONNECTOR-424/endpoint-refactor branch May 22, 2026 12:58
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