Commit Graph

1355 Commits

Author SHA1 Message Date
Michal Iskierko 4c29343a4a feat(@desktop/communities): Add self-destruct tokens functionality
Issue #10052
2023-05-31 12:43:36 +02:00
Cuteivist 7caa89b050
feat(@desktop/wallet): Transaction activity summary (#10809)
closes #10751
2023-05-31 11:25:16 +02:00
Cuteivist fb85c46727
fix(@desktop/wallet): Small navigation fixes (#10839) 2023-05-31 09:47:52 +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
Stefan 9262943176 feat(wallet) complete the filter API
Bumps status-go HEAD to include required changes

Updates Nim filter components and APIs to follow API changes in
status-go
Complete the debugging code
Add TODO placeholders to be completed in follow up PRs: collectibles ...
General improvements and refactoring

Closes #10634
2023-05-31 08:16:28 +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
Sale Djenic 0b9d7e1962 fix(@desktop/keycard): updated information for listed keypairs for migration to a keycard
Fixes: #10808
2023-05-26 10:54:12 +02:00
Sale Djenic 38ce51e4bb chore(@desktop/wallet): changes caused by accounts improvements on the `status-go` side
Closes: #10592
2023-05-26 06:54:50 +02:00
Lukáš Tinkl bf6758b68e fix(ShowcaseDelegate): community icon is not rounded
- this needs proper bg color (transparent) and a `border.width: 0` to
work properly with the

Fixes #10754
2023-05-25 16:30:10 +02:00
Boris Melnik 92a9c41238 fix(invitation-bubble): Adds loading state for unfurling links
Fixes: #10422
2023-05-25 12:33:54 +03: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
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 a366e96999 feat(MintTokens): Created `BurnTokensPopup`
- Created new popup.
- Added validation.
- Added header image component.
2023-05-24 17:17:40 +02:00
Anthony Laibe 1e5fee981e feat(@wallet): calculate progress for activity tx
fixes #10762
2023-05-24 13:41:00 +02:00
Alexandra Betouni d924d5a94a [onboarding]: fixed overall positioning
Closes #8525
2023-05-23 18:43:25 +03:00
Emil Sawicki f42f48b247 fix(@desktop/wallet); Refresh transaction wallet address 2023-05-23 07:44:29 -04:00
Stefan 22df203653 feat(Wallet): add activity filter basic API
Add the possibility of retrieving the data of wallet activity based
on the given filter criteria.

Major changes:
- Bump status-go with the new equivalent API
- Add temporary developer tools
    - Debugging ActivityView QML component to test filter and display
    the activity
    - Add activity Nim package and synchronous controller and model

Considerations
- Have the model synchronous for the first iteration and then move to
  async while implementing the fetching mechanism
- Use QtObject instances in the model instead of roles over items as
  agreed with the team
- Simplify the implementation by having a simple presentation layer
  using backend (service also in the future)
- Small required fixes and improvements

Closes: #10633
Updates #10366
2023-05-23 11:29:09 +02:00
Igor Sirotin 5ff4b5a435
fix(MessageContextMenu): Cleanup. Separate menu for profile. (#10729) 2023-05-19 19:07:50 +03:00
Cuteivist f7e75208a5
feat(@desktop/wallet): Added transaction address component (#10665)
closes #10583
2023-05-19 11:51:47 +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
Khushboo Mehta 3ac9edbe96 feat(@desktop/wallet): Activity Details Progress bar
fixes #10639
2023-05-18 09:26:37 -04:00
Khushboo Mehta a6b65fcc13 fix(@desktop/wallet): Clicking "Send" button on saved address does not add it into recipient input on SendModal
fixes #10685
2023-05-17 11:26:19 +02:00
Boris Melnik ae2e495a50 fix(replies): Blocks `jumpToMessage` for deleted and unknown messages
Fixes: #10614
2023-05-16 10:39:12 +03:00
Igor Sirotin 086e05cec3 fix(ImportCommunityPopup): Support uncompressed public keys 2023-05-15 09:51:03 -04:00
Igor Sirotin 68065f1c6c fix(MessageView): Show header when prev message is system PinnedMessage 2023-05-15 09:49:38 -04:00
Igor Sirotin ad8f749289 fix(MessageView): Show correct name of who pinned the message 2023-05-15 09:49:29 -04:00
Mikhail Rogachev 3a030102fe
Fix(Contacts): fix weird behaviour in some contacts flows edge cases (#10613)
* fix(Chat): Fix displaying CR messages in the chat

* fix(Contacts): Relay on actual status-go state during contact state manipulation

Close #10500
2023-05-15 15:22:04 +04:00
Michał Cieślak 420708c86f fix(SendModal): Modal height calculation and clipping fixed
Closes: #10323
2023-05-12 20:14:02 +02:00
Michał Cieślak 2821efe73b chore(Storybook): Basic pages for SendModal and TokenListView added 2023-05-12 20:14:02 +02:00
Michał Cieślak 2b1c9ff15e fix(Tracer): Missing support for StackLayout added 2023-05-12 20:14:02 +02:00
Michał Cieślak c0e4d70f0a chore(InviteFriendsToCommunityPopup): Adjust search behavior 2023-05-12 16:37:01 +02:00
Alexandra Betouni 1f3a595116 [contacts]: added "remove contact" option in settings menu
Closes #10502
2023-05-12 11:48:04 +03:00
Khushboo Mehta 47d971a3dd feat(@desktop/wallet): Handle large numbers in the desktop as per new design
1. Support upto numbers 999B
2. No decimal points after 1M

fixes #10590
2023-05-11 17:54:13 +02:00
Khushboo Mehta a57c0b414b feat(@desktop/wallet): New Account header
fixes #10330
2023-05-10 16:02:37 +02:00
Cuteivist ec04b8668f
Feat/10473 Updated activity list delegate and activity details header (#10580)
closes #10473
closes #10542
fixes #10408
2023-05-10 13:54:06 +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
Dario Gabriel Lipicar e022c98b4c fix(@desktop): Fix decimal input for components using AmountInput
Fixes #10413
2023-05-09 08:10:55 -03: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 44891a17fd [createCommunity]: added wrap mode in community key
Closes #10325
2023-05-09 13:09:58 +03:00
Sale Djenic d830624d85 fix(@desktop/wallet): updated ui for removed wallet accounts which are still on a keycard 2023-05-09 12:05:49 +02:00
Sale Djenic 5122815df8 feat(@desktop/wallet): removing wallet account without an authentication
Closes: #10569
2023-05-09 12:05:49 +02:00
Cuteivist 461f4a2bee
fix(@desktop/activity): Fixed section glitch (#10576)
fixes #10472
2023-05-09 10:05:03 +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 aa039a859e feat: SequenceColumnLayout component added 2023-05-08 11:44:10 +02:00
Alexandra Betouni cd7ccd833d [contacts]: updated remove contact popup
Closes #10499
2023-05-08 11:38:19 +03:00
Anthony Laibe 39b9b5ee91 feat(@wallet): add wallet filter 2023-05-06 17:40:28 +02:00
Noelia 42a5236b10 feat(SelfDestructPopup): Updated self destruct tokens lists management
- Updated expected model roles (removed `selfDestruct` and `selfDestructAmount`)
- Self destruct tokens list management is now done inside `SelfDestructPopup).
- Store receives a js array with {walletAddress, amount} roles.
2023-05-05 14:05:31 -04:00
Michal Iskierko 2087616b82 feat(@desktop/communities): Adding token owners model
- replace qml owners model with Nim one
- get token owners from wallet service
- keeping owners cache in community_tokens/service and refresh every 10 minutes

Issue #10254
2023-05-05 14:05:31 -04:00
Alex Jbanca a674ec57a8 fix(blockChat): Disable chat input when minimal conditions are not met 2023-05-05 19:44:39 +03:00
Khushboo Mehta 6779e15b28 chore(@desktop/wallet): Add logic to handle the selected account for the send and receive modal to nim 2023-05-04 21:07:49 +02:00
Igor Sirotin bb6e87deec
fix(ImportCommunityPopup): Support community link (#10557) 2023-05-04 18:37:44 +03:00
Michal Iskierko a73ea4604e fix(@desktop/communities): Fix double toast message
Fix #10486
2023-05-04 10:28:43 +02:00
Cuteivist b91a1c18f2
feat(@desktop/activity): Updated section delegate (#10472)
* feat(@desktop/activity): Updated section delegate

Closes #10432

* feat(@desktop/activity): Section delegate code remarks
2023-05-04 06:43:39 +02:00
Khushboo Mehta 2401bb52bb feat(@desktop/wallet): New floating header as a drop down list
fixes #10392
2023-05-03 18:52:19 +02:00
Igor Sirotin c6f378b968 fix(MessageView): Explicit type check for `messageComponent` 2023-05-02 17:00:54 -04:00
Igor Sirotin 13bd813d52 Added PinnedMessage simple implementation 2023-05-02 17:00:54 -04:00
Igor Sirotin 98d8a70572 fix: Added `SystemMessagePinnedMessage` contentType 2023-05-02 17:00:54 -04:00
Mikhail Rogachev 6ba6a5fcde Update ui/imports/shared/views/ProfileDialogView.qml
Co-authored-by: Lukáš Tinkl <lukast@status.im>
2023-05-02 13:56:36 -04:00
MishkaRogachev 0fc84852f3 feat(chat): Update chat ui for the blocked contact
Close #9935
2023-05-02 13:56:36 -04:00
MishkaRogachev 206800bd5b fix(Contacts): Use contactRequestState enum for determinating correct contact state 2023-05-02 13:56:36 -04:00
MishkaRogachev 8ff42d0868 fix(Contacts): Resolve edge cases while addind/removing a contact 2023-05-02 13:56:36 -04:00
MishkaRogachev e160e70121 fix(Contacts): Remove lagecy `removeContactRequestRejection`
Close #9935
2023-05-02 13:56:36 -04:00
Igor Sirotin 3ff97c9137
fix(Onboarding): Image is visible after first onboard. Other minor fixes (#10489) 2023-05-02 16:37:31 +03:00
Boris Melnik df88984b45 feat(image-album): Display album of images in replies
Fixes: #9957
2023-05-02 11:24:48 +03:00
Cuteivist cdbdae2d39
feat(@desktop/activities): Updated no activity text style (#10461)
closes #10443
2023-05-02 10:01:04 +02:00
Igor Sirotin 7dfd13ca77
fix(ens): Various ENS-related UI fixes (#10492) 2023-05-01 23:32:36 +03:00
Igor Sirotin abf58b008f
fix(Pairing): Added installation info to pairing results (#10418) 2023-04-29 13:33:08 +03:00
Lukáš Tinkl e1c9f2f93f perf(AppMain): wrap CommunitiesPortalLayout in a Loader
- CommunitiesPortalLayout was the last piece still unconditionally loaded
on startup -> fixed
- extract the `communitiesStore` into AppMain to be able to reuse it from
other components
- move the import/create community dialogs to `Popups` (reusability)
- cleanup and remove some dead code, fix warnings

Iterates #6204
2023-04-28 21:35:29 +02:00
Alexandra Betouni 5615a534ea (settings): removed community permissions,tokens,airdrop and discord options
Also:
test(suite_communities): Fixed community related tests

- A new intermediate popup is now displayed when user clicks on `Create New Community` button from `Community Portal`.
- Reformulated `tst_communityPermissions` since now it is a default option without the need of activating it from experimental feature's section.

Closes #10115
2023-04-28 16:52:41 +03:00
Noelia 8ca70ea018 feat(Community Permissions): Update ENS icon in permission pills
Closes #10341
2023-04-27 16:10:20 +02:00
Lukáš Tinkl 9aebf588a1 fix: reduce Image cache
for everything that's not a user interface element, esp. for static/big
images or chat/message elements which get served from locally anyway from
status-go

Iterates #10339
2023-04-27 13:56:39 +02:00
Anthony Laibe 542e5fdb6c feat(@wallet): remove usage of wallet section current 2023-04-27 11:58:27 +02:00
Alexandra Betouni b00ebeb615 [onboarding]: forbid display name whitespaces on beggining and end
Closes #10120
2023-04-26 15:24:08 +03:00
Khushboo Mehta 663fac9fa7 fix(@desktop/wallet): When a path is shown on goreli and I disable it , it still shows the path to Goreli on simple view
fixes #10393
2023-04-26 08:51:54 +02:00
Lukáš Tinkl 7d6a2bae5f fix: community logo/banner edit icon fixes
- move the add/edit FAB icon to the topright corner as designed
- prepare UI changes for being able to delete banner/logo (missing impl
in status-go)

Fixes: #9680
2023-04-25 21:42:03 +02:00
Anthony Laibe e6f88758dc feat(@wallet): wallet accounts module dedup
Second part of having profile section accounts
2023-04-25 14:56:20 +02:00
MishkaRogachev 2160b53e33 fix(ActivityCenter): Use ContactRequestId for accpeting and declining CRs from AC
Close #10127
2023-04-25 16:16:32 +04:00
Lukáš Tinkl e170af5115 chore: use the "next" icon consistently
instead of variations of "chevron-*" and rotation
2023-04-25 13:24:17 +02:00
Khushboo Mehta c94997ddec feat(@desktop/wallet): Wallet -> Send: polish Send/Bridge Modals
fixes #10344, #10321, #10320
2023-04-24 22:07:22 +02:00
Michał Cieślak 9fe3456e8f feat(Community/Airdrop): MembersDropdown
Closes: #9800
2023-04-21 11:53:11 +02:00
Lukáš Tinkl 038ab08765 fix: do not display ENS name when not ENS verified
- expose "isEnsVerified" as model role
- fix returning "ensName" when the user is not ensVerified
- react to nickname updates correctly
- fix sorting in the user/member list view
2023-04-21 00:24:32 +02:00
Lukáš Tinkl 297b73fced fix: react to contact name (nickname) changes
the contact details are fetched imperatively in these popups (not via
model updates), so we need to setup a signal to be able to react to those
changes
2023-04-21 00:24:32 +02:00
Lukáš Tinkl 812c0e9705 fix: suggestions list displayed when mentioning, still searches by alias
explicitely leave out searching by the `alias` (3-word name); it's
already enabled as a fallback to `name`

Fixes #9738
2023-04-19 15:28:21 +02:00
Dario Gabriel Lipicar da1839fbbb feat(@desktop/wallet) reduce number of digits shown for large currency amounts
Fixes #8917
2023-04-18 10:11:18 -03:00
Lukáš Tinkl a2a6287537 fix(StatusStickersPopup): fix reloading views with online status changes
- hide the market and other stuff that can't be used while offline
- recent stickers and already installed packs can still be used; they
will be sent when we return online
- when we return online, reload the views instead of closing the popup
- fix an evil NIM typo that prevented reloading the already installed
sticker packs
- remove the NIM parts that haven't been ported to the async nature; just
`loadStickers()` on the QMl side does the trick
2023-04-18 13:45:38 +02:00
Lukáš Tinkl 7a5dbbd952 chore(StatusStickerButton): refactor to use StatusButton
- make it possible for StatusBaseButton to be icon-only (ie just icon, no
text, rounded if needed)
2023-04-18 13:45:38 +02:00
Lukáš Tinkl 05e5b3dad6 fix(StatusStickerPackClickPopup): fix passing/parsing price
when trying to buy a sticker pack
2023-04-18 13:45:38 +02:00
Lukáš Tinkl bfe44ca4a8 fix(StatusStickerList): add scrollbar to the grid view
and remove unused properties
2023-04-18 13:45:38 +02:00
Lukáš Tinkl 70fa0bf3b2 chore(StatusStickerMarket): add scroll bar
and extract the buyPopup component out of the delegate
2023-04-18 13:45:38 +02:00
Lukáš Tinkl e506bbfd6b fix(StatusStickerPackClickPopup): fix crash
the button to (un)install would be either greyed out or result in a crash:
- we were passing the popup a wrong store (w/o networkConnectionStore)
- the condition to `greyedOut` was inverted
2023-04-18 13:45:38 +02:00
Lukáš Tinkl 86a58d3298 chore(StatusStickersPopup): unify the footer height
and fix spacing
2023-04-18 13:45:38 +02:00
Lukáš Tinkl b2f5cd2b35 fix(StatusStickersPopup): prevent overlapping load error
Fixes: when the Mainnet is unavailable you see overlap between error and
the downloaded sticker packs
2023-04-18 13:45:38 +02:00
Lukáš Tinkl 0cd7e3650a fix(StatusStickerMarket): do not confirm enabling wallet
wallet is already enabled by default for users and there's no way to
enable it if it gets disabled by using an env var
2023-04-18 13:45:38 +02:00
Lukáš Tinkl 8d322092cf fix: `packId` is a string in NIM backend
fixes the currently selected sticker pack not being highlighted in the
popup footer

The strict equality operator would no longer yield true here:
```
property int selectedPackId
...
selected: stickerPackListView.selectedPackId === packId
```
2023-04-18 13:45:38 +02:00
Khushboo Mehta 2e68c97c8e fix(@desktop/wallet): Wallet: user can click on dummy loading items from activity-history and open an empty transaction view
fixes #10083
2023-04-17 15:47:56 +02:00
Michal Iskierko 7055a77a96 fix(@desktop/communities): Displaying toast messages when minting
Fix #9849
2023-04-17 15:11:35 +02:00