Commit graph

852 commits

Author SHA1 Message Date
Ajay Bura
387f6bcad4 Fix font-variant-ligatures
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-12-31 10:08:29 +05:30
Ajay Bura
0b43431543 Temp EmojiBoard performance improved
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-12-30 16:37:11 +05:30
Ajay Bura
34862f9ace Fix EmojiBoard styling
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-12-30 14:17:55 +05:30
Ajay Bura
cd465ca35a Fix default checkbox size
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-12-30 12:47:25 +05:30
Ajay Bura
93251e0029 Show pack icon or first emoji as fallback in EmojiBoard sidebar
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-12-30 12:46:48 +05:30
Ajay Bura
c2402ddb72 Add isImage prop in RawIcon
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-12-30 12:44:14 +05:30
Ajay Bura
d3dcb320f4 Add checkbox component
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-12-30 11:37:18 +05:30
Emi
fd9f734de1
Add custom emoji to emoji board (#210)
* Display custom emoji in picker

Adds a single category at the start of the emoji picker to display the user's custom emoji

* Show any amount of custom emoji packs in the Emoji Board

* Use thumbnails in emoji picker + mark as emoji

* Fix emoji picker stretching when too many packs are available

* Sprinkle in a few comments for good measure

* Remove emoji-less packs from the emoji picker
2021-12-30 09:32:49 +05:30
Emi
9ea9bf4035
Add support for sending room-local emoji (#209)
* Add support for sending room-local emoji

Does not add support for sending a room's emoji outside of that room, but enables users to
send an emoji if the packs in a room support it.  Does not include room emoji in the
picker YET.

* Amend PR #209: Don't freak out if the `pack` tag is missing

* Amending PR:  Refactor emojifier, use better method for retrieving packs

* Amending PR:  Improve resiliance to bad data in emoji state events

* Amend PR: Remove redundant code, fix crash on edit
2021-12-29 09:56:17 +05:30
Ajay Bura
f9b70d65d8 Fix message formatting
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-12-28 10:54:46 +05:30
Emi
90621bb1e3
Add support for sending user emoji using autocomplete (#205)
* Add support for sending user emoji using autocomplete

What's included:
- An implementation for detecting user emojis
- Addition of user emojis to the emoji autocomplete in the command bar
- Translation of shortcodes into image tags on message sending

What's not included:
- Loading emojis from the active room, loading the user's global emoji packs, loading emoji from spaces
- Selecting custom emoji using the emoji picker

This is a predominantly proof-of-concept change, and everything here may be subject to
architectural review and reworking.

* Amending PR:  Allow sending multiple of the same emoji

* Amending PR:  Add support for emojis in edited messages

* Amend PR:  Apply requested revisions

This commit consists of several small changes, including:
- Fix crash when the user doesn't have the im.ponies.user_emotes account data entry
- Add mx-data-emoticon attribute to command bar emoji
- Rewrite alt text in the command bar interface
- Remove "vertical-align" attribute from sent emoji

* Amending PR:  Fix bugs (listed below)

- Fix bug where sending emoji w/ markdown off resulted in a crash
- Fix bug where alt text in the command bar was wrong

* Amending PR:  Add support for replacement of twemoji shortcodes

* Amending PR: Fix & refactor getAllEmoji -> getShortcodeToEmoji

* Amending PR: Fix bug: Sending two of the same emoji corrupts message

* Amending PR:  Stylistic fixes
2021-12-28 08:59:39 +05:30
Emi
6ff339b552
Use jumbo emoji for short emoji-only messages (#207)
* Display messages containing only <7 emoji bigger

* Amending PR: Address mentioned concerns

This fixes several concerns raised during the PR review process.  A summary of the changes
implemented is below:
- Size jumbo emoji using the text-h1 class, instead of hardcoding a size
- Increase the emoji limit to 10
- Re-wrap m.text messages in a p tag, fixing a bug where newlines were lost
2021-12-27 10:24:07 +05:30
Ajay Bura
9854f4eb2d Make contributing guideline short and simple
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-12-26 20:15:07 +05:30
Ajay Bura
d46b046f2d Adjust drawer width in small screen
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-12-26 16:16:58 +05:30
Ajay Bura
d02e8dcd4e Add optoins to change room visibility
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-12-26 15:34:20 +05:30
Ajay Bura
07b1fe8e47 Add separate icon for public rooms and spaces
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-12-26 11:26:41 +05:30
Ajay Bura
7c368ae029 Fix spolier click not working on some browser
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-12-25 12:26:20 +05:30
Ajay Bura
d6b5f92d6c Add GeneralSettings component
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-12-24 15:09:58 +05:30
Ajay Bura
2b70a49e09 Refactor RoomOptions component
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-12-24 15:09:11 +05:30
Ajay Bura
8cfa20be1e Add RoomNotification component
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-12-24 15:08:16 +05:30
Ajay Bura
246f6caf20 Add disable prop in IconButton and MenuItem
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-12-24 15:05:56 +05:30
Ajay Bura
7750366654 Fix RadioButton style
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-12-24 15:03:57 +05:30
Ajay Bura
0f963a93f1 Fix twemoji scaling
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-12-24 10:18:07 +05:30
Ajay Bura
ea5b63af18 Add RadioButton component
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-12-23 17:09:09 +05:30
Ajay Bura
5e89675c9c Auto update room profile on change
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-12-23 10:03:20 +05:30
Ajay Bura
5777c1ab27 Add RoomSettings comp
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-12-22 20:18:32 +05:30
Ajay Bura
8eda0aeab3 Add room profile comp
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-12-22 20:17:01 +05:30
Ajay Bura
23c430fadc Add tabs comp
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-12-21 18:34:13 +05:30
daemonspring
aa423cfa5b
Removed mixin that was wiping out existing padding (#196)
Line 335 already gives blockquotes their padding. The mixin explicitly sets the right padding back to 0 and the left padding to exactly what it was already set to.
2021-12-20 13:47:38 +05:30
Ajay Bura
eb753a3f32 v1.6.1
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-12-19 20:33:52 +05:30
Ajay Bura
4a300a3cb2 Fix people search icon displacement
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-12-19 20:32:47 +05:30
Ajay Bura
c4e16418e0 Open settings on sidebar user profile click
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-12-19 20:05:13 +05:30
Ajay Bura
27e7a67a9a Separate jump to unread & mark as read
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-12-19 19:37:38 +05:30
Ajay Bura
ce9f140ddf Refector sass
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-12-19 10:28:41 +05:30
Ajay Bura
85c3240b54 Fix theme
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-12-18 10:10:23 +05:30
Ajay Bura
9c12e11375 Fix read receipt count
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-12-17 17:22:38 +05:30
Ajay Bura
630dbee817 Fix theme
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-12-17 11:32:21 +05:30
Ajay Bura
18dc02c700 Fix mxid colors for dark theme
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-12-16 18:39:44 +05:30
Ajay Bura
3d7e509f9a Localize fonts
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-12-16 17:55:16 +05:30
Ajay Bura
ed27e6b8e4 Fix dark theme color
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-12-15 21:43:23 +05:30
Ajay Bura
631ce7645f Fix msg timeline keep scrolling when not in focus
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-12-15 17:26:22 +05:30
Ajay Bura
181382b2b7 Fix show msg header after new msgs divider
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-12-15 17:05:45 +05:30
Ajay Bura
ca15e69ae0 Fix multiple new message indicator
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-12-14 20:47:01 +05:30
Ajay Bura
ba64ba0bd0 Fix dialog closing animation jank
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-12-14 17:26:32 +05:30
Ajay Bura
1df4d32d69 Fix reaction not active
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-12-14 16:23:41 +05:30
Ajay Bura
5d380453a4 Bugs fixed
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-12-13 21:18:23 +05:30
Ajay Bura
ba629f1764 v1.6.0
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-12-13 21:12:42 +05:30
Ajay Bura
f2edcaff85 Updated olm -> v3.2.8, matrix-js-sdk -> v15.2.1
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-12-13 21:07:15 +05:30
Ajay Bura
6d358d4087 Bugs fixed
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-12-13 21:05:37 +05:30
Ajay Bura
46dd50a744 Fix hide auto fill suggestions on msg send
Signed-off-by: Ajay Bura <ajbura@gmail.com>
2021-12-13 19:38:11 +05:30