Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Redesign: bring back & restyle room filter field #2267

Merged
merged 10 commits into from
Nov 5, 2018

Conversation

bwindels
Copy link
Contributor

@bwindels bwindels commented Nov 5, 2018

Also generic text input styling, see commit messages.
Part of element-hq/element-web#7567 & element-hq/element-web#7559

this does the filtering in RoomList instead of RoomSubList, so
we can hide sections that don't have any results.

The filtering does happen with every rerender of RoomList,
but only does something while searching, so the performance
implications are probably negligible.
also remove collapse/expand button in search field
text inputs are now styled at every occurence in the app,
style input by default, and provide a .mx_textinput class
if buttons need to appear inside the input styling.

Before this was partially done in _common.scss, but as it's
highly theme-dependent, makes more sense to do it in the theme.
as we can reuse it in the room header
@bwindels bwindels requested a review from a team November 5, 2018 08:57
Copy link
Member

@dbkr dbkr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

otherwise lgtm

res/css/structures/_SearchBox.scss Outdated Show resolved Hide resolved
@bwindels bwindels merged commit f8f4dde into experimental Nov 5, 2018
@bwindels bwindels deleted the bwindels/roomfilterfield branch November 5, 2018 13:28
jryans added a commit to jryans/matrix-react-sdk that referenced this pull request Dec 20, 2018
The classes on the search box input were changed without updating the focusing
loop in the room filter which used one of these classes as a boundary condition.
This led to a case that could loop forever.

Regressed by matrix-org#2267.
Fixes element-hq/element-web#7926.
jryans added a commit to jryans/matrix-react-sdk that referenced this pull request Dec 20, 2018
The classes on the search box input were changed without updating the focusing
loop in the room filter which used one of these classes as a boundary condition.
This led to a case that could loop forever.

Regressed by matrix-org#2267.
Fixes element-hq/element-web#7926.
jryans added a commit that referenced this pull request Dec 20, 2018
The classes on the search box input were changed without updating the focusing
loop in the room filter which used one of these classes as a boundary condition.
This led to a case that could loop forever.

Regressed by #2267.
Fixes element-hq/element-web#7926.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants