Skip to content

feat: add OUIA IDs for configuration finder columns and items - #430

Closed
hpehl wants to merge 2 commits into
mainfrom
ouia/configuration-finder-ids
Closed

hpehl wants to merge 2 commits into
mainfrom
ouia/configuration-finder-ids

Conversation

@hpehl

@hpehl hpehl commented Oct 20, 2026

Copy link
Copy Markdown
Member

Summary

Adds dynamic OUIA IDs to finder columns and items in the configuration feature. Part of #428.

Changes

FinderBricks.crudColumn() — adds .ouiaId(OuiaIds.ouia(id)) on every CRUD column, automatically covering:

  • SystemPropertyColumn → hal-op-system-property-column
  • InterfaceColumn → hal-op-interface-column
  • PathColumn → hal-op-path-column
  • SocketBindingGroupColumn → hal-op-socket-binding-group-column
  • All socket binding sub-columns (inbound, outbound-local, outbound-remote)

ConfigurationColumn — OUIA IDs on the column and its 5 finder items:

  • Column: hal-op-configuration-column
  • Items: hal-op-subsystems-item, hal-op-interfaces-item, hal-op-socket-bindings-item, hal-op-paths-item, hal-op-system-properties-item
  • Item string literals extracted to package-private constants

SubsystemColumn — OUIA ID on the column: hal-op-subsystem-column

Modified Files

  • ui/.../finder/FinderBricks.java — .ouiaId() in crudColumn() helper
  • op/console/.../configuration/ConfigurationColumn.java — constants + .ouiaId() on column and items
  • op/console/.../configuration/SubsystemColumn.java — .ouiaId() on column

Testing

  • ./mvnw compile -P op passes
  • dave tests can use new IDs after sync (pnpm sync:ouia)

hpehl added 2 commits October 20, 2026 19:26
Added dynamic OUIA IDs:
- FinderBricks.crudColumn(): hal-op-<column-id> on all CRUD columns
- ConfigurationColumn: hal-op-configuration-column + item IDs
  (subsystems-item, interfaces-item, socket-bindings-item,
  paths-item, system-properties-item)
- SubsystemColumn: hal-op-subsystem-column

The crudColumn() change automatically covers all columns using
this helper: SystemPropertyColumn, InterfaceColumn, PathColumn,
SocketBindingGroupColumn, InboundColumn, OutboundLocalColumn,
OutboundRemoteColumn, and socket binding sub-columns.

Closes #428 (partial)
Replace plain string literals with package-private constants
for the 5 finder item identifiers used in both finderItem()
and ouiaId() calls.
@hpehl

hpehl commented Oct 20, 2026

Copy link
Copy Markdown
Member Author

Closing — finder columns and items implement HasIdentifier, so they are locatable via [data-identifier="..."] selectors without needing OUIA IDs.

@hpehl hpehl closed this Oct 20, 2026
@hpehl
hpehl deleted the ouia/configuration-finder-ids branch October 20, 2026 17:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant