Skip to content
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

Merged
merged 23 commits into from
Sep 10, 2021
Merged

Conversation

akurinnoy
Copy link
Contributor

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

Copy link
Member

@sleshchenko sleshchenko left a 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.

Copy link
Member

@sleshchenko sleshchenko left a 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/common/src/helpers/errors.ts Outdated Show resolved Hide resolved
packages/dashboard-backend/src/index.ts Outdated Show resolved Hide resolved
tsconfig.json Outdated Show resolved Hide resolved
olexii4 and others added 2 commits September 9, 2021 12:33
* fix: fix getter for error messages

Signed-off-by: Oleksii Orel <oorel@redhat.com>
Copy link
Contributor

@olexii4 olexii4 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@github-actions
Copy link

Docker image build succeeded: docker.io/maxura/che-dashboard:che-dashboard-pull-329

Copy link
Member

@sleshchenko sleshchenko left a 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

@openshift-ci
Copy link

openshift-ci bot commented Sep 10, 2021

[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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants