Michael Telatynski
cb0392b78d
use forms to wrap password fields so Chrome doesn't go wild and prefill all the things
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-01-29 13:24:45 +00:00
Michael Telatynski
e6ab18c9ba
Merge branches 'develop' and 't3chguy/roving' of github.com:matrix-org/matrix-react-sdk into t3chguy/roving
...
Conflicts:
src/components/views/rooms/RoomList.js
2020-01-16 00:31:43 +00:00
Travis Ralston
fde32f13a5
[CONFLICT CHUNKS] Merge branch 'develop' into travis/sourcemaps-develop
2020-01-09 14:15:09 -07:00
Michael Telatynski
7367c73a37
Searchbox Enter is to clear, tabbing to clear button doesn't work, remove it
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2020-01-07 10:50:02 +00:00
Travis Ralston
344dac4fb9
Convert CommonJS exports to ES6-compatible exports
...
We use `export default` begrudgingly here. Ideally we'd use just `export`, though this entire SDK expects things to be exported as a default. Instead of breaking everything, we'll sacrifice our export pattern for a smaller diff - a later commit can always do the default export -> regular export conversion.
2019-12-22 21:01:02 -07:00
Michael Telatynski
d28a892bb0
Stop using KeyboardEvent.keyCode as it is deprecated
2019-12-16 17:14:03 +00:00
Michael Telatynski
d22985f12e
Migrate string refs over to createRef
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-12-08 12:16:17 +00:00
Michael Telatynski
9c63be7dc4
Remove wrapping div around RoomList to fix regression with scrollbars
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-10-23 18:32:14 +01:00
Bruno Windels
87f8000621
only hide x button when blurred && no more search term
2019-09-12 17:17:15 +02:00
Bruno Windels
7c97078764
always show clear button in search box when focused
2019-09-12 11:12:06 +02:00
Bruno Windels
1c4093eb0f
make filter feed transparent when not focussed
2019-09-10 11:11:08 +02:00
Bruno Windels
15d3774665
show shorter placeholder for filter feed when not focused
2019-09-10 11:11:08 +02:00
Bruno Windels
da98080859
hide explore button when focusing filter field
2019-09-10 10:57:25 +02:00
Michael Telatynski
abf111ecbd
Migrate away from React.createClass for non-auth structures. React 16 :D
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-08-30 10:34:59 +01:00
David Baker
3a41206e90
Fix the ctrl+k shortcut
...
Fixes https://github.com/vector-im/riot-web/issues/9029
2019-03-06 14:53:52 +00:00
Michael Telatynski
ee47e0f72e
pass through className
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-02-24 04:44:38 +00:00
Michael Telatynski
5052039b36
Re-use SearchBox from filter rooms for filter room members
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-02-24 04:42:04 +00:00
Bruno Windels
47c14021b3
use throttle as its more responsive
2019-02-13 20:32:50 +01:00
Bruno Windels
d2dd1bae13
run search after you've stopped typing for 200ms instead of every 500ms
2019-02-07 16:31:57 +00:00
Bruno Windels
d501ce0553
increase debouncing of filtering because its quite laggy atm
2019-02-06 17:25:56 +00:00
Bruno Windels
a6d7f6a4c7
remove unused variable
2019-02-04 18:52:10 +00:00
Bruno Windels
bdc3e1173d
preserve SearchBox searchTerm state when collapsing
2019-02-04 18:51:41 +00:00
Bruno Windels
dd6dd7a4fc
select search query on focus
2018-12-18 16:37:37 +01:00
Bruno Windels
6db81edf6c
restyle SearchBox & make it more reusable
...
as we can reuse it in the room header
2018-11-05 09:35:44 +01:00
Bruno Windels
1fbfddfa8a
hide search field when left panel is collapsed
...
also remove collapse/expand button in search field
2018-11-02 15:29:18 +01:00
Aaron Raimist
49ce4ef117
eslint --fix src/
...
Signed-off-by: Aaron Raimist <aaron@raim.ist>
2018-10-26 22:50:38 -05:00
Matthew Hodgson
40a67ca8fe
point imports at the new locations
2018-04-13 00:43:44 +01:00
Matthew Hodgson
8ab8f76254
move non-Riot-specific components over from riot-web
2018-04-11 23:58:04 +01:00