Travis Ralston
0bb1eefdea
Remove view_room listener as it isn't needed
...
We use the RoomViewStore
2020-06-05 19:47:15 -06:00
Travis Ralston
021d6d626e
Merge branch 'develop' into travis/room-list/css-layout
2020-06-05 19:44:09 -06:00
Travis Ralston
6548748d7c
Introduce sticky rooms to the new room list
...
Originally this was intended to be done only in the importance algorithm, however it is clear that all algorithms will need to deal with this. As such, it has been put into the base class to deal with as we may override it in the future.
This commit should be self-documenting enough to describe what is going on, though the major highlight is that the handling of the sticky room is done by lying to the underlying algorithm.
This has not been optimized for performance yet.
For https://github.com/vector-im/riot-web/issues/13635
2020-06-05 18:44:38 -06:00
Michael Telatynski
0c32daa162
label ZWJ as such
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-06-05 23:34:04 +01:00
Michael Telatynski
69ea635398
Allow searching the emoji picker using other emoji
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-06-05 23:19:00 +01:00
Travis Ralston
2806c8c18b
Fix temporary class
2020-06-05 14:13:28 -06:00
Travis Ralston
1d8833e9f8
Selected state, cleanup, and profile display
2020-06-05 14:08:20 -06:00
Travis Ralston
ea6b0a60ab
Merge branch 'develop' into travis/room-list/css-layout
2020-06-05 13:19:00 -06:00
Travis Ralston
ee3d2c51d8
Merge pull request #4697 from matrix-org/travis/room-list/scrolling-resize
...
New room list scrolling and resizing
2020-06-05 13:17:59 -06:00
Travis Ralston
e93a41c5fb
Minor clarity
2020-06-05 13:14:44 -06:00
Travis Ralston
68e59a3655
Merge pull request #4696 from aaronraimist/empty-formatbar
...
Don't show FormatBar if composer is empty
2020-06-05 11:27:00 -06:00
Travis Ralston
51038b0c02
Replace math hacks with temporary placeholder
2020-06-05 11:03:18 -06:00
Travis Ralston
475ba61671
Give the show more button some real CSS
...
This is still somewhat placeholder.
2020-06-05 08:48:23 -06:00
Travis Ralston
6752c2832e
Add missing var
2020-06-05 08:40:32 -06:00
Travis Ralston
211ad66fea
Fix i18n
2020-06-05 08:39:38 -06:00
Travis Ralston
b31a8d494b
Merge branch 'travis/room-list/scrolling-resize' into travis/room-list/css-layout
2020-06-05 08:39:19 -06:00
Travis Ralston
1f11298aa3
Annotate hacky math
2020-06-04 21:45:32 -06:00
Travis Ralston
e90e70bd77
Misc cleanup
2020-06-04 21:43:33 -06:00
Travis Ralston
0694637b06
Remove debug
2020-06-04 21:38:06 -06:00
Travis Ralston
f347019cf8
Remove obviously questionable color choices
2020-06-04 21:37:10 -06:00
Travis Ralston
0c15b2bdb6
Simple structuring of the room list itself
...
This covers the larger parts of the design, but doesn't deal with the nuances of hover states, badge sizing, etc.
2020-06-04 21:21:04 -06:00
Travis Ralston
4c1bc50649
Initial styling for new room list
...
This is a work in progress, but covers the coarse areas. This uses all-new classes to better describe what everything is, and to reduce the number of selectors we keep track of.
This is primarily layout for the list and not actually the final structure. For example, some buttons are missing and other areas are not styled correctly - the idea in this commit was to get things roughly in the right place and work on it.
2020-06-04 16:41:18 -06:00
Travis Ralston
02c131e3ff
Merge branch 'travis/room-list/scrolling-resize' into travis/room-list/css-layout
2020-06-04 16:40:55 -06:00
Travis Ralston
434f6ea4d4
Remove legacy sublist sizing
2020-06-04 16:36:14 -06:00
Travis Ralston
dc01607ad9
Merge branch 'develop' into travis/split-left-panel
2020-06-04 15:09:51 -06:00
Matthew Hodgson
02cdc8a201
Merge pull request #4710 from matrix-org/matthew/fix-safari-emoji
...
fix emoji in safari
2020-06-04 22:07:18 +01:00
Matthew Hodgson
c171bdfec7
fix emoji in safari
...
1. emoji sometimes vanished from the autocompleter due to a rounding error
combined with maxWidth: 1em on the emoji span kicking in at arbitrary
font sizes/zooms
2. apparently safari needs explicit VS-16 ligatures, as per
ff7dec427f
2020-06-04 22:01:16 +01:00
Travis Ralston
dc23dd637c
Revert "Add a warning for dismissing invalid toasts"
...
This reverts commit 3674b6446e
.
2020-06-04 14:07:06 -06:00
Travis Ralston
3674b6446e
Add a warning for dismissing invalid toasts
2020-06-04 13:53:09 -06:00
Travis Ralston
c667ea69af
Fix not being able to dismiss new login toasts
...
`toastKey` is a thing.
Fixes https://github.com/vector-im/riot-web/issues/13923
2020-06-04 13:48:35 -06:00
Jorik Schellekens
f3011f00f7
Remove debug
2020-06-04 19:43:35 +01:00
Jorik Schellekens
bba6767608
Update displayed min and max
2020-06-04 18:00:22 +01:00
David Baker
5e569d75b6
Fix exceptions from Tooltip
...
renderTooltip was not a bound function and so was failing to find
the parent when called from the 'scroll' event listener because
'this' was the window object rather than the Tooltip object.
Unsure at what point this broke - I assumed it was in thr recent
typescript conversion but it looks like it would have had the same
problem before.
2020-06-04 17:54:18 +01:00
Jorik Schellekens
2ec47ecc74
Use different setting flag print expected values
2020-06-04 17:50:56 +01:00
Tulir Asokan
46b282142f
Stop removing variation selector from quick reactions
...
Fixes vector-im/riot-web#13926
Signed-off-by: Tulir Asokan <tulir@maunium.net>
2020-06-04 18:58:13 +03:00
Travis Ralston
a3fdd643d7
Add hacky math support
2020-06-04 09:57:16 -06:00
Jorik Schellekens
f6504d67ba
Use 10px instead
2020-06-04 16:23:28 +01:00
Travis Ralston
cdf2d70aea
Merge branch 'develop' into travis/room-list/scrolling-resize
2020-06-04 09:19:54 -06:00
Travis Ralston
83df79aab9
Try variable resizing
2020-06-04 09:19:03 -06:00
Damir Jelić
5dfe5ac135
Searching: More docs and a bit of simplification.
2020-06-04 17:06:59 +02:00
Damir Jelić
bf13032d5b
Searching: Fix a lint issue and expand some docs.
2020-06-04 17:06:58 +02:00
Damir Jelić
94d4aa17ee
Searching: Remove some debug logs.
2020-06-04 17:06:58 +02:00
Damir Jelić
46fd36568a
Searching: Always set the limit when searching.
...
The spec doesn't mention any default limit so different homeservers
might use different defaults, since we don't want Riot to behave
differently depending on the homeserver bite the bullet of sending an
additional 10 or so bytes when searching.
2020-06-04 17:06:58 +02:00
Damir Jelić
96ca47381c
Searching: Add more docs explaining what's going on in the pagination.
2020-06-04 17:06:58 +02:00
Damir Jelić
df06594314
Searching: Refactor out some code that combines the search results.
2020-06-04 17:06:58 +02:00
Damir Jelić
c6462e11ec
Searching: Fix some lint issues.
2020-06-04 17:06:58 +02:00
Damir Jelić
28f7d23bfc
Searching: Correctly order the combined search results.
2020-06-04 17:06:58 +02:00
Damir Jelić
c2e0e10553
Searching: Split out more logic that combines the events.
2020-06-04 17:06:58 +02:00
Damir Jelić
b6198e0ab9
Searching: Combine the events before letting the client process them.
2020-06-04 17:06:58 +02:00
Damir Jelić
c1ef193e3a
Searching: Add initial pagination for combined searches.
2020-06-04 17:06:58 +02:00