matrix-react-sdk
Bi-directional widget postMessaging API (stickerpacks) [WIP]
#1672
Merged

Bi-directional widget postMessaging API (stickerpacks) [WIP] #1672

rxl881 merged 177 commits into develop from rxl881/snapshot
rxl881
rxl881 Add dom-to-image dep.
26c6c25a
rxl881 Add stub handler for image snapshot
3a89b90e
rxl881 Workings for future posterity - Can't access iframe content from pare…
c9b8aab0
rxl881 Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into…
f4101129
rxl881 Add postmessage api and move functions in to class
c234e209
rxl881 Add comments and outbound postmessage action to request a widget scre…
56f497d3
rxl881 Fix binding and promise handling
9f733ebc
rxl881 Add event handlers and comments.
f2ad7be3
rxl881 Set correct API name.
954c6eec
rxl881 Screenshot handlers
e63f5696
rxl881 Request capabilities (e.g. ability to take snapshots) from widgets.
83f9a416
turt2live
turt2live commented on 2017-12-19
rxl881 rxl881 changed the title Bi-directional widget postMessaging API (screenshots) Bi-directional widget postMessaging API (screenshots) [WIP] 8 years ago
rxl881 Remove unused dep.
774774c3
rxl881 License and linting fixes.
8e5c3f01
rxl881 Fix comments.
536d4efc
rxl881 Make sure that capabilities array is initialised.
08bcfc5c
rxl881 Only show snapshot button when apps are maximised.
baf472b4
rxl881 Bump build
3724a1a6
rxl881 Update comment.
7b59774b
rxl881 Fix comment linting errors.
76601760
rxl881 rxl881 changed the title Bi-directional widget postMessaging API (screenshots) [WIP] Bi-directional widget postMessaging API (screenshots) 8 years ago
rxl881 rxl881 requested a review from ara4n ara4n 8 years ago
rxl881 Set widget ID on WidgetMessaging instance.
a408b985
rxl881 rxl881 assigned ara4n ara4n 8 years ago
ara4n
rxl881 Inject stickers
e96d199b
rxl881 Merge branch 'rxl881/snapshot' of github.com:matrix-org/matrix-react-…
b85efa08
rxl881 Handle sticker message payloads
eb4053bc
rxl881 Fix event call
32aecd06
rxl881 Merge branch 'rxl881/snapshot' of https://github.com/matrix-org/matri…
da199da7
rxl881 Correctly handle sticker message events.
d20aebfb
rxl881 Send m.sticker messages
54671ab6
rxl881 Add sticker message rendering.
1c8586e8
turt2live
turt2live commented on 2018-01-04
rxl881 Remove click handlers etc.
d652f117
rxl881 Comment logging.
7b313b7a
rxl881
rxl881 Fix header and remove unused deps.
d256e473
rxl881 Remove unused deps.
57247493
rxl881 Comment logging.
54d12865
rxl881 De-register listener.
dc142305
rxl881 Handle sticker message event.
486b2cf1
rxl881 Use m.room.sticker event.
5df9a01e
rxl881 Fix duplicate event registration.
0577316c
rxl881 Set user widgets on application data.
adebf71a
rxl881 Save user widgets in accountData
60e7646f
rxl881 Handle user widgets.
9e9de765
turt2live
turt2live commented on 2018-01-09
rxl881 Translations
6b0b25c2
rxl881 Replace apps button with stickers button in message composer.
9abb1601
rxl881 Add stickers popover.
53b590f5
rxl881 Content placeholder.
2bb51baf
rxl881 Stickerpack styling
52f28d09
rxl881 Move widget utility functions in to their own file.
1a994b88
rxl881 Load user stickerpacks
2cf9da8c
rxl881 Sticker popover styling
78bd25ef
rxl881 Convert to ES6 class.
d0c16fa7
rxl881 rxl881 changed the title Bi-directional widget postMessaging API (screenshots) Bi-directional widget postMessaging API (stickerpacks) [WIP] 8 years ago
rxl881 Bind functions
4f367094
t3chguy
t3chguy commented on 2018-01-11
rxl881 Load stickers in AppTile
1ab71f6f
rxl881 Used forked version of react-popover
9df4dae9
rxl881 Consistent popover size
90b7cb37
rxl881 Add react-popover-tiny
23543614
rxl881 Stickers popover.
a3c6dd36
rxl881 Styling
351bbdfd
rxl881 Cleanup styles.
0fab905a
rxl881 * Fix key error
5e6da4d7
rxl881 Remove arrow opacity.
5a9a4ead
rxl881 Select apropriate theme colour for popover.
82b98979
rxl881 Add comment
87d8ed5a
rxl881 Remove rubbish lib.
cb7f25f4
rxl881 Move stickers into stand-alone component.
86542d86
rxl881 Stickerpack content placeholder.
93392840
rxl881 Handle stickerpack close.
7676fc0c
rxl881 Pass room to stickerpack
38ed01be
rxl881 Add manage stickerpacks link
86da2041
rxl881 Add manage integration link.
614a10c6
rxl881 Use dispatcher ref for unregister call.
3331c8af
rxl881 Keep reference to stickers menu
5a427126
rxl881 Bring hide stickers icon to front when menu open.
fa336b7a
rxl881 Update class names.
aa524c33
rxl881 Don't treat sticker messages as info messages.
b6f85fbf
rxl881 Handle non-m.room.message event types.
f8d7ab10
rxl881 Cleanup
1293c53c
rxl881 Refer rest parameters
917d85d6
rxl881 Close context menu on resize.
910623d2
rxl881 Fix duplicate message listeners
23bef68a
Half-Shot
Half-Shot commented on 2018-01-18
rxl881 Manage sticker packs link and add comments
0441487e
rxl881 Add stickerpack strings.
29962ed8
rxl881 Add method to remove all stickerpacks.
34de3729
rxl881 Add button to remove all stickerpacks
992c4771
rxl881 Add asset add / remove messaging clauses.
e508f067
rxl881 Update / remove stickerpacks
393236ba
rxl881 Check for empty user widgets.
f3943bef
rxl881 Use default AppTile menu bar.
7b75dbbd
rxl881 Linting
5e30468a
rxl881 Remove top padding from app tile.
234ca8b0
rxl881 Pass room name.
9e3c1fbc
rxl881 Hide apps drawer when viewining room settings.
55593416
rxl881 Fix link spacing
ce560c57
rxl881 Close modal on integration manager launch.
9a5c9165
rxl881 Add error handling for failure to connect to integration manager.
88288ff3
rxl881 Remove unused dep.
fefc325b
rxl881 Ensure that roomId is validated before accessing room-based widgets.
46f94b3c
rxl881 Fix API names.
57b027b7
rxl881 Remove logging and cleanup.
d755b828
rxl881 Reduce logging.
9b667f2c
rxl881 Reduce logging.
9ae89e2b
rxl881 Merge branch 'develop' of https://github.com/matrix-org/matrix-react-…
b2bf4d47
rxl881 Force rebuild
891199b7
rxl881 Pull in changes from develop
332892fe
turt2live
turt2live commented on 2018-02-23
rxl881 Disable all widget assets on widget removal.
86461bc8
turt2live
turt2live commented on 2018-02-24
rxl881 Avoid potential NPE.
ee4310cc
rxl881 Correct stickerpicker naming,
e249e3d6
rxl881 Fix promise wrapping.
c93faf7d
rxl881 Fix PropTypes.
2b0790b3
rxl881 Add comment.
20a442c9
rxl881 Global interface to start integration manager.
d3de44e6
rxl881 Open integration manager from widget postMessage.
14d52c9f
rxl881 Temp. revert unintended commit.
707e3f33
rxl881 Fix current roomID.
73c8ef50
rxl881 Add listener to close stickerpicker.
b64736aa
rxl881 Make MStickerBody extend MImageBody.
5ca0fc3a
rxl881 Wrap the close menu trigger in a timeout
8e7564b9
turt2live
turt2live commented on 2018-02-26
rxl881 Wrap menu close in timeout to avoid element disappearing unexpectedly.
ef4d1371
rxl881 Update widget type.
57c98d96
rxl881 Show sticker description as a tooltip, on hover.
0fdbddf8
rxl881 Bump build
21c8bed9
rxl881 Lint.
f3c928a4
rxl881 Pull in changes from develop
e2cedbe9
rxl881 Nest sticker image element for correct positioning of tooltips.
7755a3ce
rxl881 Prefix and clarify global variable naming.
d5465cf2
rxl881 Linting
b529edb5
turt2live
rxl881 Move sticker picker icon.
7f91b475
rxl881 Remove accidentally checked in yarn.lock
b2bb15be
rxl881
rxl881 Add placeholders for sticker images (and fancy transitions).
c59dd5b8
rxl881 Hide sticker picker delete button and show minimise button.
3ab8b1f8
rxl881 Hide padding if last control.
fdec4b36
rxl881 Fix context menu offset.
e36ae3ce
rxl881 Don't render placeholder when image is visible.
e7c19fd8
rxl881 Use getUserWidgets where possible.
a3385932
rxl881 Cleanup timeout before unmount.
7e062090
rxl881 Simplify request mapping.
46f46ee2
rxl881 Switch to 'm.sticker' message events. Allow whitelisting of wisget ca…
b2d23b69
rxl881 Check if user widget.
a81269cb
rxl881 Center loading spinner.
de332940
rxl881 Throw capability request exception.
53b716ba
rxl881 Logging.
f820374f
rxl881 Get user widgets by default (if roomID is not specified).
7d13edc6
rxl881 Null guard widget listener
8b311c70
rxl881 Clean up whitelisted permission addition / logging.
66ea78de
rxl881 Display sticker content (URL), rather than thumbnail.
83412acb
rxl881 Allow react performance profiling on widget iframes.
4d8f5072
rxl881 rxl881 unassigned ara4n ara4n 8 years ago
rxl881 rxl881 assigned dbkr dbkr 8 years ago
rxl881 Bump CI build
74628120
dbkr
dbkr commented on 2018-03-22
dbkr dbkr unassigned dbkr dbkr 8 years ago
dbkr dbkr assigned rxl881 rxl881 8 years ago
rxl881 Refactor widget postMessage API.
4ac9653a
rxl881 Expects object, not naked ID.
b4e70e30
rxl881 Indentation.
5fc9b8a6
rxl881 Don't swallow error.
a1581ad2
rxl881 Indentation.
23a52bdb
rxl881 Catch rather than 'done' error handler.
35fcb2c9
rxl881 Ensure deleting is set to false.
aefccb13
rxl881 Remove unused ref.
cafbd290
rxl881 Remove duplicate event handler.
f3832982
rxl881 Add comment.
9c10d243
rxl881 Consistent function naming.
38c8bc7d
rxl881 Comment.
e21cc14e
rxl881 Comment.
67f755ef
rxl881 Check for valid reference.
c8f9586c
rxl881 "Stickerpack" translation.
6181ca64
rxl881 Cleanup / simplify code.
b1e7dcf2
rxl881 Consistent async / await / promises.
3d9bdb90
rxl881 Avoid redefining function parameter
5ba18b5e
rxl881 Add callback handler for integration manager close.
20cbc016
rxl881 Wait for setAccountData to complete.
9a3f3562
rxl881 Return promise
93804e80
rxl881 Add back in body 'ref'
2e6d6c83
rxl881 Handle remove sticker picker errors.
003cf613
rxl881 Add comment.
ff0834ad
rxl881 Move default sticker content into generator function.
9cc3d3c9
rxl881 Remove inline styling.
557a45e8
rxl881 Fix user widget event type.
11915b0c
rxl881 Use AccessibleButton.
d83b6f1c
rxl881 Move stickerpicker content out of state in to generator function.
49bea1a3
rxl881
rxl881 rxl881 unassigned rxl881 rxl881 8 years ago
rxl881 rxl881 assigned dbkr dbkr 8 years ago
rxl881
rxl881 Fix content references
8241afe8
rxl881 Put stickers behind labs flag.
b109c930
rxl881 Merge branch 'develop' of https://github.com/matrix-org/matrix-react-…
f8f8bc46
ara4n
ara4n
rxl881 rxl881 merged 06f1c504 into develop 8 years ago
rxl881 rxl881 deleted the rxl881/snapshot branch 8 years ago

Login to write a write a comment.

Login via GitHub

Assignees
Labels
Milestone