-
Notifications
You must be signed in to change notification settings - Fork 39
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
🐛 "Effort" with supplemental text info via tooltip #1846
Conversation
Hi @ibolton336 @sjd78 @mguetta1 Please review this PR, Thanks! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See comment.
Hi @ibolton336 Hope it helps. |
So "Effort" on the issues page is really an "effort weight" since it is not really the calculated value for any application? Seems like adding "total" just adds more confusion IMO since there is not a clear correlation between "effort" and "total effort". I think we could keep the name "effort" and just add a tooltip to clarify what it means in each of the 3 instances (total file calculated effort of all incidents for this file, total application effort, and effort weight) of the column, but @JustinXHale may have a better idea. |
Correct, effort for a single issue incident |
I agree. We could simply add a tooltip to avoid truncation. Additionally, I propose renaming 'Total effort' back to 'Effort' in the 'Affected Applications' section, What do you all think? |
I think moving back to just "Effort" with supplemental text info via tooltip would be a good approach. It maintains consistency & would provide more clarity. |
Thanks, @ibolton336 . I will make these modifications and update the PR |
ba6f8f9
to
d376fd4
Compare
Hi @ibolton336 @sjd78 @mguetta1 |
Signed-off-by: Karishma Punwatkar <[email protected]>
client/src/app/pages/issues/affected-applications/affected-applications.tsx
Outdated
Show resolved
Hide resolved
client/src/app/pages/issues/affected-applications/affected-applications.tsx
Outdated
Show resolved
Hide resolved
…1856) After successful import re-enable useFetchApplications() hook for the next 15 seconds. Resolves: https://issues.redhat.com/browse/MTA-2451 Signed-off-by: Radoslaw Szwajkowski <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Adding the tooltip and the externalized strings LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some i18n keys need to be fixed up. Hopefully that'll also satisfy the e2e tests.
client/src/app/pages/applications/applications-table/applications-table.tsx
Outdated
Show resolved
Hide resolved
client/src/app/pages/issues/affected-applications/affected-applications.tsx
Outdated
Show resolved
Hide resolved
…1856) After successful import re-enable useFetchApplications() hook for the next 15 seconds. Resolves: https://issues.redhat.com/browse/MTA-2451 Signed-off-by: Radoslaw Szwajkowski <[email protected]>
client/src/app/pages/issues/affected-applications/affected-applications.tsx
Outdated
Show resolved
Hide resolved
client/src/app/pages/issues/affected-applications/affected-applications.tsx
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would like to test it, but npm install fails:
[mguetta@fedora tackle2-ui]$ npm install .
npm ERR! code ENETUNREACH
npm ERR! syscall connect
npm ERR! errno ENETUNREACH
npm ERR! request to https://registry.npmjs.org/axios/-/axios-1.6.8.tgz failed, reason: connect ENETUNREACH 2606:4700::6810:1922:443
npm ERR! A complete log of this run can be found in:
npm ERR! /home/mguetta/.npm/_logs/2024-05-01T11_49_10_124Z-debug-0.log
That's a strange one for sure. I haven't seen the Try this to really start up with a fresh node_modules: > npm run clean:all
> npm clean-install --ignore-scripts
> num run start:dev |
Thanks @sjd78
|
Maybe it is an IPv6 error on your end when it is trying to download the axios dep? The FWIW, I've also tinkered with running a local verdaccio via podman/docker as an npmjs registry proxy to reduce internet traffic. Maybe something like that could help if your internet connectivity gets wonky? |
modified: client/public/locales/en/translation.json modified: client/src/app/pages/applications/applications-table/applications-table.tsx modified: client/src/app/pages/issues/affected-applications/affected-applications.tsx modified: client/src/app/pages/issues/issues-table.tsx modified: client/public/locales/en/translation.json modified: client/src/app/pages/applications/applications-table/applications-table.tsx modified: client/src/app/pages/issues/affected-applications/affected-applications.tsx modified: client/src/app/pages/issues/issue-detail-drawer/issue-affected-files-table.tsx modified: client/src/app/pages/issues/issues-table.tsx modified: client/public/locales/en/translation.json
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1846 +/- ##
==========================================
+ Coverage 39.20% 41.22% +2.02%
==========================================
Files 146 158 +12
Lines 4857 5189 +332
Branches 1164 1269 +105
==========================================
+ Hits 1904 2139 +235
- Misses 2939 3032 +93
- Partials 14 18 +4
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
…atch displayed text (#1933) Resolves: #1936 UI Tests PR: 1124 Addresses mismatch between data column and displayed text for "Effort" Column in affected applications table PR #1846 intended to revert back to using effort favoring tooltips to differentiate what is being displayed in fields labeled effort. The Issues>Affected Application table effort column heading text was updated, but the data-label used was still "Total Effort". Signed-off-by: Ian Bolton <[email protected]>
Resolves https://issues.redhat.com/browse/MTA-2556