Commit Graph

2055 Commits

Author SHA1 Message Date
Noelia 8ae2d29a1c feat(MintToken): Use `contractUniqueKey` instead of index
Updated minting flow to use `contractUniqueKey` instead of `index`.

Closes #10765
2023-06-02 13:15:34 +02:00
Noelia 86a0e8b9ec feat(MintAssets): Update minted tokens view with assets
- Added assets list UI.
- Added shape rectangle for empty lists.
- Added filter by asset / by collectible
- Updated storybook accordingly.
- Added flow to open token view depending on type

Closes #10625
2023-06-02 13:15:34 +02:00
Jonathan Rainville ceb810e63d fix(contacts): fix inconsistency when banning or unbanning contact
Fixes #10501

The problem was that didn't have access to the updated contact from status-go after banning or unbanning, so we just changed the banned property, but there is more that gets changed in the backend, like `removed` being set to `true` as well.
With this fix, when you unban someone, you go back to a fresh start, as **non** contact, so you need to send a request again. That was the state you got if you restarted the app, so "re-sync" the state with status-go.
Another issue was on the frontend (QML). When banned,  and after restarting to get the right state, the unban button would be disabled and the Add contact request button would show, which is not good. We only want to send requests when unbanned.
2023-06-01 14:25:20 -04:00
Jonathan Rainville fa656c9535 feat(NewChat): open contact popup when pasting key of user in request
Fixes #9736

