Commit Graph

7077 Commits

Author SHA1 Message Date
Pascal Precht 054ad18532 feat: add authentication modal to join commmunity view
Users that request access to community that are token permissioned
need to authenticate and enter their password, so they can reveal
their wallet addresses
2023-03-23 14:28:31 +01:00
Pascal Precht 5e965bcbb7 refactor: make accepting member requests to join async
This is necessary because with community token permissions, when owners
manually accept a request, we a) don't want to block the UI when the
users funds are check on chain and b) in case of insufficient funds,
we'll react with a modal that tells the owner that the user can't be
accepted.

All of that is done in this commit.
2023-03-23 14:11:04 +01:00
Jakub Sokołowski f39dfa87f7 move qzxing and SortFilterProxyModel to vendor folder
Lets avoid creating chaos by having multiple vendor folders.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-03-23 12:09:19 +01:00
Jonathan Rainville ff5c618c82 fix(AC): fix store so that community request buttons work in the AC
Fixes #9988
2023-03-23 11:39:46 +01:00
Alex Jbanca ee5e72b088 fix(HoldingsDropdown): Add basic focus management and keyboard support
Closing #9967

When Holdings dropdown is open, activate focus to searcher in assets and collectibles. Changes focus to ENS input in case ENS tab is active.
In Holdings dropdown, when ENS tab is active and Add button is enabled, pressing enter key should behave same than clicking on the button itself.
In Holdings dropdown, when one asset or collectible has been selected, activate focus in the amount input, then when Add button is enabled, pressing enter key should behave same than clicking on the button itself.
2023-03-23 12:24:05 +02:00
Alex Jbanca f18ceff600 fix(StatusInput): forward focus to the input component 2023-03-23 12:24:05 +02:00
Alex Jbanca ad8ce70e09 fix(StatusBaseInput): forward focus to the input component and send signals on Enter/Return pressed 2023-03-23 12:24:05 +02:00
Pascal Precht 858b53979a fix(tokenService): ensure token address map is properly initialized
Nim didn't complain, but the data was being "swallowed" resulting in
a broken asset list in the permissions view.
2023-03-23 08:35:20 +01:00
Alex Jbanca 7e9e3ee252 fix(HoldingsDropdown): Implement dynamic height 2023-03-23 09:29:19 +02:00
Noelia 66c32395fd feat(MintToken): Disabled token holders panel until backend ready
Disabled token holders panel until backend ready - Milestone 12
2023-03-23 08:24:45 +01:00
Noelia 87f86855eb feat(storybook): Added storybook support for `StatusEmojiAndColorComboBox` component
Added storybook support for new component.
2023-03-23 08:24:45 +01:00
Noelia f691c85127 feat(MintToken) Add select wallet account option
- Added accounts selector in `Create new token` page.
- Added account name box in `Preview` page.
- Updated `storybook` with new account data.
- Updated `deployCollectible` method call account address property.

Closes #9842
2023-03-23 08:24:45 +01:00
Noelia 87f42e6074 fix(MintToken): Preview dark mode boxes color
Fixed dark mode boxes color in collectibles preview.
2023-03-23 08:24:45 +01:00
Noelia c6517c00f3 feat(SQ/StatusEmojiAndColorComboBox): Created new component
Created new `StatusEmojiAndColorComboBox` component that behaves like a combobox but with specific content item and delegate look (emoji + color + text).
2023-03-23 08:24:45 +01:00
Noelia b4355f8003 feat(SQ/StatusComboBox): Added new variant
Added variants related to type and size.
2023-03-23 08:24:45 +01:00
Igor Sirotin 2d22f2f09a
fix(Syncing): Fixed changing device name (#9921) 2023-03-23 10:21:44 +11:00
Lukáš Tinkl 3b2a8f4253 fix: Status taskbar button and the Status window title bar are missing
... the Status icon in OS Windows 10 (new regression in 0.10)

fix a fatal typo when refactoring to use `main_constants.IS_MACOS` :)

