Ajay Bura
41f67cabc0
Add editor history ( #1284 )
...
* add slate editor history
* reset mark on editor reset
2023-06-16 11:11:03 +10:00
Ajay Bura
bc5e7445d9
Add ESC btn to toolbar to quickly exit formatting ( #1283 )
...
* Add ESC btn to toolbar to quickly exit formatting
* add horizontal scroll to toolbar item
* make editor toolbar usable in touch device
* fix editor hotkeys not working in window
* remove unused import
2023-06-16 11:09:09 +10:00
Ajay Bura
2883b4c35b
Fix editor bugs ( #1281 )
...
* focus editor on reply click
* fix emoji and sticker img object-fit
* fix cursor not moving with autocomplete
* stop sanitizing sending plain text body
* improve autocomplete query parsing
* add escape to turn off active editor toolbar item
2023-06-13 23:17:18 +05:30
Ajay Bura
0b06bed1db
Refactor state & Custom editor ( #1190 )
...
* Fix eslint
* Enable ts strict mode
* install folds, jotai & immer
* Enable immer map/set
* change cross-signing alert anim to 30 iteration
* Add function to access matrix client
* Add new types
* Add disposable util
* Add room utils
* Add mDirect list atom
* Add invite list atom
* add room list atom
* add utils for jotai atoms
* Add room id to parents atom
* Add mute list atom
* Add room to unread atom
* Use hook to bind atoms with sdk
* Add settings atom
* Add settings hook
* Extract set settings hook
* Add Sidebar components
* WIP
* Add bind atoms hook
* Fix init muted room list atom
* add navigation atoms
* Add custom editor
* Fix hotkeys
* Update folds
* Add editor output function
* Add matrix client context
* Add tooltip to editor toolbar items
* WIP - Add editor to room input
* Refocus editor on toolbar item click
* Add Mentions - WIP
* update folds
* update mention focus outline
* rename emoji element type
* Add auto complete menu
* add autocomplete query functions
* add index file for editor
* fix bug in getPrevWord function
* Show room mention autocomplete
* Add async search function
* add use async search hook
* use async search in room mention autocomplete
* remove folds prefer font for now
* allow number array in async search
* reset search with empty query
* Autocomplete unknown room mention
* Autocomplete first room mention on tab
* fix roomAliasFromQueryText
* change mention color to primary
* add isAlive hook
* add getMxIdLocalPart to mx utils
* fix getRoomAvatarUrl size
* fix types
* add room members hook
* fix bug in room mention
* add user mention autocomplete
* Fix async search giving prev result after no match
* update folds
* add twemoji font
* add use state provider hook
* add prevent scroll with arrow key util
* add ts to custom-emoji and emoji files
* add types
* add hook for emoji group labels
* add hook for emoji group icons
* add emoji board with basic emoji
* add emojiboard in room input
* select multiple emoji with shift press
* display custom emoji in emojiboard
* Add emoji preview
* focus element on hover
* update folds
* position emojiboard properly
* convert recent-emoji.js to ts
* add use recent emoji hook
* add io.element.recent_emoji to account data evt
* Render recent emoji in emoji board
* show custom emoji from parent spaces
* show room emoji
* improve emoji sidebar
* update folds
* fix pack avatar and name fallback in emoji board
* add stickers to emoji board
* fix bug in emoji preview
* Add sticker icon in room input
* add debounce hook
* add search in emoji board
* Optimize emoji board
* fix emoji board sidebar divider
* sync emojiboard sidebar with scroll & update ui
* Add use throttle hook
* support custom emoji in editor
* remove duplicate emoji selection function
* fix emoji and mention spacing
* add emoticon autocomplete in editor
* fix string
* makes emoji size relative to font size in editor
* add option to render link element
* add spoiler in editor
* fix sticker in emoji board search using wrong type
* render custom placeholder
* update hotkey for block quote and block code
* add terminate search function in async search
* add getImageInfo to matrix utils
* send stickers
* add resize observer hook
* move emoji board component hooks in hooks dir
* prevent editor expand hides room timeline
* send typing notifications
* improve emoji style and performance
* fix imports
* add on paste param to editor
* add selectFile utils
* add file picker hook
* add file paste handler hook
* add file drop handler
* update folds
* Add file upload card
* add bytes to size util
* add blurHash util
* add await to js lib
* add browser-encrypt-attachment types
* add list atom
* convert mimetype file to ts
* add matrix types
* add matrix file util
* add file related dom utils
* add common utils
* add upload atom
* add room input draft atom
* add upload card renderer component
* add upload board component
* add support for file upload in editor
* send files with message / enter
* fix circular deps
* store editor toolbar state in local store
* move msg content util to separate file
* store msg draft on room switch
* fix following member not updating on msg sent
* add theme for folds component
* fix system default theme
* Add reply support in editor
* prevent initMatrix to init multiple time
* add state event hooks
* add async callback hook
* Show tombstone info for tombstone room
* fix room tombstone component border
* add power level hook
* Add room input placeholder component
* Show input placeholder for muted member
2023-06-12 16:45:23 +05:30
Thumbscrew
2055d7a07f
add document.hasFocus check for incoming room events ( #1252 )
2023-05-28 21:24:10 +05:30
Ajay Bura
da92ce3a46
fix: spoiler hidden link click ( #1199 )
2023-04-16 22:22:01 +10:00
Bo
dcad1840c4
fix: Fixed small typo an cross signing reset modal ( #1112 )
2023-03-30 20:12:33 +05:30
Ajay Bura
e5e3f5f0a3
Add jsdelivr cdn for twemoji
2023-01-14 18:51:42 +05:30
Ajay Bura
759f16d5b9
Fix crash on space leave
2022-09-28 18:17:15 +05:30
Ajay Bura
d0ddedc2b2
Wrap view source text
2022-09-28 13:54:58 +05:30
Ajay Bura
c1be57b205
Add clear cache btn in loading screen
2022-09-17 15:48:45 +05:30
morguldir
4848bef0dd
Add Clear cache and reload button ( #793 )
...
Inspired by: 3c5c2bef6d/src/components/views/elements/ErrorBoundary.tsx (L61-L68)
Signed-off-by: morguldir <morguldir@protonmail.com>
Signed-off-by: morguldir <morguldir@protonmail.com>
2022-09-17 13:21:22 +05:30
ginnyTheCat
15c1f6dadf
Allow rendering messages as plaintext ( #805 )
...
* Parse room input from user id and emoji
* Add more plain outputs
* Add reply support
* Always include formatted reply
* Add room mention parser
* Allow single linebreak after codeblock
* Remove margin from math display blocks
* Escape shrug
* Rewrite HTML tag function
* Normalize def keys
* Fix embedding replies into replies
* Don't add margin to file name
* Collapse spaces in HTML message body
* Don't crash with no plaintext rendering
* Add blockquote support
* Remove ref support
* Fix image html rendering
* Remove debug output
* Remove duplicate default option value
* Add table plain rendering support
* Correctly handle paragraph padding when mixed with block content
* Simplify links if possible
* Make blockquote plain rendering better
* Don't error when emojis are matching but not found
* Allow plain only messages with newlines
* Set user id as user mention fallback
* Fix mixed up variable name
* Replace replaceAll with replace
2022-09-14 14:30:06 +05:30
ginnyTheCat
0a2cca6e40
Change UI label ( #832 )
2022-09-11 16:44:39 +05:30
Ajay Bura
bca00f46a9
Add plain text command
2022-09-11 12:18:32 +05:30
Ajay Bura
5848c02d50
Remove markdown icon from input
2022-09-11 09:19:22 +05:30
Ajay Bura
29ddcfa1f9
Update command strings
2022-09-11 08:27:59 +05:30
Ajay Bura
b8a8babc88
Fix emojiboard icon background
2022-09-07 13:24:26 +05:30
Ajay Bura
4a35aa7272
Fix crash in manage device
2022-09-07 13:14:15 +05:30
Ajay Bura
790bf5eac3
Fix wrong notification count
2022-09-06 14:22:56 +05:30
Ajay Bura
8583ab19f0
Manage ignored users ( #814 )
...
* Add options to display/ignore usersId's
* Update string
* Hide search icon in encrypted rooms (#763 )
* Fix styles
2022-09-05 08:30:45 +05:30
Ajay Bura
584fa87bbd
Notification settings ( #807 )
...
* Add account data hook
* Add options to change global notification
* Add options to add keywords
* Fix wrong notification count
* Show unread badge in favicon (#251 )
* Fix favicon badge
* Fix bug
* Fix favicon not updating
* Add favicon svg's
* remove dead code
2022-09-04 13:10:07 +05:30
Ajay Bura
ac155bbf4c
Fix commands ( #791 )
...
* Fix commands and added more
* Add /me & /shrug commands
* Add help command
* Fix cmd descriptions
* Add reason in command
2022-09-03 21:46:40 +05:30
jameskitt616
33949dbdb1
Implement cancel replyto on escape key press ( #777 )
2022-08-27 08:21:41 +05:30
Ajay Bura
b3bff6b43f
Edit last message with up arrow key ( #774 )
2022-08-21 19:41:48 +05:30
Ajay Bura
82fb243ffe
Fix room not selecting with bad emoji data ( #772 )
2022-08-20 21:07:20 +05:30
Ajay Bura
7e28aa1474
Update sidebar on room/space switch ( #768 )
...
* Select last room on space/tab change (#353 )
* Update sidbar on room select from search (#374 )
* Select last room on space/tab change (#353 )
* Update sidbar on room select from search (#374 )
* Fix wrong space gets selected with some rooms
* Fix auto select room in categorized space
* Fix room remain selected on leave
* Fix leaved room appear in category & search
* Remove globally exposed vars
* Hide pin spaces from home
* Fix selecting dm always open dm tab
* Order category by AtoZ (#769 )
Co-authored-by: Krishan <33421343+kfiven@users.noreply.github.com>
2022-08-20 20:51:37 +05:30
Ajay Bura
2f2680be3c
Fix minor css bugs
2022-08-19 13:57:24 +05:30
Andrew Morgan
af69955801
Fix grammar of read receipt text ( #744 )
...
'other' should be plural in this context.
2022-08-12 16:03:56 +05:30
Ajay Bura
0cf5aac591
Fix emoji board style
2022-08-11 16:31:02 +05:30
Ajay Bura
1da3d252e8
Add navigation bar to sticker board
2022-08-11 16:13:53 +05:30
anyone00
96b22eb557
Support RTL text in the input fields ( #720 )
...
* Support RTL text in the room input field
set the correct direction for text according to the language written in
* Make all input RTLable
Co-authored-by: Krishan <33421343+kfiven@users.noreply.github.com>
2022-08-07 14:41:56 +05:30
Ajay Bura
c6812b5b11
Reset read receipt on sending sticker
2022-08-06 12:50:23 +05:30
ginnyTheCat
21726b63f8
Show full timestamp on hover ( #714 )
...
* Show full timestamp on hover
* Not always display time
* Always show full timestamp in search
2022-08-06 09:35:56 +05:30
Ajay Bura
edace32213
Custom emoji & Sticker support ( #686 )
...
* Remove comments
* Show custom emoji first in suggestions
* Show global image packs in emoji picker
* Display emoji and sticker in room settings
* Fix some pack not visible in emojiboard
* WIP
* Add/delete/rename images to exisitng packs
* Change pack avatar, name & attribution
* Add checkbox to make pack global
* Bug fix
* Create or delete pack
* Add personal emoji in settings
* Show global pack selector in settings
* Show space emoji in emojiboard
* Send custom emoji reaction as mxc
* Render stickers as stickers
* Fix sticker jump bug
* Fix reaction width
* Fix stretched custom emoji
* Fix sending space emoji in message
* Remove unnessesary comments
* Send user pills
* Fix pill generating regex
* Add support for sending stickers
2022-08-06 09:04:23 +05:30
ginnyTheCat
5e527e434a
Fix shortcuts on non QWERTY keyboards ( #715 )
...
* Use key instead of keyCode or code
* Use key for Escape
2022-08-05 19:12:25 +05:30
Ajay Bura
5c0eb20cb4
Follow system theme by default
2022-07-09 18:08:35 +05:30
Krishan
47e6527b0e
Don't enable e2ee from profileViewer for bridge users ( #666 )
2022-07-08 20:24:35 +05:30
ginnyTheCat
06a4e0c93b
Add emoji name fallback ( #658 )
2022-06-29 18:19:43 +05:30
Ajay Bura
7165bd91cd
Don't show verify button if CS is not enable
2022-05-29 09:47:30 +05:30
Ajay Bura
d3431a5d53
Fix emoji autocomplete in some cases ( #565 )
2022-05-29 09:36:46 +05:30
Ajay Bura
5863dcdf67
Fix join with alias ( #533 )
2022-05-11 20:56:49 +05:30
Ajay Bura
7525bb78e5
Fix emoji verificaition not working with some client
2022-05-08 12:26:31 +05:30
Ajay Bura
2075a572fe
Fixed cinny verified device failed to verify other
2022-05-08 11:55:41 +05:30
Ajay Bura
73723ba6ba
Fix own cross siging trust before verification without key #514
2022-05-07 09:50:29 +05:30
Ajay Bura
931f352873
Fix space path visible in DM's
2022-05-05 19:58:16 +05:30
Ajay Bura
3372fb6f74
Fix public room showing leaved room as joined
2022-05-04 14:54:43 +05:30
Ajay Bura
bc856269ff
Merge branch 'dev' of https://github.com/ajbura/cinny into dev
2022-05-04 14:22:20 +05:30
Ajay Bura
06bae231ef
Fix bugs in dm tab
2022-05-04 14:22:16 +05:30
Rubin Elezi
65a0edc3a6
Don't enable e2ee for bridged platform ( #476 )
...
* Don't enable e2ee for bridged platform
* remove comments
* Change function name
Co-authored-by: Ajay Bura <32841439+ajbura@users.noreply.github.com>
2022-05-04 10:58:30 +05:30