When pasting the chat key of a user to whom you already sent a request to, but for which they haven't answered yet, we open the popup instead of doing nothing.
If you paste the chat key of a user you are not a contact at all and sent no request, it opens the contact request popup as before.
Also, same as before, if you paste the key of a mutual contact, their name will show in the suggestion list.
2023-06-01 10:51:39 -04:00
Igor Sirotin 7eed470829
fix(StatusScrollView): Change implementation to inherit ScrollView (#10789) 2023-05-31 23:58:23 +03:00
Jonathan Rainville 7d0a77ef0d chore(links): update to use the new external link format
Fixes #10777
2023-05-31 10:36:08 -04:00
Michal Iskierko 4c29343a4a feat(@desktop/communities): Add self-destruct tokens functionality
Issue #10052
2023-05-31 12:43:36 +02:00
Noelia 9f8275ce5c feat(MintAssets): Create mint assets flow
It creates mint assets flow:
- Preview integrated.
- Mint call and sign transaction popup added.

Closes #10624

a
2023-05-31 08:18:26 +02:00
Noelia 775a93e82c feat(MintAssets): Created preview assets page
- Updated `CommunityTokenView` with assets design.
- Updated storybook to test assets design.

Part of #10624
2023-05-31 08:18:26 +02:00
Noelia 00bdb0ff15 feat(storybook): Added option in `CommunityNewTokenView` to switch between collectibles and assets
It is now possible to visualise collectibles or assets flow in the storybook page.
2023-05-31 08:18:26 +02:00
Noelia 992e1e6b13 feat(MintTokens): Renamed preview collectible view to token generic naming
`CommunityCollectibleView` is now renamed to `CommunityTokenView` since it will manage collectibles but also assets.
2023-05-31 08:18:26 +02:00
Boris Melnik 91bdb5824b feat(mute): Adds intervals for muting channels and chats
Part of: #9369
2023-05-30 16:43:48 +03:00
Boris Melnik 92a9c41238 fix(invitation-bubble): Adds loading state for unfurling links
Fixes: #10422
2023-05-25 12:33:54 +03:00
Noelia 2f5a76db02 feat(MintTokens): Renamed new collectible view to token generic naming
`CommunityNewCollectibleView` is now renamed to `CommunityNewTokenView` since it manages collectibles and assets.
2023-05-25 11:11:44 +02:00
Noelia dbc3effe94 feat(MintTokens): Added validation rules in `CommunityNewCollectiblesView` page
Added new validation rules for name, description, symbol, supply and decimal fields according to new design.

Closes #10623
2023-05-25 11:11:44 +02:00
Noelia 6abb9f0063 feat(MintAssets): Create new asset page / flow
- Added tabs.
- Updated pages with new entries.

Part of #10623
2023-05-25 11:11:44 +02:00
Alexandra Betouni 06b4b28145 [CommunityPermissions]: Added drag/drop image panel as per new design
Closes #10609
2023-05-24 20:31:10 +03:00
Noelia 12faa752bd feat(MintToken): Implement UI burn footer option
- Burn footer option enabled.
- Integrated `BurnTokensPopup` in mint tokens flow.
- Integrated `SignTokenTransaction` in burn flow (added needed signals to interact with backend).

Closes #10050
2023-05-24 17:17:40 +02:00
Noelia c50de310db feat(MintToken): Renamed sign transaction popup to a more generic name
`SignMintTokenTransactionPopup` to `SigntokenTransactionsPopup`.
2023-05-24 17:17:40 +02:00
Noelia a366e96999 feat(MintTokens): Created `BurnTokensPopup`
- Created new popup.
- Added validation.
- Added header image component.
2023-05-24 17:17:40 +02:00
Boris Melnik 0ba7f1d609 feat(communities): Makes requestToJoinCommunity async
Fixes: #10719
2023-05-23 07:33:44 -04:00
Igor Sirotin 5ff4b5a435
fix(MessageContextMenu): Cleanup. Separate menu for profile. (#10729) 2023-05-19 19:07:50 +03:00
Noelia 92f77e5fd9 feat(MintTokens): Add mint failure flow
- It updates `CommunityCollectibleView` to display minting failure state.
- It updates `CommunityMintedTokensView` to display minting failure state.
- It exposes subtitle color property in `CollectibleView`.
- It updates `storybook` with more options to display minting failure state.

Closes #10620
2023-05-18 17:06:25 +02:00
Noelia 6e2d552220 feat(MintToken/RemoteDestruct): Added animation when `remotely destroy` process is in progress
- Added property `remotelyDestructState` and `burnState` in `CommunityCollectibleView`.
- Added `fire` and `loading` icons while destruct/burn is in progress.
- Added short animation when destruct/burn process is completed.
- Renamed `Constants.DeployState` to `Constants.BackendProcessState`, more generic one that can be used for different processes.
- Updated `storybook` with new options to test animation.

Closes #10603
2023-05-18 15:28:44 +02:00
Noelia 7aaf8fcec2 feat(MintToken/RemoteDestruct): Review and update remote self destruct flow
Updated strings and renamed files.

Part of #10603
2023-05-18 15:28:44 +02:00
Anastasiya S 464110a2db tst(tst_communityMintTokens): Mint Tokens welcome screen 2023-05-18 16:04:39 +03:00
Noelia cd4ddb5a06 fix(Airdrop): Navigation from community settings overview to airdrop option enabled
Fixes #10659
2023-05-17 11:13:07 +02:00
Boris Melnik e34d28f881 fix(member-selector): Adds filter suggestions by chat key pasted in input
Fixes: #9881
2023-05-16 16:41:18 +03:00
Noelia e0acf0f195 feat(MintTokens): Update `CommunityCollectibleView` according to new design
- Title format changed. Now symbol is a title side text.
- Back button text changed.
- Description / boxes order changed.
- Boxes changed order and format.
- Warning description changed.

Closes #10601
2023-05-16 13:07:56 +02:00
Noelia a93d2f8387 fix(MintTokens): Update Create new collectible page according to new design
Strings and focus updates.

Fixes #10597
2023-05-15 14:27:16 +02:00
Noelia 60acb43249 feat(MintToken): Updated collectible subtitle information
Added available tokens and total supply as subtitle information in minted collectibles view.
Updated storybook model with new property `availableTokens`.

Closes #10606
2023-05-15 13:36:16 +02:00
Noelia 41c6addc3e fix(MintTokens): Update welcome page strings
Strings update.

Fixes #10596
2023-05-15 13:10:29 +02:00
Michał Cieślak 46a2e9c083 chore(MembersDropdown): simplification based on workaround for QTBUG-87804 in StatusDropdown
Closes: #10661
2023-05-12 16:38:15 +02:00
Michał Cieślak 086e5334fb chore(InDropdown): Search behavior adjusted, added label when no search results
Closes: #8879
2023-05-12 16:37:01 +02:00
Michał Cieślak c0e4d70f0a chore(InviteFriendsToCommunityPopup): Adjust search behavior 2023-05-12 16:37:01 +02:00
Michał Cieślak 6fcb533b68 chore(MembersDropdown): Search behavior adjusted 2023-05-12 16:37:01 +02:00
Khushboo Mehta a57c0b414b feat(@desktop/wallet): New Account header
fixes #10330
2023-05-10 16:02:37 +02:00
Noelia 21abe5fca7 feat(EditCroppedImagePanel): Extended to be able to drag/drop images
Added `DropArea` to enable drag/drop images.
2023-05-10 09:48:51 +02:00
Noelia 6602ab15e2 feat(MintToken): Add param `artworkCropRect` in the UI minting chain
Added new parameter `artworkCropRect` from initial UI mint signal to the store.
2023-05-10 09:48:51 +02:00
Noelia 7bcf42a7ed feat(MintTokens): Artwork image field missing cropping tool
Replaced basic image selector to `EditCroppedImagePanel` component in mint token workflow.

Extended `NoImageUploadedPanel` to allow custom texts and some sizing improvements.

UI part of #10317
2023-05-10 09:48:51 +02:00
Noelia d789ceefed feat(MintToken): Remote self-destruct footer option hidden if the minted collectible doesn't have self-destruct property set
Added property binded with model info and with needed footer visible property option.

Closes #10579
2023-05-10 09:48:06 +02:00
Mikhail Rogachev 890e0aa2bd
fix(Chat): Reuse chat root store connections and fix chat quick actions when blocked (#10577)
Close #10570
2023-05-09 14:31:50 +04:00
Alexandra Betouni 56a7215a4c (community): fixed add/edit channels community right emoji button
Closes #9839
2023-05-09 13:09:38 +03:00
Michał Cieślak a5d339eb45 chore(CommunityNewAirdropView): Adjust MembersDropdown to updated design 2023-05-08 11:44:10 +02:00
Michał Cieślak 1f3ae975fc feat(CommunityNewPermissionView): red highlight for tokens with inssuficient balance and warning msg panel 2023-05-08 11:44:10 +02:00
Michał Cieślak 45aaa5a3de feat(HoldingsDropdown): maximum amount validation 2023-05-08 11:44:10 +02:00
Michał Cieślak 27aac8d83a feat(CommunityNewAirdropView): design-compliant token airdrop flow for collectibles 2023-05-08 11:44:10 +02:00
Michał Cieślak f9e2ce97a4 feat(AirdropRecipientsSelector): add possibility to force input focus 2023-05-08 11:44:10 +02:00
Michał Cieślak 8d3d156cf7 feat: RecipientTypeSelectionDropdown component added 2023-05-08 11:44:10 +02:00
Michał Cieślak 1eda1911eb feat(HoldingsDropdown): airdrops tokens support added 2023-05-08 11:44:10 +02:00