From 57dbf67f40f36ae5febf5dc74afa648759ab93d1 Mon Sep 17 00:00:00 2001 From: Maksim Sukharev Date: Tue, 25 Apr 2023 13:42:28 +0200 Subject: [PATCH 1/2] add labels to NcTextField components Signed-off-by: Maksim Sukharev --- .../NewGroupConversation/SetContacts/SetContacts.vue | 2 +- .../SetConversationName/SetConversationName.vue | 2 +- src/components/LeftSidebar/SearchBox/SearchBox.vue | 2 +- .../NewMessageForm/SimplePollsEditor/PollOption.vue | 9 +++++---- .../SimplePollsEditor/SimplePollsEditor.vue | 10 ++++++---- src/views/RoomSelector.vue | 1 + 6 files changed, 15 insertions(+), 11 deletions(-) diff --git a/src/components/LeftSidebar/NewGroupConversation/SetContacts/SetContacts.vue b/src/components/LeftSidebar/NewGroupConversation/SetContacts/SetContacts.vue index 7296414e82..933a33f685 100644 --- a/src/components/LeftSidebar/NewGroupConversation/SetContacts/SetContacts.vue +++ b/src/components/LeftSidebar/NewGroupConversation/SetContacts/SetContacts.vue @@ -26,7 +26,7 @@ v-observe-visibility="visibilityChanged" :value.sync="searchText" type="text" - :placeholder="t('spreed', 'Search participants')" + :label="t('spreed', 'Search participants')" @input="handleInput"> diff --git a/src/components/LeftSidebar/NewGroupConversation/SetConversationName/SetConversationName.vue b/src/components/LeftSidebar/NewGroupConversation/SetConversationName/SetConversationName.vue index c4a9619f32..37808d8f71 100644 --- a/src/components/LeftSidebar/NewGroupConversation/SetConversationName/SetConversationName.vue +++ b/src/components/LeftSidebar/NewGroupConversation/SetConversationName/SetConversationName.vue @@ -25,7 +25,7 @@ v-observe-visibility="visibilityChanged" type="text" :value="value" - :placeholder="t('spreed', 'Conversation name')" + :label="t('spreed', 'Conversation name')" @input="handleInput" @keydown.enter="handleKeydown" /> diff --git a/src/components/LeftSidebar/SearchBox/SearchBox.vue b/src/components/LeftSidebar/SearchBox/SearchBox.vue index 5092d6252c..31c65f45be 100644 --- a/src/components/LeftSidebar/SearchBox/SearchBox.vue +++ b/src/components/LeftSidebar/SearchBox/SearchBox.vue @@ -23,7 +23,7 @@
- + diff --git a/src/components/NewMessageForm/SimplePollsEditor/SimplePollsEditor.vue b/src/components/NewMessageForm/SimplePollsEditor/SimplePollsEditor.vue index 133e531b6e..6990cc2b90 100644 --- a/src/components/NewMessageForm/SimplePollsEditor/SimplePollsEditor.vue +++ b/src/components/NewMessageForm/SimplePollsEditor/SimplePollsEditor.vue @@ -31,24 +31,26 @@

{{ t('spreed', 'Question') }}

- +

{{ t('spreed', 'Answers') }}

- - + {{ t('spreed', 'Add answer') }} diff --git a/src/views/RoomSelector.vue b/src/views/RoomSelector.vue index e7afc7a718..ac2bc116f8 100644 --- a/src/views/RoomSelector.vue +++ b/src/views/RoomSelector.vue @@ -35,6 +35,7 @@ From 908aa403203c82284b7cecf6cf545bc48c1e3dcc Mon Sep 17 00:00:00 2001 From: Maksim Sukharev Date: Tue, 25 Apr 2023 14:16:51 +0200 Subject: [PATCH 2/2] add labels to rest NcButton components Signed-off-by: Maksim Sukharev --- .../MessagesGroup/Message/MessagePart/PollVotersDetails.vue | 1 + .../NewMessageForm/SimplePollsEditor/PollOption.vue | 5 ++--- src/components/TopBar/TopBar.vue | 2 ++ 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/components/MessagesList/MessagesGroup/Message/MessagePart/PollVotersDetails.vue b/src/components/MessagesList/MessagesGroup/Message/MessagePart/PollVotersDetails.vue index 4825e897f4..82e72d9f44 100644 --- a/src/components/MessagesList/MessagesGroup/Message/MessagePart/PollVotersDetails.vue +++ b/src/components/MessagesList/MessagesGroup/Message/MessagePart/PollVotersDetails.vue @@ -23,6 +23,7 @@