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

Added types for notebook image and REST end point stubs. #147

Merged
merged 1 commit into from
Mar 21, 2022

Conversation

dlabaj
Copy link
Contributor

@dlabaj dlabaj commented Mar 18, 2022

Updated with REST api BYON notebook image endpoints and new notebook image types.

Here is a link to the BYON REST api:

https://studio-ws.apicur.io/sharing/f34aaaa8-58e0-48fb-b36f-1d91ac5ebf48

Relates to issue #140 and open-services-group/byon#18

Updated with REST api notebook image endpoints and new notebook image types.
@dlabaj dlabaj requested a review from DaoDaoNoCode March 18, 2022 19:52
@dlabaj dlabaj added the kind/documentation Improvements or additions to documentation label Mar 18, 2022
@dlabaj dlabaj merged commit 4814dc5 into opendatahub-io:BYON Mar 21, 2022
backend/src/types.ts Show resolved Hide resolved
backend/src/types.ts Show resolved Hide resolved

export type Notebook = {
name: string;
repo: string;
Copy link
Member

Choose a reason for hiding this comment

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

@dlabaj can we revisit this? Is this schema based on https://studio.apicur.io/preview?aid=66775#operation/getNotebooks ?

image

I think this doesn't match, because:

  1. We have no idea about a repo. We import from container image repository not github repository. Can we call this url?
  2. Can we change status to phase so it matches the backend names better?

Copy link
Contributor Author

@dlabaj dlabaj Mar 22, 2022

Choose a reason for hiding this comment

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

For item 1 we can definitely change it to "URL" Should we update mocks ups so they say URL as well? https://marvelapp.com/prototype/6dcfc3h/screen/85139860

For item 2 it should have been phase. Status from this mockup I am assuming would show the phase while it's being imported and then change to the visible value (aka enabled / disabled) setting once it reaches success? https://marvelapp.com/prototype/6dcfc3h/screen/85139859
@tumido Let me know if that's your understanding as well.

Copy link
Member

Choose a reason for hiding this comment

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

For item 1

I think this is a tricky part on the UI. Imagine this example. You go to URL https://quay.io/repository/tcoufal/jh-minimal-test. This image can be pulled by podman/docker as quay.io/tcoufal/jh-minimal-test URI which in container terminology (see https://developers.redhat.com/blog/2018/02/22/container-terminology-practical-introduction#repository) is referred to as a "repository"...

image

If we name it URL in the UI, we need to clarify to the user we want the quay.io/tcoufal/jh-minimal-test value, not https://quay.io/repository/tcoufal/jh-minimal-test. On the other hand, naming it "Repository" carries the "code repository" connotation (as seen in the API example)...

In addition to that, we have an annotation in JupyterHub ImageStreams called opendatahub.io/notebook-image-url. This annotation is used to point to the git repo where the source code for the image lives. Again, using the url and repository as synonyms...

In the BYON pipelines, we call the parameter URL.

Honestly the more I think about it, the more confused I am... I think I'm overcomplicating things but I would really like to have things named consistently. No matter which term we end up using.

For item 2

Honestly, I think this is a common confusion and inconsistency in OpenShift. Take Pods as an example:

image

The UI shows column named Status but API serves the value in .status.phase field...

In our case we're gonna source this value from opendatahub.io/notebook-image-phase annotation. So... I think for the sake of UI consistency the column should be definitely called "Status" (user expect that based on the rest of OpenShift UI). When it comes to the API side, the custom is to call this value a phase, since status usually means a complex field containing many different status-related information.

frontend/src/types.ts Show resolved Hide resolved
uploaded?: Date;
visible?: boolean;
packages?: NotebookPackage[];
}
Copy link
Member

Choose a reason for hiding this comment

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

I also think we're missing here the field for messages -> this is populated in case the import finds some violations and refuses to import. It's a suggestion to user about what went wrong. See:

https://marvelapp.com/prototype/6dcfc3h/screen/85139862
image

In the OpenShift resource it is defined as a JSON encoded string (we can parse it in the backend):

[{"severity":"error","message":"Python version does not meet minimal required version ('3.8.0')"}]

Copy link
Contributor Author

@dlabaj dlabaj Mar 22, 2022

Choose a reason for hiding this comment

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

Copy link
Member

Choose a reason for hiding this comment

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

I don't think so.. I think you want to get a 200 message and still receive the messages/recommendations.

The import action is an async process. So the API doesn't know this data at the time or a POST to /api/notebooks.

When you do GET on /api/notebooks you should receive all the images and some of them will have status "Succeeded" and some of them may have status "Failed" with the messages populated...

Presence of the messages doesn't mean the resource doesn't exist (or that you should not be requesting it - as 400 would imply), it means the import has failed due to any reason and you should receive a valid 200 with a payload + those details. Imagine this being a failing/crashing pod resource. If you do a get request for it, you still get the object json/yaml no matter the failing state...

Copy link
Contributor Author

Choose a reason for hiding this comment

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

okay will add this field.

