Skip to content
This repository was archived by the owner on Jan 21, 2026. It is now read-only.

add generic <ezql-prompt /> web component#20

Closed
jmonster wants to merge 2 commits intomainfrom
jd/lit
Closed

add generic <ezql-prompt /> web component#20
jmonster wants to merge 2 commits intomainfrom
jd/lit

Conversation

@jmonster
Copy link
Contributor

@jmonster jmonster commented Mar 1, 2023

This feature will allow any website, regardless of framework (if any), to offer the Command-K experience with only a few additional lines of HTML:

<html>
  <head>
    <script src="@webcomponents/webcomponentsjs/webcomponents-loader.js"></script>
    <script src="lit/polyfill-support.js"></script>
    <script type="module" src="ezql-prompt.js"></script>
  </head>
  <body>
    <ezql-prompt query="how many units did we sell this month" token="wubbalubbadubdub" execute />
  </body>
</html>

TODO

@jmonster jmonster self-assigned this Mar 1, 2023
@jmonster
Copy link
Contributor Author

jmonster commented Mar 2, 2023

Closing in favor of creating a React component instead

@jmonster jmonster closed this Mar 2, 2023
@jmonster jmonster deleted the jd/lit branch March 3, 2023 17:24
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant