Skip to content

Feature/plugin architecture#334

Merged
zhb-ai merged 3 commits intodevfrom
feature/plugin-architecture
May 9, 2026
Merged

Feature/plugin architecture#334
zhb-ai merged 3 commits intodevfrom
feature/plugin-architecture

Conversation

@zhb-ai
Copy link
Copy Markdown
Collaborator

@zhb-ai zhb-ai commented May 9, 2026

No description provided.

zhb-y-agent and others added 3 commits May 9, 2026 05:35
- Refactor data loading to utilize Superset's Chart Data API instead of SQL Lab API, simplifying permission requirements to only `datasource access`.
- Enhance documentation to clarify permission needs and security advantages of the new approach.
- Update related tests to validate the new data retrieval method and ensure compatibility with the Chart Data API.
- Remove obsolete SQL Lab related code and helper functions.
…ized errors

- Introduce `extractErrorMessage` function to handle various error types, including RTK serialized errors, ensuring proper message extraction.
- Update error handling in `DataSourceSidebar`, `DataThread`, and `DBTableManager` components to utilize the new extraction method, preventing `[object Object]` outputs.
- Add tests for `extractErrorMessage` to validate behavior with different error shapes, including ApiRequestError and plain Error instances.
- Refactor existing error handling logic to improve clarity and maintainability.
@zhb-ai zhb-ai merged commit 0557b4c into dev May 9, 2026
zhb-ai added a commit that referenced this pull request May 9, 2026
Merge pull request #334 from microsoft/feature/plugin-architecture
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.

2 participants