Skip to content

feat: add OUIA IDs for shared UI components and skeleton toolbar - #429

Merged
hpehl merged 1 commit into
mainfrom
ouia/shared-ui-skeleton-ids
Oct 20, 2026
Merged

hpehl merged 1 commit into
mainfrom
ouia/shared-ui-skeleton-ids

Conversation

@hpehl

@hpehl hpehl commented Oct 20, 2026

Copy link
Copy Markdown
Member

Summary

Adds OUIA IDs to shared UI components and skeleton toolbar items so they can be targeted by dave tests. Part of #428.

New Static Constants in OuiaIds.java

Constant Value
ENDPOINT_SELECTOR hal-op-endpoint-selector
MODEL_GRAPH_INDICATOR hal-op-model-graph-indicator
NOTIFICATION_BADGE hal-op-notification-badge
SEARCH_BTN hal-op-search-btn
THEME_SELECTOR hal-op-theme-selector

Dynamic OUIA IDs

  • ResourceList: hal-op-resource-list-<child-type> (e.g. hal-op-resource-list-data-source)
  • DefaultFormItem: hal-op-form-item-<attribute-name> (e.g. hal-op-form-item-port)

Modified Files

  • resources/.../OuiaIds.java — 5 new constants
  • op/console/.../skeleton/Skeleton.java — .ouiaId() on search button, notification badge, theme selector, model graph indicator, endpoint selector
  • ui/.../resource/shell/ResourceList.java — dynamic OUIA ID based on template child type
  • ui/.../resource/form/DefaultFormItem.java — dynamic OUIA ID based on attribute identifier

Testing

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

Added static constants:
- ENDPOINT_SELECTOR
- MODEL_GRAPH_INDICATOR
- NOTIFICATION_BADGE
- SEARCH_BTN
- THEME_SELECTOR

Added dynamic OUIA IDs:
- ResourceList: hal-op-resource-list-<child-type>
- DefaultFormItem: hal-op-form-item-<attribute-name>

These IDs enable dave (halOP test suite) to target
skeleton toolbar items, resource lists, and form fields
with stable OUIA selectors.

Closes #428 (partial)
@hpehl
hpehl merged commit b7a25be into main Oct 20, 2026
3 checks passed
@hpehl
hpehl deleted the ouia/shared-ui-skeleton-ids branch October 20, 2026 17:19
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