Fixes #9791
2023-03-22 23:37:38 +01:00
Anthony Laibe 9af1734c6a fix(@wallet): inifinite load tx
fixes #9960
2023-03-22 20:45:20 +01:00
Jonathan Rainville 964aa7ebc9 refactor(community): make community data calls async
Fixes #9825
2023-03-22 15:13:19 -04:00
Jonathan Rainville fee9b31a88 chore(Community): remove unused popups 2023-03-22 15:13:19 -04:00
Jonathan Rainville 3008e56455 fix(chat_section): fix link activation for channels inside categories
Fixes #9974
2023-03-22 13:26:20 -04:00
mprakhov 417f206d4d fix(@desktop/communities): remove chat_section data if user left the community 2023-03-22 17:31:16 +01:00
Michal Iskierko 8d97203a85 chore(@desktop): Upgrade status-go
Fix #9866
2023-03-22 15:08:02 +01:00
Michal Iskierko 50f64919be fix(@desktop/community): Convert community token image to base64 format
Fix #9866
2023-03-22 15:08:02 +01:00
Michał Cieślak 0bb28f564d fix(CommunityNewPermissionView): Proper size of icon in "Who holds" selector 2023-03-22 14:57:58 +01:00
Michał Cieślak d219d32b72 feat(CommunityPermissions): Limit of 5 permissions for "Become member" permission type
Closes: #9536
2023-03-22 14:57:58 +01:00
Michał Cieślak 083bea0954 fix(CommunityNewPermissionView): proper color of icons in "Is allowed to" section
Closes: #9280
2023-03-22 14:57:58 +01:00
Alex Jbanca 9c1053c61a Chore: Bump status-go 2023-03-22 15:20:07 +02:00
Alex Jbanca 70143de98a Chore: Bump QR-Code-generator 2023-03-22 15:20:07 +02:00
Alex Jbanca 78052242b6 chore: Bump status-keycard-go 2023-03-22 15:20:07 +02:00
Alex Jbanca 4ccdcdf44e chore: Add Apple silicon support 2023-03-22 15:20:07 +02:00
Lukáš Tinkl eecaa0c7b9 fix(StatusEmojiReactions): Text in own reactions has wrong color in dark mode
always use "white on blue"

Fixes #9944
2023-03-22 12:31:11 +01:00
Ivan Belyakov 36940cc81e fix(@desktop/wallet): update tests to remove wallet activation 2023-03-22 10:39:59 +03:00
Ivan Belyakov 02ebc8744c feat(@desktop/wallet): remove isWalletEnabled from local settings and
use ENABLE_WALLET env instead
2023-03-22 10:39:59 +03:00
Ivan Belyakov ee3d92c12b feat(@desktop/wallet): enable wallet by default 2023-03-22 10:39:59 +03:00
mprakhov 8d955265dc fix(@desktop/sections): do not unload chat and communities sections during the switching between the sections 2023-03-21 16:44:40 +01:00
Pascal Precht 8ef495c604 feat: add `decimals` to token criteria
We need to store the `decimals` of a given critera so they can be used
by the backend for calculation
2023-03-21 15:55:09 +01:00
Jonathan Rainville 2d2929872e refactor: add parsedText to message_item to parse msg on mention change 2023-03-21 10:09:51 -04:00
Jonathan Rainville 0ebc81594a refactor: reduce calls to getMessageById and remove calls for reactions
Fixes #9859

getMessageById was called way too often, because each time a contact was updated, we called it on every message that contained a mention. Now we only call it on messages that contain a mention from that specific user.

Also, we called emojiReactionsByChatIDMessageID as part of that service call, but only the pinned message used it, so I removed it from the service function. This means that the pinned messages will no longer have the emoji reactions. I could add them back if we really want, but IMO, it's not really necessary. You can just click on the message and see it in the chat instead.

I removed the call to `getMessageById` in the activity center as well, since we can get the replied message info from the MessageDto directly now.

I also removed some dead code in the messages module.
2023-03-21 10:09:51 -04:00
Pascal Precht cc1a89efef fix(JoinCommunityView): update amIMember state when kicked and joined
Also add handlers to JoinCommunityView for requesting and cancelling
requests. These will be extended in follow up commits to included
authentication modals
2023-03-21 12:16:53 +01:00
Michał Cieślak bef14365aa chore(StatusItemSelector): Use StatusFlowSelector as a base component
Closes: #9851
2023-03-21 11:59:12 +01:00
Michał Cieślak 7df80bfa1c StatusQ: StatusFlowSelector added 2023-03-21 11:59:12 +01:00
Michał Cieślak 347da1e007 StatusGroupBox used as a base for StatusItemSelector 2023-03-21 11:59:12 +01:00
Michał Cieślak 840ebbe1eb feat(StatusQ): StatusGroupBox component added 2023-03-21 11:59:12 +01:00
Michał Cieślak 0db5790f76 chore(Storybook): StatusItemSelectorPage moved from Sandbox to Storybook 2023-03-21 11:59:12 +01:00
Michał Cieślak 47cb1810b6 chore(Storybook): StatusDotsLoadingIndicator page simplified 2023-03-21 11:59:12 +01:00
Igor Sirotin 0689a8f386
fix(Syncing): Fixed synced devices list UI bugs (#9929)
* Added online badge to device delegates
* Fixing device last timestamp processing
* Synced devices sorting - current device is always first
* Devices list scrolling fixes
* Fix device list duplication
* Hide online badge for "Synced device" subtitle
2023-03-21 16:10:06 +11:00
Michał Cieślak 4e3263fddd chore(PermissionsDropdown): Temporarily hide channel-level permissions from the dropdown
Closes: #9537
2023-03-20 23:13:52 +01:00
Dario Gabriel Lipicar 842e4565bd feat(@desktop/wallet): add support for collectible "watched contracts". Re-fetch collectibles periodically.
Fixes #9856
2023-03-20 12:42:32 -03:00
Alex Jbanca 240fbfab60 fix(CommunityPermissionsSettingsPanel): Fix height and width for permissions views
Fixing: https://github.com/status-im/status-desktop/issues/9765
2023-03-20 10:55:05 +02:00