This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
mastodon/app/javascript/flavours/glitch
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
..
actions [Glitch] Add listing of followed hashtags 2023-01-18 17:58:18 +01:00
components Allow users to set the trigger height for lengthy toot auto-collapse (#2070) 2023-01-26 19:36:44 +01:00
containers [Glitch] Fix dropdown menu positions when scrolling 2023-01-12 11:18:22 +01:00
features Allow users to set the trigger height for lengthy toot auto-collapse (#2070) 2023-01-26 19:36:44 +01:00
images
locales Allow users to set the trigger height for lengthy toot auto-collapse (#2070) 2023-01-26 19:36:44 +01:00
middleware
packs [Glitch] Render current day formats in the client timezone 2022-12-15 20:57:17 +01:00
reducers Allow users to set the trigger height for lengthy toot auto-collapse (#2070) 2023-01-26 19:36:44 +01:00
selectors [Glitch] Fix unnecessary re-rendering of various components when typing in web UI (#2063) 2023-01-05 13:32:29 +01:00
store
styles Allow users to set the trigger height for lengthy toot auto-collapse (#2070) 2023-01-26 19:36:44 +01:00
utils [Glitch] Add ability to view previous edits of a status in admin UI 2022-10-28 19:24:02 +02:00
api.js [Glitch] Replace `CancelToken` to `AbortSignal` 2022-10-28 19:24:02 +02:00
base_polyfills.js Move more modules from flavours/glitch/utils to flavours/glitch 2022-10-11 12:25:45 +02:00
blurhash.js
compare_id.js Move more modules from flavours/glitch/utils to flavours/glitch 2022-10-11 12:25:45 +02:00
extra_polyfills.js Remove object-fit polyfill for the old Microsoft Edge 2023-01-05 15:10:31 +01:00
initial_state.js [Glitch] Add option to make the landing page be /about even when trends are enabled 2023-01-18 17:54:37 +01:00
is_mobile.js [Glitch] Hide list panel from nav bar in mobile layout 2022-10-28 19:24:02 +02:00
load_keyboard_extensions.js Move more modules from flavours/glitch/utils to flavours/glitch 2022-10-11 12:25:45 +02:00
load_polyfills.js Remove object-fit polyfill for the old Microsoft Edge 2023-01-05 15:10:31 +01:00
main.js [Glitch] Delay workbox import 2022-11-12 13:55:02 +01:00
names.yml initial translation of Glitch-specific texts into Czech (#1997) 2022-12-08 10:38:52 +01:00
performance.js Move more modules from flavours/glitch/utils to flavours/glitch 2022-10-11 12:25:45 +02:00
permissions.js [Glitch] Add dropdown menu item to open admin interface for remote domains 2023-01-05 16:31:20 +01:00
ready.js
scroll.js Move more modules from flavours/glitch/utils to flavours/glitch 2022-10-11 12:25:45 +02:00
settings.js [Glitch] Add dismissable hints to various timelines in web UI 2022-10-28 19:24:02 +02:00
stream.js Move more modules from flavours/glitch/utils to flavours/glitch 2022-10-11 12:25:45 +02:00
theme.yml Fix prettifier/lint issues (#2066) 2023-01-04 18:38:45 +01:00
uuid.js Move more modules from flavours/glitch/utils to flavours/glitch 2022-10-11 12:25:45 +02:00