72498df28f
Remove create-react-class
2020-08-29 12:14:16 +01:00
5a3bda7eea
Add title and icon to empty state of file and notification panel
2020-08-03 13:30:56 +02:00
972baa881b
Revert "Fix Filepanel scroll position state lost when room is changed"
2020-04-19 19:14:08 -06:00
e0d6fa3f51
Rename ref to timelinePanel
2020-04-17 15:15:51 -06:00
719165c67f
fix file panel scroll position lost on room change
2020-04-11 04:03:32 +01:00
16bbea0b59
Fix various leaks due to method re-binding
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
2020-02-20 02:35:30 +00:00
3534cd4202
FilePanel: Add comments to explain what's going on with the event index.
2020-01-24 14:23:43 +01:00
c3418df919
FilePanel: Remove whitespace before two function definitions.
2020-01-22 16:31:49 +01:00
c5e8753b05
FilePanel: Don't import the whole of the js-sdk.
2020-01-22 16:26:40 +01:00
f917c2faea
FilePanel: Listen for live events and add them to an open FilePanel.
2020-01-22 16:21:11 +01:00
735ba4fd33
EventIndex: Correctly populate events on initial fill requests.
2020-01-22 16:11:54 +01:00
4cf44cf5a5
EventIndex/FilePanel: Allow longer lines.
2020-01-20 12:43:20 +01:00
0c854fce9b
FilePanel: Remove a stale comment.
2020-01-20 10:09:58 +01:00
ccfe3c7e70
FilePanel/EventIndex: Fix lint errors.
2020-01-17 11:52:20 +01:00
70d394e668
EventIndex: Update the imports for the new build system.
2020-01-17 10:58:31 +01:00
49c1dbe421
FilePanel: Implement pagination requesting using the EventIndex.
2020-01-17 10:11:21 +01:00
a1cbff3c8c
FilePanel: Use the event index in encrypted rooms to populate the panel.
2020-01-17 10:11:21 +01:00
d30c46a641
FilePanel: Refactor out the file panel and convert the methods to async ones.
2020-01-17 10:10:21 +01:00
59f608ffd6
Merge pull request #3761 from matrix-org/travis/babel7-wp-es6-export
...
Convert CommonJS exports to ES6 exports
2020-01-08 09:09:11 -07:00
042bd35d79
Fix MatrixClientPeg imports
2019-12-22 21:15:54 -07:00
d56f0f2a25
Convert many imports to handle ES6 exports
...
Reliant upon https://github.com/matrix-org/matrix-react-sdk/pull/3761
2019-12-22 21:04:42 -07:00
344dac4fb9
Convert CommonJS exports to ES6-compatible exports
...
We use `export default` begrudgingly here. Ideally we'd use just `export`, though this entire SDK expects things to be exported as a default. Instead of breaking everything, we'll sacrifice our export pattern for a smaller diff - a later commit can always do the default export -> regular export conversion.
2019-12-22 21:01:02 -07:00
842bf77409
prevent error when nextProps is null, cleanup
...
As the FilePanel is now rendered as part of the RoomView,
we don't need to respond to room changes, as RoomView has
a key of the roomId, so the whole subtree would be recreated.
2019-11-06 10:34:22 +01:00
d3517cdb71
actually pass role="tabpanel" to the DOM for FilePanel and NotifPanel
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
2019-10-14 10:44:42 +01:00
f1db0cf027
Various ARIA a11y fixes.
...
Notate RightPanel tabs.
Shorten Screen Reader queues.
Make AccessibleTooltipButton screen reader friendly
Flatten DOM for Sticker button using React Fragments
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
2019-10-03 09:35:39 +01:00
abf111ecbd
Migrate away from React.createClass for non-auth structures. React 16 :D
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
2019-08-30 10:34:59 +01:00
891e343df6
create ResizeNotifier to derive which areas of the app resize and emit
2019-03-15 10:16:21 +01:00
eb32dda260
given we also want to hide widget events, hide all except m.room.message
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
2018-06-16 19:52:15 +01:00
b87824ba92
hide m.room.avatar
from FilePanel via sync filter
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
2018-06-16 19:50:51 +01:00
b2d23b6999
Switch to 'm.sticker' message events. Allow whitelisting of wisget capabilities.
2018-03-12 13:56:02 +00:00
b2bf4d4709
Merge branch 'develop' of https://github.com/matrix-org/matrix-react-sdk into rxl881/snapshot
2018-02-23 15:37:33 +00:00
5df9a01e64
Use m.room.sticker event.
2018-01-08 12:06:32 +00:00
35780f5ae0
Remove use of deprecated React.PropTypes
...
Replace all uses of React.PropTypes with PropTypes and importing PropTypes from
'prop-types'.
2017-12-26 14:03:18 +13:00
3afbaf61e7
Refactor i18n stuff a bit
2017-11-13 20:19:33 +01:00
b1f2a6c1e9
Dramatically simplify use of mx_fadable
...
by applying it to parent elements of things that need to be faded.
2017-10-25 15:15:49 +01:00
2f8f2ce76e
Swap from ui_opacity
to panel_disabled
...
to simplify the process of disabling panels in the UI.
2017-10-25 11:23:51 +01:00
d3f9a3aeb5
Run eslint --fix
...
Fixing 1000s of lint issues. Some rules cannot be `--fix`ed but this goes some way to linting the entire codebase.
2017-10-11 17:56:17 +01:00
4127e7121c
Translate src/components/structures
...
Includes some pluralisation! Tested them manually to make sure they work.
2017-06-07 11:40:46 +01:00
70e7d81093
More i18n strings ( #963 )
...
* Add i18n for E2E import and Export Dialogs
Signed-off-by: MTRNord <mtrnord1@gmail.com >
* Add various previous missing i18n strings
Signed-off-by: MTRNord <mtrnord1@gmail.com >
* Translate CreateRoomButton
Signed-off-by: MTRNord <mtrnord1@gmail.com >
* Add ChatInviteDialog and fix missing to.
Signed-off-by: MTRNord <mtrnord1@gmail.com >
* Add ConfitmRedactDialog translations
Signed-off-by: MTRNord <mtrnord1@gmail.com >
* Add DeactivateAccountDialog translations
Signed-off-by: MTRNord <mtrnord1@gmail.com >
* Add DeviceVerifyDialog translations
Signed-off-by: MTRNord <mtrnord1@gmail.com >
* Add SessionRestoreErrorDialog translations
Signed-off-by: MTRNord <mtrnord1@gmail.com >
* Add SetDisplayNameDialog translations
Signed-off-by: MTRNord <mtrnord1@gmail.com >
* Add UnknownDeviceDialog translations
Signed-off-by: MTRNord <mtrnord1@gmail.com >
* Add AddressTile translations
Signed-off-by: MTRNord <mtrnord1@gmail.com >
* Add DeviceVerifyButtons translations
Signed-off-by: MTRNord <mtrnord1@gmail.com >
* Add Dropdown translations
Signed-off-by: MTRNord <mtrnord1@gmail.com >
* Add UserSelector translations
Signed-off-by: MTRNord <mtrnord1@gmail.com >
* Add CaptchaForm translations
Signed-off-by: MTRNord <mtrnord1@gmail.com >
* Add CasLogin translations
Signed-off-by: MTRNord <mtrnord1@gmail.com >
* Add CustomServerDialog translations
Signed-off-by: MTRNord <mtrnord1@gmail.com >
* Add InteractiveAuthEntryComponents translations
Signed-off-by: MTRNord <mtrnord1@gmail.com >
* Add LoginFooter translations
Signed-off-by: MTRNord <mtrnord1@gmail.com >
* Add RegistrationForm translations
Signed-off-by: MTRNord <mtrnord1@gmail.com >
* Add ServerConfig translations
Signed-off-by: MTRNord <mtrnord1@gmail.com >
* Add MAudioBody translations
Signed-off-by: MTRNord <mtrnord1@gmail.com >
* Add MImageBody translations
Signed-off-by: MTRNord <mtrnord1@gmail.com >
* Add MVideoBody translations
Signed-off-by: MTRNord <mtrnord1@gmail.com >
* Add TextualBody translations
Signed-off-by: MTRNord <mtrnord1@gmail.com >
* Add UnknownBody translations
Signed-off-by: MTRNord <mtrnord1@gmail.com >
* Add UrlPreviewSettings translations
Signed-off-by: MTRNord <mtrnord1@gmail.com >
* Add AuxPanel translations
Signed-off-by: MTRNord <mtrnord1@gmail.com >
* Add PresenceLabel translations
Signed-off-by: MTRNord <mtrnord1@gmail.com >
* fix syntax error
* weird space :P
* missing ','
* fix missing value
* fix json fail
* remove acidential added file
* fix another json fail
2017-05-30 15:09:57 +01:00
8524f5868c
import _t, drop two unused imports
...
without this FilePanel would ever-load
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
2017-05-27 17:59:11 +01:00
d419c42a4f
Squash merge https://github.com/matrix-org/matrix-react-sdk/pull/801
2017-05-23 15:16:31 +01:00
8715b5233c
link to #/register
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
2017-05-15 10:31:17 +01:00
83cb1e6e29
tell guests they can't use filepanel until they register
...
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
2017-05-15 10:15:35 +01:00
29568feb95
show error if we can't set a filter
...
this way it still works for a room we've been in before
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com >
2017-05-12 22:38:57 +01:00
08ad69847c
show placeholder of timeline empty
2017-02-02 16:32:10 +00:00
18d4d3392a
Fix a bunch of linting errors
...
eslint --fix and a few manual ones
2017-01-20 14:22:27 +00:00
34bb37aaba
layout for file & notif panel
2016-09-11 02:14:27 +01:00
6f270fd621
remove debug
2016-09-10 01:39:19 +01:00
3c7864a7ad
remove unused _gatherTimelinePanelRef
2016-09-08 14:52:08 +01:00
8f75bce29e
add fixmes
2016-09-07 22:54:37 +01:00