Commit Graph

31133 Commits (d8a9b84af94fac4321d700a9c9bfee29763e7fd4)

Author SHA1 Message Date
Šimon Brandner 97c5058f00
Removed log
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-01-21 13:10:21 +01:00
Šimon Brandner da09362f99
Added option to hide line numbers
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-01-21 13:08:55 +01:00
Šimon Brandner c737543114
Remove commented lines
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-01-21 13:04:51 +01:00
Šimon Brandner bd2423a52c
Added line numbering
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-01-21 10:53:18 +01:00
Travis Ralston c7c055dd98 Give a bigger target area to AppsDrawer vertical resizer
The existing target was too hard to hit, which annoyed users. This change makes it the same sort of surface area as the horizontal resizers, as requested by design to fix the problem in the short term.
2021-01-20 15:05:18 -07:00
Travis Ralston 29780d902c Try to reduce WidgetStore causing downstream problems 2021-01-20 14:44:30 -07:00
Travis Ralston f8fe454c59 Replace looping resizer with actual math 2021-01-20 14:42:24 -07:00
waclaw66 8ff935f68c Translated using Weblate (Czech)
Currently translated at 100.0% (2729 of 2729 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/cs/
2021-01-20 19:35:48 +00:00
Šimon Brandner 14bf169631
Handle small codeblocks
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-01-20 15:01:23 +01:00
Šimon Brandner f8179f0c7a
Fix inverted icon
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-01-20 14:08:57 +01:00
Šimon Brandner 19be3293e0
Remove commented code
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-01-20 13:06:08 +01:00
Šimon Brandner 25f30ca79f
Fix indent
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-01-20 13:05:23 +01:00
Šimon Brandner 072cbe98b5
Simplifie
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-01-20 13:03:05 +01:00
Šimon Brandner 8535a11dd2
Rename some variable and cleanup a bit
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-01-20 08:44:32 +01:00
Šimon Brandner 58b2c18cf5
This somehow works
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-01-19 21:02:39 +01:00
Weblate e5d8b5cd2c Merge branch 'origin/develop' into Weblate. 2021-01-19 18:01:12 +00:00
J. Ryan Stinnett 3115c4f3f3 Show only preview buttons in directory for guest users
This aligns the room directory with the rest of Element Web so that it does not
allow guest users to join rooms. Instead, we show preview buttons (even when the
preview might not actually happen).

Fixes https://github.com/vector-im/element-web/issues/16213
2021-01-19 17:59:30 +00:00
Weblate 700e49c363 Merge branch 'origin/develop' into Weblate. 2021-01-19 17:58:39 +00:00
J. Ryan Stinnett 016140670b Fix let binding in reskindex.js 2021-01-19 17:58:17 +00:00
Šimon Brandner 95939f3d6c
Added _wrapInDiv() method
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-01-19 18:21:59 +01:00
Travis Ralston 6985e8f41f Update documentation words 2021-01-19 10:00:45 -07:00
Šimon Brandner e6ab47ff76
Fix bug
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-01-19 17:30:02 +01:00
Šimon Brandner 61281a855c
Redo expanding
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-01-19 16:35:32 +01:00
Weblate 5cceec095d Merge branch 'origin/develop' into Weblate. 2021-01-19 15:19:44 +00:00
Slobodan Simić 0a0f427cd7 Translated using Weblate (Serbian)
Currently translated at 45.9% (1253 of 2729 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/sr/
2021-01-19 15:19:44 +00:00
XoseM 91562b7207 Translated using Weblate (Galician)
Currently translated at 100.0% (2729 of 2729 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/gl/
2021-01-19 15:19:41 +00:00
waclaw66 f118f1899f Translated using Weblate (Czech)
Currently translated at 99.9% (2728 of 2729 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/cs/
2021-01-19 15:19:39 +00:00
Jeff Huang 47be6d20ef Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (2729 of 2729 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/zh_Hant/
2021-01-19 15:19:38 +00:00
Nikita Epifanov 64b8839953 Translated using Weblate (Russian)
Currently translated at 99.9% (2727 of 2729 strings)

Translation: Element Web/matrix-react-sdk
Translate-URL: https://translate.element.io/projects/element-web/matrix-react-sdk/ru/
2021-01-19 15:19:36 +00:00
J. Ryan Stinnett 4cfd6e53aa
Merge pull request #5556 from matrix-org/jryans/fix-tmp-reskindex
Ensure component index has been written before renaming
2021-01-19 15:19:25 +00:00
J. Ryan Stinnett 4e5f25206a Ensure component index has been written before renaming
This ensures we correctly wait for `component-index.js.tmp` to be written to
disk before trying to rename into place. This fixes an issue where stray temp
files were being strewn about the repos after renaming failures.
2021-01-19 14:45:03 +00:00
J. Ryan Stinnett 0e137bd0f6 Fix code style 2021-01-19 14:42:10 +00:00
J. Ryan Stinnett a22049a679 Use const / let instead of var 2021-01-19 14:38:36 +00:00
Travis Ralston 0359a977be
Update docs/widget-layouts.md
Co-authored-by: David Baker <dbkr@users.noreply.github.com>
2021-01-19 07:19:39 -07:00
Clemens Zeidler 3eae714269 Update code_style.md
- Remove invalid single quotes item
- Add TypeScript section
- Add item regarding React function components and hooks

Signed-off-by: Clemens Zeidler <clemens.zeidler@gmail.com>
2021-01-19 21:36:02 +13:00
Travis Ralston f06aa00240 Fix percentage calculation 2021-01-19 00:22:02 -07:00
Travis Ralston ab51404421 Appease the tests? 2021-01-18 21:07:44 -07:00
Travis Ralston 6d770cb4d1 Appease the linter 2 2021-01-18 21:00:47 -07:00
Travis Ralston 6227d3c183 Appease the linters 2021-01-18 20:53:15 -07:00
Travis Ralston 04d1f5dd28 Implement a "Copy my layout to the room" button 2021-01-18 20:42:21 -07:00
Travis Ralston 5c393cc2d0 Add in some local echo support to make changes appear faster 2021-01-18 20:29:51 -07:00
Travis Ralston 7ff76b2500 Don't forget to run cleanup 2021-01-18 20:28:09 -07:00
Travis Ralston 1768d6ea5f Move all widget pinning logic to the WidgetLayoutStore 2021-01-18 20:26:47 -07:00
Travis Ralston 5b5c338200 Render layout changes in the timeline 2021-01-18 19:31:11 -07:00
Travis Ralston 0d29d15a46 Support room-defined height as well
Much like widget widths, it is acceptable for us to forget what everyone's height was previously at.
2021-01-18 19:27:11 -07:00
Travis Ralston cfb583d193 Calculate widget widths in the WidgetLayoutStore
Note that this ditches all previously set width values, however this is probably acceptable for now. Trying to remain backwards compatible gets tricky on top of already tricky code, and the impact of Element forgetting widths is not as severe as forgetting which widgets were/are pinned.
2021-01-18 18:50:36 -07:00
Travis Ralston 2548a438ae Render ordering changes in the AppsDrawer 2021-01-18 17:43:29 -07:00
Travis Ralston 0001e1e684 Support initial ordering and calculation for widgets by layout 2021-01-18 17:41:42 -07:00
Travis Ralston 4ee29d4e63 Split out ready states of stores to its own store 2021-01-18 17:41:17 -07:00
Travis Ralston 39ce5d06e6 Describe how the widget layouts are supposed to look in time 2021-01-18 17:40:52 -07:00