Repository navigation
feat: add comprehensive test suite and JSDoc type documentation for superset-embedded-sdk - #45930
Open
nextjohnp7 wants to merge 28 commits into
Open
nextjohnp7 wants to merge 28 commits into
nextjohnp7 wants to merge 28 commits into
Conversation
Updates the requirements on [databricks-sqlalchemy](https://github.com/databricks/databricks-sqlalchemy) to permit the latest version. - [Release notes](https://github.com/databricks/databricks-sqlalchemy/releases) - [Changelog](https://github.com/databricks/databricks-sqlalchemy/blob/main/CHANGELOG.md) - [Commits](databricks/databricks-sqlalchemy@v2.0.4...v2.0.10) --- updated-dependencies: - dependency-name: databricks-sqlalchemy dependency-version: 2.0.10 dependency-type: direct:development ... Signed-off-by: dependabot[bot] <support@github.com>
Updates the requirements on [snowflake-sqlalchemy](https://github.com/snowflakedb/snowflake-sqlalchemy) to permit the latest version. - [Release notes](https://github.com/snowflakedb/snowflake-sqlalchemy/releases) - [Commits](snowflakedb/snowflake-sqlalchemy@v1.11.1...v2.0.0) --- updated-dependencies: - dependency-name: snowflake-sqlalchemy dependency-version: 2.0.0 dependency-type: direct:development ... Signed-off-by: dependabot[bot] <support@github.com>
Bumps [duckdb](https://github.com/duckdb/duckdb-python) from 1.5.6 to 2.0.0. - [Release notes](https://github.com/duckdb/duckdb-python/releases) - [Commits](duckdb/duckdb-python@v1.5.6...v2.0.0) --- updated-dependencies: - dependency-name: duckdb dependency-version: 2.0.0 dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
Bumps [markdown](https://github.com/Python-Markdown/markdown) from 3.11 to 3.11.2. - [Release notes](https://github.com/Python-Markdown/markdown/releases) - [Changelog](https://github.com/Python-Markdown/markdown/blob/master/docs/changelog.md) - [Commits](Python-Markdown/markdown@3.11.0...3.11.2) --- updated-dependencies: - dependency-name: markdown dependency-version: 3.11.2 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
Bumps [pandas](https://github.com/pandas-dev/pandas) from 3.0.6 to 3.1.0. - [Release notes](https://github.com/pandas-dev/pandas/releases) - [Commits](pandas-dev/pandas@v3.0.6...v3.1.0) --- updated-dependencies: - dependency-name: pandas dependency-version: 3.1.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
Updates the requirements on [sqlalchemy-d1](https://github.com/sqlalchemy-cf-d1/sqlalchemy-d1) to permit the latest version. - [Release notes](https://github.com/sqlalchemy-cf-d1/sqlalchemy-d1/releases) - [Changelog](https://github.com/sqlalchemy-cf-d1/sqlalchemy-d1/blob/main/CHANGELOG.md) - [Commits](sqlalchemy-cf-d1/sqlalchemy-d1@v0.2.0...v0.2.2) --- updated-dependencies: - dependency-name: sqlalchemy-d1 dependency-version: 0.2.2 dependency-type: direct:development ... Signed-off-by: dependabot[bot] <support@github.com>
Bumps [xlsxwriter](https://github.com/jmcnamara/XlsxWriter) from 3.2.9 to 3.3.0. - [Changelog](https://github.com/jmcnamara/XlsxWriter/blob/main/Changes) - [Commits](jmcnamara/XlsxWriter@RELEASE_3.2.9...RELEASE_3.3.0) --- updated-dependencies: - dependency-name: xlsxwriter dependency-version: 3.3.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
Updates the requirements on [pyocient](https://github.com/ocient/pyocient_release) to permit the latest version. - [Commits](https://github.com/ocient/pyocient_release/commits) --- updated-dependencies: - dependency-name: pyocient dependency-version: 3.10.0 dependency-type: direct:development ... Signed-off-by: dependabot[bot] <support@github.com>
Bumps [fastmcp](https://github.com/PrefectHQ/fastmcp) from 4.1.2 to 4.1.3. - [Release notes](https://github.com/PrefectHQ/fastmcp/releases) - [Changelog](https://github.com/PrefectHQ/fastmcp/blob/main/docs/changelog.mdx) - [Commits](PrefectHQ/fastmcp@v4.1.2...v4.1.3) --- updated-dependencies: - dependency-name: fastmcp dependency-version: 4.1.3 dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
…ates Bumps the babel group with 1 update in the /superset-embedded-sdk directory: [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core). Bumps the babel group with 1 update in the /superset-frontend directory: [@babel/types](https://github.com/babel/babel/tree/HEAD/packages/babel-types). Updates `@babel/core` from 8.0.7 to 8.0.9 - [Release notes](https://github.com/babel/babel/releases) - [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md) - [Commits](https://github.com/babel/babel/commits/v8.0.9/packages/babel-core) Updates `@babel/types` from 7.29.8 to 7.29.11 - [Release notes](https://github.com/babel/babel/releases) - [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md) - [Commits](https://github.com/babel/babel/commits/v7.29.11/packages/babel-types) --- updated-dependencies: - dependency-name: "@babel/core" dependency-version: 8.0.9 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: babel - dependency-name: "@babel/types" dependency-version: 7.29.11 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: babel ... Signed-off-by: dependabot[bot] <support@github.com>
…ow tracked with strong config
Bumps [webpack](https://github.com/webpack/webpack) in `/docs` from 5.112.1 to 5.112.2. Updates `webpack` from 5.112.1 to 5.112.2 - [Release notes](https://github.com/webpack/webpack/releases) - [Changelog](https://github.com/webpack/webpack/blob/main/CHANGELOG.md) - [Commits](webpack/webpack@v5.112.1...v5.112.2) Updates `webpack` from 5.112.1 to 5.112.2 - [Release notes](https://github.com/webpack/webpack/releases) - [Changelog](https://github.com/webpack/webpack/blob/main/CHANGELOG.md) - [Commits](webpack/webpack@v5.112.1...v5.112.2) Updates `webpack` from 5.112.1 to 5.112.2 - [Release notes](https://github.com/webpack/webpack/releases) - [Changelog](https://github.com/webpack/webpack/blob/main/CHANGELOG.md) - [Commits](webpack/webpack@v5.112.1...v5.112.2) --- updated-dependencies: - dependency-name: webpack dependency-version: 5.112.2 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: npm_and_yarn - dependency-name: webpack dependency-version: 5.112.2 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: npm_and_yarn - dependency-name: webpack dependency-version: 5.112.2 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: npm_and_yarn ... Signed-off-by: dependabot[bot] <support@github.com>
…tion - Areas 3 & 4
…e-0.2.2-and-lt-1 chore(deps-dev): update sqlalchemy-d1 requirement from <1,>=0.2.0 to >=0.2.2,<1
…chemy-gte-2.0.10-and-lt-3 chore(deps-dev): update databricks-sqlalchemy requirement from <3,>=2.0.1 to >=2.0.10,<3
…hemy-gte-2.0.0-and-lt-3 chore(deps-dev): update snowflake-sqlalchemy requirement from <2,>=1.11.1 to >=2.0.0,<3
chore(deps-dev): bump duckdb from 1.5.6 to 2.0.0
chore(deps): bump markdown from 3.11 to 3.11.2
chore(deps): bump pandas from 3.0.6 to 3.1.0
chore(deps): bump xlsxwriter from 3.2.9 to 3.3.0
…0.0-and-lt-4 chore(deps-dev): update pyocient requirement from <4,>=3.9.0 to >=3.10.0,<4
chore(deps-dev): bump fastmcp from 4.1.2 to 4.1.3
…pm_and_yarn-8a83ba76da chore(deps-dev): bump webpack in /docs
…abel-261380e8ef chore(deps-dev): bump the babel group across 2 directories with 2 updates
…ype documentation
✅ Deploy Preview for superset-docs-preview ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
📝 Summary
This PR encompasses multiple improvements across the Superset repository, focusing on:
🌟 Key Changes
1. 🔒 Security Hardening (Commits
7ada191,f0d6385)openssl rand -base64 42CHANGE_ME_SECRET_KEY→quOaBLgg9tA+qaa1NYxMBpSLiztU2W1JVVj9O1/KwgiZgqkgdlr1EexJCHANGE_ME_GUEST_TOKEN_JWT_SECRET→ same strong valueCHANGE_ME_WEBSOCKET_JWT_SECRET→ same strong valuenoqa: S105removed fromsuperset/constants.py(lines 31-33)check_websocket_secret(),check_secret_key(),check_guest_token_secret())2. 📦 Dockerfile Optimizations (Commit
88ba54f)RUNcommands per stageARG INCLUDE_CHROMIUM="false"default - skips Playwright by default3. 🧪 superset-embedded-sdk Enhancements (Commit
dc46f56)Testing Area (Highest Impact):
guestTokenRefresh.test.ts- 16 test cases (8 original + 8 new)index.test.ts- 20+ new test caseswithTimeout.test.ts- 3 test cases (already working)Type Definitions Area:
GuestTokenFetchFn- fetch guest token function typeUiConfigType- dashboard UI configurationEmbedDashboardParams- embedding parameters with full docsSize- dashboard dimensionsObserveDataMaskCallbackFn- data mask change callbackThemeMode- available themes with documentationResolvePermalinkUrlFn- permalink URL resolvertsc --noEmitpasses with 0 errors📁 Files Modified (3 files)
superset-embedded-sdk/src/guestTokenRefresh.test.tssuperset-embedded-sdk/src/index.test.tssuperset-embedded-sdk/src/index.ts📊 Test Results
✅ Verification
tsc --noEmitpasses with 0 errors@url:https://github.com/nextjohnp7/superset.git` up to date📈 Commit History (28 total commits)
🚀 Benefits
🔧 Development Commands
❓ Questions & Further Work
Areas for future improvement:
📦 Review Checklist
noqa: S105removed from constants