element-web/src
lukebarnard 16c13fb079 Replace TagPanel react-dnd with react-beautiful-dnd
This new library handles the simple case of an ordered vertical
(or horizontal) list of items that can be reordered.

It provides animations, handles positioning of items mid-drag
and exposes a much simpler API to react-dnd (with a slight loss
of potential function, but we don't need this flexibility here
anyway).

Apart from this, TagOrderStore had to be changed in a highly
coupled way, but arguably for the better. Instead of being
updated incrementally every time an item is dragged over
another and having a separate "commit" action, the
asyncronous action `moveTag` is used to reposition the tag in
the list and both dispatch an optimistic update and carry out
the request as before. (The MatrixActions.accountData is still
used to indicate a successful reordering of tags).

The view is updated instantly, in an animated way, and this
is handled at the layer "above" React by the DND library.
2018-01-15 18:12:27 +00:00
..
actions Replace TagPanel react-dnd with react-beautiful-dnd 2018-01-15 18:12:27 +00:00
async-components/views/dialogs Remove use of deprecated React.PropTypes 2017-12-26 14:03:18 +13:00
autocomplete Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/nvl/rich_quoting 2018-01-10 11:54:58 +00:00
components Replace TagPanel react-dnd with react-beautiful-dnd 2018-01-15 18:12:27 +00:00
i18n/strings Merge pull request #1625 from matrix-org/t3chguy/analytics_info 2018-01-11 11:02:34 +00:00
settings Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/nvl/rich_quoting 2018-01-10 11:54:58 +00:00
stores Replace TagPanel react-dnd with react-beautiful-dnd 2018-01-15 18:12:27 +00:00
utils Make GroupStore use MatrixClientPeg 2017-11-28 11:54:05 +00:00
wrappers Remove use of deprecated React.PropTypes 2017-12-26 14:03:18 +13:00
ActiveRoomObserver.js
AddThreepid.js
Analytics.js update wording to not imply exhaustiveness 2018-01-08 13:29:27 +00:00
Avatar.js
BasePlatform.js
CallHandler.js
CallMediaHandler.js
ComposerHistoryManager.js
ContentMessages.js
DateUtils.js make wantsDateSeparator generic and throw into DateUtils 2018-01-10 12:06:24 +00:00
Entities.js
GroupAddressPicker.js Make GroupStore use MatrixClientPeg 2017-11-28 11:54:05 +00:00
HtmlUtils.js
ImageUtils.js
KeyRequestHandler.js
Keyboard.js Add alt condition back in, rename to specify igorance of shift 2018-01-04 12:06:19 +00:00
Lifecycle.js semicolon 2017-12-05 11:53:49 +00:00
Login.js
Markdown.js Revert "MD-escape URLs/alises/user IDs prior to parsing markdown" 2018-01-07 20:30:18 +00:00
MatrixClientPeg.js Copyright 2017-12-13 10:17:38 +00:00
Modal.js Remove use of deprecated React.PropTypes 2017-12-26 14:03:18 +13:00
Notifier.js Hide the notification nag bar after enabling notifications 2017-12-25 13:27:23 -07:00
ObjectUtils.js
PageTypes.js
PasswordReset.js
PlatformPeg.js
Presence.js
Resend.js
RichText.js
Roles.js
RoomInvite.js
RoomListSorter.js
RoomNotifs.js
Rooms.js Cache isConfCallRoom 2018-01-05 14:53:04 +00:00
RtsClient.js
ScalarAuthClient.js Merge pull request #1668 from turt2live/travis/re-register-scalar-token 2018-01-11 11:01:04 +00:00
ScalarMessaging.js Ignore postmessage requests with api field set. 2017-12-19 15:39:13 +00:00
SdkConfig.js
Skinner.js
SlashCommands.js Merge pull request #1675 from turt2live/travis/fix-granular-again 2018-01-05 11:48:32 +00:00
TextForEvent.js
Tinter.js
UiEffects.js
Unread.js
UserActivity.js
UserAddress.js
UserSettingsStore.js
Velociraptor.js Remove use of deprecated React.PropTypes 2017-12-26 14:03:18 +13:00
VelocityBounce.js
WhoIsTyping.js
WidgetMessaging.js Add field to bypass riot widget loading screen. 2017-12-06 16:44:41 +00:00
WidgetUtils.js
createRoom.js
cryptodevices.js Fix jsdoc 2018-01-11 10:27:15 +00:00
dispatcher.js Copyright 2017-12-13 10:17:38 +00:00
email.js
extend.js
groups.js
index.js
languageHandler.js Add option to also output original string 2017-12-09 21:21:31 +01:00
linkify-matrix.js Implement Rich Quoting/Replies 2017-12-10 12:50:41 +00:00
matrix-to.js Implement Rich Quoting/Replies 2017-12-10 12:50:41 +00:00
phonenumber.js
ratelimitedfunc.js
shouldHideEvent.js
stripped-emoji.json