Version 0.5.5.95: pick MeshCentral source paths from device JSON

- 🔍 button next to every mapping source path (table and new-mapping
  form) opens a dialog with the stored MeshCentral JSON of a chosen
  asset as an expandable, searchable tree; already mapped paths are
  marked, keys the path syntax cannot express are greyed out, list
  entries produce "list[].key".
- Preview evaluates the path with the row's transformation, multiple
  value mode, separator and "value if empty"/guard using the sync code.
- Coverage check across all assets with stored JSON: devices with a
  value, devices where the mapping writes a value (incl. fallbacks)
  and the most frequent results.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
RolandandClaude Opus 5.5 committed 2026-11-18 21:41:02 +01:00
1 parent 40cd88871f
commit d6de4d9878
10 files changed
+723 -4

No files matched your search

+2 -1
View File
@@ -1,3 +1,4 @@
- [0.5.5.95](UPDATE-0.5.5.95.md) - choose MeshCentral mapping source paths by clicking into the stored device JSON, with preview and coverage check.
- [0.5.5.94](UPDATE-0.5.5.94.md) - data type conversion for custom fields with preview, exclusion filters and Excel-like value lists in tables, bulk edit for custom fields, MeshCentral fallback values for empty sources.
- [0.5.5.93](UPDATE-0.5.5.93.md) - custom fields in asset lists, MeshCentral sync flag for statuses, enforced session secret and translated UI texts.
- [0.5.5.92](UPDATE-0.5.5.92.md) - startup diagnostics with runtime, database and callback endpoint information.
@@ -30,7 +31,7 @@
Release notes are stored outside the project root to keep the repository overview compact.
The current release is **0.5.5.94**.
The current release is **0.5.5.95**.
Older notes are concise English summaries migrated from the original release documents. Git history remains authoritative for exact implementation details.
+19
View File
@@ -0,0 +1,19 @@
# Update 0.5.5.95
Version 0.5.5.95 lets administrators choose the source path of a MeshCentral field mapping by clicking into the stored device JSON of an asset.
## Changes
- **Source path picker:** every source path field in **Sync → MeshCentral → Field mappings** and in the form for a new mapping has a 🔍 button. It opens a dialog with
- a device selection (search over all assets with stored MeshCentral JSON; the last device is remembered),
- the device JSON as an expandable tree with search over keys and values; paths that are already mapped are marked,
- the generated path, editable before applying. Entries inside lists produce `list[].key` (all elements), matching the existing path syntax. Keys containing `.` or `|` cannot be addressed with the path syntax and are shown greyed out.
- **Preview:** for the selected device the dialog shows the raw values of the path and the result of the mapping with the transformation, multiple-value mode, separator and "value if empty"/guard of the mapping row, calculated with the same code as the sync.
- **Coverage check:** "Check coverage across all devices" evaluates the path for every asset with stored JSON: on how many devices a value exists, on how many the mapping writes a value (and how many of them via "value if empty"), plus the most frequent results.
- Applying writes the path into the field; mapping rows still have to be saved with "Save mappings".
- Version updated to 0.5.5.95.
## Notes
- The picker uses the JSON stored at the last sync. It requires **Store source JSON on asset** (enabled by default); assets that were never synchronized do not appear.
- No database changes.