Dimensions are embedded in the domain object, not stored as independent entities with their own IDs. Internally, each dimension entry is a composite of the domain ID and the dimension name (e.g.,
domain123-Water)./dimensions from the AdminNavbar.
The dimensions table
The table lists every dimension across all domains with the following columns:| Column | Description |
|---|---|
| Name | The dimension’s name. |
| Domain | The parent domain this dimension belongs to, shown as a colored badge. |
| Indicators | The number of indicators currently assigned to this dimension. |
| Options | Edit and delete action buttons. |
Adding a dimension
Click the Adicionar Dimensão action card on the right side of the page. The AddDimensionModal will open.Select a domain
Choose the domain you want to add the dimension to. All existing domains are listed in a dropdown.
Enter a name
Type the dimension name. This is a plain string that will be added to the domain’s
subdomains array.Editing a dimension
Click the edit (pencil) icon in the Options column. This navigates to the domain’s edit wizard at/edit_domain/:domainId with the relevant dimension highlighted, where you can rename it alongside the domain’s other settings.
Removing a dimension
Click the delete (trash) icon in the Options column. A confirmation dialog will appear. When you confirm, the system:- Fetches the parent domain by
domainId. - Filters the
subdomainsarray to remove the matching dimension name. - Sends
PATCH /api/domains/:domainIdwith the updated array.
Relationship to domains
Because dimensions are part of the domain object, any change to a dimension is a change to the domain. You can also manage dimensions directly from the domain edit wizard at/edit_domain/:id if you prefer to work within the domain context.