Commit Graph

19 Commits

Author SHA1 Message Date
absidue 697bed23ed
Disable http disk cache and implempent in-memory image cache (#2498)
* Disable http disk cache and implempent in-memory image cache

* Add comment about removing URL scheme prefix

Co-authored-by: PikachuEXE <pikachuexe@gmail.com>

* Add early return to clean up the code

* Rewrite cache expiry logic with fallbacks

* Move this change behind a CLI argument --experiments-disable-disk-cache

* Replace CLI flag with a GUI setting

* Improve warning message styling

* ! Fix incompatibility with latest settings code

* Use CSS instead of sass for the experimental settings

* Return the error as JSON instead of throwing it

* Inline restart prompt label and option names and values

* Mention crash risk and recommend backups in the warning

Co-authored-by: PikachuEXE <pikachuexe@gmail.com>
2022-10-25 02:33:08 +00:00
Emma 3c7b143fce
Improving responsiveness in Settings (#2694)
* Removing a `width:auto` which was overriding

the width for a lot of .select-text

* Making the general-settings component not overflow

* Reducing margin in settings when window is narrow

* Moving invidious instance tooltip to reduce overflow

* Reducing the width of sliders to be 100% at maximum

Before this change, the preset width `380px` could easily
be wider than the window.

* Reducing overflow in Theme Settings

- Added breakpoint for theme `select`s
- Added breakpoint for the UI scale slider

* Reducing the remaining overflow in settings

This moves all of the tooltips slightly to the left
when the window is narrow to reduce overflow.

* Expanding the sponsorblock settings to full width

* Moving remaining tooltips into a fixed zone

* Floating the tooltip icon to the right

When the display is narrow, the tooltip
can sometimes overflow, and it is very
difficult to predict how it will overflow
if the tool tip icon comes directly after
a locale string.

This change floats those icons into a
centralized location where the tooltip
can be guaranteed to not overflow.

* Removing some irrelevant changes

* Reducing margin on switches

* Removing bottom margin on the last section

* Making room for overflow ellipsis

* Adding class  `.containsTooltip` to `ft-toggle`

This should make is easier to style the toggles
which contain tooltips specficially.

* Modifying the media query for tooltips

* Adding a media query to reduce data settings margin
2022-10-11 09:38:31 +02:00
Jason 41fedf8b2e
Disabling mutually exclusive settings (#1822)
* Adds :disabled styling/functionality for ft-button & ft-select

* Disable proxy, external player, & SponsorBlock settings when applicable

* Changes Invidious General Settings, Proxy Settings, and SponsorBlock settings to disappear when appropriate

* Update ft-toggle-switch.sass

* Switches to styling with disabled class for ft-toggle-switch

* Sets cursor to not-allowed for disabled controls
2021-10-20 13:14:49 +00:00
Sai Deepesh 13e944a425
Fixed tooltip position (#831)
* fixed tooltip position

* fix: Linting error

* [updated] fixed tooltip issue
2021-01-11 10:29:55 -05:00
Preston f12b85e4f4 Add tooltips and context to the settings page 2020-10-19 11:32:53 -04:00
Preston 382405cdfe Disable settings depending on others and move default profile logic 2020-10-06 09:38:35 -04:00
Preston df629ff7e1 Add auto play next video and fix watch progress issue on route change 2020-09-07 14:43:44 -04:00
Violet Rose d59660fbe0 Added vendor prefixes. 2020-09-06 19:18:03 -07:00
Violet Rose 99fffde0a2 Tidied up stylesheet structure. 2020-09-06 18:19:08 -07:00
Violet Rose dd4bd7c489 Fixed outline positioning for compact switches. 2020-09-06 18:01:51 -07:00
Violet Rose 2edccb2714 Fine-tuned visible switch offset. 2020-09-06 17:55:17 -07:00
Violet Rose cd309b1c3f Enabled input tab navigation without changing visual appearance. 2020-09-06 17:16:25 -07:00
Preston 6fbccbce4c Fix linting issues 2020-06-19 16:20:06 -04:00
Cadence Ember 59a922578b
Add classes the proper way 2020-04-12 15:51:29 +12:00
Cadence Ember fec233fab7
Refactor ft-toggle-switch 2020-04-12 15:18:38 +12:00
Cadence Ember 6ca7f7e4ec
Position buttons better in settings 2020-03-28 00:37:54 +13:00
Preston 77e7168c73 Full Theme Support and More Settings are Functional 2020-02-29 22:37:02 -05:00
Preston 1d3915b3d2 Progress on Settings and Database setup 2020-02-26 22:10:56 -05:00
Preston d4314ee7da Start progress on Settings page 2020-02-21 15:40:46 -05:00