openui / openui/open-ui

Improve DX of element reference attributes by allowing relative references instead of just ids

Open
#1,014 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

needs-triage
Dominant language
MDX
Stars
4.5k
Forks
226
Avg merge
2d 22h
Merged PRs (30d)
4

Description

I posted this proposal/exploration in https://github.com/whatwg/html/ 3 weeks ago but it occurred to me it would actually be an excellent fit here too.

There are several new elements also adopting this referencing scheme such as popovers, invokers, the new anchor attribute and so on, so I think it's time to address this longstanding author pain point.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the linked WHATWG HTML issue 10143 and the proposal/exploration referenced there. Determine whether Open UI has a defined scope for relative references across popovers, invokers, and the anchor attribute; the work is complete only when that scope and a concrete change are agreed.

Written by the indexing model from the issue text.

Assessment

Tech stack
html
Domain
frontend, web-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.