Commit graph

5698 commits

Author SHA1 Message Date
Luke Barnard
63b696ff6c Make sure mx_TagPanel_tagTileContainer occupies full height
so that the user can drag groups to an empty TagPanel

fixes https://github.com/vector-im/riot-web/issues/6276
2018-03-07 11:47:52 +00:00
David Baker
8f578f7378
Merge pull request #6273 from vector-im/luke/fix-copy-res-gen-i18n-crash
Fix crash; fs event received /w langauge file empty
2018-03-05 11:29:24 +00:00
Matthew Hodgson
ab55f2b938 document config.json 2018-03-03 20:30:08 +00:00
Luke Barnard
075f568f61 Fix crash; fs event received /w langauge file empty
It was common, at least for me, to experience a crash produced
when running the `matrix-react-sdk/scripts/gen-i18n.js` script
because when writing en_EN.json (via the script or otherwise)
choikdar would receive an event and cause the file to be read,
but the file would be empty when clearly it wasn't.

This would happen even when doing an atomic write in gen-i18n.

The fix adds a debounce as a workaround.
2018-03-02 15:30:06 +00:00
David Baker
e1e8d9777b
Merge pull request #6269 from vector-im/luke/feature-disable-tag-panel
Add setting to disable TagPanel
2018-03-01 15:05:13 +00:00
Luke Barnard
d23c02b196 gen-i18n 2018-02-28 18:19:12 +00:00
Luke Barnard
174061db57 Add setting to disable TagPanel 2018-02-28 18:16:37 +00:00
Luke Barnard
56ca1bc7ee
Merge pull request #6257 from vector-im/luke/groups-my-groups-microcopy
CSS for my groups microcopy
2018-02-27 15:11:21 +00:00
Luke Barnard
14824c2b77 CSS for my groups microcopy 2018-02-27 09:39:04 +00:00
Matthew Hodgson
2d7f60efee
Merge pull request #6246 from rbozhkova/patch-2
Add Bulgarian to the list of languages
2018-02-26 12:20:27 +00:00
Matthew Hodgson
09619339fd
Merge pull request #6245 from spantaleev/wider-media-dropdown
Make media dropdown wider
2018-02-26 12:19:32 +00:00
Matthew Hodgson
aeb423ce1b
Merge pull request #6244 from spantaleev/gracefully-degrading-dropdowns
Make dropdowns with long options degrade more gracefully
2018-02-26 12:18:53 +00:00
Luke Barnard
514338ec8a Remove distracting highlight on unfilter button background 2018-02-26 09:49:35 +00:00
Ralitsa Bozhkova
90897b0741
Add Bulgarian to the list of languages
Bulgarian is now at 100% for both riot-web and matrix-react-sdk.
It has also been tested by building it manually and verifying that it looks good.
2018-02-24 10:28:39 +02:00
Slavi Pantaleev
e73b7c973d Make media dropdown wider
The media dropdown would sometimes contain options
with long text, which can't possibly fit in 200px.
(e.g. `Monitor of Built-in Audio Digital Stereo (HDMI)`)

Dedicating some more space resolves the problem.

Signed-off-by: Slavi Pantaleev <slavi@devture.com>
2018-02-24 10:02:32 +02:00
Slavi Pantaleev
985dd44b66 Make dropdowns with long options degrade more gracefully
If not enough space was dedicated to a dropdown,
it would previously make option text overlap.

With this patch, each option can potentially span
multiple lines. This is weird, but it's a better
degradation than making option text overlap.

Signed-off-by: Slavi Pantaleev <slavi@devture.com>
2018-02-24 09:54:45 +02:00
Matthew Hodgson
3bf04095b1
Merge pull request #6223 from vector-im/luke/fix-tag-tile-context-tinting
Fix un-tinted "View Community" icon in TagTile context menu
2018-02-23 16:42:55 +00:00
Matthew Hodgson
93c2462089
Merge pull request #6160 from vector-im/luke/fix-room-list-drop-target-bg
Fix RoomDropTarget and emptySubListTip to have containers
2018-02-23 16:36:14 +00:00
Matthew Hodgson
15b7af9a84
Merge pull request #6154 from rugk/patch-2
Fix syntax error of wrong use of self-closing HTML tag
2018-02-23 16:28:28 +00:00
Matthew Hodgson
c315a59717
remove doubly-closed tag 2018-02-23 16:27:34 +00:00
Matthew Hodgson
d3fe023ec4
Merge pull request #6227 from vector-im/luke/fix-room-list-tinting-css
Use translucent black for RoomSubList bg to fix tinting
2018-02-22 14:50:43 +00:00
Luke Barnard
1139a3fa89 Simplify roomsublist bg colour
This should not have a noticeable effect on the end result.
2018-02-22 11:49:29 +00:00
Luke Barnard
f67b4570a8 Use translucent black for RoomSubList bg to fix tinting
The alternative is to specify yet another colour that we have to
worry about when applying tinting, which is currently quite
fragile and requires changes to many parts of the app, including
all themes that don't require the colour to be tinted.

By using translucent black, we effectively take the secondary
accent colour of the LeftPanel and make it more black.

