-
Notifications
You must be signed in to change notification settings - Fork 385
[ui-Quick Start] Convert the Quick Start page within administrator server in ReactJS #4025
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
base: master
Are you sure you want to change the base?
Conversation
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.
Nice change! I've added some quick review comments.
desktop/core/src/desktop/js/apps/about/components/ko.connectorsConfig.js
Outdated
Show resolved
Hide resolved
desktop/core/src/desktop/js/apps/admin/Overview/OverviewTab.tsx
Outdated
Show resolved
Hide resolved
desktop/core/src/desktop/js/apps/admin/Overview/OverviewTab.tsx
Outdated
Show resolved
Hide resolved
|
1 similar comment
|
167dbf1
to
264d42c
Compare
|
1 similar comment
|
Python Coverage Report •
Pytest Report
|
3672760
to
d545a19
Compare
|
1 similar comment
|
|
73c5e6d
to
8e120f0
Compare
|
1 similar comment
|
1b22cf5
to
9e2ed1c
Compare
|
1 similar comment
|
9a6bc6e
to
ce5b692
Compare
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.
Nice work, we are almost there :-)
desktop/core/src/desktop/js/apps/admin/Overview/ConfigStatus.tsx
Outdated
Show resolved
Hide resolved
desktop/core/src/desktop/js/apps/admin/Overview/ConfigStatus.tsx
Outdated
Show resolved
Hide resolved
desktop/core/src/desktop/js/apps/admin/Overview/ConfigStatus.tsx
Outdated
Show resolved
Hide resolved
desktop/core/src/desktop/js/apps/admin/Overview/OverviewTab.test.tsx
Outdated
Show resolved
Hide resolved
desktop/core/src/desktop/js/apps/admin/Overview/OverviewTab.test.tsx
Outdated
Show resolved
Hide resolved
desktop/core/src/desktop/js/apps/admin/Overview/OverviewTab.tsx
Outdated
Show resolved
Hide resolved
WIP
WIP WIP WIP
ce5b692
to
5a032f9
Compare
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.
LGTM
wip linting
e899fc8
to
5035b79
Compare
try { | ||
const appWithExtraData = exampleAppsWithData.find(app => app.id === exampleApp.id); | ||
if (appWithExtraData && appWithExtraData.data) { | ||
for (const eachData of appWithExtraData.data) { |
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.
Currently you're looping through exampleAppsWithData.data and calling installExamplesCall without await. These are fire-and-forget calls, and any errors inside them won’t be caught. This could lead to unexpected behavior or race conditions.
: t('An error occurred while installing examples.'); | ||
huePubSub.publish('hue.global.error', { message: errorMessage }); | ||
} finally { | ||
setInstallingAppId(''); |
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.
since installExamplesCall is async this will be executed before they finish...
const message = t('Examples refreshed'); | ||
huePubSub.publish('hue.global.info', { message }); | ||
} catch (error) { | ||
const errorMessage = error.message |
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.
Don't we want the error to say which example installation that failed?
What changes were proposed in this pull request?
Update the Quick Start page to use React and align it with the Cloudera Design Language. Quick Start has been renamed as Overview at some places.
How was this patch tested?
Unit tests, manual testing
Updated pictures of the Quick Start page:
Please review Hue Contributing Guide before opening a pull request.