This was referenced Mar 23, 2022
tumido pushed a commit to tumido/odh-dashboard that referenced this pull request Mar 24, 2022
Updated with REST api notebook image endpoints and new notebook image types.
dlabaj added a commit to dlabaj/odh-dashboard that referenced this pull request Mar 30, 2022
Updated with REST api notebook image endpoints and new notebook image types.
dlabaj added a commit that referenced this pull request Mar 30, 2022
* Updated way that to detect an admin. (#137)

Fixed linting error.

* Update backend port setting and makefile dev commands. (#133)

* Update README.md (#96)

Updated Readme to specify that a build is required prior to running the development server.

* Fix for input not allowing blank spaces.:

Fix to allow a user to enter an empty string.

Fixed with review comment.

* Add culler timeout settings feature (#134)

* Added types for notebookimage and status (#147)

Updated with REST api notebook image endpoints and new notebook image types.

* Updated REST API  (#155)

* Updated with REST API design changes.

Fixed formatting error.

* Update backend/src/types.ts

Co-authored-by: Tom Coufal <7453394+tumido@users.noreply.github.com>

Co-authored-by: Tom Coufal <7453394+tumido@users.noreply.github.com>

* Updated type.ts in front end with Succeeded

* [byon] Implement backend (#156)

* feat(byon): List all notebooks

Signed-off-by: Tomas Coufal <tcoufal@redhat.com>

* feat(byon): Get single notebook

Signed-off-by: Tomas Coufal <tcoufal@redhat.com>

* fix(byon): Update api spec to include software and id

Signed-off-by: Tomas Coufal <tcoufal@redhat.com>

* feat(byon): Schedule new notebook import

Signed-off-by: Tomas Coufal <tcoufal@redhat.com>

* feat(byon): Delete notebook

Signed-off-by: Tomas Coufal <tcoufal@redhat.com>

* feat(byon): Update notebook

Signed-off-by: Tomas Coufal <tcoufal@redhat.com>

Co-authored-by: Christopher Chase <cchase@redhat.com>
Co-authored-by: Chad Roberts <croberts@redhat.com>
Co-authored-by: Juntao Wang <37624318+DaoDaoNoCode@users.noreply.github.com>
Co-authored-by: Tom Coufal <7453394+tumido@users.noreply.github.com>
dlabaj added a commit to dlabaj/odh-dashboard that referenced this pull request Apr 8, 2022
Updated with REST api notebook image endpoints and new notebook image types.
Updated REST API  (opendatahub-io#155)

* Updated with REST API design changes.

Fixed formatting error.

* Update backend/src/types.ts

Co-authored-by: Tom Coufal <7453394+tumido@users.noreply.github.com>

Co-authored-by: Tom Coufal <7453394+tumido@users.noreply.github.com>
Updated type.ts in front end with Succeeded
[byon] Implement backend (opendatahub-io#156)

* feat(byon): List all notebooks

Signed-off-by: Tomas Coufal <tcoufal@redhat.com>

* feat(byon): Get single notebook

Signed-off-by: Tomas Coufal <tcoufal@redhat.com>

* fix(byon): Update api spec to include software and id

Signed-off-by: Tomas Coufal <tcoufal@redhat.com>

* feat(byon): Schedule new notebook import

Signed-off-by: Tomas Coufal <tcoufal@redhat.com>

* feat(byon): Delete notebook

Signed-off-by: Tomas Coufal <tcoufal@redhat.com>

* feat(byon): Update notebook

Signed-off-by: Tomas Coufal <tcoufal@redhat.com>
Rebased BYON from master (opendatahub-io#162)

* Updated way that to detect an admin. (opendatahub-io#137)

Fixed linting error.

* Update backend port setting and makefile dev commands. (opendatahub-io#133)

* Update README.md (opendatahub-io#96)

Updated Readme to specify that a build is required prior to running the development server.

* Fix for input not allowing blank spaces.:

Fix to allow a user to enter an empty string.

Fixed with review comment.

* Add culler timeout settings feature (opendatahub-io#134)

* Added types for notebookimage and status (opendatahub-io#147)

Updated with REST api notebook image endpoints and new notebook image types.

* Updated REST API  (opendatahub-io#155)

* Updated with REST API design changes.

Fixed formatting error.

* Update backend/src/types.ts

Co-authored-by: Tom Coufal <7453394+tumido@users.noreply.github.com>

Co-authored-by: Tom Coufal <7453394+tumido@users.noreply.github.com>

* Updated type.ts in front end with Succeeded

* [byon] Implement backend (opendatahub-io#156)

* feat(byon): List all notebooks

Signed-off-by: Tomas Coufal <tcoufal@redhat.com>

* feat(byon): Get single notebook

Signed-off-by: Tomas Coufal <tcoufal@redhat.com>

* fix(byon): Update api spec to include software and id

Signed-off-by: Tomas Coufal <tcoufal@redhat.com>

* feat(byon): Schedule new notebook import

Signed-off-by: Tomas Coufal <tcoufal@redhat.com>

* feat(byon): Delete notebook

Signed-off-by: Tomas Coufal <tcoufal@redhat.com>

* feat(byon): Update notebook

Signed-off-by: Tomas Coufal <tcoufal@redhat.com>

Co-authored-by: Christopher Chase <cchase@redhat.com>
Co-authored-by: Chad Roberts <croberts@redhat.com>
Co-authored-by: Juntao Wang <37624318+DaoDaoNoCode@users.noreply.github.com>
Co-authored-by: Tom Coufal <7453394+tumido@users.noreply.github.com>
fix(byon): Use notebook-image label for visibility toggle (opendatahub-io#169)

Signed-off-by: Tomas Coufal <tcoufal@redhat.com>
feat(byon): Feat add creator annotation (opendatahub-io#170)

Signed-off-by: Tomas Coufal <tcoufal@redhat.com>
feat(byon): Allow to patch name and description on notebook (opendatahub-io#172)

Signed-off-by: Tomas Coufal <tcoufal@redhat.com>
feat(byon): Allow python dependency visibility field changes (opendatahub-io#173)

Signed-off-by: Tomas Coufal <tcoufal@redhat.com>
Added code for importing byon image. (opendatahub-io#171)

Updated front end code with import and start of table.
Updated with byon changes

Updated code with byon ui changes.
Integrated import, delete, and get functionality for notebooks.

Added start of edit panel.

Updated build error fixes.

Updates to edit dialog and linting cleanup.

Added sort to table.

Added filtering.

Added failure warning to allow user to click

Add check disable enabling failed notebook images

Fixed with review comments.

Fixed time bug.

Removed admin
dlabaj added a commit to dlabaj/odh-dashboard that referenced this pull request Apr 8, 2022
Updated with REST api notebook image endpoints and new notebook image types.
Updated REST API  (opendatahub-io#155)

* Updated with REST API design changes.

Fixed formatting error.

* Update backend/src/types.ts

Co-authored-by: Tom Coufal <7453394+tumido@users.noreply.github.com>

Co-authored-by: Tom Coufal <7453394+tumido@users.noreply.github.com>
Updated type.ts in front end with Succeeded
[byon] Implement backend (opendatahub-io#156)

* feat(byon): List all notebooks

Signed-off-by: Tomas Coufal <tcoufal@redhat.com>

* feat(byon): Get single notebook

Signed-off-by: Tomas Coufal <tcoufal@redhat.com>

* fix(byon): Update api spec to include software and id

Signed-off-by: Tomas Coufal <tcoufal@redhat.com>

* feat(byon): Schedule new notebook import

Signed-off-by: Tomas Coufal <tcoufal@redhat.com>

* feat(byon): Delete notebook

Signed-off-by: Tomas Coufal <tcoufal@redhat.com>

* feat(byon): Update notebook

Signed-off-by: Tomas Coufal <tcoufal@redhat.com>
Rebased BYON from master (opendatahub-io#162)

* Updated way that to detect an admin. (opendatahub-io#137)

Fixed linting error.

* Update backend port setting and makefile dev commands. (opendatahub-io#133)

* Update README.md (opendatahub-io#96)

Updated Readme to specify that a build is required prior to running the development server.

* Fix for input not allowing blank spaces.:

Fix to allow a user to enter an empty string.

Fixed with review comment.

* Add culler timeout settings feature (opendatahub-io#134)

* Added types for notebookimage and status (opendatahub-io#147)

Updated with REST api notebook image endpoints and new notebook image types.

* Updated REST API  (opendatahub-io#155)

* Updated with REST API design changes.

Fixed formatting error.

* Update backend/src/types.ts

Co-authored-by: Tom Coufal <7453394+tumido@users.noreply.github.com>

Co-authored-by: Tom Coufal <7453394+tumido@users.noreply.github.com>

* Updated type.ts in front end with Succeeded

* [byon] Implement backend (opendatahub-io#156)

* feat(byon): List all notebooks

Signed-off-by: Tomas Coufal <tcoufal@redhat.com>

* feat(byon): Get single notebook

Signed-off-by: Tomas Coufal <tcoufal@redhat.com>

* fix(byon): Update api spec to include software and id

Signed-off-by: Tomas Coufal <tcoufal@redhat.com>

* feat(byon): Schedule new notebook import

Signed-off-by: Tomas Coufal <tcoufal@redhat.com>

* feat(byon): Delete notebook

Signed-off-by: Tomas Coufal <tcoufal@redhat.com>

* feat(byon): Update notebook

Signed-off-by: Tomas Coufal <tcoufal@redhat.com>

Co-authored-by: Christopher Chase <cchase@redhat.com>
Co-authored-by: Chad Roberts <croberts@redhat.com>
Co-authored-by: Juntao Wang <37624318+DaoDaoNoCode@users.noreply.github.com>
Co-authored-by: Tom Coufal <7453394+tumido@users.noreply.github.com>
fix(byon): Use notebook-image label for visibility toggle (opendatahub-io#169)

Signed-off-by: Tomas Coufal <tcoufal@redhat.com>
feat(byon): Feat add creator annotation (opendatahub-io#170)

Signed-off-by: Tomas Coufal <tcoufal@redhat.com>
feat(byon): Allow to patch name and description on notebook (opendatahub-io#172)

Signed-off-by: Tomas Coufal <tcoufal@redhat.com>
feat(byon): Allow python dependency visibility field changes (opendatahub-io#173)

Signed-off-by: Tomas Coufal <tcoufal@redhat.com>
Added code for importing byon image. (opendatahub-io#171)

Updated front end code with import and start of table.
Updated with byon changes

Updated code with byon ui changes.
Integrated import, delete, and get functionality for notebooks.

Added start of edit panel.

Updated build error fixes.

Updates to edit dialog and linting cleanup.

Added sort to table.

Added filtering.

Added failure warning to allow user to click

Add check disable enabling failed notebook images

Fixed with review comments.

Fixed time bug.

Removed admin
dlabaj added a commit to dlabaj/odh-dashboard that referenced this pull request Apr 8, 2022
Updated with REST api notebook image endpoints and new notebook image types.
Updated REST API  (opendatahub-io#155)

* Updated with REST API design changes.

Fixed formatting error.

* Update backend/src/types.ts

Co-authored-by: Tom Coufal <7453394+tumido@users.noreply.github.com>

Co-authored-by: Tom Coufal <7453394+tumido@users.noreply.github.com>
Updated type.ts in front end with Succeeded
[byon] Implement backend (opendatahub-io#156)

* feat(byon): List all notebooks

Signed-off-by: Tomas Coufal <tcoufal@redhat.com>

* feat(byon): Get single notebook

Signed-off-by: Tomas Coufal <tcoufal@redhat.com>

* fix(byon): Update api spec to include software and id

Signed-off-by: Tomas Coufal <tcoufal@redhat.com>

* feat(byon): Schedule new notebook import

Signed-off-by: Tomas Coufal <tcoufal@redhat.com>

* feat(byon): Delete notebook

Signed-off-by: Tomas Coufal <tcoufal@redhat.com>

* feat(byon): Update notebook

Signed-off-by: Tomas Coufal <tcoufal@redhat.com>
Rebased BYON from master (opendatahub-io#162)

* Updated way that to detect an admin. (opendatahub-io#137)

Fixed linting error.

* Update backend port setting and makefile dev commands. (opendatahub-io#133)

* Update README.md (opendatahub-io#96)

Updated Readme to specify that a build is required prior to running the development server.

* Fix for input not allowing blank spaces.:

Fix to allow a user to enter an empty string.

Fixed with review comment.

* Add culler timeout settings feature (opendatahub-io#134)

* Added types for notebookimage and status (opendatahub-io#147)

Updated with REST api notebook image endpoints and new notebook image types.

* Updated REST API  (opendatahub-io#155)

* Updated with REST API design changes.

Fixed formatting error.

* Update backend/src/types.ts

Co-authored-by: Tom Coufal <7453394+tumido@users.noreply.github.com>

Co-authored-by: Tom Coufal <7453394+tumido@users.noreply.github.com>

* Updated type.ts in front end with Succeeded

* [byon] Implement backend (opendatahub-io#156)

* feat(byon): List all notebooks

Signed-off-by: Tomas Coufal <tcoufal@redhat.com>

* feat(byon): Get single notebook

Signed-off-by: Tomas Coufal <tcoufal@redhat.com>

* fix(byon): Update api spec to include software and id

Signed-off-by: Tomas Coufal <tcoufal@redhat.com>

* feat(byon): Schedule new notebook import

Signed-off-by: Tomas Coufal <tcoufal@redhat.com>

* feat(byon): Delete notebook

Signed-off-by: Tomas Coufal <tcoufal@redhat.com>

* feat(byon): Update notebook

Signed-off-by: Tomas Coufal <tcoufal@redhat.com>

Co-authored-by: Christopher Chase <cchase@redhat.com>
Co-authored-by: Chad Roberts <croberts@redhat.com>
Co-authored-by: Juntao Wang <37624318+DaoDaoNoCode@users.noreply.github.com>
Co-authored-by: Tom Coufal <7453394+tumido@users.noreply.github.com>
fix(byon): Use notebook-image label for visibility toggle (opendatahub-io#169)

Signed-off-by: Tomas Coufal <tcoufal@redhat.com>
feat(byon): Feat add creator annotation (opendatahub-io#170)

Signed-off-by: Tomas Coufal <tcoufal@redhat.com>
feat(byon): Allow to patch name and description on notebook (opendatahub-io#172)

Signed-off-by: Tomas Coufal <tcoufal@redhat.com>
feat(byon): Allow python dependency visibility field changes (opendatahub-io#173)

Signed-off-by: Tomas Coufal <tcoufal@redhat.com>
Added code for importing byon image. (opendatahub-io#171)

Updated front end code with import and start of table.
Updated with byon changes

Updated code with byon ui changes.
Integrated import, delete, and get functionality for notebooks.

Added start of edit panel.

Updated build error fixes.

Updates to edit dialog and linting cleanup.

Added sort to table.

Added filtering.

Added failure warning to allow user to click

Add check disable enabling failed notebook images

Fixed with review comments.

Fixed time bug.

Removed admin
LaVLaS pushed a commit to LaVLaS/odh-dashboard that referenced this pull request Apr 8, 2022
dlabaj added a commit to dlabaj/odh-dashboard that referenced this pull request Apr 8, 2022
Updated with REST api notebook image endpoints and new notebook image types.
Updated REST API  (opendatahub-io#155)

* Updated with REST API design changes.

Fixed formatting error.

* Update backend/src/types.ts

Co-authored-by: Tom Coufal <7453394+tumido@users.noreply.github.com>

Co-authored-by: Tom Coufal <7453394+tumido@users.noreply.github.com>
Updated type.ts in front end with Succeeded
[byon] Implement backend (opendatahub-io#156)

* feat(byon): List all notebooks

Signed-off-by: Tomas Coufal <tcoufal@redhat.com>

* feat(byon): Get single notebook

Signed-off-by: Tomas Coufal <tcoufal@redhat.com>

* fix(byon): Update api spec to include software and id

Signed-off-by: Tomas Coufal <tcoufal@redhat.com>

* feat(byon): Schedule new notebook import

Signed-off-by: Tomas Coufal <tcoufal@redhat.com>

* feat(byon): Delete notebook

Signed-off-by: Tomas Coufal <tcoufal@redhat.com>

* feat(byon): Update notebook

Signed-off-by: Tomas Coufal <tcoufal@redhat.com>
Rebased BYON from master (opendatahub-io#162)

* Updated way that to detect an admin. (opendatahub-io#137)

Fixed linting error.

* Update backend port setting and makefile dev commands. (opendatahub-io#133)

* Update README.md (opendatahub-io#96)

Updated Readme to specify that a build is required prior to running the development server.

* Fix for input not allowing blank spaces.:

Fix to allow a user to enter an empty string.

Fixed with review comment.

* Add culler timeout settings feature (opendatahub-io#134)

* Added types for notebookimage and status (opendatahub-io#147)

Updated with REST api notebook image endpoints and new notebook image types.

* Updated REST API  (opendatahub-io#155)

* Updated with REST API design changes.

Fixed formatting error.

* Update backend/src/types.ts

Co-authored-by: Tom Coufal <7453394+tumido@users.noreply.github.com>

Co-authored-by: Tom Coufal <7453394+tumido@users.noreply.github.com>

* Updated type.ts in front end with Succeeded

* [byon] Implement backend (opendatahub-io#156)

* feat(byon): List all notebooks

Signed-off-by: Tomas Coufal <tcoufal@redhat.com>

* feat(byon): Get single notebook

Signed-off-by: Tomas Coufal <tcoufal@redhat.com>

* fix(byon): Update api spec to include software and id

Signed-off-by: Tomas Coufal <tcoufal@redhat.com>

* feat(byon): Schedule new notebook import

Signed-off-by: Tomas Coufal <tcoufal@redhat.com>

* feat(byon): Delete notebook

Signed-off-by: Tomas Coufal <tcoufal@redhat.com>

* feat(byon): Update notebook

Signed-off-by: Tomas Coufal <tcoufal@redhat.com>

Co-authored-by: Christopher Chase <cchase@redhat.com>
Co-authored-by: Chad Roberts <croberts@redhat.com>
Co-authored-by: Juntao Wang <37624318+DaoDaoNoCode@users.noreply.github.com>
Co-authored-by: Tom Coufal <7453394+tumido@users.noreply.github.com>
fix(byon): Use notebook-image label for visibility toggle (opendatahub-io#169)

Signed-off-by: Tomas Coufal <tcoufal@redhat.com>
feat(byon): Feat add creator annotation (opendatahub-io#170)

Signed-off-by: Tomas Coufal <tcoufal@redhat.com>
feat(byon): Allow to patch name and description on notebook (opendatahub-io#172)

Signed-off-by: Tomas Coufal <tcoufal@redhat.com>
feat(byon): Allow python dependency visibility field changes (opendatahub-io#173)

Signed-off-by: Tomas Coufal <tcoufal@redhat.com>
Added code for importing byon image. (opendatahub-io#171)

Updated front end code with import and start of table.
Updated with byon changes

Updated code with byon ui changes.
Integrated import, delete, and get functionality for notebooks.

Added start of edit panel.

Updated build error fixes.

Updates to edit dialog and linting cleanup.

Added sort to table.

Added filtering.

Added failure warning to allow user to click

Add check disable enabling failed notebook images

Fixed with review comments.

Fixed time bug.

Removed admin
Update backend port setting and makefile dev commands. (opendatahub-io#133)
Use webpack dev server proxy instead of CORS utilities (opendatahub-io#127)


Fixed issues with cherry picks.
dlabaj added a commit to dlabaj/odh-dashboard that referenced this pull request Apr 8, 2022
Updated with REST api notebook image endpoints and new notebook image types.
Updated REST API  (opendatahub-io#155)

* Updated with REST API design changes.

Fixed formatting error.

* Update backend/src/types.ts

Co-authored-by: Tom Coufal <7453394+tumido@users.noreply.github.com>

Co-authored-by: Tom Coufal <7453394+tumido@users.noreply.github.com>
Updated type.ts in front end with Succeeded
[byon] Implement backend (opendatahub-io#156)

* feat(byon): List all notebooks

Signed-off-by: Tomas Coufal <tcoufal@redhat.com>

* feat(byon): Get single notebook

Signed-off-by: Tomas Coufal <tcoufal@redhat.com>

* fix(byon): Update api spec to include software and id

Signed-off-by: Tomas Coufal <tcoufal@redhat.com>

* feat(byon): Schedule new notebook import

Signed-off-by: Tomas Coufal <tcoufal@redhat.com>

* feat(byon): Delete notebook

Signed-off-by: Tomas Coufal <tcoufal@redhat.com>

* feat(byon): Update notebook

Signed-off-by: Tomas Coufal <tcoufal@redhat.com>
Rebased BYON from master (opendatahub-io#162)

* Updated way that to detect an admin. (opendatahub-io#137)

Fixed linting error.

* Update backend port setting and makefile dev commands. (opendatahub-io#133)

* Update README.md (opendatahub-io#96)

Updated Readme to specify that a build is required prior to running the development server.

* Fix for input not allowing blank spaces.:

Fix to allow a user to enter an empty string.

Fixed with review comment.

* Add culler timeout settings feature (opendatahub-io#134)

* Added types for notebookimage and status (opendatahub-io#147)

Updated with REST api notebook image endpoints and new notebook image types.

* Updated REST API  (opendatahub-io#155)

* Updated with REST API design changes.

Fixed formatting error.

* Update backend/src/types.ts

Co-authored-by: Tom Coufal <7453394+tumido@users.noreply.github.com>

Co-authored-by: Tom Coufal <7453394+tumido@users.noreply.github.com>

* Updated type.ts in front end with Succeeded

* [byon] Implement backend (opendatahub-io#156)

* feat(byon): List all notebooks

Signed-off-by: Tomas Coufal <tcoufal@redhat.com>

* feat(byon): Get single notebook

Signed-off-by: Tomas Coufal <tcoufal@redhat.com>

* fix(byon): Update api spec to include software and id

Signed-off-by: Tomas Coufal <tcoufal@redhat.com>

* feat(byon): Schedule new notebook import

Signed-off-by: Tomas Coufal <tcoufal@redhat.com>

* feat(byon): Delete notebook

Signed-off-by: Tomas Coufal <tcoufal@redhat.com>

* feat(byon): Update notebook

Signed-off-by: Tomas Coufal <tcoufal@redhat.com>

Co-authored-by: Christopher Chase <cchase@redhat.com>
Co-authored-by: Chad Roberts <croberts@redhat.com>
Co-authored-by: Juntao Wang <37624318+DaoDaoNoCode@users.noreply.github.com>
Co-authored-by: Tom Coufal <7453394+tumido@users.noreply.github.com>
fix(byon): Use notebook-image label for visibility toggle (opendatahub-io#169)

Signed-off-by: Tomas Coufal <tcoufal@redhat.com>
feat(byon): Feat add creator annotation (opendatahub-io#170)

Signed-off-by: Tomas Coufal <tcoufal@redhat.com>
feat(byon): Allow to patch name and description on notebook (opendatahub-io#172)

Signed-off-by: Tomas Coufal <tcoufal@redhat.com>
feat(byon): Allow python dependency visibility field changes (opendatahub-io#173)

Signed-off-by: Tomas Coufal <tcoufal@redhat.com>
Added code for importing byon image. (opendatahub-io#171)

Updated front end code with import and start of table.
Updated with byon changes

Updated code with byon ui changes.
Integrated import, delete, and get functionality for notebooks.

Added start of edit panel.

Updated build error fixes.

Updates to edit dialog and linting cleanup.

Added sort to table.

Added filtering.

Added failure warning to allow user to click

Add check disable enabling failed notebook images

Fixed with review comments.

Fixed time bug.

Removed admin
Update backend port setting and makefile dev commands. (opendatahub-io#133)
Use webpack dev server proxy instead of CORS utilities (opendatahub-io#127)


Fixed issues with cherry picks.
dlabaj added a commit to dlabaj/odh-dashboard that referenced this pull request Apr 13, 2022
Updated with REST api notebook image endpoints and new notebook image types.
Updated REST API  (opendatahub-io#155)

* Updated with REST API design changes.

Fixed formatting error.

* Update backend/src/types.ts

Co-authored-by: Tom Coufal <7453394+tumido@users.noreply.github.com>

Co-authored-by: Tom Coufal <7453394+tumido@users.noreply.github.com>
Updated type.ts in front end with Succeeded
[byon] Implement backend (opendatahub-io#156)

* feat(byon): List all notebooks

Signed-off-by: Tomas Coufal <tcoufal@redhat.com>

* feat(byon): Get single notebook

Signed-off-by: Tomas Coufal <tcoufal@redhat.com>

* fix(byon): Update api spec to include software and id

Signed-off-by: Tomas Coufal <tcoufal@redhat.com>

* feat(byon): Schedule new notebook import

Signed-off-by: Tomas Coufal <tcoufal@redhat.com>

* feat(byon): Delete notebook

Signed-off-by: Tomas Coufal <tcoufal@redhat.com>

* feat(byon): Update notebook

Signed-off-by: Tomas Coufal <tcoufal@redhat.com>
Rebased BYON from master (opendatahub-io#162)

* Updated way that to detect an admin. (opendatahub-io#137)

Fixed linting error.

* Update backend port setting and makefile dev commands. (opendatahub-io#133)

* Update README.md (opendatahub-io#96)

Updated Readme to specify that a build is required prior to running the development server.

* Fix for input not allowing blank spaces.:

Fix to allow a user to enter an empty string.

Fixed with review comment.

* Add culler timeout settings feature (opendatahub-io#134)

* Added types for notebookimage and status (opendatahub-io#147)

Updated with REST api notebook image endpoints and new notebook image types.

* Updated REST API  (opendatahub-io#155)

* Updated with REST API design changes.

Fixed formatting error.

* Update backend/src/types.ts

Co-authored-by: Tom Coufal <7453394+tumido@users.noreply.github.com>

Co-authored-by: Tom Coufal <7453394+tumido@users.noreply.github.com>

* Updated type.ts in front end with Succeeded

* [byon] Implement backend (opendatahub-io#156)

* feat(byon): List all notebooks

Signed-off-by: Tomas Coufal <tcoufal@redhat.com>

* feat(byon): Get single notebook

Signed-off-by: Tomas Coufal <tcoufal@redhat.com>

* fix(byon): Update api spec to include software and id

Signed-off-by: Tomas Coufal <tcoufal@redhat.com>

* feat(byon): Schedule new notebook import

Signed-off-by: Tomas Coufal <tcoufal@redhat.com>

* feat(byon): Delete notebook

Signed-off-by: Tomas Coufal <tcoufal@redhat.com>

* feat(byon): Update notebook

Signed-off-by: Tomas Coufal <tcoufal@redhat.com>

Co-authored-by: Christopher Chase <cchase@redhat.com>
Co-authored-by: Chad Roberts <croberts@redhat.com>
Co-authored-by: Juntao Wang <37624318+DaoDaoNoCode@users.noreply.github.com>
Co-authored-by: Tom Coufal <7453394+tumido@users.noreply.github.com>
fix(byon): Use notebook-image label for visibility toggle (opendatahub-io#169)

Signed-off-by: Tomas Coufal <tcoufal@redhat.com>
feat(byon): Feat add creator annotation (opendatahub-io#170)

Signed-off-by: Tomas Coufal <tcoufal@redhat.com>
feat(byon): Allow to patch name and description on notebook (opendatahub-io#172)

Signed-off-by: Tomas Coufal <tcoufal@redhat.com>
feat(byon): Allow python dependency visibility field changes (opendatahub-io#173)

Signed-off-by: Tomas Coufal <tcoufal@redhat.com>
Added code for importing byon image. (opendatahub-io#171)

Updated front end code with import and start of table.
Updated with byon changes

Updated code with byon ui changes.
Integrated import, delete, and get functionality for notebooks.

Added start of edit panel.

Updated build error fixes.

Updates to edit dialog and linting cleanup.

Added sort to table.

Added filtering.

Added failure warning to allow user to click

Add check disable enabling failed notebook images

Fixed with review comments.

Fixed time bug.

Removed admin
Update backend port setting and makefile dev commands. (opendatahub-io#133)
Use webpack dev server proxy instead of CORS utilities (opendatahub-io#127)


Fixed issues with cherry picks.

Fixed additional git cherry pick issues.

Added ability to add packages, modify packages, etc.

Added software package on import.

Added additional table and fix some styling issues.


Fixed issue where form was submitted.

Updated import in notebooksUtils.ts

Updated code to work with image streams instead of pipelines.
dlabaj added a commit to dlabaj/odh-dashboard that referenced this pull request Apr 21, 2022
[UPSTREAM] Fix to allow a user to enter an empty string.
Fixed linting error.

Updated to read userTrackingEnabled instead of clusterSettings.userTrackingEnabled.

[Upstream] Added BYON, webpack proxy, and CORS heading fix.

Updated with REST api notebook image endpoints and new notebook image types.
Updated REST API  (opendatahub-io#155)

* Updated with REST API design changes.

Fixed formatting error.

* Update backend/src/types.ts

Co-authored-by: Tom Coufal <7453394+tumido@users.noreply.github.com>

Co-authored-by: Tom Coufal <7453394+tumido@users.noreply.github.com>
Updated type.ts in front end with Succeeded
[byon] Implement backend (opendatahub-io#156)

* feat(byon): List all notebooks

Signed-off-by: Tomas Coufal <tcoufal@redhat.com>

* feat(byon): Get single notebook

Signed-off-by: Tomas Coufal <tcoufal@redhat.com>

* fix(byon): Update api spec to include software and id

Signed-off-by: Tomas Coufal <tcoufal@redhat.com>

* feat(byon): Schedule new notebook import

Signed-off-by: Tomas Coufal <tcoufal@redhat.com>

* feat(byon): Delete notebook

Signed-off-by: Tomas Coufal <tcoufal@redhat.com>

* feat(byon): Update notebook

Signed-off-by: Tomas Coufal <tcoufal@redhat.com>
Rebased BYON from master (opendatahub-io#162)

* Updated way that to detect an admin. (opendatahub-io#137)

Fixed linting error.

* Update backend port setting and makefile dev commands. (opendatahub-io#133)

* Update README.md (opendatahub-io#96)

Updated Readme to specify that a build is required prior to running the development server.

* Fix for input not allowing blank spaces.:

Fix to allow a user to enter an empty string.

Fixed with review comment.

* Add culler timeout settings feature (opendatahub-io#134)

* Added types for notebookimage and status (opendatahub-io#147)

Updated with REST api notebook image endpoints and new notebook image types.

* Updated REST API  (opendatahub-io#155)

* Updated with REST API design changes.

Fixed formatting error.

* Update backend/src/types.ts

Co-authored-by: Tom Coufal <7453394+tumido@users.noreply.github.com>

Co-authored-by: Tom Coufal <7453394+tumido@users.noreply.github.com>

* Updated type.ts in front end with Succeeded

* [byon] Implement backend (opendatahub-io#156)

* feat(byon): List all notebooks

Signed-off-by: Tomas Coufal <tcoufal@redhat.com>

* feat(byon): Get single notebook

Signed-off-by: Tomas Coufal <tcoufal@redhat.com>

* fix(byon): Update api spec to include software and id

Signed-off-by: Tomas Coufal <tcoufal@redhat.com>

* feat(byon): Schedule new notebook import

Signed-off-by: Tomas Coufal <tcoufal@redhat.com>

* feat(byon): Delete notebook

Signed-off-by: Tomas Coufal <tcoufal@redhat.com>

* feat(byon): Update notebook

Signed-off-by: Tomas Coufal <tcoufal@redhat.com>

Co-authored-by: Christopher Chase <cchase@redhat.com>
Co-authored-by: Chad Roberts <croberts@redhat.com>
Co-authored-by: Juntao Wang <37624318+DaoDaoNoCode@users.noreply.github.com>
Co-authored-by: Tom Coufal <7453394+tumido@users.noreply.github.com>
fix(byon): Use notebook-image label for visibility toggle (opendatahub-io#169)

Signed-off-by: Tomas Coufal <tcoufal@redhat.com>
feat(byon): Feat add creator annotation (opendatahub-io#170)

Signed-off-by: Tomas Coufal <tcoufal@redhat.com>
feat(byon): Allow to patch name and description on notebook (opendatahub-io#172)

Signed-off-by: Tomas Coufal <tcoufal@redhat.com>
feat(byon): Allow python dependency visibility field changes (opendatahub-io#173)

Signed-off-by: Tomas Coufal <tcoufal@redhat.com>
Added code for importing byon image. (opendatahub-io#171)

Updated front end code with import and start of table.
Updated with byon changes

Updated code with byon ui changes.
Integrated import, delete, and get functionality for notebooks.

Added start of edit panel.

Updated build error fixes.

Updates to edit dialog and linting cleanup.

Added sort to table.

Added filtering.

Added failure warning to allow user to click

Add check disable enabling failed notebook images

Fixed with review comments.

Fixed time bug.

Removed admin
Update backend port setting and makefile dev commands. (opendatahub-io#133)
Use webpack dev server proxy instead of CORS utilities (opendatahub-io#127)


Fixed issues with cherry picks.

Fixed additional git cherry pick issues.

Added ability to add packages, modify packages, etc.

Added software package on import.

Added additional table and fix some styling issues.


Fixed issue where form was submitted.

Updated import in notebooksUtils.ts

Updated code to work with image streams instead of pipelines.

Fixed linting errors.

Fixed empty software package bug.

Fixed bugs found during testing.

Notebook image table update.

Fixed error where not showing the empty state.

Fixed table issue.

Add another update of the notbook image table.
dlabaj added a commit to dlabaj/odh-dashboard that referenced this pull request Apr 21, 2022
[UPSTREAM] Fix to allow a user to enter an empty string.
Fixed linting error.

Updated to read userTrackingEnabled instead of clusterSettings.userTrackingEnabled.

[Upstream] Added BYON, webpack proxy, and CORS heading fix.

Updated with REST api notebook image endpoints and new notebook image types.
Updated REST API  (opendatahub-io#155)

* Updated with REST API design changes.

Fixed formatting error.

* Update backend/src/types.ts

Co-authored-by: Tom Coufal <7453394+tumido@users.noreply.github.com>

Co-authored-by: Tom Coufal <7453394+tumido@users.noreply.github.com>
Updated type.ts in front end with Succeeded
[byon] Implement backend (opendatahub-io#156)

* feat(byon): List all notebooks

Signed-off-by: Tomas Coufal <tcoufal@redhat.com>

* feat(byon): Get single notebook

Signed-off-by: Tomas Coufal <tcoufal@redhat.com>

* fix(byon): Update api spec to include software and id

Signed-off-by: Tomas Coufal <tcoufal@redhat.com>

* feat(byon): Schedule new notebook import

Signed-off-by: Tomas Coufal <tcoufal@redhat.com>

* feat(byon): Delete notebook

Signed-off-by: Tomas Coufal <tcoufal@redhat.com>

* feat(byon): Update notebook

Signed-off-by: Tomas Coufal <tcoufal@redhat.com>
Rebased BYON from master (opendatahub-io#162)

* Updated way that to detect an admin. (opendatahub-io#137)

Fixed linting error.

* Update backend port setting and makefile dev commands. (opendatahub-io#133)

* Update README.md (opendatahub-io#96)

Updated Readme to specify that a build is required prior to running the development server.

* Fix for input not allowing blank spaces.:

Fix to allow a user to enter an empty string.

Fixed with review comment.

* Add culler timeout settings feature (opendatahub-io#134)

* Added types for notebookimage and status (opendatahub-io#147)

Updated with REST api notebook image endpoints and new notebook image types.

* Updated REST API  (opendatahub-io#155)

* Updated with REST API design changes.

Fixed formatting error.

* Update backend/src/types.ts

Co-authored-by: Tom Coufal <7453394+tumido@users.noreply.github.com>

Co-authored-by: Tom Coufal <7453394+tumido@users.noreply.github.com>

* Updated type.ts in front end with Succeeded

* [byon] Implement backend (opendatahub-io#156)

* feat(byon): List all notebooks

Signed-off-by: Tomas Coufal <tcoufal@redhat.com>

* feat(byon): Get single notebook

Signed-off-by: Tomas Coufal <tcoufal@redhat.com>

* fix(byon): Update api spec to include software and id

Signed-off-by: Tomas Coufal <tcoufal@redhat.com>

* feat(byon): Schedule new notebook import

Signed-off-by: Tomas Coufal <tcoufal@redhat.com>

* feat(byon): Delete notebook

Signed-off-by: Tomas Coufal <tcoufal@redhat.com>

* feat(byon): Update notebook

Signed-off-by: Tomas Coufal <tcoufal@redhat.com>

Co-authored-by: Christopher Chase <cchase@redhat.com>
Co-authored-by: Chad Roberts <croberts@redhat.com>
Co-authored-by: Juntao Wang <37624318+DaoDaoNoCode@users.noreply.github.com>
Co-authored-by: Tom Coufal <7453394+tumido@users.noreply.github.com>
fix(byon): Use notebook-image label for visibility toggle (opendatahub-io#169)

Signed-off-by: Tomas Coufal <tcoufal@redhat.com>
feat(byon): Feat add creator annotation (opendatahub-io#170)

Signed-off-by: Tomas Coufal <tcoufal@redhat.com>
feat(byon): Allow to patch name and description on notebook (opendatahub-io#172)

Signed-off-by: Tomas Coufal <tcoufal@redhat.com>
feat(byon): Allow python dependency visibility field changes (opendatahub-io#173)

Signed-off-by: Tomas Coufal <tcoufal@redhat.com>
Added code for importing byon image. (opendatahub-io#171)

Updated front end code with import and start of table.
Updated with byon changes

Updated code with byon ui changes.
Integrated import, delete, and get functionality for notebooks.

Added start of edit panel.

Updated build error fixes.

Updates to edit dialog and linting cleanup.

Added sort to table.

Added filtering.

Added failure warning to allow user to click

Add check disable enabling failed notebook images

Fixed with review comments.

Fixed time bug.

Removed admin
Update backend port setting and makefile dev commands. (opendatahub-io#133)
Use webpack dev server proxy instead of CORS utilities (opendatahub-io#127)


Fixed issues with cherry picks.

Fixed additional git cherry pick issues.

Added ability to add packages, modify packages, etc.

Added software package on import.

Added additional table and fix some styling issues.


Fixed issue where form was submitted.

Updated import in notebooksUtils.ts

Updated code to work with image streams instead of pipelines.

Fixed linting errors.

Fixed empty software package bug.

Fixed bugs found during testing.

Notebook image table update.

Fixed error where not showing the empty state.

Fixed table issue.

Add another update of the notbook image table.

Fixed issue where notebook would description disappeared.

Fixed missing notification.

Prevent duplicate names.

Fixed issue with notebook images not updating correctly.
dlabaj added a commit to dlabaj/odh-dashboard that referenced this pull request Apr 22, 2022
[UPSTREAM] Fix to allow a user to enter an empty string.
Fixed linting error.

Updated to read userTrackingEnabled instead of clusterSettings.userTrackingEnabled.

[Upstream] Added BYON, webpack proxy, and CORS heading fix.

Updated with REST api notebook image endpoints and new notebook image types.
Updated REST API  (opendatahub-io#155)

* Updated with REST API design changes.

Fixed formatting error.

* Update backend/src/types.ts

Co-authored-by: Tom Coufal <7453394+tumido@users.noreply.github.com>

Co-authored-by: Tom Coufal <7453394+tumido@users.noreply.github.com>
Updated type.ts in front end with Succeeded
[byon] Implement backend (opendatahub-io#156)

* feat(byon): List all notebooks

Signed-off-by: Tomas Coufal <tcoufal@redhat.com>

* feat(byon): Get single notebook

Signed-off-by: Tomas Coufal <tcoufal@redhat.com>

* fix(byon): Update api spec to include software and id

Signed-off-by: Tomas Coufal <tcoufal@redhat.com>

* feat(byon): Schedule new notebook import

Signed-off-by: Tomas Coufal <tcoufal@redhat.com>

* feat(byon): Delete notebook

Signed-off-by: Tomas Coufal <tcoufal@redhat.com>

* feat(byon): Update notebook

Signed-off-by: Tomas Coufal <tcoufal@redhat.com>
Rebased BYON from master (opendatahub-io#162)

* Updated way that to detect an admin. (opendatahub-io#137)

Fixed linting error.

* Update backend port setting and makefile dev commands. (opendatahub-io#133)

* Update README.md (opendatahub-io#96)

Updated Readme to specify that a build is required prior to running the development server.

* Fix for input not allowing blank spaces.:

Fix to allow a user to enter an empty string.

Fixed with review comment.

* Add culler timeout settings feature (opendatahub-io#134)

* Added types for notebookimage and status (opendatahub-io#147)

Updated with REST api notebook image endpoints and new notebook image types.

* Updated REST API  (opendatahub-io#155)

* Updated with REST API design changes.

Fixed formatting error.

* Update backend/src/types.ts

Co-authored-by: Tom Coufal <7453394+tumido@users.noreply.github.com>

Co-authored-by: Tom Coufal <7453394+tumido@users.noreply.github.com>

* Updated type.ts in front end with Succeeded

* [byon] Implement backend (opendatahub-io#156)

* feat(byon): List all notebooks

Signed-off-by: Tomas Coufal <tcoufal@redhat.com>

* feat(byon): Get single notebook

Signed-off-by: Tomas Coufal <tcoufal@redhat.com>

* fix(byon): Update api spec to include software and id

Signed-off-by: Tomas Coufal <tcoufal@redhat.com>

* feat(byon): Schedule new notebook import

Signed-off-by: Tomas Coufal <tcoufal@redhat.com>

* feat(byon): Delete notebook

Signed-off-by: Tomas Coufal <tcoufal@redhat.com>

* feat(byon): Update notebook

Signed-off-by: Tomas Coufal <tcoufal@redhat.com>

Co-authored-by: Christopher Chase <cchase@redhat.com>
Co-authored-by: Chad Roberts <croberts@redhat.com>
Co-authored-by: Juntao Wang <37624318+DaoDaoNoCode@users.noreply.github.com>
Co-authored-by: Tom Coufal <7453394+tumido@users.noreply.github.com>
fix(byon): Use notebook-image label for visibility toggle (opendatahub-io#169)

Signed-off-by: Tomas Coufal <tcoufal@redhat.com>
feat(byon): Feat add creator annotation (opendatahub-io#170)

Signed-off-by: Tomas Coufal <tcoufal@redhat.com>
feat(byon): Allow to patch name and description on notebook (opendatahub-io#172)

Signed-off-by: Tomas Coufal <tcoufal@redhat.com>
feat(byon): Allow python dependency visibility field changes (opendatahub-io#173)

Signed-off-by: Tomas Coufal <tcoufal@redhat.com>
Added code for importing byon image. (opendatahub-io#171)

Updated front end code with import and start of table.
Updated with byon changes

Updated code with byon ui changes.
Integrated import, delete, and get functionality for notebooks.

Added start of edit panel.

Updated build error fixes.

Updates to edit dialog and linting cleanup.

Added sort to table.

Added filtering.

Added failure warning to allow user to click

Add check disable enabling failed notebook images

Fixed with review comments.

Fixed time bug.

Removed admin
Update backend port setting and makefile dev commands. (opendatahub-io#133)
Use webpack dev server proxy instead of CORS utilities (opendatahub-io#127)


Fixed issues with cherry picks.

Fixed additional git cherry pick issues.

Added ability to add packages, modify packages, etc.

Added software package on import.

Added additional table and fix some styling issues.


Fixed issue where form was submitted.

Updated import in notebooksUtils.ts

Updated code to work with image streams instead of pipelines.

Fixed linting errors.

Fixed empty software package bug.

Fixed bugs found during testing.

Notebook image table update.

Fixed error where not showing the empty state.

Fixed table issue.

Add another update of the notbook image table.

Fixed issue where notebook would description disappeared.

Fixed missing notification.

Prevent duplicate names.

Fixed issue with notebook images not updating correctly.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants