Commit Graph

5721 Commits

Author SHA1 Message Date
Luke Barnard
6dc7592389
Merge pull request #6313 from vector-im/luke/perf-room-list-dnd
Implement a simple shouldComponentUpdate for DNDRoomTile
2018-03-15 13:33:12 +00:00
Luke Barnard
fd8b36eb1c Use React.PureComponent instead of reimplementing it 2018-03-15 13:09:29 +00:00
Luke Barnard
527e8306b2
Merge pull request #6317 from vector-im/dbkr/og_image_sort_of_configurable
Remove og:image with status.im URL
2018-03-15 09:21:12 +00:00
Luke Barnard
0db7b03566
Merge pull request #6316 from vector-im/luke/group-view-change-delay-warning
Add change delay warning in GroupView settings
2018-03-15 09:20:20 +00:00
David Baker
96f374ed69 Remove og:image with status.im URL
And make it configurable, albeit only at buuld time, as hopefully
explained in the README.
2018-03-14 18:34:26 +00:00
Luke Barnard
c08d7d915d Add change delay warning in GroupView settings 2018-03-14 18:13:59 +00:00
Luke Barnard
04b1678c7f Implement a simple shouldComponentUpdate for DNDRoomTile
because otherwise beautiful dnd spends a lot of time requesting
animation frames pointlessly.
2018-03-14 15:06:13 +00:00
Matthew Hodgson
74b45322b2
Merge pull request #6289 from vector-im/luke/fix-tag-panel-clear-cosmetics
Correctly position mx_TagPanel_clearButton
2018-03-12 18:05:59 +00:00
Matthew Hodgson
5bfa052a48
Merge pull request #6290 from vector-im/luke/fix-tag-tile-avatar-border-gap
Fix gap between avatar and border
2018-03-12 18:05:22 +00:00
Luke Barnard
dfb0eb5233
Merge pull request #6303 from vector-im/luke/fix-group-invite-flow
Fix bug where cannot send group invite on GroupMemberInfo phase
2018-03-12 17:54:04 +00:00
Luke Barnard
5eae913803
Merge pull request #6301 from vector-im/luke/fix-firefox-wrong-theme
Fix themeing bug with Firefox where "disabled" ignored
2018-03-12 17:53:03 +00:00
Luke Barnard
afb9fdf4ec Fix bug where cannot send group invite on GroupMemberInfo phase
by not reusing the same function and invoking separate conditions
to decide what the function does but instead using different
functions.

Also, show the GroupMemberList after inviting a member, otherwise
we might end up looking at the member we were already looking at
instead of the updated list of members.
2018-03-12 17:18:30 +00:00
Luke Barnard
647c7d7629 Fix themeing bug with Firefox where "disabled" ignored
A bug in firefox means "disabled" isn't honoured when set in the
HTML. Doing `a.disabled = false` does work however, and Chrome
also appears to honour this.
2018-03-12 16:15:17 +00:00
Matthew Hodgson
aa54032500 force refresh when updating the app 2018-03-09 01:45:44 +00:00
Luke Barnard
abb8413c16 Fix gap between avatar and border
With the caveat that this will give a solid background
to group avatars with transparency when they are selected.
2018-03-08 18:01:05 +00:00
Luke Barnard
2bdaf5026d Correctly position mx_TagPanel_clearButton 2018-03-08 17:05:13 +00:00
Luke Barnard
c3ebe1f591
Merge pull request #6288 from vector-im/luke/e2e-request-keys-button
Changes for E2E "fudge-button"
2018-03-08 15:08:02 +00:00
Luke Barnard
1119098eec Alter style of TooltipButton_helpText
- Aligned to the "start" of the text (left for LTR, right for RTL)
 - Increase width by 200px
2018-03-08 14:11:36 +00:00
Luke Barnard
8d5717b812 Allow arbitrary React nodes in RoomTooltip 2018-03-08 14:11:06 +00:00
Luke Barnard
9f5211061e CSS for E2E "fudge-button" UI
See https://github.com/matrix-org/matrix-react-sdk/pull/1791
2018-03-08 14:10:33 +00:00
Luke Barnard
c051492286
Merge pull request #6286 from vector-im/luke/fix-tag-panel-empty
Make sure mx_TagPanel_tagTileContainer occupies full height
2018-03-07 14:23:22 +00:00
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
Matthew Hodgson
5ade4b2bcf
Merge pull request #6281 from vector-im/luke/fix-room-tile-cosmetics
Add transparent CSS class for RoomTile
2018-03-06 09:56:22 +00:00
Luke Barnard
1b6cb2da68 Add transparent CSS class for RoomTile 2018-03-05 12:34:51 +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