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

fix(client)!: update KG status indexing percentage #2255

Merged
merged 2 commits into from
Jan 6, 2023

Conversation

lorenzo-cavazzi
Copy link
Member

@lorenzo-cavazzi lorenzo-cavazzi commented Dec 21, 2022

This adapts the UI to the new response from the KG status endpoint, and restores the percentage indication when indexing a project.

As a comparison, on the following video the current PR deployment is on the left and "dev" on the right.

Peek 2022-12-21 14-15

BREAKING CHANGE: requires a yet-unreleased version of renku-graph

re SwissDataScienceCenter/renku-graph#1253
/deploy renku-graph=development #persist #cypress

@lorenzo-cavazzi lorenzo-cavazzi requested a review from a team as a code owner December 21, 2022 13:27
@lorenzo-cavazzi lorenzo-cavazzi temporarily deployed to renku-ci-ui-2255 December 21, 2022 13:27 — with GitHub Actions Inactive
@RenkuBot
Copy link
Contributor

You can access the deployment of this PR at https://renku-ci-ui-2255.dev.renku.ch

@lorenzo-cavazzi
Copy link
Member Author

P.S: click on the gif to see the full version -- GitHub shows only the initial N seconds as a preview

@jachro
Copy link

jachro commented Dec 21, 2022

@lorenzo-cavazzi we've just merged the PR so you can do

 renku-graph=development

on this PR now.
The change will also be soon available on our https://renku-kg-dev.dev.renku.ch

@lorenzo-cavazzi lorenzo-cavazzi temporarily deployed to renku-ci-ui-2255 December 23, 2022 13:27 — with GitHub Actions Inactive
Copy link
Contributor

@ciyer ciyer left a comment

Choose a reason for hiding this comment

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

I like the code change, and I tested adding a project to the KG, and I see that the progress bar moves in steps again. 🎉

Tests seem to be failing, though.

@lorenzo-cavazzi lorenzo-cavazzi temporarily deployed to renku-ci-ui-2255 January 3, 2023 10:51 — with GitHub Actions Inactive
@jachro
Copy link

jachro commented Jan 3, 2023

Hi guys. We've just noticed that our acceptance-tests are not compatible with the version of KG we have on our development branch. We'll fix that today and let you know.

@lorenzo-cavazzi lorenzo-cavazzi temporarily deployed to renku-ci-ui-2255 January 3, 2023 13:01 — with GitHub Actions Inactive
@jachro
Copy link

jachro commented Jan 3, 2023

FYI, we've just merged a fix to make acceptance-tests work with both pre- and post- status endpoint changes.

@lorenzo-cavazzi lorenzo-cavazzi temporarily deployed to renku-ci-ui-2255 January 3, 2023 17:03 — with GitHub Actions Inactive
@lorenzo-cavazzi lorenzo-cavazzi temporarily deployed to renku-ci-ui-2255 January 3, 2023 22:28 — with GitHub Actions Inactive
@lorenzo-cavazzi lorenzo-cavazzi temporarily deployed to renku-ci-ui-2255 January 4, 2023 12:08 — with GitHub Actions Inactive
@lorenzo-cavazzi lorenzo-cavazzi temporarily deployed to renku-ci-ui-2255 January 4, 2023 16:56 — with GitHub Actions Inactive
@lorenzo-cavazzi lorenzo-cavazzi temporarily deployed to renku-ci-ui-2255 January 5, 2023 08:23 — with GitHub Actions Inactive
* restore project-lock tests
* fix KG status endpoint fixtures
* add KG status progress tests
Copy link
Contributor

@ciyer ciyer left a comment

Choose a reason for hiding this comment

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

Great to have tests for this!

@lorenzo-cavazzi lorenzo-cavazzi merged commit 7235b95 into master Jan 6, 2023
@lorenzo-cavazzi lorenzo-cavazzi deleted the graph1253-status-api branch January 6, 2023 22:52
@RenkuBot
Copy link
Contributor

RenkuBot commented Jan 6, 2023

Tearing down the temporary RenkuLab deplyoment for this PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

4 participants