Commit Graph

12098 Commits (df42ce66893dca8abf7193ef8529b4a83294fdf1)

Author SHA1 Message Date
Bruno Windels b728acc798 set accest color to new red 2018-10-22 11:18:53 +02:00
Bruno Windels 5c843acc10 fix room lists growing taller than screen height in FF
sections with flex-basis don't seem to shrink smaller in FF,
so use flexGrow which is unitless/proportional but works as well
2018-10-22 11:16:33 +02:00
Bruno Windels f42ab32e05 Merge branch 'experimental' into bwindels/roomsectionheadercleanup 2018-10-22 10:31:07 +02:00
Weblate 21d426821a Merge remote-tracking branch 'origin/develop' into develop 2018-10-22 07:37:42 +00:00
sergio e9a62bff2e Translated using Weblate (Russian)
Currently translated at 95.9% (1219 of 1270 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/ru/
2018-10-22 07:37:42 +00:00
hamster 83ebe3752d Translated using Weblate (Polish)
Currently translated at 91.8% (1166 of 1270 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/pl/
2018-10-22 07:37:42 +00:00
Victor Grousset b3d5612746 Translated using Weblate (Esperanto)
Currently translated at 86.4% (1098 of 1270 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/eo/
2018-10-22 07:37:41 +00:00
FeiYang 2ac10dd6b1 Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (1270 of 1270 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/zh_Hant/
2018-10-22 07:37:41 +00:00
Bruno Windels 8532828b46
Merge pull request #2230 from matrix-org/travis/fix-canonical-aliases
Fix an error where React doesn't like value=null on a select
2018-10-22 07:37:23 +00:00
Karol Kosek 2a6ae17e6a Translated using Weblate (Polish)
Currently translated at 91.6% (1164 of 1270 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/pl/
2018-10-20 16:07:08 +00:00
Oliwer 51a03a700a Translated using Weblate (Polish)
Currently translated at 91.6% (1164 of 1270 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/pl/
2018-10-20 15:31:16 +00:00
Travis Ralston 7ef08314b8 Redirect widgets to another location before deleting them
This is so that shutdown hooks in the widget can correctly fire, such as Jitsi's hook to abandon its hold on the webcam.

Fixes https://github.com/vector-im/riot-web/issues/7351
2018-10-19 16:23:19 -06:00
Weblate b17bf05761 Merge remote-tracking branch 'origin/develop' into develop 2018-10-19 22:23:01 +00:00
Travis Ralston c75beb0196 Revert "Redirect widgets to another location before deleting them"
This reverts commit 275d88dd4f.
2018-10-19 16:22:48 -06:00
Weblate 7df85725f7 Merge remote-tracking branch 'origin/develop' into develop 2018-10-19 22:22:35 +00:00
Travis Ralston 275d88dd4f Redirect widgets to another location before deleting them
This is so that shutdown hooks in the widget can correctly fire, such as Jitsi's hook to abandon its hold on the webcam.

Fixes https://github.com/vector-im/riot-web/issues/7351
2018-10-19 16:22:20 -06:00
Travis Ralston 9582c1e65a Move all dialog buttons to the right and fix their order
Fixes https://github.com/vector-im/riot-web/issues/5689

Some dialogs had their own CSS that prevented the buttons from being placed in the right spot. This has been fixed by using a generic standard for the buttons. The only strange dialog that needed more CSS was the devtools dialog due to the header.

Not all dialogs have been checked - I spot-checked about half of them and verified the CSS manually on an established account. It's hard to get at all the dialogs without convoluted testing.
2018-10-19 15:33:23 -06:00
Travis Ralston 49efefa630 Fix an error where React doesn't like value=null on a select
This only happens when there are no canonical aliases for a room.
2018-10-19 14:18:05 -06:00
Travis Ralston 7383133846 Support parsing matrix.to links in the timeline with ?via= in them
This ends up being translated to ?server_name= in the matrix-js-sdk, although that has a bug at the time of writing. It converts `server_name: ['a', 'b']` to `?server_name=a,b` instead of `?server_name=a&server_name=b`

For reference: the `viaServers` option is routed through the 'join_room' action to RoomViewStore#_joinRoom which is passed directly to the js-sdk http-api#joinRoom function.

Next steps:
* Fix the js-sdk parsing
* Make the SDK generate matrix.to links with ?via=
2018-10-19 13:31:18 -06:00
Bruno Windels ebd3d34106 make sure no resize handle is put after last sublist 2018-10-19 18:35:27 +02:00
Bruno Windels 7c64d9637e hide resize handles next to collaped/empty sublists 2018-10-19 18:18:45 +02:00
Weblate b0d84fe4c4 Merge remote-tracking branch 'origin/develop' into develop 2018-10-19 14:40:21 +00:00
Bruno Windels 2ec9745939 Merge branch 'master' into develop 2018-10-19 16:39:59 +02:00
Bruno Windels 167746f41d v0.14.1 2018-10-19 16:39:08 +02:00
Bruno Windels 0f592f5887 Prepare changelog for v0.14.1 2018-10-19 16:39:07 +02:00
Travis Ralston fa14d0ed3c Move tinter init to MatrixChat
This is a much better place for it to live
2018-10-19 16:33:00 +02:00
Bruno Windels 73d9a71b29
Merge pull request #2226 from matrix-org/bwindels/resizeroomsublists
Redesign: 1st go at resizing room sublists
2018-10-19 13:33:28 +00:00
Bruno Windels f2ee8307dc
Merge pull request #2224 from matrix-org/bwindels/removedndmore
Redesign: remove room list truncation and DND
2018-10-19 13:30:18 +00:00
Bruno Windels 933028120b
Merge pull request #2210 from matrix-org/bwindels/resizehandles
Redesign: resizeable/collapsible sections
2018-10-19 13:27:55 +00:00
Bruno Windels 7ece134b4e dont cause rerender with anon func 2018-10-19 15:22:28 +02:00
Bruno Windels eb1ee1ca55 bind instead of second member var 2018-10-19 15:15:49 +02:00
Bruno Windels e4276d9378 don't show notification count in expanded room section header 2018-10-19 14:50:35 +02:00
Bruno Windels acd383c6a9 move closer to usage 2018-10-19 14:44:37 +02:00
Bruno Windels 8f71210bdf header should never grow or shrink 2018-10-19 14:44:07 +02:00
Bruno Windels c6924c47fa no need for self 2018-10-19 14:43:54 +02:00
Bruno Windels d48f19bc19 remove alwaysShowHeader, as now onAddRoom prop determines this 2018-10-19 14:43:02 +02:00
Bruno Windels 5091aa3b43 get rid of emptyContent, also cleanup sublist render method
also assume empty list in css by default and add nonEmpty class
2018-10-19 14:41:51 +02:00
Bruno Windels 57a9d3ca98 remove obsolete resizer 2018-10-19 14:37:23 +02:00
Bruno Windels 14cdd723f7 only show chevron for non-empty lists 2018-10-19 14:33:51 +02:00
Bruno Windels 0386a1e048 get rid of obsolete showEmpty prop 2018-10-19 14:32:49 +02:00
Bruno Windels ae8723451a remove onShowMoreRooms, as room tiles & scrollbar rendered at same level 2018-10-19 14:27:36 +02:00
Bruno Windels f14c2cf2b2 don't hide empty sections that have a (+) button 2018-10-19 12:46:59 +02:00
Bruno Windels 07799f609f fix lint 2018-10-19 12:34:55 +02:00
Bruno Windels bbd50e75ee disable old style of showing focus for now 2018-10-19 12:10:37 +02:00
Bruno Windels bfbf41f431 make scrollable room list grab available space
without this, in small sizes, it would make the header shrink.
2018-10-19 12:09:15 +02:00
Bruno Windels 798be2d514 remove room count leftovers 2018-10-19 12:08:05 +02:00
Bruno Windels 6af61ebb09 add plus button for rooms and people 2018-10-19 12:07:36 +02:00
Jeff Huang eb517fe2e9 Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (1270 of 1270 strings)

Translation: Riot Web/matrix-react-sdk
Translate-URL: https://translate.riot.im/projects/riot-web/matrix-react-sdk/zh_Hant/
2018-10-19 01:18:40 +00:00
Bruno Windels 197dd57461 also set max-height so you can't make a sublist bigger than the content 2018-10-18 16:58:23 +02:00
Bruno Windels 44b92eb071 set sub list height with flex-basis to make it ... well, grow less 2018-10-18 16:58:17 +02:00