Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
wants to merge 2 commits into from
Closed

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

wants to merge 2 commits into from

Conversation

jmonster
Copy link
Collaborator

@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
Collaborator 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 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