Skip to content
This repository was archived by the owner on Jan 23, 2025. It is now read-only.

fix: revert previous published item layout #1058

Merged
merged 2 commits into from
Mar 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
9 changes: 8 additions & 1 deletion src/components/common/PublishButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,14 @@ const PublishButton = ({ itemId }: Props): JSX.Element => {
to={buildItemPublishPath(itemId)}
component={Link}
>
<LibraryIcon size={24} showSetting primaryColor="#777" />
<LibraryIcon
size={24}
showSetting
primaryColor="#777"
secondaryColor="#fff"
disableHover
selected
/>
</IconButton>
</Tooltip>
);
Expand Down
4 changes: 3 additions & 1 deletion src/components/main/MainMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -120,12 +120,14 @@ const MainMenu = (): JSX.Element => {
<MenuItem
onClick={() => goTo(PUBLISHED_ITEMS_PATH)}
selected={pathname === PUBLISHED_ITEMS_PATH}
text="Published items"
text={translateBuilder(BUILDER.NAVIGATION_PUBLISHED_ITEMS_TITLE)}
icon={
<LibraryIcon
primaryColor={iconColor}
secondaryColor="#fff"
size={24}
disableHover
selected
/>
}
/>
Expand Down
1 change: 1 addition & 0 deletions src/langs/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,7 @@ export const BUILDER = {
ITEM_SELECTION_NAVIGATION_PARENT: 'ITEM_SELECTION_NAVIGATION_PARENT',
MY_ITEMS_TITLE: 'MY_ITEMS_TITLE',
NAVIGATION_FAVORITE_ITEMS_TITLE: 'NAVIGATION_FAVORITE_ITEMS_TITLE',
NAVIGATION_PUBLISHED_ITEMS_TITLE: 'NAVIGATION_PUBLISHED_ITEMS_TITLE',
NAVIGATION_MY_ITEMS_TITLE: 'NAVIGATION_MY_ITEMS_TITLE',
NAVIGATION_SHARED_ITEMS_TITLE: 'NAVIGATION_SHARED_ITEMS_TITLE',
NEW_ITEM_APP_TAB_TEXT: 'NEW_ITEM_APP_TAB_TEXT',
Expand Down
1 change: 1 addition & 0 deletions src/langs/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,7 @@
"MOVE_ITEM_MODAL_TITLE_other": "Where do you want to move {{name}} and {{count}} others?",
"MY_ITEMS_TITLE": "My Graasp",
"NAVIGATION_FAVORITE_ITEMS_TITLE": "Favorite Items",
"NAVIGATION_PUBLISHED_ITEMS_TITLE": "Published Items",
"NAVIGATION_MY_ITEMS_TITLE": "My Graasp",
"NAVIGATION_SHARED_ITEMS_TITLE": "Shared Items",
"NEW_ITEM_APP_TAB_TEXT": "Application",
Expand Down
1 change: 1 addition & 0 deletions src/langs/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,7 @@
"MOVE_ITEM_MODAL_TITLE_other": "Où déplacer {{name}} et {{count}} autres éléments ?",
"MY_ITEMS_TITLE": "Mon Graasp",
"NAVIGATION_FAVORITE_ITEMS_TITLE": "Éléments Favoris",
"NAVIGATION_PUBLISHED_ITEMS_TITLE": "Éléments Publiés",
"NAVIGATION_MY_ITEMS_TITLE": "Mon Graasp",
"NAVIGATION_SHARED_ITEMS_TITLE": "Éléments Partagés",
"NEW_ITEM_APP_TAB_TEXT": "Application",
Expand Down