Luke Barnard
9d28c8f577
Move ref to outer div
2017-05-25 13:49:41 +01:00
David Baker
5ccab395d7
Merge pull request #4021 from vector-im/t3chguy/electron_context_menus
...
add moar context menus [Electron]
2017-05-25 13:49:23 +01:00
David Baker
dd1c9a4477
Merge pull request #4022 from vector-im/t3chguy/patch-2
...
Add `Chat` to Linux app categories
2017-05-25 13:35:50 +01:00
Michael Telatynski
9cd04509bf
Add Chat to Linux app categories
...
most dists inc Arch have Chat and IRCClient,
though the latter isn't exactly correct so missing it
2017-05-25 13:22:01 +01:00
Michael Telatynski
727e267853
we don't really need a webContents like that, so pass if needed
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
2017-05-25 12:47:36 +01:00
Michael Telatynski
c4c78c9b3e
split webContents context handling into own file, as main was growing
...
add handlers for editable fields, with Cut Copy Paste Undo Redo etc
add Copy Image feature to all images, working on not only the download
buttons now
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
2017-05-25 12:42:53 +01:00
David Baker
284aeeb43e
Call out icons on hover
...
Conflicts:
src/components/structures/BottomLeftMenu.js
cherry-picking commit 39229c5 .
2017-05-25 12:19:26 +01:00
David Baker
db45e99536
Remove defaulting here
...
We already do it in the place this function gets called
2017-05-25 12:09:48 +01:00
David Baker
548f319816
Remove redundant role elements
2017-05-25 12:09:08 +01:00
David Baker
5e855e6fee
Size is a string, import react
...
React gets put in by the JSX transpile
2017-05-25 12:09:01 +01:00
David Baker
7636212bed
Remove refs to counterpart
...
and remove extCounterpart which is unnecessary now we just use a
single counterpart instance
2017-05-25 12:08:47 +01:00
David Baker
9337158a47
Separate classes for the different buttons
...
Also rename RoleButton to ActionButton because it's not being
given a Role any more.
Conflicts:
src/component-index.js
cherry-picking commit 4a5821e .
2017-05-25 12:08:42 +01:00
David Baker
bf716add99
Dedicated classes for the buttons
2017-05-25 12:08:14 +01:00
David Baker
913723b76b
Remove extCounterpart now we only use one instance
2017-05-25 12:08:14 +01:00
David Baker
fce1164b58
Align buttons better with the text
2017-05-25 12:08:06 +01:00
David Baker
9b1ffe6fda
Remove slightly misleading commented code
2017-05-25 12:07:59 +01:00
David Baker
a5ea19b900
Remove commented code
2017-05-25 12:07:54 +01:00
Luke Barnard
e3342e36c0
Fix RoomSubList (RoomSubListHeader was removed)
2017-05-25 12:07:39 +01:00
David Baker
67ecd94b4a
Make bottom left menu buttons use RoleButton too
...
Conflicts:
src/components/structures/BottomLeftMenu.js
cherry-picking commit 2bf0074 .
2017-05-25 12:06:49 +01:00
David Baker
dc2274df54
Hide empty tips if collapsed
2017-05-25 12:05:06 +01:00
David Baker
99efbbee5e
Depend on prop-types module
...
So we can start writing code compatible with new React
2017-05-25 12:04:53 +01:00
David Baker
3d3d89202e
Year
2017-05-25 12:04:36 +01:00
David Baker
a996f52ea3
Make bottom left menu buttons use RoleButton too
2017-05-25 12:04:22 +01:00
David Baker
54af06e8e1
What year is it? Who's the president?
2017-05-25 12:04:14 +01:00
David Baker
9fa6e8b1e2
Add us to copyright
...
As I've now added code to this file
2017-05-25 12:02:05 +01:00
David Baker
d81f894a50
Add buttons to room sub list headers
...
Conflicts:
src/components/structures/RoomSubList.js
src/components/structures/RoomSubListHeader.js
cherry-picking commit 095da68 .
2017-05-25 11:58:12 +01:00
David Baker
bff0577cb6
Add buttons to room sub list headers
...
Conflicts:
src/component-index.js
src/components/views/rooms/RoomList.js
cherry-picking commit ce119a6 .
2017-05-25 11:49:45 +01:00
David Baker
d6d9a89453
Other empty sections no longer need to be greyed
2017-05-25 11:47:21 +01:00
David Baker
c7776915f7
Kill off more tabs
2017-05-25 11:45:36 +01:00
David Baker
107024efa8
Unnecessary whitespace
2017-05-25 11:42:19 +01:00
David Baker
af305ea540
Make left panel more friendly to new users
...
https://github.com/vector-im/riot-web/issues/3609
2017-05-25 11:42:12 +01:00
David Baker
b95da4a40c
No longer need counterpart
...
We now use stock counterpart, but indirectly via react-sdk so no
need to depend on it directly.
2017-05-25 11:40:31 +01:00
David Baker
ee85eb961a
Bulk change counterpart imports
...
to use react-sdk wrapper function, rather than using counterpart
directly.
2017-05-25 11:39:56 +01:00
David Baker
5c359e63ab
Bulk change counterpart imports
...
to use languageHandler wrapper func
2017-05-25 11:39:08 +01:00
David Baker
5531f27435
Make the left panel more friendly to new users
...
https://github.com/vector-im/riot-web/issues/3609
Conflicts:
src/components/views/rooms/RoomList.js
cherry-picking commit f5f35e3 .
2017-05-25 11:24:45 +01:00
David Baker
ec146c7f45
Switch to stock counterpart
...
We no longer need the custom counterpart. The things that were
changed in it and reasosn we no lomger need them are:
1. set separator - this can be done with standard counterpart
2. ES6 port: this was done to allow importing as _t, but is
unnecessary with the _t wrapper function in react-sdk
(although also seems to work fine with
`import _t from 'counterpart';`)
3. Fallback to key name: unnecessary with
`setMissingEntryGenerator` in 0.18, but we've changed to just
using a fallback locale anyway since No code missing en
translations should ever make it to the devbelop branch.
4. Logging on missing translations. Unnecessary with
`onTranslationNotFound`, but now not used anyway because we
let missing translations show up in the UI as
'missing translation'
Bulk changes to imports coming in separate commit for easy reading.
2017-05-25 11:24:17 +01:00
Luke Barnard
c894c83fbe
Remove GuestWarningBar
2017-05-25 11:02:48 +01:00
Luke Barnard
365a46777c
Remove GuestWarningBar
2017-05-25 11:02:26 +01:00
Luke Barnard
36ec156d2e
Merge pull request #4015 from vector-im/luke/new-guest-access-default-welcome
...
Implement default welcome page and allow custom URL /w config
2017-05-25 10:28:55 +01:00
Luke Barnard
e253f86c63
Improve teamToken prop doc on homePage
2017-05-25 10:23:26 +01:00
Luke Barnard
43bd88777c
Remove potentially confusing sample config
2017-05-25 10:10:26 +01:00
Luke Barnard
f3fc459875
Merge pull request #922 from matrix-org/luke/new-guest-access-default-welcome
...
Implement default welcome page and allow custom URL /w config
2017-05-25 10:08:34 +01:00
Luke Barnard
454134661e
Merge pull request #921 from matrix-org/luke/new-guest-access-room-view-store
...
Implement a store for RoomView and join the intended room after set a mxid
2017-05-25 10:07:39 +01:00
Luke Barnard
8fc44a9b66
Add comment to explain sync_state dispatch
2017-05-25 09:31:14 +01:00
Michael Telatynski
52a8039eb3
add more generic class for links/highlights within UserSettings
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
2017-05-25 01:30:11 +01:00
Michael Telatynski
8158ec6d54
touchups
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
2017-05-25 01:25:17 +01:00
Michael Telatynski
09d0ab7df5
attempt to make media selector work everywhere (TM)
...
loadDevices not only in electron
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
2017-05-25 01:01:40 +01:00
Michael Telatynski
a4b2bacc7e
Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into webrtc_settings
2017-05-25 00:26:38 +01:00
Luke Barnard
fffe425730
Add non-null RoomView key
2017-05-24 18:04:04 +01:00
Luke Barnard
dcf2fb68ae
Remove console log
2017-05-24 18:02:17 +01:00