Conversation
|
| Filename | Overview |
|---|---|
| datamodels/2.x/itop-endusers-devices/datamodel.itop-endusers-devices.xml | Reorganizes presentation layout for Phone, MobilePhone, IPPhone, Tablet, PC, Printer, Peripheral classes into two-column fieldset layout — but the Printer class has a rank collision (col:col1 and contacts_list both at 80; col:col2 and documents_list both at 90), and several classes have inconsistent XML indentation on rank elements. |
| datamodels/2.x/itop-config-mgmt/datamodel.itop-config-mgmt.xml | Reorganizes presentation layout for ~15 CMDB classes (VirtualMachine, SoftwareInstance, Middleware, WebServer, WebApplication, Network interfaces, Licences, etc.) into consistent two-column fieldset structure. Also includes an unrelated functional change for OsLicence: renames existing search to default_search and adds a new search block with incorrect indentation. |
| datamodels/2.x/itop-datacenter-mgmt/datamodel.itop-datacenter-mgmt.xml | Reorganizes presentation layout for Datacenter, Rack, Enclosure, EnclosureUnit, and PDU classes into two-column fieldset layout using Server:baseinfo/moreinfo/Date/otherinfo fieldsets consistently. Minor inconsistency in indentation of rank elements in PDU block. |
| datamodels/2.x/itop-storage-mgmt/datamodel.itop-storage-mgmt.xml | Renames fieldset:Server:moreinfo to fieldset:Storage:moreinfo for the NAS class, and reorganizes presentation for LogicalVolume, SANFabric, and LogicalDisk classes into two-column fieldset layout using new Storage:moreinfo and ConfigMgnt:baseinfo fieldsets. |
| datamodels/2.x/itop-config-mgmt/dictionaries/en.dict.itop-config-mgmt.php | Adds translations for new fieldset keys (ConfigMgnt:baseinfo, ConfigMgnt:moreinfo, ConfigMgnt:otherinfo, Storage:moreinfo, Software:moreinfo, Phone:moreinfo), updates Server:baseinfo/moreinfo/otherinfo labels, moves the PhysicalInterface attribute block to correct position, and removes duplicate comment headers. |
| datamodels/2.x/itop-config-mgmt/dictionaries/en_gb.dict.itop-config-mgmt.php | Adds new fieldset key translations for British English; Software:moreinfo and Phone:moreinfo incorrectly carry the ~~ untranslated marker even though their values are identical to US English. |
| datamodels/2.x/itop-config-mgmt/dictionaries/fr.dict.itop-config-mgmt.php | Adds fully localized French translations for all new fieldset keys, moves PhysicalInterface attribute block to correct location, and removes a duplicate dictionary conventions comment block. |
Flowchart
%%{init: {'theme': 'neutral'}}%%
flowchart TD
A[CMDB Class Detail View] --> B[col:col1\nrank 10]
A --> C[col:col2\nrank 20]
A --> D[List Tabs\nrank 50-110]
B --> E[fieldset: baseinfo\nrank 10\nname, org, status, business_criticity, location]
B --> F[fieldset: moreinfo\nrank 20\nCI-specific fields\ne.g. brand, model, serialnumber]
C --> G[fieldset: Date\nrank 10\nmove2production, purchase_date, end_of_warranty]
C --> H[fieldset: otherinfo\nrank 20\ndescription]
D --> I[contacts_list]
D --> J[documents_list]
D --> K[physicalinterface_list]
D --> L[other lists]
style A fill:#4a90d9,color:#fff
style B fill:#7bc67e,color:#000
style C fill:#7bc67e,color:#000
style D fill:#f0a500,color:#000
Last reviewed commit: 8ccf9cf
There was a problem hiding this comment.
Pull request overview
This PR standardizes the Details presentation of multiple CMDB classes by reorganizing attributes into consistent 2-column layouts and reusing common fieldset groupings (aligned with the existing Server template), improving discoverability of common fields across classes.
Changes:
- Refactors multiple class
<details>layouts intocol:col1/col:col2with consistent fieldset grouping (baseinfo / moreinfo / Date / otherinfo). - Introduces new fieldset dictionary keys (eg.
ConfigMgnt:*,Storage:moreinfo,Software:moreinfo,Phone:moreinfo) and updates some existing fieldset labels. - Reorders some linked-set “list” blocks in Details views to appear after the main attribute columns.
Reviewed changes
Copilot reviewed 21 out of 21 changed files in this pull request and generated 9 comments.
Show a summary per file
| File | Description |
|---|---|
| datamodels/2.x/itop-storage-mgmt/datamodel.itop-storage-mgmt.xml | Reorganizes storage-related classes’ Details views into consistent columns/fieldsets and introduces Storage:moreinfo fieldset usage. |
| datamodels/2.x/itop-endusers-devices/datamodel.itop-endusers-devices.xml | Refactors end-user device classes (phones/mobile/tablet/PC/printer) Details views into standardized columns/fieldsets and adjusts list placement/ranks. |
| datamodels/2.x/itop-datacenter-mgmt/datamodel.itop-datacenter-mgmt.xml | Applies the same column + fieldset pattern to datacenter-management classes. |
| datamodels/2.x/itop-config-mgmt/datamodel.itop-config-mgmt.xml | Reorganizes many config-mgmt classes’ Details views into consistent columns/fieldsets; updates search/default_search blocks in at least one class. |
| datamodels/2.x/itop-config-mgmt/dictionaries/*.dict.itop-config-mgmt.php | Adds translations for the new fieldset keys across multiple locales and updates some existing fieldset labels. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
You can also share your feedback on Copilot code review. Take the survey.
| <item id="name"> | ||
| <item id="col:col1"> | ||
| <items> | ||
| <item id="fieldset:ConfigMgnt:baseinfo"> |
There was a problem hiding this comment.
Typo Mgnt versus Mgmt, same for all other occurrences.
| <item id="fieldset:ConfigMgnt:baseinfo"> | |
| <item id="fieldset:ConfigMgmt:baseinfo"> |
Base information
Symptom (bug) / Objective (enhancement)
Finding a particular field in some CMDB classes details is a bit difficult
Proposed solution (bug and enhancement)
Organize most CMDB class display, using the same set of fielsets from the existing Server class display
When a field exists in multiple classes then you will always find it in the same fieldset and in the same position compare to other fields present in that fieldset
Checklist before requesting a review
Checklist of things to do before PR is ready to merge