Add has_note key to the Grid Runs API response - #69121
Conversation
02ba41a to
1b75ed4
Compare
|
@pierrejeambrun raised this PR as we discussed about it here, please review it and let me know if I need to make any changes. Thanks! |
|
@pierrejeambrun done, this is how it looks now. Please let me know if I should adjust the size of the gradient.
|
|
@pierrejeambrun could you please review this PR? |
|
@pierrejeambrun changed
|
|
@pierrejeambrun could you please review this? I've made the required changes. Thanks! |
|
Rebase to trigger CI |
11945f0 to
547fcd6
Compare
henry3260
left a comment
There was a problem hiding this comment.
Overall LGTM
If I understand right, we should add has_note in
pierrejeambrun
left a comment
There was a problem hiding this comment.
LGTM thanks. Tested and working as expected.
689ada8 to
75b73fa
Compare
|
We have some linting errors. |
It was because of missing |
* Added has_note attribute to get_grid_runs() response * Added tests for has_note * Added note gradient to Bar.tsx to render saved note indicator for a dag run * Modified NOTE_GRADIENT to render constant size note indicator * modified note gradient comment in constants.ts * Added null check for DagRun note content * Added saved note content check for TaskInstanceNote subq * Added has_note to makeRun in useGridPagination.test.ts (cherry picked from commit 6627054) Co-authored-by: Jayachandra Kasarla <jayachandra.kasarla@astronomer.io>
* Added has_note attribute to get_grid_runs() response * Added tests for has_note * Added note gradient to Bar.tsx to render saved note indicator for a dag run * Modified NOTE_GRADIENT to render constant size note indicator * modified note gradient comment in constants.ts * Added null check for DagRun note content * Added saved note content check for TaskInstanceNote subq * Added has_note to makeRun in useGridPagination.test.ts (cherry picked from commit 6627054) Co-authored-by: Jayachandra Kasarla <jayachandra.kasarla@astronomer.io>




Closes #68615
This is a follow up pull request for #68979
Added
has_notekey toget_grid_runs()response. Here's the screenshot of the response object: