[OpenNMS/opennms] acd05a: NMS-20131: PrimeVue Manage Surveillance Categories...

joseanesONMS via opennms-cvs <[email protected]>
Newsgroups gmane.network.opennms.cvs
Message-ID <OpenNMS/opennms/push/refs/heads/jira/NMS-20131-surveillance-categories/[email protected]>
  Branch: refs/heads/jira/NMS-20131-surveillance-categories
  Home:   https://github.com/OpenNMS/opennms
  Commit: acd05a1fcff5789044d21dd1c735895c90395bd8
      https://github.com/OpenNMS/opennms/commit/acd05a1fcff5789044d21dd1c735895c90395bd8
  Author: Jose Anes <[email protected]>
  Date:   2026-08-04 (Tue, 04 Aug 2026)

  Changed paths:
    M opennms-webapp-rest/src/main/webapp/WEB-INF/menu/menu-template.json
    M smoke-test/src/test/java/org/opennms/smoketest/MenuHeaderIT.java
    A ui/src/components/ManageCategories/CategoriesHelpPanel.vue
    A ui/src/components/ManageCategories/CategoriesTable.vue
    A ui/src/components/ManageCategories/CategoryEditorDialog.vue
    A ui/src/components/ManageCategories/CategoryNodesDialog.vue
    A ui/src/containers/ManageCategories.vue
    M ui/src/main/router/index.ts
    A ui/src/services/categoryAdminService.ts
    M ui/src/services/index.ts
    A ui/src/stores/categoryAdminStore.ts
    A ui/tests/components/ManageCategories/CategoriesHelpPanel.test.ts
    A ui/tests/components/ManageCategories/CategoriesTable.test.ts
    A ui/tests/components/ManageCategories/CategoryEditorDialog.test.ts
    A ui/tests/components/ManageCategories/CategoryNodesDialog.test.ts
    A ui/tests/containers/ManageCategories.test.ts
    A ui/tests/services/categoryAdminService.test.ts
    A ui/tests/stores/categoryAdminStore.test.ts

  Log Message:
  -----------
  NMS-20131: PrimeVue Manage Surveillance Categories page

Migrates the legacy surveillance-categories admin page to a PrimeVue /ui
page reusing existing REST — no backend change: category CRUD via the v1
/rest/categories service and node membership via its granular
/rest/categories/{name}/nodes/{nodeId} sub-resource. Table of categories
with create (name + description), description edit (the name is the
immutable identifier), delete, and a Manage Nodes dialog that assigns and
unassigns nodes with a PickList, applying only the diff against the
membership API. Member nodes are read with the node search that actually
filters by membership (category.name==NAME); the menu entry points at the
new page.


  Commit: 6f00327145d7a9b2521f3633d7673e4794f3bb60
      https://github.com/OpenNMS/opennms/commit/6f00327145d7a9b2521f3633d7673e4794f3bb60
  Author: Jose Anes <[email protected]>
  Date:   2026-08-04 (Tue, 04 Aug 2026)

  Changed paths:
    M ui/src/components/ManageCategories/CategoriesHelpPanel.vue
    M ui/src/components/ManageCategories/CategoriesTable.vue
    M ui/src/components/ManageCategories/CategoryEditorDialog.vue
    M ui/src/components/ManageCategories/CategoryNodesDialog.vue

  Log Message:
  -----------
  NMS-20131: Use Onms-* seam wrappers in Manage Categories

Replace the direct PrimeVue components (Button, DataTable, Column,
Dialog, InputText, Checkbox, ToggleSwitch, IconField/InputIcon) across
the four Manage Categories components with their Onms-* seam wrappers,
and swap the help-panel question-circle for OnmsIcon. Message and
IftaLabel stay on PrimeVue as no seam wrapper exists for them.


Compare: https://github.com/OpenNMS/opennms/compare/f09a904ca65e...6f00327145d7

To unsubscribe from these emails, change your notification settings at https://github.com/OpenNMS/opennms/settings/notifications


_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/wiki/index.php?page=MailingListFaq
opennms-cvs mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-cvs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.