openui / openui/open-ui

[invokers] Geolocation API?

Open
#972 4 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Could invokeTarget be used to provide a declarative option for some JavaScript APIs? I'm thinking specifcally of JavaScript APIs that require a user interaction (and so most demos involve the creation of a button element anyway) and that don't currently have an equivalent HTML element.

For example:

I'm not sure how the button invoketarget="geolocation" would work other than perhaps populating an input element using invoketarget.

Are there are other JavaScript APIs that match the same criteria?

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 reviewing the issue discussion and the related Fullscreen and Web Share proposals, including issue 974. Determine whether Geolocation has a clear declarative invoketarget behavior and what API or input interaction it would require; the payload names no files or tests.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.