-
Notifications
You must be signed in to change notification settings - Fork 905
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
[workspace]add 2 step loading in 'Associate data sources' modal #8999
base: main
Are you sure you want to change the base?
[workspace]add 2 step loading in 'Associate data sources' modal #8999
Conversation
Signed-off-by: Qxisylolo <[email protected]>
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #8999 +/- ##
==========================================
- Coverage 60.88% 60.87% -0.02%
==========================================
Files 3802 3808 +6
Lines 91072 91233 +161
Branches 14375 14413 +38
==========================================
+ Hits 55447 55534 +87
- Misses 32083 32158 +75
+ Partials 3542 3541 -1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Signed-off-by: Qxisylolo <[email protected]>
...s/workspace/public/components/data_source_association/association_data_source_modal.test.tsx
Outdated
Show resolved
Hide resolved
...s/workspace/public/components/data_source_association/association_data_source_modal.test.tsx
Outdated
Show resolved
Hide resolved
...lugins/workspace/public/components/data_source_association/association_data_source_modal.tsx
Outdated
Show resolved
Hide resolved
...lugins/workspace/public/components/data_source_association/association_data_source_modal.tsx
Outdated
Show resolved
Hide resolved
...lugins/workspace/public/components/data_source_association/association_data_source_modal.tsx
Show resolved
Hide resolved
Signed-off-by: Qxisylolo <[email protected]>
return { openSearchConnections, dataConnections, dataSourcesList }; | ||
}) | ||
.then(({ openSearchConnections, dataConnections, dataSourcesList }) => { | ||
fetchDirectQueryConnections(dataSourcesList, http, notifications).then( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: I'm thinking of do we need to have a loading status for direct query connections for each data source. Since load direct query connections may take long time, but if we separate to each data source, it would be more faster.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the advice, updated and new screenshot is also updated
Signed-off-by: Qxisylolo <[email protected]>
Signed-off-by: Qxisylolo <[email protected]>
83c1820
to
a3c139c
Compare
Signed-off-by: Qxisylolo <[email protected]>
a3c139c
to
9b4259d
Compare
Description
This pr addresses the issue where a single data source has numerous connections, causing it to take more than 20 seconds to list the available data sources.
When a data source has numerous dqc connections, it will display the data source first with a badge 'loading' which will be replaced by '+n related' after dqc connections are completely loaded
Screenshot
2024-12-11.17.46.05.mov
Testing the changes
Changelog
Check List
yarn test:jest
yarn test:jest_integration