UI: Selection on graph with edges. Status for jobs/datasets#2384
Conversation
Signed-off-by: tito12 <vladyslav.sedenko@gmail.com>
Signed-off-by: tito12 <vladyslav.sedenko@gmail.com>
| "identity-obj-proxy": "^3.0.0", | ||
| "jest": "27.3.1", | ||
| "prettier": "1.18.2", | ||
| "prettier": "^1.19.1", |
There was a problem hiding this comment.
We're bumping versions here for things not related to this workflow. I'm happy to have a PR that only updates these versions, but I think this could potentially cause unrelated issues that are hard to debug.
There was a problem hiding this comment.
Updated version for this package to pass tests for new ecmascript features as "optional chaining", because current doesn't support it and throw errors. Do you mean that I can create separate PR for it and it's be okay? Or if I understood wrong, what do you think will be better solution to resolve it? Because it's make code more clean and readable. Thanks
There was a problem hiding this comment.
Also reverted changes with versions for this PR.
Signed-off-by: tito12 <vladyslav.sedenko@gmail.com>
|
This PR not contain changes for status of jobs on graph, because it's not possible to get all runs with polling each one separately, only for selected job. It's need changes from API side to be able to do that. |
Signed-off-by: tito12 <vladyslav.sedenko@gmail.com>
Signed-off-by: tito12 <vladyslav.sedenko@gmail.com>
@tito12: what API changes would be needed? And would you mind opening an issue to continue the dicussion? |
Signed-off-by: tito12 <vladyslav.sedenko@gmail.com>
Codecov Report
@@ Coverage Diff @@
## main #2384 +/- ##
=========================================
Coverage 77.11% 77.11%
Complexity 1234 1234
=========================================
Files 228 228
Lines 5572 5572
Branches 447 447
=========================================
Hits 4297 4297
Misses 775 775
Partials 500 500 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
|
I've checked the view and it looks great! One comment: the color white to highlight the up and down stream does not seem to stand out too much. Perhaps we could use other colors such as #71ddbf to highlight them, as well as the selected node (job or dataset). Not sure if this little change of color should require a separate PR, but would like to see if @tito12 is willing to perhaps patch it, if possible. |
Thanks for feedback and sorry for long answer, current PR is closed and merged, but it's not a problem to create another one for it. Do you mean also make this color (kind of green) for selected node with path? |
Hi @tito12 , yes. I think having the selected node to be colored in 'green' would be great. It doesn't have to be exactly same color as the lines (perhaps the node could be a little darker?) but that would stand out really well. |
* Selection on graph with edges. Status for jobs/datasets Signed-off-by: tito12 <vladyslav.sedenko@gmail.com> --------- Signed-off-by: tito12 <vladyslav.sedenko@gmail.com> Co-authored-by: Willy Lulciuc <willy@datakin.com>
Problem
According to the issue we are not showing status for jobs and datasets in way we need - based on last quality facets on for datasets and last 14 runs for jobs. This logic should be update, to show this info in correct way.
Also path of selected node and connected to it - is not highligted.
We need to show status of runs and quality facets also in tables with those data, based on the same logic with last 14 records.
Closes: #2169
Solution
This PR provide those changes
Checklist
CHANGELOG.mdwith details about your change under the "Unreleased" section (if relevant, depending on the change, this may not be necessary).sqldatabase schema migration according to Flyway's naming convention (if relevant)