Commit graph

7 commits

Author SHA1 Message Date
Mattermost Build
1de5eb495d
Fix Message attachment actions colors on dark themes (#4065)
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2020-03-23 22:20:22 -03:00
Ryan Wang
99cc9c94c3
MM-10160 - support interactive button styles (#3896)
* MM-10160 - support interactive button styles

* MM-10160 - update action button styles
- move status colors to constants

* MM-10160 - add unit tests
- add button border opacity
- fix color accuracy

* MM-10160 - change action button padding
- edit hardcoded color status

* MM-10160 - update styles

* MM-10160 - center action button text

* MM-10160 - change action button line height again

* MM-10160 - improve variable names

* MM-10160 - split up tests to be more descriptive
2020-02-26 17:20:20 -07:00
Christopher Speller
96b78adf45
Adding ability to disable attachment buttons and fields. (#3541)
* Adding ability to disable attachment buttons and fields.

* Revert package lock

* Use changeOpacity
2019-11-14 10:32:08 -08:00
Michael Kochell
1588f46ae4 Pass cookie for post actions (#2945) 2019-07-02 08:18:34 -04:00
kosgrz
6b5d0a49e5 [MM-14191] Render emojis in Interactive Message Buttons (#2640) 2019-04-09 11:41:39 -04:00
Orjiewuru Kingdom Isaac
102eeb93fe MM-13151 Increase double tap delay for post action buttons (#2406)
* Use app state to disable a button when click to prevent double tap

* remove disable button state after 4000ms

* modify preventDoubleTap to have optional delayTime param

* remove local state use for button control

* remove unused method

* remove app state method to disable a button

* Update tap.js
2019-04-02 10:22:31 -04:00
Joram Wilander
ef3ba7eb00
MM-11934 Add interactive action menus (#2099)
* Add interactive action menus

* Add snapshot tests

* Updates per feedback

* Update styling of menu action

* Updates per feedback

* Update submitted message color

* Update snapshots
2018-09-20 14:01:51 -04:00
Renamed from app/components/message_attachments/interactive_action/interactive_action.js (Browse further)