pleroma-fe/src/components
Ilja 56d1232588 Show moderation drop down menu and items based on privileges
There's a seperator between certain blocks of items. I show/hide the seperator together with the block under it.
When a block with a seperator is at the top, the seperator doesn't show, keeping a consistent look with seperators only between blocks.

I also hide granting roles for deactivated accounts because that doesn't make much sense to me.

For the rest the items are hidden when you're not privileged. When there's no privileges that show items, the menu isn't shown either.
2022-08-06 22:33:38 +02:00
..
about --fix 2022-07-31 12:35:48 +03:00
account_actions --fix 2022-07-31 12:35:48 +03:00
async_component_error properly implement resettableAsyncComponent 2022-03-28 23:55:57 +03:00
attachment fix main post form having hidden emoji picker 2022-04-10 21:56:54 +03:00
auth_form fix login form 2021-04-25 14:44:07 +03:00
autosuggest poll slot renamed, lightBg customization implemented 2020-01-13 00:33:04 +02:00
avatar_list --fix 2022-07-31 12:35:48 +03:00
basic_user_card --fix 2022-07-31 12:35:48 +03:00
block_card Replace all use of <a> + href='#' with proper buttons 2020-11-24 12:32:42 +02:00
bookmark_timeline destroyed -> unmounted 2021-04-25 13:44:50 +03:00
chat --fix 2022-07-31 12:35:48 +03:00
chat_list --fix 2022-07-31 12:35:48 +03:00
chat_list_item improvements and cleanup to input components 2022-04-26 17:31:26 +03:00
chat_message --fix 2022-07-31 12:35:48 +03:00
chat_message_date Use app locale with toLocaleString/toLocaleDateString 2021-01-21 20:31:54 +03:00
chat_new cleanup and fixes 2022-04-20 23:22:51 +03:00
chat_title --fix 2022-07-31 12:35:48 +03:00
checkbox --fix 2022-07-31 12:35:48 +03:00
color_input --fix 2022-07-31 12:35:48 +03:00
contrast_ratio chevrons-downs, settings 2020-10-20 21:03:46 +03:00
conversation --fix 2022-07-31 12:35:48 +03:00
conversation-page update prop name 2019-09-06 11:17:05 -04:00
desktop_nav --fix 2022-07-31 12:35:48 +03:00
dialog_modal cleanup 2022-04-21 00:27:48 +03:00
dm_timeline eslint --fix --ext .js,.vue src 2019-07-05 10:17:44 +03:00
domain_mute_card --fix 2022-07-31 12:35:48 +03:00
emoji_input --fix 2022-07-31 12:35:48 +03:00
emoji_picker --fix 2022-07-31 12:35:48 +03:00
emoji_reactions --fix 2022-07-31 12:35:48 +03:00
exporter fix importer/exporter i18n 2021-04-25 14:12:34 +03:00
extra_buttons Option to delete a post is shown when privileged with messages_delete 2022-08-06 14:00:29 +02:00
favorite_button --fix 2022-07-31 12:35:48 +03:00
features_panel --fix 2022-07-31 12:35:48 +03:00
flash --fix 2022-07-31 12:35:48 +03:00
follow_button Merge branch 'fixes_for_deactivated_profile' into 'develop' 2022-01-19 13:09:49 +00:00
follow_card Fix Follow button missing on follow list 2022-02-02 21:30:52 -05:00
follow_request_card Replace all use of <a> + href='#' with proper buttons 2020-11-24 12:32:42 +02:00
follow_requests Apply 1 suggestion(s) to 1 file(s) 2020-10-06 16:18:30 +00:00
font_control --fix 2022-07-31 12:35:48 +03:00
friends_timeline eslint --fix --ext .js,.vue src 2019-07-05 10:17:44 +03:00
gallery removing uselsess stuff 2022-03-29 19:21:13 +03:00
global_notice_list slight z-index refactor and attempt at organizing it 2022-06-22 00:30:10 +03:00
hashtag_link --fix 2022-07-31 12:35:48 +03:00
image_cropper --fix 2022-07-31 12:35:48 +03:00
importer fix importer 2022-03-30 18:00:37 +03:00
instance_specific_panel --fix 2022-07-31 12:35:48 +03:00
interactions --fix 2022-07-31 12:35:48 +03:00
interface_language_switcher --fix 2022-07-31 12:35:48 +03:00
link-preview more em-sized fonts 2022-04-20 23:44:33 +03:00
list eslint --fix --ext .js,.vue src 2019-07-05 10:17:44 +03:00
login_form --fix 2022-07-31 12:35:48 +03:00
media_modal slight z-index refactor and attempt at organizing it 2022-06-22 00:30:10 +03:00
media_upload --fix 2022-07-31 12:35:48 +03:00
mention_link --fix 2022-07-31 12:35:48 +03:00
mentions eslint --fix --ext .js,.vue src 2019-07-05 10:17:44 +03:00
mentions_line --fix 2022-07-31 12:35:48 +03:00
mfa_form --fix 2022-07-31 12:35:48 +03:00
mobile_nav --fix 2022-07-31 12:35:48 +03:00
mobile_post_status_button fix new post button not working day1, minor stylistic fixes 2022-04-10 20:18:54 +03:00
modal --fix 2022-07-31 12:35:48 +03:00
moderation_tools Show moderation drop down menu and items based on privileges 2022-08-06 22:33:38 +02:00
mrf_transparency_panel --fix 2022-07-31 12:35:48 +03:00
mute_card Replace all use of <a> + href='#' with proper buttons 2020-11-24 12:32:42 +02:00
nav_panel --fix 2022-07-31 12:35:48 +03:00
notification --fix 2022-07-31 12:35:48 +03:00
notifications --fix 2022-07-31 12:35:48 +03:00
oauth_callback use clientSecret in login flow 2019-06-20 11:48:30 -04:00
opacity_input lint + fixes for registration 2022-03-29 15:35:18 +03:00
panel_loading fix build warnings 2020-11-01 16:47:17 +02:00
password_reset relative units in line-height + some cleanup 2022-04-20 23:55:34 +03:00
pinch_zoom Make lint happy 2022-03-13 12:00:44 -04:00
poll Fix poll duration i18n 2022-07-24 23:32:58 -04:00
popover --fix 2022-07-31 12:35:48 +03:00
post_status_form --fix 2022-07-31 12:35:48 +03:00
post_status_modal fix #866 2020-06-13 14:42:53 +03:00
progress_button eslint —fix 2019-07-10 21:01:08 -04:00
public_and_external_timeline destroyed -> unmounted 2021-04-25 13:44:50 +03:00
public_timeline destroyed -> unmounted 2021-04-25 13:44:50 +03:00
range_input fix (roundness) ranges in theme tab 2022-03-27 13:31:56 +03:00
react_button --fix 2022-07-31 12:35:48 +03:00
registration Add optional/required indicator for registration fields 2022-07-10 22:46:53 -04:00
remote_follow --fix 2022-07-31 12:35:48 +03:00
remote_user_resolver redirect /remote-users/:username@:hostname -> /users/:id, /remote-users/:hostname/:username -> /users/:id 2019-11-08 22:27:25 +00:00
reply_button fix alternative icons having wrong offsets 2020-11-26 23:01:16 +02:00
retweet_button --fix 2022-07-31 12:35:48 +03:00
rich_content fix hashtags by explicitly putting attributes 2022-04-12 18:10:19 +03:00
scope_selector fix all the spacings i could find 2022-03-23 16:15:05 +02:00
search fix tabs in search 2022-03-27 14:43:16 +03:00
search_bar --fix 2022-07-31 12:35:48 +03:00
select cleanup and fixes 2022-04-20 23:22:51 +03:00
selectable_list --fix 2022-07-31 12:35:48 +03:00
settings_modal --fix 2022-07-31 12:35:48 +03:00
shadow_control --fix 2022-07-31 12:35:48 +03:00
shout_panel --fix 2022-07-31 12:35:48 +03:00
side_drawer --fix 2022-07-31 12:35:48 +03:00
staff_panel --fix 2022-07-31 12:35:48 +03:00
status deal with no-prototype-builtins 2022-07-31 12:36:02 +03:00
status_body --fix 2022-07-31 12:35:48 +03:00
status_content --fix 2022-07-31 12:35:48 +03:00
status_popover --fix 2022-07-31 12:35:48 +03:00
sticker_picker --fix 2022-07-31 12:35:48 +03:00
still-image more em-sized fonts 2022-04-20 23:44:33 +03:00
swipe_click Scale swipe threshold with viewport width 2022-03-13 12:00:44 -04:00
tab_switcher cleanup and fixes 2022-04-20 23:22:51 +03:00
tag_timeline destroyed -> unmounted 2021-04-25 13:44:50 +03:00
terms_of_service_panel --fix 2022-07-31 12:35:48 +03:00
thread_tree Fix shrug text in muted status 2022-04-07 11:45:23 -04:00
timeago Delegate relativeTime plural rules to vue-i18n 2022-06-07 20:22:03 -04:00
timeline --fix 2022-07-31 12:35:48 +03:00
timeline_menu --fix 2022-07-31 12:35:48 +03:00
user_avatar lint + fixes for registration 2022-03-29 15:35:18 +03:00
user_card Show moderation drop down menu and items based on privileges 2022-08-06 22:33:38 +02:00
user_list_popover --fix 2022-07-31 12:35:48 +03:00
user_panel fix main post form having hidden emoji picker 2022-04-10 21:56:54 +03:00
user_popover --fix 2022-07-31 12:35:48 +03:00
user_profile --fix 2022-07-31 12:35:48 +03:00
user_reporting_modal --fix 2022-07-31 12:35:48 +03:00
video_attachment video_attachment: Only preload metadata 2020-11-19 18:01:21 +01:00
who_to_follow --fix 2022-07-31 12:35:48 +03:00
who_to_follow_panel --fix 2022-07-31 12:35:48 +03:00