Michael Telatynski
9a15d4cfc1
Merge branches 'develop' and 't3chguy/report_event' of https://github.com/matrix-org/matrix-react-sdk into t3chguy/report_event
...
Conflicts:
src/i18n/strings/en_EN.json
2019-09-12 12:45:16 +01:00
Michael Telatynski
b243004a6c
Switch to createReactClass: *everything else*. React 16 :D
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-09-06 18:38:11 +01:00
Michael Telatynski
4db8ef4d89
Correct case of propTypes property in ES6 React Components. React 16
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-09-06 14:27:33 +01:00
Michael Telatynski
22ee809922
Add way to report the content of a message
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-08-08 16:39:15 +01:00
Michael Telatynski
71338d5140
Hide settings button on Room Tile Context Menu for myMembership=invite
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-08-06 16:25:29 +01:00
Andrew Morgan
f80cbebb9d
Don't switch rooms when forgetting a room ( #3275 )
...
Don't randomly change to another room upon forgetting a room.
2019-08-05 10:34:46 +01:00
Bruno Windels
515ed2e1bb
Also cancel associated events when canceling sending from ctx menu
2019-07-02 10:11:38 +02:00
Bruno Windels
4be16a380a
only show resend options if event hasn't been redacted
...
(which can now be only local, which is why this wasn't neccesary before)
2019-07-01 17:39:30 +02:00
Bruno Windels
0d79b03f53
support resending reactions
2019-07-01 17:39:00 +02:00
Bruno Windels
8160759a52
show the various resend options as different menu items
2019-07-01 17:37:32 +02:00
Bruno Windels
d66d3ca4d2
support resending redaction in context menu
2019-07-01 11:06:55 +02:00
Bruno Windels
6d458154a9
support resending edit in context menu
2019-07-01 11:06:55 +02:00
Bruno Windels
62ad40d1d9
spelling
...
Co-Authored-By: J. Ryan Stinnett <jryans@gmail.com>
2019-06-04 14:53:01 +00:00
Bruno Windels
629b776820
clarify why we dont need dialog on network error
2019-06-04 16:11:49 +02:00
Bruno Windels
a11deffe5e
only show "can't redact" dialog when not a network error
...
as the redaction is queued now and might be sent later
2019-06-04 13:32:14 +02:00
Travis Ralston
aac87c4635
Move focusing to the context menu create call
2019-05-20 21:07:55 -06:00
Travis Ralston
2a187810fd
Restructure TopLeftMenu for accessibility and autofocus it
...
We use a trick with refs to automatically focus the element, also making use of mx_HiddenFocusable to hide the unnecessary outline.
The menu itself has been restructured to hide some elements from screen readers (reduce noise) and to have a single unordered list. Screen readers mention when the user "enters" a list, and each item was previously saying "enter list <action>" when it should have just been "<action>".
By focusing automatically, the keyboard can be used to go up/down the menu as may be expected by keyboard users.
2019-05-17 15:32:03 -06:00
J. Ryan Stinnett
44e9ca6c52
Extract isContentActionable
to a separate helper
...
This moves the check about whether an event is actionable (for the purpose of
replies, edits, reactions, etc.) to shared utils module.
2019-05-02 12:05:17 +01:00
J. Ryan Stinnett
739c8c0314
Promote reply button up to message action bar
...
This moves the reply action out of the existing options menu and up to the
message action bar for easier access.
2019-04-29 15:53:03 +01:00
J. Ryan Stinnett
c38a7e6756
Pass correct args when creating event permalink in context menu
...
After the permalink API was changed in
https://github.com/matrix-org/matrix-react-sdk/pull/2671 , it seems we forgot to
update this call site, so it was creating `<room>/<room>` links, instead of
`<room>/<event>`.
Fixes https://github.com/vector-im/riot-web/issues/9110
2019-03-11 15:05:05 +00:00
Travis Ralston
604f8f8b6b
Misc fixes to StatusMessageContextMenu
...
"waiting" is not a property, and unmount had a typo
2019-03-07 14:57:30 -07:00
David Baker
0244990731
Add utm_campaign to the hosting links
...
According to where in the app the link was clicked
2019-03-05 16:42:22 +00:00
David Baker
b68a71b294
Lint
2019-03-05 16:20:18 +00:00
David Baker
57d8f6d8a2
Support linking to hosting providers
...
From link in app config
2019-03-05 16:12:02 +00:00
Bruno Windels
68ba14909b
Merge pull request #2671 from matrix-org/bwindels/permalinkperf
...
Improve permalink performance
2019-02-26 10:48:20 +01:00
Michael Telatynski
8d149575ea
Merge branches 'develop' and 't3chguy/room_context_menu_settings' of github.com:matrix-org/matrix-react-sdk into t3chguy/room_context_menu_settings
2019-02-25 23:12:06 +00:00
Michael Telatynski
d4b6ce6932
Apply PR feedback, don't change room to go to its settings
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-02-25 23:08:51 +00:00
Bruno Windels
31dda34e6b
use new permalink class in share dialog & context menu
2019-02-25 18:43:08 +01:00
Travis Ralston
2b9b07c29d
Merge pull request #2696 from matrix-org/t3chguy/pretty_view_source
...
make ViewSource less awkward
2019-02-24 17:55:07 -07:00
Michael Telatynski
7b88d5d21c
make ViewSource less awkward
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-02-24 03:43:44 +00:00
Michael Telatynski
393fd26a42
Settings button in Room Context Menu
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-02-24 02:42:41 +00:00
Michael Telatynski
f2624beca4
Change Share Message to Share Permalink if !m.room.message||redacted
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2019-02-24 02:03:20 +00:00
David Baker
93350c43a5
Put back this bind - it's an unrelated fix
2019-02-14 16:07:44 +00:00
David Baker
7845a63506
Remove 'welcome' from top-left menu
...
Tjis is quite confusing as the welcome page is designed for when
you're not logged in, ie. has a sign-in button. There's also no way
to get back into the app so it really looks like it's logged you
out.
Reverts 116367fd69
2019-02-14 15:53:52 +00:00
J. Ryan Stinnett
116367fd69
Add welcome to top left menu for all
2019-02-13 16:13:32 +00:00
J. Ryan Stinnett
22789ada94
Add sign in to top left menu for guests
2019-02-13 16:01:13 +00:00
J. Ryan Stinnett
d9bb5991b5
Merge pull request #2609 from matrix-org/anoa/comms_hide
...
Change taking a community off the left-left panel less scary
2019-02-13 09:30:18 +00:00
Bruno Windels
158e949165
add context menu option to show "event e2e info dialog"
2019-02-12 19:10:42 +01:00
Andrew Morgan
d66dbf9be7
Change taking a community off the left-left panel less scary
...
With the current wording, I half-think clicking this button might remove me from the community!
IMO 'Hide' sounds more like it's just going to disappear from the panel, but I can add it back at some point.
2019-02-11 13:38:47 +00:00
J. Ryan Stinnett
705c3248d4
Tweak embedded pages config name
2019-02-08 13:55:23 +00:00
J. Ryan Stinnett
7a15bb65c4
Tweak page URL defaulting
2019-02-08 13:53:17 +00:00
J. Ryan Stinnett
5ab3c8b823
Add top left home menu item when home page configured
2019-02-08 13:48:51 +00:00
Bruno Windels
6ffc5e093d
add icons to top left menu options
2019-01-29 16:56:07 +01:00
J. Ryan Stinnett
20e296b20e
Convert image URLs in React to require
calls
...
This allows Webpack to insert the proper image URL after builds steps like
adding a hash and so on. The path you supply to `require` is relative to the JS
source file, just like any other would be.
2019-01-17 22:06:49 -06:00
Bruno Windels
8c30d05eb8
Revert "Merge pull request #2348 from matrix-org/bwindels/roomgridview-experimental"
...
This reverts commit ece5cb1fcc
, reversing
changes made to 64a3d2521c
.
2019-01-17 10:29:37 +01:00
J. Ryan Stinnett
859f2a8646
Show spinner while waiting on status message to commit
...
It can take some time to actually set the status message and see it play back as
a committed event. This adds a spinner for immediate feedback so it's clear
that something is happening.
Fixes https://github.com/vector-im/riot-web/issues/8135 .
2019-01-16 09:33:39 -06:00
J. Ryan Stinnett
5b88b64950
Rework custom status context menu
...
This updates the custom status context menu to match the latest comps. A single
button is used for setting / clearing, depending on what is appropriate.
The state logic is also changed to depend on events and storage from js-sdk for
the committed status message. This makes it easy to distinguish the value being
edited from what's currently committed.
2019-01-15 10:54:29 -06:00
David Baker
8e4d8ccca7
Add spaces back to async arrow functions
...
As per https://github.com/matrix-org/matrix-js-sdk/pull/821
Requires https://github.com/matrix-org/matrix-js-sdk/pull/821
2019-01-09 18:10:35 +00:00
Bruno Windels
9e67dbf008
change icon
2019-01-08 14:35:26 +01:00
Bruno Windels
52c5610660
update copy
2019-01-08 14:35:06 +01:00