NMS-20129: PrimeVue Manage Monitoring Locations page - #8728
Open
joseanesONMS wants to merge 3 commits into
Open
Conversation
Migrates the legacy AngularJS monitoring-locations page to a PrimeVue /ui page over the existing v2 /api/v2/monitoringLocations CRUD — no backend or JSON contract change, and the v1 REST stays. Table of the locations with add/edit/delete: the editor covers monitoring area, geolocation, latitude, longitude and priority with inline validation (required area, coordinate ranges, path-safe name) and surfaces API errors in the dialog; edits spread the stored record so tags round-trip untouched. The Default location cannot be deleted, and the menu entry points at the new page.
…ations page Swap direct PrimeVue for the Onms-XXX seam wrappers across the locations table and editor dialog: Button->OnmsButton (text/outlined mapped to variant), Dialog->OnmsDialog, InputText->OnmsInputText, InputNumber->OnmsInputNumber, DataTable->OnmsTable, Column->OnmsColumn, and the IconField/InputIcon/InputText search box collapses into OnmsSearchInput. Message and IftaLabel have no wrapper yet and stay on PrimeVue. No behaviour change.
Contributor
Author
|
@synqotik @marshallmassengill — ready for review. This page now uses the |
…g width prop
Replace :style="{ width, maxWidth }" on OnmsDialog with the seam's declared
width prop (min(Npx, 95vw) keeps the responsive cap), instead of riding $attrs
into PrimeVue.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Migrates the Manage Monitoring Locations admin page to a PrimeVue /ui screen. Reuses the existing
/api/v2/monitoringLocationsCRUD unchanged — no backend or schema change.MenuHeaderITis updated to assert the new page.