Skip to content

feat: enhance API token handling and playground UI notifications#360

Open
bernirosas wants to merge 1 commit intomainfrom
feat/allow-no-api-key-on-set-up
Open

feat: enhance API token handling and playground UI notifications#360
bernirosas wants to merge 1 commit intomainfrom
feat/allow-no-api-key-on-set-up

Conversation

@bernirosas
Copy link
Copy Markdown
Contributor

  • Updated the global TS interface to make the token property optional.
  • Improved the demo HTML to include a notice for when no API token is set, informing users that events will be queued.
  • Modified the configuration form to allow for an empty token field, with a hint indicating that events will queue until a token is provided.
  • Enhanced JavaScript logic to manage event statuses based on the presence of a token, updating UI elements accordingly.
  • Added tests to ensure proper behavior when the token is missing, including capturing events and observing dynamically added elements.

These changes improve user experience and ensure better handling of API token scenarios.

- Updated the global TS interface to make the token property optional.
- Improved the demo HTML to include a notice for when no API token is set, informing users that events will be queued.
- Modified the configuration form to allow for an empty token field, with a hint indicating that events will queue until a token is provided.
- Enhanced JavaScript logic to manage event statuses based on the presence of a token, updating UI elements accordingly.
- Added tests to ensure proper behavior when the token is missing, including capturing events and observing dynamically added elements.

These changes improve user experience and ensure better handling of API token scenarios.
@bernirosas bernirosas changed the title feat: enhance API token handling and UI notifications feat: enhance API token handling and palyground UI notifications Apr 1, 2026
@bernirosas bernirosas changed the title feat: enhance API token handling and palyground UI notifications feat: enhance API token handling and playground UI notifications Apr 1, 2026
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