mastodon/app/javascript/flavours/glitch/components
neatchee 20abef6590
Allow users to set the trigger height for lengthy toot auto-collapse (#2070)
* Allow users to set the trigger height for lengthy toot autocollapse

Add a field in the glitch-soc preferences to set the exact height in pixels of a "lengthy toot" where auto-collapse is triggered

Originally authored by Dean Bassett (github.com/deanveloper)

Squashed 3 commits from neatchee/mastodon and returned some values to project defaults:
* ef665c1df5821e684c8da3392049f33243fafa74
* 0fce108d210efe55027a3af061bfc57aaaa83843
* 998f701a2b2e37edbda7dffb11a61f67f5559b18

* Remove bad escape characters

* Apply feedback from glitch-soc code review
- move input width specification to CSS
- adjust language for clarity

* Update comments re: lengthy toot height

* Fix inconsistent indentation

* Use a calculated width that scales better with browser font instead of static 45px width
2023-01-26 19:36:44 +01:00
..
admin [Glitch] Fix /api/v1/admin/trends/tags using wrong serializer 2023-01-18 17:44:45 +01:00
edited_timestamp [Glitch] Fix dropdown menu positions when scrolling 2023-01-12 11:18:22 +01:00
account.js [Glitch] Change design of link footer 2022-11-06 17:29:04 +01:00
animated_number.js [Glitch] Change larger reblogs/favourites numbers to be shortened in web UI 2022-11-10 10:15:21 +01:00
attachment_list.js [Glitch] Fix crash if a notification contains an unprocessed media attachment 2021-08-20 13:14:59 +02:00
autosuggest_emoji.js Move flavours/glitch/utils/emoji back to flavours/glitch/features/emoji 2022-10-11 12:43:19 +02:00
autosuggest_hashtag.js [Glitch] Replace shortNumberFormat with <ShortNumber> 2020-07-07 19:25:06 +02:00
autosuggest_input.js [Glitch] Add lang attribute to compose textarea and CW field 2023-01-24 20:40:48 +01:00
autosuggest_textarea.js [Glitch] Add lang attribute to compose textarea and CW field 2023-01-24 20:40:48 +01:00
avatar.js [Glitch] Fix error when rendering limited account in web UI 2022-10-28 19:24:02 +02:00
avatar_composite.js Move flavours/glitch/util/initial_state to flavours/glitch/initial_state 2022-10-11 10:17:04 +02:00
avatar_overlay.js Move flavours/glitch/util/initial_state to flavours/glitch/initial_state 2022-10-11 10:17:04 +02:00
blurhash.js [Glitch] Improve safety of Blurhash component 2020-07-10 17:08:31 +02:00
button.js [Glitch] Fix logo button style 2021-01-06 19:03:21 +01:00
check.js [Glitch] Change report modal to include category selection in web UI 2022-02-23 20:25:55 +01:00
column.js Move more modules from flavours/glitch/utils to flavours/glitch 2022-10-11 12:25:45 +02:00
column_back_button.js [Glitch] Fix crash when switching back/from mobile layout 2019-10-11 22:40:52 +02:00
column_back_button_slim.js Fix using wrong component in ColumnBackButtonSlim 2019-09-30 15:58:29 +02:00
column_header.js [Glitch] Remove aria-pressed where it's redundant 2022-11-10 10:25:43 +01:00
common_counter.js [Glitch] Rename toots to posts in various places, add or reword DM warnings 2022-05-03 10:59:23 +02:00
dismissable_banner.js [Glitch] Add dismissable hints to various timelines in web UI 2022-10-28 19:24:02 +02:00
display_name.js Move flavours/glitch/util/initial_state to flavours/glitch/initial_state 2022-10-11 10:17:04 +02:00
domain.js [Glitch] Change the string "hidden" to "blocked" in WebUI 2020-03-22 16:29:51 +01:00
dropdown_menu.js [Glitch] Fix dropdown menu positions when scrolling 2023-01-12 11:18:22 +01:00
error_boundary.js [Glitch] Change public accounts pages to mount the web UI 2022-10-28 19:24:02 +02:00
gifv.js [Glitch] Fix click range discrepancies in gifv 2020-08-30 16:31:41 +02:00
hashtag.js [Glitch] Fix number of uses being shown again on trending hashtags in web UI 2022-10-28 19:49:45 +02:00
icon.js Use upstream's Icon component 2019-09-09 19:00:20 +02:00
icon_button.js [Glitch] Add aria-hidden to 'Hide image' button in MediaGallery since the button is useless to screen reader users 2023-01-05 15:12:33 +01:00
icon_with_badge.js [Glitch] Fix browser notification permission request logic 2020-10-21 21:28:47 +02:00
image.js [Glitch] Change about page to be mounted in the web UI 2022-10-28 19:24:02 +02:00
inline_account.js [Glitch] Add edit history to web UI 2022-02-09 17:51:35 +01:00
intersection_observer_article.js Remove/update old "tootsuite" references, except those needed for Docker (#1860) 2022-11-01 09:38:05 +01:00
link.js Rename flavours/glitch/util into flavours/glitch/utils 2022-10-11 11:31:11 +02:00
load_gap.js Use the `Icon` component instead of directly using `i` tag 2019-09-09 19:00:20 +02:00
load_more.js [Glitch] Allow clients to fetch statuses made while they were offline 2018-05-29 21:25:28 +02:00
load_pending.js [Glitch] Add option to disable real-time updates in web UI 2019-07-16 16:51:08 +02:00
loading_indicator.js [Glitch] Add edit history to web UI 2022-02-09 17:51:35 +01:00
logo.js [Glitch] Fix intermediary responsive layout, accessibility on navigation in web UI 2022-10-28 19:24:02 +02:00
media_attachments.js Move flavours/glitch/utils/ready to flavours/glitch/ready 2022-10-11 11:31:11 +02:00
media_gallery.js [Glitch] Add aria-hidden to 'Hide image' button in MediaGallery since the button is useless to screen reader users 2023-01-05 15:12:33 +01:00
missing_indicator.js [Glitch] Change public accounts pages to mount the web UI 2022-10-28 19:24:02 +02:00
modal_root.js Use upstream's settings for CW auto-expand and column swiping (#1770) 2022-05-15 17:30:40 +02:00
navigation_portal.js [Glitch] Fix showing profile's featured tags on individual statuses 2022-11-06 17:29:04 +01:00
not_signed_in_indicator.js [Glitch] Fix various issues with logged-out web UI 2022-10-09 18:23:15 +02:00
notification_purge_buttons.js Use the `Icon` component instead of directly using `i` tag 2019-09-09 19:00:20 +02:00
permalink.js Shift+click on column Back button to return to last pinable column 2019-04-17 18:40:40 +02:00
picture_in_picture_placeholder.js [Glitch] Add pop-out player for audio/video in web UI 2020-10-26 19:51:09 +01:00
poll.js Move flavours/glitch/utils/emoji back to flavours/glitch/features/emoji 2022-10-11 12:43:19 +02:00
radio_button.js [Glitch] Add profile directory to web UI 2019-08-31 18:23:23 +02:00
regeneration_indicator.js [Glitch] fix component name 2021-05-07 18:34:54 +02:00
relative_timestamp.js [Glitch] Add edit history to web UI 2022-02-09 17:51:35 +01:00
scrollable_list.js Move some modules from flavours/glitch/utils/ back to flavours/glitch/features/ui/util/ 2022-10-11 11:31:11 +02:00
server_banner.js [Glitch] Change design of link footer 2022-11-06 17:29:04 +01:00
setting_text.js Rename settingKey to settingPath (tootsuite pr #6046 & #6098) 2017-12-26 13:21:20 -06:00
short_number.js Rename flavours/glitch/util into flavours/glitch/utils 2022-10-11 11:31:11 +02:00
skeleton.js [Glitch] Change about page to be mounted in the web UI 2022-10-28 19:24:02 +02:00
spoilers.js Minor refactoring 2019-07-15 00:48:28 +02:00
status.js Allow users to set the trigger height for lengthy toot auto-collapse (#2070) 2023-01-26 19:36:44 +01:00
status_action_bar.js [Glitch] Add dropdown menu item to open admin interface for remote domains 2023-01-05 16:31:20 +01:00
status_content.js Move translate button above media attachments/preview cards 2022-11-30 15:03:47 +01:00
status_header.js [Glitch] Remove unnused otherAccounts property 2022-06-02 11:08:05 +02:00
status_icons.js Move flavours/glitch/util/initial_state to flavours/glitch/initial_state 2022-10-11 10:17:04 +02:00
status_list.js [Glitch] Add explore page to web UI 2022-10-08 20:49:02 +02:00
status_prepend.js Move flavours/glitch/util/initial_state to flavours/glitch/initial_state 2022-10-11 10:17:04 +02:00
status_visibility_icon.js [Glitch] Rename toots to posts in various places, add or reword DM warnings 2022-05-03 10:59:23 +02:00
timeline_hint.js [Glitch] Add hints about incomplete remote content to web UI 2020-06-17 17:48:04 +02:00