Ajay Bura
1b200eb676
Improve search result counts ( #2221 )
...
* remove limit from emoji autocomplete
* remove search limit from user mention
* remove limit from room mention autocomplete
* increase user search limit to 1000
* better search string selection for emoticons
2025-02-21 19:14:38 +11:00
Ajay Bura
f73dc05e25
add order algorithm in search result
2025-02-19 11:23:32 +05:30
Ajay Bura
56b754153a
redesigned app settings and switch to rust crypto ( #1988 )
...
* rework general settings
* account settings - WIP
* add missing key prop
* add object url hook
* extract wide modal styles
* profile settings and image editor - WIP
* add outline style to upload card
* remove file param from bind upload atom hook
* add compact variant to upload card
* add compact upload card renderer
* add option to update profile avatar
* add option to change profile displayname
* allow displayname change based on capabilities check
* rearrange settings components into folders
* add system notification settings
* add initial page param in settings
* convert account data hook to typescript
* add push rule hook
* add notification mode hook
* add notification mode switcher component
* add all messages notification settings options
* add special messages notification settings
* add keyword notifications
* add ignored users section
* improve ignore user list strings
* add about settings
* add access token option in about settings
* add developer tools settings
* add expand button to account data dev tool option
* update folds
* fix editable active element textarea check
* do not close dialog when editable element in focus
* add text area plugins
* add text area intent handler hook
* add newline intent mod in text area
* add next line hotkey in text area intent hook
* add syntax error position dom utility function
* add account data editor
* add button to send new account data in dev tools
* improve custom emoji plugin
* add more custom emojis hooks
* add text util css
* add word break in setting tile title and description
* emojis and sticker user settings - WIP
* view image packs from settings
* emoji pack editing - WIP
* add option to edit pack meta
* change saved changes message
* add image edit and delete controls
* add option to upload pack images and apply changes
* fix state event type when updating image pack
* lazy load pack image tile img
* hide upload image button when user can not edit pack
* add option to add or remove global image packs
* upgrade to rust crypto (#2168 )
* update matrix js sdk
* remove dead code
* use rust crypto
* update setPowerLevel usage
* fix types
* fix deprecated isRoomEncrypted method uses
* fix deprecated room.currentState uses
* fix deprecated import/export room keys func
* fix merge issues in image pack file
* fix remaining issues in image pack file
* start indexedDBStore
* update package lock and vite-plugin-top-level-await
* user session settings - WIP
* add useAsync hook
* add password stage uia
* add uia flow matrix error hook
* add UIA action component
* add options to delete sessions
* add sso uia stage
* fix SSO stage complete error
* encryption - WIP
* update user settings encryption terminology
* add default variant to password input
* use password input in uia password stage
* add options for local backup in user settings
* remove typo in import local backup password input label
* online backup - WIP
* fix uia sso action
* move access token settings from about to developer tools
* merge encryption tab into sessions and rename it to devices
* add device placeholder tile
* add logout dialog
* add logout button for current device
* move other devices in component
* render unverified device verification tile
* add learn more section for current device verification
* add device verification status badge
* add info card component
* add index file for password input component
* add types for secret storage
* add component to access secret storage key
* manual verification - WIP
* update matrix-js-sdk to v35
* add manual verification
* use react query for device list
* show unverified tab on sidebar
* fix device list updates
* add session key details to current device
* render restore encryption backup
* fix loading state of restore backup
* fix unverified tab settings closes after verification
* key backup tile - WIP
* fix unverified tab badge
* rename session key to device key in device tile
* improve backup restore functionality
* fix restore button enabled after layout reload during restoring backup
* update backup info on status change
* add backup disconnection failures
* add device verification using sas
* restore backup after verification
* show option to logout on startup error screen
* fix key backup hook update on decryption key cached
* add option to enable device verification
* add device verification reset dialog
* add logout button in settings drawer
* add encrypted message lost on logout
* fix backup restore never finish with 0 keys
* fix setup dialog hides when enabling device verification
* show backup details in menu
* update setup device verification body copy
* replace deprecated method
* fix displayname appear as mxid in settings
* remove old refactored codes
* fix types
2025-02-10 16:49:47 +11:00
Marek Vospel
b8d9c4bdd6
Emoji ordering in emoji board ( #2057 )
...
* feat: sort emojis inside emoji picker
* feat: sort autocomplete emojis
Fixes #1632
* fix: sort function after concat
* fix: sort result instead of searchList
2024-12-22 16:11:02 +05:30
Ajay Bura
96df140153
Improve-auth-media ( #1933 )
...
* fix set power level broken after sdk update
* add media authentication hook
* fix service worker types
* fix service worker not working in dev mode
* fix env mode check when registering sw
2024-09-09 14:15:20 +05:30
夜坂雅
c6a8fb1117
Add authenticated media support ( #1930 )
...
* chore: Bump matrix-js-sdk to 34.4.0
* feat: Authenticated media support
* chore: Use Vite PWA for service worker support
* fix: Fix Vite PWA SW entry point
Forget this. :P
* fix: Also add Nginx rewrite for sw.js
* fix: Correct Nginx rewrite
* fix: Add Netlify redirect for sw.js
Otherwise the generic SPA rewrite to index.html would take effect, breaking Service Worker.
* fix: Account for subpath when regisering service worker
* chore: Correct types
2024-09-07 19:15:55 +05:30
Ajay Bura
613e6d6503
Editor Commands ( #1450 )
...
* add commands hook
* add commands in editor
* add command auto complete menu
* add commands in room input
* remove old reply code from room input
* fix video component css
* do not auto focus input on android or ios
* fix crash on enable block after selection
* fix circular deps in editor
* fix autocomplete return focus move editor cursor
* remove unwanted keydown from room input
* fix emoji alignment in editor
* test ipad user agent
* refactor isAndroidOrIOS to mobileOrTablet
* update slate & slate-react
* downgrade slate-react to 0.98.4
0.99.0 has breaking changes with ReactEditor.focus
* add sql to readable ext mimetype
* fix empty editor formatting gets saved as draft
* add option to use enter for newline
* remove empty msg draft from atom family
* prevent msg ctx menu from open on text selection
2023-10-18 07:45:30 +05:30
Ajay Bura
c07905c360
Improve Members Right Panel ( #1286 )
...
* fix room members hook
* fix resize observer hook
* add intersection observer hook
* install react-virtual lib
* improve right panel - WIP
* add filters for members
* fix bug in async search
* categories members and add search
* show spinner on room member fetch
* make invite member btn clickable
* so no member text
* add line between room view and member drawer
* fix imports
* add screen size hook
* fix set setting hook
* make member drawer responsive
* extract power level tags hook
* fix room members hook
* fix use async search api
* produce search result on filter change
2023-06-22 09:14:50 +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