Skip to content

Commit

Permalink
[MERX-17] Remove app version from app list view (#4671)
Browse files Browse the repository at this point in the history
* Remove app version from app list view

* Add changeset
  • Loading branch information
poulch committed Feb 13, 2024
1 parent fe48a01 commit 9cd348f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
5 changes: 5 additions & 0 deletions .changeset/wet-cows-invite.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"saleor-dashboard": patch
---

Remove app version from app list view
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,6 @@ describe("Apps InstalledAppListRow", () => {
/>,
);
const name = screen.queryByText(activeApp.name as string);
const version = screen.queryByText(activeApp.version as string, {
exact: false,
});
// TODO: Uncomment this when manifests are added back in the UI
// const manifestDomain = screen.queryByText(
// new URL(activeApp.manifestUrl as string).host,
Expand All @@ -55,7 +52,6 @@ describe("Apps InstalledAppListRow", () => {

// Assert
expect(name).toBeTruthy();
expect(version).toBeTruthy();
// TODO: Uncomment this when manifests are added back in the UI
// expect(manifestDomain).toBeTruthy();
expect(externalLabel).toBeFalsy();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,6 @@ export const InstalledAppListRow: React.FC<InstalledApp> = props => {
>
<Box display="flex" gap={2}>
<Text variant="bodyStrong">{app.name}</Text>
<Text variant="body" color="default2">
{`v${app.version}`}
</Text>
{isExternal && (
<Chip
data-test-id="app-external-label"
Expand Down

0 comments on commit 9cd348f

Please sign in to comment.