Skip to content
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

[EASI-4534] System Profile: System home updates #2996

Merged
merged 58 commits into from
Feb 20, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
58 commits
Select commit Hold shift + click to select a range
a2ab532
copy update
garyjzhao Feb 12, 2025
98a3fa8
copy update
garyjzhao Feb 12, 2025
f9bca8c
update snap
garyjzhao Feb 12, 2025
6158d47
add cms id on the bottom of every page
garyjzhao Feb 12, 2025
465ec78
add cms uuid copy to translation file
garyjzhao Feb 12, 2025
5c55b16
remove extra margin on the bototm
garyjzhao Feb 12, 2025
65815b3
use the translations instead of hard coded
garyjzhao Feb 12, 2025
654c593
adding classname styles
garyjzhao Feb 12, 2025
b9a7d0a
updated snaps
garyjzhao Feb 12, 2025
ab5f0c0
Merge branch 'main' into EASI-4534/system-profile
garyjzhao Feb 12, 2025
ced573c
remove curly braces around uuid
garyjzhao Feb 12, 2025
6767f54
addressing changes to the see something wrong banner
garyjzhao Feb 12, 2025
a25f652
updated snaps
garyjzhao Feb 12, 2025
6a56b04
remove the systemProfileHiddenFields flag in system home
garyjzhao Feb 12, 2025
fb08b64
updated snaps
garyjzhao Feb 12, 2025
bb95131
add the cedar mondays
garyjzhao Feb 13, 2025
444f104
update to the API card
garyjzhao Feb 13, 2025
6934adc
correct url
garyjzhao Feb 13, 2025
e91a085
update to the api cards
garyjzhao Feb 13, 2025
aaf82b1
update the subsystem card
garyjzhao Feb 14, 2025
7e0fbdb
copy change
garyjzhao Feb 14, 2025
9c869ef
updated snaps
garyjzhao Feb 14, 2025
e21cb5b
update teh data exchange card
garyjzhao Feb 14, 2025
3371306
add width fit content custom cssa
garyjzhao Feb 14, 2025
3b191e3
data exchange carrd updates
garyjzhao Feb 14, 2025
e595308
updated snaps
garyjzhao Feb 14, 2025
b261e9c
Merge branch 'main' into EASI-4534/system-profile
garyjzhao Feb 14, 2025
bf78a40
Merge branch 'main' into EASI-4534/system-profile
garyjzhao Feb 17, 2025
c443af8
addressing qa feedback
garyjzhao Feb 17, 2025
49cab89
updated snaps
garyjzhao Feb 17, 2025
b1cb8c5
update a few copy to address test
garyjzhao Feb 17, 2025
f8a89ad
addressing tag squeezing text
garyjzhao Feb 17, 2025
a931099
updated snaps
garyjzhao Feb 17, 2025
bf40a03
scroll to top
garyjzhao Feb 17, 2025
90b06c0
updated snaps
garyjzhao Feb 17, 2025
5ef8866
adjusting the url
garyjzhao Feb 17, 2025
7a341b5
updated snaps
garyjzhao Feb 17, 2025
acf983b
Merge branch 'main' into EASI-4534/system-profile
garyjzhao Feb 17, 2025
a7581fe
updated snaps
garyjzhao Feb 17, 2025
9324df7
Merge branch 'EASI-4534/system-profile' of github.com:CMS-Enterprise/…
garyjzhao Feb 17, 2025
ad6ca8b
Merge branch 'main' into EASI-4534/system-profile
ClayBenson94 Feb 18, 2025
70842d6
add scroll to view on layouteffect
garyjzhao Feb 18, 2025
18dff20
create a custom scroll margin top and added to div
garyjzhao Feb 18, 2025
2e0cac4
update the urls to scroll to id correctly
garyjzhao Feb 18, 2025
5335ef0
updated snaps
garyjzhao Feb 18, 2025
2647bd0
drying code
garyjzhao Feb 18, 2025
9f56ec8
Merge branch 'main' into EASI-4534/system-profile
garyjzhao Feb 20, 2025
75fc765
addressing missed merge conflict
garyjzhao Feb 20, 2025
c022204
remove flag
garyjzhao Feb 20, 2025
890ddc7
refactored subnav conditoinal render
garyjzhao Feb 20, 2025
00f8603
Add isMobile conditional render
garyjzhao Feb 20, 2025
e37423c
add back the flags
garyjzhao Feb 20, 2025
fb4867a
updated snaps
garyjzhao Feb 20, 2025
1193034
Merge branch 'main' into EASI-4534/system-profile
garyjzhao Feb 20, 2025
c7065de
fixing import merge conflicts
garyjzhao Feb 20, 2025
f63f87e
moved the alert below the mobile nav
garyjzhao Feb 20, 2025
d642171
updated snaps
garyjzhao Feb 20, 2025
624b767
reversed the boolean condtional check
garyjzhao Feb 20, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -212,5 +212,6 @@
}
},
"globalSetup": "<rootDir>/jest-global-setup.js"
}
},
"packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
}
501 changes: 493 additions & 8 deletions src/features/Systems/SystemProfile/__snapshots__/index.test.tsx.snap

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,8 @@ exports[`System Data sub page for System Profile > matches snapshot 1`] = `
</div>
</div>
<h3
class="margin-top-0 margin-bottom-1"
class="margin-top-0 margin-bottom-1 scroll-margin-top-6"
id="data-categories"
>
Data content categories
</h3>
Expand Down Expand Up @@ -330,7 +331,7 @@ exports[`System Data sub page for System Profile > matches snapshot 1`] = `
class="display-flex margin-bottom-3"
>
<span
class="easi-tag text-base-darker bg-base-lighter display-flex flex-align-center"
class="easi-tag text-base-darker bg-base-lighter display-flex flex-align-center width-fit-content"
data-testid="tag"
>
<svg
Expand Down Expand Up @@ -477,7 +478,7 @@ exports[`System Data sub page for System Profile > matches snapshot 1`] = `
class="display-flex margin-bottom-3"
>
<span
class="easi-tag text-base-darker bg-base-lighter display-flex flex-align-center"
class="easi-tag text-base-darker bg-base-lighter display-flex flex-align-center width-fit-content"
data-testid="tag"
>
<svg
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,15 @@ import { showSystemVal } from 'utils/showVal';
// The majority of values rendered the components here are one-offs
// sometimes due to changing source data

function ExchangeDirectionTag({
export function ExchangeDirectionTag({
data
}: {
data: Exchange['exchangeDirection'];
}) {
const { t } = useTranslation('systemProfile');

return (
<Tag className="text-base-darker bg-base-lighter display-flex flex-align-center">
<Tag className="text-base-darker bg-base-lighter display-flex flex-align-center width-fit-content">
{data === ExchangeDirection.RECEIVER && (
<>
<Icon.FileDownload className="margin-right-1" />
Expand Down Expand Up @@ -361,7 +361,10 @@ const SystemData = ({ system }: SystemProfileSubviewProps) => {
</Grid>
</Grid>

<h3 className="margin-top-0 margin-bottom-1">
<h3
className="margin-top-0 margin-bottom-1 scroll-margin-top-6"
id="data-categories"
>
{t('singleSystem.systemData.dataCategories')}
</h3>
{system.cedarSoftwareProducts?.apiDataArea
Expand Down
Loading
Loading