From 0de96358bd18067f57e54a68eb9e68b6614dfde9 Mon Sep 17 00:00:00 2001 From: zeppi Date: Tue, 29 Mar 2022 12:58:21 -0400 Subject: [PATCH] restyle collection rename --- static/app-strings.json | 8 ++++++ ui/component/collectionActions/view.jsx | 13 --------- ui/page/collection/view.jsx | 15 ++++++---- ui/scss/component/_form-field.scss | 38 +++++++++++++++++++++---- 4 files changed, 49 insertions(+), 25 deletions(-) diff --git a/static/app-strings.json b/static/app-strings.json index c01f3601c..e4f31fa78 100644 --- a/static/app-strings.json +++ b/static/app-strings.json @@ -2293,5 +2293,13 @@ "%free% of %total% available": "%free% of %total% available", "Short (< 4 min)": "Short (< 4 min)", "Medium (4 - 20 min)": "Medium (4 - 20 min)", + "Rename List": "Rename List", + "New Name": "New Name", + "Rename": "Rename", + "New Collection Name": "New Collection Name", + "In %collection%": "In %collection%", + "Add to %collection%": "Add to %collection%", + "Show this channel your appreciation by sending a donation of Credits. ": "Show this channel your appreciation by sending a donation of Credits. ", + "%action% %collection%": "%action% %collection%", "--end--": "--end--" } diff --git a/ui/component/collectionActions/view.jsx b/ui/component/collectionActions/view.jsx index ce125a871..1322a7002 100644 --- a/ui/component/collectionActions/view.jsx +++ b/ui/component/collectionActions/view.jsx @@ -29,7 +29,6 @@ type Props = { doToggleShuffleList: (string, boolean) => void, playNextUri: string, firstItem: string, - onRenameCollection: () => void, }; function CollectionActions(props: Props) { @@ -49,7 +48,6 @@ function CollectionActions(props: Props) { firstItem, showEdit, setShowEdit, - onRenameCollection, } = props; const [doShuffle, setDoShuffle] = React.useState(false); const { push } = useHistory(); @@ -122,17 +120,6 @@ function CollectionActions(props: Props) { {!isBuiltin && (isMyCollection ? ( <> - {!uri && ( -