OU-1220: Add column to display dashboard id in perses dashboard list page - #1257
Conversation
|
Pipeline controller notification For optional jobs, comment This repository is configured in: LGTM mode |
|
@zhuje: This pull request references OU-1220 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the task to target the "5.1.0" version, but no target version was set. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository YAML (base), Central YAML (inherited) Review profile: CHILL Plan: Enterprise Run ID: 📒 Files selected for processing (3)
Included review availability: Your plan provides up to 12 included reviews per hour; 11 remain after this review. WalkthroughThe dashboard list now separates immutable dashboard identifiers from display names. Sorting logic and row types move to a dedicated module. The table adds identifier sorting, tooltip and accessibility text, and identifier rendering. ChangesDashboard identity and sorting
Priority: ⬇️ Low Estimated code review effort: 3 (Moderate) | ~20 minutes Change: Feature Suggested reviewers: Merge Risk: ⚪ Minimal · up to The dashboard identifier column and its sorting behavior are ready to merge with no concrete unresolved risk identified. 🚥 Pre-merge checks | ✅ 15✅ Passed checks (15 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|
Like 90% of the time this field is going to be very close or the same as the actual name. Could we add something like the console has on other pages where the user can select the visible columns, that way this can be hidden by default? I also believe the bug in the console has been fixed that made us use our own data table so we can swap to using theirs now if you don't want to add the implementation on top of our custom one. If you want I can do that fix first so this PR can just use the console SDK datatable to add the hidden columns thing, just lmk |
Meaning, like swapping to use the console SDK's I don't want to add more work to your plate; I can add the hidden dashboard ID column, but I'll probably need to update the ticket scope /estimate and move it to the next sprint. |
|
/hold |
|
The console team had told me in april they were working towards distributing it in the SDK, but it looks like that isn't done yet https://redhat.atlassian.net/browse/CONSOLE-5131 It also looks like patternfly doesn't actually support this behavior already like I had expected it would have, so we would need to create a new modal, hook, tests, ect. Lets not worry about it and whenever the SDK gets updated to include the ConsoleDataView we can swap to it and take add the behavior then |
|
/unhold |
|
/retest |
There was a problem hiding this comment.
Could we pull this function out into a separate file similar to filter-silences.ts and add some unit tests like filter-silences.spec.ts
Signed-off-by: Jenny Zhu <jenny.a.zhu@gmail.com>
01415b0 to
d605bc9
Compare
|
/lgtm |
|
Scheduling required tests: |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: PeterYurkovich, zhuje The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/retest |
|
/test e2e-agnostic-cmo |
|
@zhuje: all tests passed! Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
|
/label qe-approved |

JIRA
Image
Screenshot
Summary by CodeRabbit