Note: This does not preserve the previous colour we were using,
although the alternative above does allow for this.
2018-02-22 11:48:48 +00:00
lukebarnard
c0055ebbeb Fix un-tinted "View Community" icon in TagTile context menu 2018-02-21 21:27:02 +00:00
Matthew Hodgson
d806707de0
Merge pull request #6216 from vector-im/luke/feature-tag-panel-global-filter-cross
CSS for changing "R" to "X" for clearing group filter
2018-02-21 18:05:53 +00:00
Luke Barnard
15d8878ac0 Rename TagPanel_logo to TagPanel_clearButton 2018-02-21 17:14:25 +00:00
Luke Barnard
2deb07a25b CSS for changing "R" to "X" for clearing group filter 2018-02-21 15:05:51 +00:00
Matthew Hodgson
bc5129f839 actually, simpler globe 2018-02-20 17:15:17 +00:00
Matthew Hodgson
fb5369f7d2 globe icon 2018-02-20 17:15:17 +00:00
Luke Barnard
e3e60bd372
Merge pull request #6187 from vector-im/luke/feature-tag-panel-global-filter
CSS for new global TagPanel filter
2018-02-19 09:59:25 +00:00
Matthew Hodgson
c3e34e5f05
Merge pull request #6194 from turt2live/patch-1
Separate the middle panel from the room list
2018-02-16 22:22:32 +00:00
Travis Ralston
514e042eec
Separate the middle panel from the room list
Signed-off-by: Travis Ralston <travpc@gmail.com>
2018-02-16 14:53:52 -07:00
Luke Barnard
86d554b1dc CSS for new global TagPanel filter 2018-02-16 17:44:27 +00:00
Luke Barnard
fc4da3e3bf
Merge pull request #6176 from vector-im/luke/fix-invites-not-appearing
Only use DNDRoomTile for editable sub lists
2018-02-16 11:53:30 +00:00
Luke Barnard
0605d96014 Only use DNDRoomTile for editable sub lists
Otherwise, the DND tile will expect to be within a Droppable,
which is not supported by react-beautiful-dnd. This was causing
errors when receiving an invite.

Fixes #6144
2018-02-16 11:02:52 +00:00
Luke Barnard
332640c4ba
Merge pull request #6131 from vector-im/luke/fix-scrollbars-on-jump-to-first
Adjust CSS to prevent scrollbars on message panel spinner
2018-02-15 14:51:06 +00:00
Luke Barnard
5c354dda23 Fix messagePanelSpinner flex order in RightPanel 2018-02-15 14:34:44 +00:00
Luke Barnard
9e1e7e0dbe Fix RoomDropTarget and emptySubListTip to have containers
so that the correct background colour can be used to surround both.
2018-02-15 14:09:38 +00:00
rugk
e3dcaebe9b
Merge branch 'develop' into patch-2 2018-02-15 13:16:34 +01:00
Luke Barnard
f6255906d8
Merge pull request #6143 from vector-im/luke/dnd-group-view-tag-panel
Implement riot-web side of dragging GroupTile avatars to TagPanel
2018-02-15 11:05:25 +00:00
Luke Barnard
f64fefa9ae Use grab as some browsers e.g. firefox support it 2018-02-15 10:52:10 +00:00
rugk
ba7991deba
Fix syntax error of wrong use of self-closing HTML tag
Firefox complaint about this in the source code view:
2018-02-15 02:36:05 +01:00
Luke Barnard
594d510f4f Simplify MyGroups hierachy 2018-02-14 17:54:29 +00:00
Luke Barnard
453b7d1007 Implement riot-web side of dragging GroupTile avatars to TagPanel
for adding groups to the TagPanel.
2018-02-14 16:37:32 +00:00
Luke Barnard
7ac350ea36 Give mx_RoomView_messageListWrapper its min-height: 100% back
because the spinner now exists separately to it
(as mx_RoomView_messagePanelSpinner) so their CSS is disentangled.
2018-02-14 11:17:21 +00:00
Luke Barnard
b3bb2d2aa5 Merge branch 'develop' into luke/fix-scrollbars-on-jump-to-first 2018-02-14 10:51:20 +00:00
Luke Barnard
8c1d2a4555
Merge pull request #6140 from vector-im/luke/fix-tag-panel-css
Fix LeftPanel size being incorrect when TagPanel disabled
2018-02-14 10:42:49 +00:00
Luke Barnard
009e01c1b0 Fix LeftPanel size being incorrect when TagPanel disabled
A previous PR (#6134) assumed that the TagPanel feature
would always be enabled, leading to strangeness when it
wasn't: #6136.

(FTR the original layout bug was #6133)
2018-02-14 10:18:12 +00:00
Matthew Hodgson
7aea7f9400
Merge pull request #6134 from vector-im/luke/fix-tag-panel-collapse
Fix TagPanel from collapsing to < 60px when LP collapsed
2018-02-13 22:02:58 +00:00
Matthew Hodgson
9abda76d9e
Merge branch 'develop' into luke/fix-tag-panel-collapse 2018-02-13 22:02:49 +00:00