Bruno Windels
|
48588687a5
|
share logic whether have reacted already between basemsgtile & reactvm
|
2021-06-23 15:38:12 +02:00 |
|
Bruno Windels
|
f000e98619
|
no point in reacting to redacted messages
|
2021-06-17 16:48:58 +02:00 |
|
Bruno Windels
|
64f1abdfed
|
show quick reactions in message menu
|
2021-06-17 16:46:06 +02:00 |
|
Bruno Windels
|
4312610e7d
|
support menu options with custom DOM
|
2021-06-17 16:45:53 +02:00 |
|
Bruno Windels
|
099f99a96b
|
check power levels to see if we can react
|
2021-06-17 09:41:25 +02:00 |
|
RMidhunSuresh
|
e161f61319
|
Remove selector list
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-06-15 15:11:32 +05:30 |
|
RMidhunSuresh
|
5e4db2f5dc
|
Change font size
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-06-15 14:52:07 +05:30 |
|
RMidhunSuresh
|
1772fc04f9
|
Remove text(..)
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-06-15 14:45:46 +05:30 |
|
RMidhunSuresh
|
97e484b8e6
|
Rename toggle --> open
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-06-15 14:30:27 +05:30 |
|
RMidhunSuresh
|
7b811aa927
|
Remove space after brace in two places
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-06-14 20:33:32 +05:30 |
|
Bruno Windels
|
75ee509361
|
fix lint
|
2021-06-11 11:30:11 +02:00 |
|
Bruno Windels
|
757e08c62c
|
WIP 4
|
2021-06-10 18:29:10 +02:00 |
|
RMidhunSuresh
|
e2443a8b09
|
Undo spillover from earlier formatting havoc
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-06-09 16:51:18 +05:30 |
|
RMidhunSuresh
|
b2f2d51594
|
Make formatting consistent with the codebase
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-06-09 16:51:18 +05:30 |
|
RMidhunSuresh
|
dd9a19b7f0
|
Make formatting consistent
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-06-09 16:51:18 +05:30 |
|
RMidhunSuresh
|
4005d70bb9
|
Increase height to make element more centered
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-06-09 16:51:18 +05:30 |
|
RMidhunSuresh
|
fa67c5e248
|
Refactor function
- Move related parameters closer together.
- Remove unused parameter.
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-06-09 16:51:18 +05:30 |
|
RMidhunSuresh
|
95512b5144
|
Remove margin from top
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-06-09 16:51:18 +05:30 |
|
RMidhunSuresh
|
6086d157e2
|
Make value multiple of 4
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-06-09 16:51:18 +05:30 |
|
RMidhunSuresh
|
2c0176f3f2
|
Remove unwanted width
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-06-09 16:51:18 +05:30 |
|
RMidhunSuresh
|
f3f1436bb0
|
Rename room info to room details everywhere
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-06-09 16:51:18 +05:30 |
|
RMidhunSuresh
|
f917730a21
|
Stick to naming convention for css/html classes
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-06-09 16:51:18 +05:30 |
|
RMidhunSuresh
|
efd37d811f
|
Update on changes to vm
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-06-09 16:51:18 +05:30 |
|
RMidhunSuresh
|
008f3601ca
|
Remove link support from Menu
- Not needed anymore since every link item has been rewritten as a
button.
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-06-09 16:51:18 +05:30 |
|
RMidhunSuresh
|
eb870cfc23
|
Use url instead of link
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-06-09 16:51:18 +05:30 |
|
RMidhunSuresh
|
4c962943b2
|
Modify setters in MenuOption to support chaining
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-06-09 16:51:18 +05:30 |
|
RMidhunSuresh
|
0d63ce9a3a
|
Change SideBarActive --> right-shown
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-06-09 16:51:18 +05:30 |
|
RMidhunSuresh
|
b2448e1207
|
Calculate path when button is clicked
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-06-09 16:51:18 +05:30 |
|
RMidhunSuresh
|
a3587a80c6
|
Use internationalization for user facing strings
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-06-09 16:51:18 +05:30 |
|
RMidhunSuresh
|
986f04aac0
|
Move Room details menu entry to top
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-06-09 16:51:18 +05:30 |
|
RMidhunSuresh
|
9074caf443
|
Change Room Details --> Room details
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-06-09 16:51:18 +05:30 |
|
RMidhunSuresh
|
65bd74442f
|
Make menu-items uniform
- Same font ,font-size and height.
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-06-09 16:51:18 +05:30 |
|
RMidhunSuresh
|
98ef6f4321
|
Use optionWithButton
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-06-09 16:51:18 +05:30 |
|
RMidhunSuresh
|
a3271fb916
|
Fix Menu: Use t instead of tag to get events
- Also move constructor up
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-06-09 16:51:18 +05:30 |
|
RMidhunSuresh
|
8d254c91e3
|
Undo formatting/stylistic changes
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-06-09 16:51:18 +05:30 |
|
RMidhunSuresh
|
3273682155
|
Do not show room id instead of canonical alias
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-06-09 16:51:18 +05:30 |
|
RMidhunSuresh
|
d3d65d89ba
|
Put sidebar rows into container
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-06-09 16:51:18 +05:30 |
|
RMidhunSuresh
|
f1fe17fe65
|
Make font-size equal to that of room-header
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-06-09 16:51:18 +05:30 |
|
RMidhunSuresh
|
040c744b6a
|
Style links and buttons similarly in menu
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-06-09 16:51:18 +05:30 |
|
RMidhunSuresh
|
00dbd3db06
|
Add menu entry to launch RoomInfoView
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-06-09 16:51:18 +05:30 |
|
RMidhunSuresh
|
1e96b58f85
|
Add link support to menu
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-06-09 16:51:18 +05:30 |
|
RMidhunSuresh
|
d782c9e0bb
|
Justify content to flex-end instead
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-06-09 16:51:18 +05:30 |
|
RMidhunSuresh
|
eab6ca3baf
|
Make side-bar responsive
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-06-09 16:51:18 +05:30 |
|
RMidhunSuresh
|
b5480b018b
|
Style open button
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-06-09 16:51:18 +05:30 |
|
RMidhunSuresh
|
ecd5505af9
|
Bring in info icon
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-06-09 16:51:18 +05:30 |
|
RMidhunSuresh
|
37367cde65
|
Make close button close the view
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-06-09 16:51:18 +05:30 |
|
RMidhunSuresh
|
20a250dfc0
|
Style close button
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-06-09 16:51:18 +05:30 |
|
RMidhunSuresh
|
c65e26ec4c
|
Position the close button to right end
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-06-09 16:51:18 +05:30 |
|
RMidhunSuresh
|
91f083a245
|
Add close button to RoomInfoView
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-06-09 16:51:18 +05:30 |
|
RMidhunSuresh
|
b0535b5d7d
|
Add styling for RoomInfoView
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-06-09 16:51:18 +05:30 |
|
RMidhunSuresh
|
c96abc8892
|
Add css to place items appropriately
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-06-09 16:51:18 +05:30 |
|
RMidhunSuresh
|
f42553f8cb
|
Add avatar size for design
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-06-09 16:51:18 +05:30 |
|
RMidhunSuresh
|
ee29d7f799
|
Bring in icon assets
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-06-09 16:51:18 +05:30 |
|
RMidhunSuresh
|
653fcbbb1f
|
Add method to create avatar section
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-06-09 16:51:18 +05:30 |
|
RMidhunSuresh
|
0a4f8aff79
|
Create method to add sidebar element
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-06-09 16:51:18 +05:30 |
|
RMidhunSuresh
|
a23e2c361a
|
Better styling
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-06-09 16:51:18 +05:30 |
|
RMidhunSuresh
|
d502a7f911
|
Make display name bold
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-06-09 16:51:18 +05:30 |
|
RMidhunSuresh
|
aece82dff6
|
Make room avatar larger in RoomInfoView
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-06-09 16:51:18 +05:30 |
|
RMidhunSuresh
|
6f1b77b6fa
|
Add room avatar to RoomInfoView
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-06-09 16:51:18 +05:30 |
|
RMidhunSuresh
|
0ea2843454
|
Add background for sidebar
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-06-09 16:51:18 +05:30 |
|
RMidhunSuresh
|
0d11f85ab3
|
Add CSS to display sidebar to the right
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-06-09 16:51:18 +05:30 |
|
RMidhunSuresh
|
e39572b98b
|
Create RoomInformationView on toggle
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-06-09 16:51:18 +05:30 |
|
RMidhunSuresh
|
c7ba472042
|
Add view and vm for RoomInformation
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-06-09 16:51:18 +05:30 |
|
Bruno Windels
|
206d18f498
|
WIP2
|
2021-06-08 16:56:17 +02:00 |
|
Bruno Windels
|
3e47877645
|
Merge branch 'master' into bwindels/reactions
|
2021-06-04 16:33:10 +02:00 |
|
Bruno Windels
|
47e74bd598
|
add glow animation for pending reactions
|
2021-06-04 16:32:35 +02:00 |
|
Bruno Windels
|
919542f8fc
|
Don't assume container node exists when loading bundle
Only look for the container node when needed
|
2021-06-04 15:36:01 +02:00 |
|
Bruno Windels
|
b7402ce43c
|
support local echo for adding a reaction
|
2021-06-04 15:34:44 +02:00 |
|
Bruno Windels
|
2878208e94
|
keep the DOM small, avoid a node for reactions on every message
|
2021-06-04 10:08:07 +02:00 |
|
Bruno Windels
|
4ef5afc011
|
this is actually not used, so remove it
|
2021-06-04 10:07:52 +02:00 |
|
Bruno Windels
|
dde26da5a6
|
add mountView utility to handle error handling on mount
and use it where errorToDOM is used currently for catching mount errors
|
2021-06-04 10:07:12 +02:00 |
|
Bruno Windels
|
ff370d03db
|
catch errors thrown by childview mount method on add in ListView
|
2021-06-04 09:37:36 +02:00 |
|
Bruno Windels
|
05cc1f6757
|
make reactions look like element
|
2021-06-03 21:01:59 +02:00 |
|
Bruno Windels
|
d91282a767
|
render reactions in div instead of ul
|
2021-06-03 21:01:47 +02:00 |
|
Bruno Windels
|
bb8acbefa3
|
support undoing a reaction
|
2021-06-03 19:57:16 +02:00 |
|
Bruno Windels
|
20abb01ee8
|
very basic way of sending a reaction
|
2021-06-03 19:16:53 +02:00 |
|
Bruno Windels
|
b722691e85
|
show reactions as ListView of buttons if present
|
2021-06-03 19:16:19 +02:00 |
|
Bruno Windels
|
09bf0f3b4e
|
fix status styling for text messages being broken
as binding was put at argument level rather than className level
|
2021-06-02 15:25:20 +02:00 |
|
Bruno Windels
|
8dfed73524
|
Merge pull request #361 from vector-im/bwindels/redactions
Redactions
|
2021-06-02 10:22:33 +00:00 |
|
Bruno Windels
|
15f6ab8b7e
|
only show cancel option if not already sending
|
2021-06-02 11:56:15 +02:00 |
|
Bruno Windels
|
606d40c9d4
|
simplify canRedact logic in view by overriding in RedactedTile
|
2021-05-31 13:55:08 +02:00 |
|
Bruno Windels
|
23459aad52
|
check if you are allowed to redact a message
|
2021-05-31 13:52:03 +02:00 |
|
Bruno Windels
|
128f9812a6
|
set destructive flag here too
|
2021-05-31 13:08:06 +02:00 |
|
Bruno Windels
|
57288f75b0
|
add avatar & sender as first element in message so they don't occlude
|
2021-05-31 13:03:41 +02:00 |
|
Bruno Windels
|
d4373eb309
|
make options button look the same in all browsers
|
2021-05-31 13:03:23 +02:00 |
|
Bruno Windels
|
d66cdc97cd
|
fix message options button placement in IE11
|
2021-05-31 13:02:42 +02:00 |
|
Bruno Windels
|
2e34668b91
|
show errors while mounting list view children
|
2021-05-31 12:28:42 +02:00 |
|
Bruno Windels
|
447b98ce6c
|
don't use subviews for showing/hiding avatar & sender on continuation
|
2021-05-31 11:57:17 +02:00 |
|
RMidhunSuresh
|
849a02cec2
|
Add aria-label
Signed-off-by: RMidhunSuresh <rmidhunsuresh@gmail.com>
|
2021-05-28 20:37:36 +05:30 |
|
Bruno Windels
|
6a5d856093
|
add destructive flag to delete menu option
|
2021-05-28 16:25:23 +02:00 |
|
Bruno Windels
|
5b0675b711
|
fix lint
|
2021-05-28 16:25:06 +02:00 |
|
Bruno Windels
|
95a680eb83
|
fix whitespace
|
2021-05-28 16:24:47 +02:00 |
|
Bruno Windels
|
57d9916746
|
buttons in ff were not in Inter
|
2021-05-28 15:30:03 +02:00 |
|
Bruno Windels
|
7f41993648
|
prevent buttons with negative margin to displace message menu
|
2021-05-28 15:28:04 +02:00 |
|
Bruno Windels
|
b3749f2d92
|
prevent long links from creating horizontal scroll
|
2021-05-28 15:27:44 +02:00 |
|
Bruno Windels
|
5afcfc3e9b
|
fix unsent/unverified message style
|
2021-05-28 15:27:25 +02:00 |
|
Bruno Windels
|
43c082475b
|
unify cancel option for various tiles in menu option
|
2021-05-28 15:27:02 +02:00 |
|
Bruno Windels
|
2b0fa22c8a
|
open menu when clicking ... button on message with delete/cancel option
|
2021-05-28 13:14:55 +02:00 |
|
Bruno Windels
|
63e948fc80
|
change renderMessage fn to base class
as preparation to create menu items in subclasses
|
2021-05-28 12:32:19 +02:00 |
|
Bruno Windels
|
100e056d55
|
style the button
|
2021-05-28 12:22:47 +02:00 |
|