From 5ab96ae0d235b6a30648d2d493be3fd3c4301e5b Mon Sep 17 00:00:00 2001 From: Shpuld Shpuldson Date: Mon, 11 Jan 2021 19:40:35 +0200 Subject: don't filter own posts --- src/components/status/status.js | 1 + 1 file changed, 1 insertion(+) (limited to 'src/components') diff --git a/src/components/status/status.js b/src/components/status/status.js index f9c710ab..2bf93a9e 100644 --- a/src/components/status/status.js +++ b/src/components/status/status.js @@ -157,6 +157,7 @@ const Status = { return muteWordHits(this.status, this.muteWords) }, muted () { + if (this.statusoid.user.id === this.currentUser.id) return false const { status } = this const { reblog } = status const relationship = this.$store.getters.relationship(status.user.id) -- cgit v1.2.3-70-g09d2 From b76a68e622b2db6474acdd206bbdfb2e66fefd8f Mon Sep 17 00:00:00 2001 From: rinpatch Date: Wed, 20 Jan 2021 14:03:26 +0300 Subject: UserCard: Make user roles translateable I did not add a translation for my native language in this patch because I am not sure how weblate would react, but I did add it locally and it seems to work. --- src/components/user_card/user_card.vue | 3 +-- src/i18n/en.json | 4 ++++ 2 files changed, 5 insertions(+), 2 deletions(-) (limited to 'src/components') diff --git a/src/components/user_card/user_card.vue b/src/components/user_card/user_card.vue index 16dd5249..773f764a 100644 --- a/src/components/user_card/user_card.vue +++ b/src/components/user_card/user_card.vue @@ -83,7 +83,7 @@ v-if="!!visibleRole" class="alert user-role" > - {{ visibleRole }} + {{ $t(`user_card.roles.${visibleRole}`) }} Date: Wed, 20 Jan 2021 17:01:57 +0200 Subject: fix profile field buttons, remove attachment button --- .../post_status_form/post_status_form.vue | 26 +++++----------------- .../settings_modal/tabs/profile_tab.scss | 9 ++++---- src/components/settings_modal/tabs/profile_tab.vue | 14 ++++++------ 3 files changed, 18 insertions(+), 31 deletions(-) (limited to 'src/components') diff --git a/src/components/post_status_form/post_status_form.vue b/src/components/post_status_form/post_status_form.vue index ed830f57..73f6a4f1 100644 --- a/src/components/post_status_form/post_status_form.vue +++ b/src/components/post_status_form/post_status_form.vue @@ -302,11 +302,12 @@ :key="file.url" class="media-upload-wrapper" > - + > + + .emoji-input { + & > .emoji-input { flex: 1 1 auto; - margin: 0 .2em .5em; + margin: 0 0.2em 0.5em; min-width: 0; } - &>.icon-container { + & > .button-unstyled { width: 20px; align-self: center; - margin: 0 .2em .5em; + margin: 0 0.2em 0.5em; + padding: 0 0.5em; } } } diff --git a/src/components/settings_modal/tabs/profile_tab.vue b/src/components/settings_modal/tabs/profile_tab.vue index b7ef21d7..abb16db2 100644 --- a/src/components/settings_modal/tabs/profile_tab.vue +++ b/src/components/settings_modal/tabs/profile_tab.vue @@ -124,24 +124,24 @@ :placeholder="$t('settings.profile_fields.value')" > -
-
+ - {{ $t("settings.profile_fields.add_field") }} - +

-- cgit v1.2.3-70-g09d2 From 02ab803725e42a749c6c8f564e8093df70e97fc7 Mon Sep 17 00:00:00 2001 From: Shpuld Shpuldson Date: Wed, 20 Jan 2021 17:36:40 +0200 Subject: change a few more buttons to real buttons --- CHANGELOG.md | 2 ++ src/App.scss | 7 +++++ src/components/poll/poll_form.vue | 30 +++++++--------------- src/components/settings_modal/tabs/profile_tab.vue | 4 +-- 4 files changed, 20 insertions(+), 23 deletions(-) (limited to 'src/components') diff --git a/CHANGELOG.md b/CHANGELOG.md index 12a38a03..1107491e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,8 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). ## [Unreleased] +### Fixed +- Button to remove uploaded media in post status form is now properly placed and sized. ## [2.2.3] - 2021-01-18 diff --git a/src/App.scss b/src/App.scss index 2a1d7b1b..8b91f3de 100644 --- a/src/App.scss +++ b/src/App.scss @@ -178,6 +178,13 @@ a { &.-fullwidth { width: 100%; } + + &.-hover-highlight { + &:hover svg { + color: $fallback--lightText; + color: var(--lightText, $fallback--lightText); + } + } } input, textarea, .select, .input { diff --git a/src/components/poll/poll_form.vue b/src/components/poll/poll_form.vue index 31f204a0..09496105 100644 --- a/src/components/poll/poll_form.vue +++ b/src/components/poll/poll_form.vue @@ -21,20 +21,17 @@ @keydown.enter.stop.prevent="nextOption(index)" > -

- -
+ + - {{ $t("polls.add_option") }} - +