Commit Graph

18765 Commits

Author SHA1 Message Date
Jorik Schellekens a087f5ea40 Lint 2020-04-23 13:55:10 +01:00
Jorik Schellekens e5cb149296 Handle fontslider input errors correctly 2020-04-23 13:52:08 +01:00
Jorik Schellekens 600a812227 Add brush icon for appearance setting tab 2020-04-23 12:20:10 +01:00
Jorik Schellekens c86638c667 add toggle between font slider and custom setting 2020-04-23 12:09:08 +01:00
Jorik Schellekens a16fe09d42 Use em to detach slider from root font-size 2020-04-23 10:58:00 +01:00
Jorik Schellekens 8f0d81e770 Linearly interpolate between value intervals. 2020-04-23 10:45:48 +01:00
Jorik Schellekens fe175bb9a8 Styling for the font slider 2020-04-23 10:45:48 +01:00
Jorik Schellekens f5d6590751 Have max and min font configured in settings 2020-04-23 10:45:48 +01:00
Jorik Schellekens 014be5ce5f Add support to disable slider 2020-04-23 10:45:48 +01:00
Jorik Schellekens ee33fc1c20 Remove labels 2020-04-23 10:45:48 +01:00
Jorik Schellekens 5f50facfba Make slider independant of label size 2020-04-23 10:45:48 +01:00
Jorik Schellekens 26ccd6f07d Cleaner clamping of value range 2020-04-23 10:45:48 +01:00
Jorik Schellekens 8d5965c33c Fix incorrect call to setValue 2020-04-23 10:45:48 +01:00
Jorik Schellekens 54a65441a5 Lint ternary statement 2020-04-23 10:45:48 +01:00
Jorik Schellekens c99e1de803 Clamp indicated value within value range 2020-04-23 10:45:48 +01:00
Jorik Schellekens ba362b727c Use onSelectionChange prop 2020-04-23 10:45:48 +01:00
Jorik Schellekens 0d0da6cfdc Fix types, abandon propTypes 2020-04-23 10:45:48 +01:00
Jorik Schellekens 715bcb3c96 i18n match file moves 2020-04-23 10:45:48 +01:00
Jorik Schellekens dcea1f32b3 tslint 2020-04-23 10:45:48 +01:00
Jorik Schellekens 315a272cb4 File rename 2020-04-23 10:45:48 +01:00
Jorik Schellekens 4397658bb3 Update file name in comments
Co-Authored-By: Travis Ralston <travpc@gmail.com>
2020-04-23 10:45:48 +01:00
Jorik Schellekens 02e0ff9e5b Move setting away from 'feature' settings for clarity 2020-04-23 10:45:48 +01:00
Jorik Schellekens 4525f71b1c Missed an import 2020-04-23 10:45:47 +01:00
Jorik Schellekens 82974bd98c Space out ternaries
Co-Authored-By: Travis Ralston <travpc@gmail.com>
2020-04-23 10:45:47 +01:00
Jorik Schellekens e254675287 Retain copyright
Co-Authored-By: Travis Ralston <travpc@gmail.com>
2020-04-23 10:45:47 +01:00
Jorik Schellekens abd94a65bd Move compoenets/FontSlider to views/Slider 2020-04-23 10:45:47 +01:00
Jorik Schellekens dd841fcde9 Remove references to font 2020-04-23 10:45:47 +01:00
Jorik Schellekens db1141b162 Move to typescript 2020-04-23 10:45:47 +01:00
Jorik Schellekens 4d0cac1260 Render should be last method declared 2020-04-23 10:45:47 +01:00
Jorik Schellekens e455473d8f i18n happy 2020-04-23 10:45:47 +01:00
Jorik Schellekens b1452b5aa3 Lint lint lint 2020-04-23 10:45:47 +01:00
Jorik Schellekens 7c9df04d42 Use "Appearance" instead of "Style" 2020-04-23 10:45:47 +01:00
Jorik Schellekens f1130ecba1 Linting. Finally set up my linter properly 2020-04-23 10:45:47 +01:00
Jorik Schellekens 66fd0f707f Type enforcement and comments 2020-04-23 10:45:47 +01:00
Jorik Schellekens 8b72756b8d Use the font slider 2020-04-23 10:45:47 +01:00
Jorik Schellekens df73f12320 Make a font slider 2020-04-23 10:45:47 +01:00
Jorik Schellekens 0faf7b865f Set font option width 2020-04-23 10:45:47 +01:00
Jorik Schellekens 14551b1885 Hide font scaling behind labs 2020-04-23 10:45:47 +01:00
Jorik Schellekens af4dd2770c Respond to font size changes 2020-04-23 10:45:47 +01:00
Jorik Schellekens c1827925da Use new style tab 2020-04-23 10:45:47 +01:00
Jorik Schellekens bce1fa0c1a Simple translations 2020-04-23 10:45:47 +01:00
Jorik Schellekens 269621ad24 Move theme settings to a new tab 2020-04-23 10:45:47 +01:00
Jorik Schellekens 61f2e19d95 Basic font settings.
Include a default value getter in the store in order to make the
default value easy to work with.
2020-04-23 10:45:47 +01:00
Jorik Schellekens 42ec21f5bb Tweak read receipt remainder text 2020-04-23 10:45:47 +01:00
Jorik Schellekens 5caec2a289 lint 2020-04-23 10:45:47 +01:00
Jorik Schellekens 38919518da Resize room list scroll section.
This fix isn't perfect. Currently the scroll view is
slightly smaller than the list of rooms. I think it has something
to do with the how the heigh is calculate in js, considering it has
some assumptions about the height of each bar and the padding. However
room items are the only things which change with respect to the root
value. Therefore the item list is actually taller than the computed
pixel value of the list converted to rems.

I'll look into it.
2020-04-23 10:45:46 +01:00
Jorik Schellekens c6bc0c7914 Fix read receipt horizontal spacing at scale 2020-04-23 10:45:46 +01:00
Jorik Schellekens 05d11fea69 Use a function to convert to rem. 2020-04-23 10:45:46 +01:00
Jorik Schellekens 1ff0f3445a Fix pills.
This was a hard pill to swallow
2020-04-23 10:45:46 +01:00
J. Ryan Stinnett 4a0f228714 Merge pull request #4467 from matrix-org/travis/seshat-enable
Take encrypted message search out of labs
2020-04-23 10:21:58 +01:00