Skip to content

Conversation

@jmcodingde
Copy link
Contributor

@jmcodingde jmcodingde commented Jan 15, 2026

Ref: https://laterpay.atlassian.net/browse/CEX-68

Summary

  • Update section "Supertab.js / Installation / npm" to use the new loadSupertab function instead of directly importing the Supertab class.
  • This change reflects the updated API where loadSupertab() loads the latest compatible version from
    the CDN and returns the Supertab class. (See the parent epic CEX-40 for details).

Accompanying improvements

While I was at it, I tried to improve the overall structure and some details of the "Installation" page:

  • Restructure content with clear prerequisites and quick start guide
  • Add installation method selection guide based on project setup: bundler, modern browsers or legacy browser support
  • Improve code examples with consistent formatting and clearer labels
  • Add next steps section to guide developers forward
  • Clarify CDN loading methods and versioning information

Review

You can see the updated page in the PR preview: https://supertab-cex-68-supertab-js-document-new-function-load-supe.mintlify.app/supertab-js/installation

Update the npm installation method to use the new loadSupertab() function
instead of directly importing the Supertab class. This change reflects the
updated API where loadSupertab() loads the latest compatible version from
the CDN and returns the Supertab class.

Accompanying improvements:
- Restructure content with clear prerequisites and quick start guide
- Add installation method selection guide based on project setup
- Improve code examples with consistent formatting and clearer labels
- Enhance readability with better organization and concise language
- Add next steps section to guide developers forward
- Clarify CDN loading methods and versioning information
@jmcodingde
Copy link
Contributor Author

jmcodingde commented Jan 15, 2026

This is blocked until we have tested the new loadSupertab function with Mark Sost on Deepak. See CEX-68 for details.

@jmcodingde jmcodingde removed the Blocked Please don't merge! label Jan 20, 2026
@jmcodingde
Copy link
Contributor Author

With deepak migrated and working well since last Fri, I think we're ready to update our docs. This is now unblocked.

Copy link
Contributor

@unculture unculture left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jmcodingde jmcodingde merged commit ce56614 into main Jan 22, 2026
5 checks passed
@jmcodingde jmcodingde deleted the CEX-68-supertab-js-document-new-function-load-supertab-in-public-docs branch January 22, 2026 10:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants