-
Notifications
You must be signed in to change notification settings - Fork 52
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
Use @devfile/api types in the dashboard frontend #329
Conversation
packages/dashboard-frontend/src/pages/GetStarted/updateDevfileMetadata.ts
Outdated
Show resolved
Hide resolved
packages/dashboard-frontend/src/pages/WorkspaceDetails/Header/Actions/index.tsx
Outdated
Show resolved
Hide resolved
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.
looked though and haven't found anything critical.
I'll take another more detailed look tomorrow.
packages/dashboard-frontend/src/services/helpers/getErrorMessage.ts
Outdated
Show resolved
Hide resolved
packages/dashboard-frontend/src/services/workspace-client/devworkspace/devWorkspaceClient.ts
Outdated
Show resolved
Hide resolved
packages/dashboard-backend/src/services/kubeclient/helpers/index.ts
Outdated
Show resolved
Hide resolved
packages/dashboard-frontend/src/containers/FactoryLoader/index.tsx
Outdated
Show resolved
Hide resolved
packages/dashboard-frontend/src/containers/FactoryLoader/updateDevfileMetadata.ts
Outdated
Show resolved
Hide resolved
packages/dashboard-frontend/src/services/devfileApi/typeguards.ts
Outdated
Show resolved
Hide resolved
packages/dashboard-frontend/src/services/workspace-client/devworkspace/converters/index.ts
Outdated
Show resolved
Hide resolved
packages/dashboard-backend/src/devworkspace-client/services/api/che-api.ts
Outdated
Show resolved
Hide resolved
packages/dashboard-frontend/src/store/Workspaces/devWorkspaces/index.ts
Outdated
Show resolved
Hide resolved
packages/dashboard-frontend/src/store/__mocks__/devWorkspaceBuilder.ts
Outdated
Show resolved
Hide resolved
ff12894
to
fda8e7c
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.
Nothing critical found. LGTM
I'll approve after tests are fixed and I'll test changes manually.
packages/dashboard-frontend/src/store/__mocks__/devWorkspaceBuilder.ts
Outdated
Show resolved
Hide resolved
* fix: fix getter for error messages Signed-off-by: Oleksii Orel <oorel@redhat.com>
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
Docker image build succeeded: docker.io/maxura/che-dashboard:che-dashboard-pull-329 |
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.
Tested and seems to work just fine
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: akurinnoy, olexii4, sleshchenko The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
What does this PR do?
This PR refactors the Dashboard Frontend to use types from
@devfile/api
package. It extends original interfaces provided to have some optional fields mandatory and applies them to the dashboard frontend.What issues does this PR fix or reference?
fixes eclipse-che/che#20191