Show short names and link library associations (PP-5014) - #344
Conversation
|
Claude finished @tdilauro's task in 4m 12s —— View job Code review
SummaryThe refactor is a clean win: DetailsMinor:
|
Greptile SummaryThe PR displays each library's short name alongside its display name and adds configuration-page links where UUIDs are available.
Confidence Score: 5/5The PR appears safe to merge because no blocking failure remains. No blocking failure remains.
|
| Filename | Overview |
|---|---|
| src/utils/sharedFunctions.ts | Adds shared helpers for library labels and optional configuration URLs, including fallbacks for missing fields. |
| src/components/ServiceEditForm.tsx | Displays associated libraries using the shared label helper and opens available configuration links in a new tab. |
| src/components/LibraryRegistration.tsx | Updates registration rows to show combined library labels and optional configuration links. |
| src/components/Libraries.tsx | Updates top-level library rows to include short names while retaining UUID fallback behavior. |
| src/components/DiscoveryServices.tsx | Updates registered-library disclosures to use shared labels and configuration URLs. |
Reviews (2): Last reviewed commit: "AI CI code review feedback" | Re-trigger Greptile
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #344 +/- ##
==========================================
- Coverage 91.25% 91.24% -0.01%
==========================================
Files 205 205
Lines 7606 7622 +16
Branches 1663 1667 +4
==========================================
+ Hits 6941 6955 +14
- Misses 366 367 +1
- Partials 299 300 +1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Description
Show each library's short name alongside its display name, in the format
<name> - <short-name>, wherever libraries are listed in the admin UI:The new links in edit forms open in a new tab, so an accidental click won't navigate away from a form with unsaved edits.
Motivation and Context
[Jira PP-5014]
How Has This Been Tested?
Checklist: