logo

pleroma-fe

My custom branche(s) on git.pleroma.social/pleroma/pleroma-fe git clone https://hacktivis.me/git/pleroma-fe.git
commit: 55ea6df40b7e2cfe2b1b5bde33204d4c03e54a12
parent 6a7b182af11af6c50439c62bc5ee37cc5960810e
Author: Henry Jameson <me@hjkos.com>
Date:   Sun, 12 Mar 2023 17:28:14 +0200

lint

Diffstat:

Msrc/components/interface_language_switcher/interface_language_switcher.vue4+++-
Msrc/components/settings_modal/tabs/filtering_tab.vue12++++++------
Msrc/components/settings_modal/tabs/general_tab.vue11++++++-----
Msrc/components/settings_modal/tabs/notifications_tab.vue8++++++--
Msrc/components/settings_modal/tabs/profile_tab.vue34++++++++++++++++++++++++++--------
5 files changed, 47 insertions(+), 22 deletions(-)

diff --git a/src/components/interface_language_switcher/interface_language_switcher.vue b/src/components/interface_language_switcher/interface_language_switcher.vue @@ -36,7 +36,9 @@ <button class="button-default btn" @click="addLanguage" - >{{ $t('settings.add_language') }}</button> + > + {{ $t('settings.add_language') }} + </button> </li> </ul> </div> diff --git a/src/components/settings_modal/tabs/filtering_tab.vue b/src/components/settings_modal/tabs/filtering_tab.vue @@ -10,8 +10,8 @@ <ul class="setting-list suboptions"> <li> <BooleanSetting - parentPath="hideFilteredStatuses" - :parentInvert="true" + parent-path="hideFilteredStatuses" + :parent-invert="true" path="hideWordFilteredPosts" > {{ $t('settings.hide_wordfiltered_statuses') }} @@ -20,8 +20,8 @@ <li> <BooleanSetting v-if="user" - parentPath="hideFilteredStatuses" - :parentInvert="true" + parent-path="hideFilteredStatuses" + :parent-invert="true" path="hideMutedThreads" > {{ $t('settings.hide_muted_threads') }} @@ -30,8 +30,8 @@ <li> <BooleanSetting v-if="user" - parentPath="hideFilteredStatuses" - :parentInvert="true" + parent-path="hideFilteredStatuses" + :parent-invert="true" path="hideMutedPosts" > {{ $t('settings.hide_muted_posts') }} diff --git a/src/components/settings_modal/tabs/general_tab.vue b/src/components/settings_modal/tabs/general_tab.vue @@ -33,7 +33,7 @@ <li> <BooleanSetting path="pauseOnUnfocused" - parentPath="streaming" + parent-path="streaming" > {{ $t('settings.pause_on_unfocused') }} </BooleanSetting> @@ -262,7 +262,8 @@ <li> <BooleanSetting v-if="user" - source="profile" path="stripRichContent" + source="profile" + path="stripRichContent" expert="1" > {{ $t('settings.no_rich_text_description') }} @@ -287,7 +288,7 @@ <BooleanSetting path="preloadImage" expert="1" - parentPath="hideNsfw" + parent-path="hideNsfw" > {{ $t('settings.preload_images') }} </BooleanSetting> @@ -296,7 +297,7 @@ <BooleanSetting path="useOneClickNsfw" expert="1" - parentPath="hideNsfw" + parent-path="hideNsfw" > {{ $t('settings.use_one_click_nsfw') }} </BooleanSetting> @@ -314,7 +315,7 @@ <BooleanSetting path="loopVideoSilentOnly" expert="1" - parentPath="loopVideo" + parent-path="loopVideo" :disabled="!loopSilentAvailable" > {{ $t('settings.loop_video_silent_only') }} diff --git a/src/components/settings_modal/tabs/notifications_tab.vue b/src/components/settings_modal/tabs/notifications_tab.vue @@ -4,7 +4,10 @@ <h2>{{ $t('settings.notification_setting_filters') }}</h2> <ul class="setting-list"> <li> - <BooleanSetting source="profile" path="blockNotificationsFromStrangers"> + <BooleanSetting + source="profile" + path="blockNotificationsFromStrangers" + > {{ $t('settings.notification_setting_block_from_strangers') }} </BooleanSetting> </li> @@ -67,7 +70,8 @@ </li> <li> <BooleanSetting - source="profile" path="webPushHideContents" + source="profile" + path="webPushHideContents" expert="1" > {{ $t('settings.notification_setting_hide_notification_contents') }} diff --git a/src/components/settings_modal/tabs/profile_tab.vue b/src/components/settings_modal/tabs/profile_tab.vue @@ -254,27 +254,42 @@ <h2>{{ $t('settings.account_privacy') }}</h2> <ul class="setting-list"> <li> - <BooleanSetting source="profile" path="locked"> + <BooleanSetting + source="profile" + path="locked" + > {{ $t('settings.lock_account_description') }} </BooleanSetting> </li> <li> - <BooleanSetting source="profile" path="discoverable"> + <BooleanSetting + source="profile" + path="discoverable" + > {{ $t('settings.discoverable') }} </BooleanSetting> </li> <li> - <BooleanSetting source="profile" path="allowFollowingMove"> + <BooleanSetting + source="profile" + path="allowFollowingMove" + > {{ $t('settings.allow_following_move') }} </BooleanSetting> </li> <li> - <BooleanSetting source="profile" path="hideFavorites"> + <BooleanSetting + source="profile" + path="hideFavorites" + > {{ $t('settings.hide_favorites_description') }} </BooleanSetting> </li> <li> - <BooleanSetting source="profile" path="hideFollowers"> + <BooleanSetting + source="profile" + path="hideFollowers" + > {{ $t('settings.hide_followers_description') }} </BooleanSetting> <ul class="setting-list suboptions"> @@ -282,7 +297,7 @@ <BooleanSetting source="profile" path="hideFollowersCount" - parentPath="hideFollowers" + parent-path="hideFollowers" > {{ $t('settings.hide_followers_count_description') }} </BooleanSetting> @@ -290,7 +305,10 @@ </ul> </li> <li> - <BooleanSetting source="profile" path="hideFollows"> + <BooleanSetting + source="profile" + path="hideFollows" + > {{ $t('settings.hide_follows_description') }} </BooleanSetting> <ul class="setting-list suboptions"> @@ -298,7 +316,7 @@ <BooleanSetting source="profile" path="hideFollowsCount" - parentPath="hideFollows" + parent-path="hideFollows" > {{ $t('settings.hide_follows_count_description') }} </BooleanSetting>