All spaces displayed in the ULagos 360° panel — their names, capacities, supervisors, physical locations, and category assignments — are defined statically inDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/Pewiz/ulagos360/llms.txt
Use this file to discover all available pages before exploring further.
src/constants/spaces.js. Editing this single file is all that is needed to add, remove, or reconfigure any space; the Zustand store picks up the changes automatically on next initialization.
Space Type Constants
Each top-level key inSPACES_DATA corresponds to one of the values in SPACE_TYPES. Use these constants whenever you need to reference a category in code to avoid raw string typos.
src/constants/spaces.js
Space Status Constants
SPACE_STATUS lists every lifecycle value a space can hold at runtime. These values are written by the Zustand store and broadcast over WebSocket — they are not set in SPACES_DATA unless you want to override the default initial state.
src/constants/spaces.js
Space Object Fields
Each entry in aSPACES_DATA array accepts the following fields. Only id and name are required for every category; the remaining fields are category-specific.
Unique identifier for the space. Used as the key in the Zustand
spaces map and in all WebSocket spaceId payloads. Must be unique across all categories, not just within one.Human-readable display name shown on the space card in the panel.
Maximum occupant count. Displayed on the card for informational purposes only — it does not enforce any limit in the app logic.
Talleres only. Name of the tutor responsible for the workshop. Shown on the space card next to the room badge.
Talleres only. Room or building where the taller takes place. Rendered as a blue badge on the space card.
Tours en Curso only. Name of the school or institution the tour group originates from. Shown on the tour card as contextual metadata.
Adding a Space
Find the target category array
Locate the array for the category you want to extend inside
SPACES_DATA. For example, to add a taller, find the [SPACE_TYPES.TALLERES] array.Append a new object
Add a new entry with at least
id and name. Include any category-specific fields that apply.Removing a Space
Delete the entry object from its array inSPACES_DATA. The space will no longer appear after the store is re-initialized.
Changing a Space’s Initial Status
By default,initializeSpaces() assigns status: "disponible" to every new space. To override this, add an explicit status field to the entry in SPACES_DATA. This is useful for marking spaces that are out of service before the event begins.
The
status override only takes effect during the very first initialization (i.e., when there is no existing spaces-storage in localStorage). After initialization, all status changes are managed at runtime through the UI and WebSocket events.Complete Talleres Entry Example
The following is a real entry fromSPACES_DATA showing all fields available for the Talleres category:
id— stable key used in WebSocket payloads and the Zustand storename— displayed as the card title in the Talleres gridlocation— rendered as a blue room badge on the cardsupervisor— tutor name shown below the room badge
Complete Tours en Curso Entry Example
The following is a real entry fromSPACES_DATA showing all fields available for the Tours en Curso category:
id— stable key used in WebSocket payloads and the Zustand storename— displayed as the card title in the Tours en Curso gridestablishment— school or institution the tour group originates from, shown as contextual metadata on the card