Commit Graph

1056 Commits

Author SHA1 Message Date
Cuteivist db363b3782
feat(@desktop/wallet): Use separate filter for each wallet account (#11528)
closes #11412
2023-07-19 16:16:45 +02:00
Lukáš Tinkl 02e40adfca feat: New design flows to integrate Revealing addresses...
... when joining Community functionality

Closes #11138
2023-07-19 12:44:16 +02:00
Noelia c8cb2d6c7c feat(OwnerToken): Create `EditTokenView.qml` for mint owner token flow
- It creates a generic `TokenInfoPanel` that will be reused in different mint token views.
- It creates new `EditOwnerTokenView` and storybook page support.
- It adds new `EditOwnerTokenView` into the minting flow, linking sign transaction flow and adding needed method to the store to do the deployment.

Closes #11296
2023-07-19 11:15:46 +02:00
Cuteivist a30678f5ec
feat(@desktop/wallet): Handle missing token metadata (#11433)
closes #11043
2023-07-18 16:05:22 +02:00
Boris Melnik c3c74b9f61 feat(new-links-format): Adds new links to UI
Part of: #10852
2023-07-17 14:41:22 +03:00
Khushboo Mehta a468635ddc feat(@desktop/wallet): Networks - New List UX with link mainnet/testnet + testnet mode enable/disable
fixes #11252
2023-07-14 08:57:36 +02:00
Lukáš Tinkl 5b118f43f8 fix(Chat): Confirmation button UI is broken when deleting 1-1 chat
fixes a `StatusModal` porting error that broke `title` in a couple of
popups/modals

Closes #11503
2023-07-13 16:44:30 +02:00
Cuteivist 461bbbc06f
fix(@desktop/wallet): Activity list polish changes (#11486)
fixes #11447
2023-07-13 14:22:02 +02:00
Mikhail Rogachev 1a7532d92c
fix: Fix behaviour issues with CRs and mutual update messages (#11178)
Close #11121
2023-07-13 01:39:56 +04:00
Stefan 42f2546e4a feat(wallet) handle multi-transaction update events for activity filter
Bump status-go to include multi-transaction update events

Throttle down "update transactions" button to once every two seconds

Closes #11233
2023-07-12 23:26:47 +02:00
Michal Iskierko 3632a169be feat(@desktop/communities): Burn and mint functionality for assets.
Adjst burning and minting flows to handle assets.
Supplies are passed from qml to nim as strings - "2" for ERC721, "1.5" for ERC20
String amounts are converted to Uint256 type. Additionally ERC20 amounts are converted to basic units (wei-like, decimals=18).
Uint256 values are passed to backend functions and then coverted to strings which can be converted to bigInt.BigInt types.
Supply and RemainingSupply are exposed to qml as floats.

Issue #11129
2023-07-12 11:16:57 +02:00
Noelia 3a0954c5da feat(OwnerToken): Add Mint Owner token view
- Created new `Owner Token` and `TokenMaster Token` welcome screen.
- Navigations added.
- Storybook support added.

Closes #11292
2023-07-11 13:04:50 +02:00
Cuteivist 9b293f9c34
feat(@desktop/wallet): Loading animation for input data decoding (#11378)
closes #11333
2023-07-10 15:36:29 +02:00
Alex Jbanca a6494bfe33 fix: Increase keycard popup width 2023-07-07 14:40:22 +03:00
Cuteivist 00eee836ae
feat(@desktop/wallet): Fetch txs only when opening activity tab (#11360)
closses #11356
2023-07-07 12:00:19 +02:00
Khushboo Mehta 0b75e84809 fix(@desktop/wallet): Send modal don't expand vertically
fuixes #11352
2023-07-06 10:20:14 +02:00
Alex Jbanca 0efca3f0bd feat: Update Edit community settings based on new design
[Design for edit community settings](https://www.figma.com/file/17fc13UBFvInrLgNUKJJg5/Kuba⎜Desktop?node-id=3132%3A383870&mode=dev)
[Design for create community popup](https://www.figma.com/file/17fc13UBFvInrLgNUKJJg5/Kuba⎜Desktop?type=design&node-id=2636-359221&mode=design&t=Z888PCuW1eTwF5RY-0)

1. Update alignments, paddings and item size to match the new design
2. Update subtitles (Only for edit community settings. Create community popup has different subtitles)
3. Create new EditCommunitySettingsLayout with the new design to be reused in CreateCommunityPopup
4. Update CreateCommunity popup to align it with the new design
5. Add basic EditSettingsPanelPage to storybook
6. Fix TagsPicker bug where the tags were not showing when opening the edit community settings for the first time
2023-07-06 09:47:46 +03:00
Stefan 7a9c76966d feat(wallet) reload on new transaction downloaded quick win
Show a reload hint button for user to refresh the filter

Updates #11233
2023-07-05 23:45:34 +02:00
Stefan d17f2c70f1 chore(wallet) extract responsibilities from activity.Controller
Extract processing of Events and Status keeping responsibilities from
activity.Controller

Updates #11233
2023-07-05 23:45:34 +02:00
Pascal Precht c10809863a feat: add support for cropped asset data when deploying community NFTs
Needs: https://github.com/status-im/status-go/pull/3705

Closes: #10317
2023-07-05 12:56:37 +02:00
Lukáš Tinkl b5f2c52b05 fix: Airdrop section of deployed NFT doesn't seem to apply darkmode
- fix some colors to look correct in dark mode too
- update/unbreak the corresponding storybook pages

Fixes #11289
2023-06-30 17:15:09 +02:00
Cuteivist 7a7394628e
feat(@desktop/wallet): Handle multitransactions (#11124)
closes #11071
2023-06-30 17:07:53 +02:00
Cuteivist bade10c5e0
feat(@desktop/wallet): Add loading state for activity feed (#11326)
closes #11072
2023-06-30 15:50:06 +02:00
Cuteivist d0f3b6d652
feat(@desktop/wallet): Update activity feed sections date markers (#11332)
closes #11306
2023-06-30 14:55:59 +02:00
Sale Djenic db16c61cbe fix(@desktop/keycard): create card with new seed phrase always fails
Fixes: #11311
2023-06-30 12:22:52 +02:00
Alex Jbanca 48c7d875de fix(PasswordView): Space is not allowed in password
Update new password input validators to allow any character input and show error message if the character is invalid.
2023-06-30 11:40:48 +03:00
Anthony Laibe 7dbf994e1f feat(@wallet): add account button from settings 2023-06-29 18:51:37 +02:00
Igor Sirotin 80fef2179a fix: chat input preserved properties bugs 2023-06-29 11:29:52 -04:00
Michal Iskierko 6f1957e650 feat(@desktop/communities): Assets deployment
Issue #10987
2023-06-29 17:27:36 +02:00
Anthony Laibe 29d78a99be feat(@wallet): all accounts list are ordered by position
fixes #11263
2023-06-29 09:42:33 +02:00
Noelia 0ab8a62896 feat(Communities): Communities folder reorganization
- Renamed main `CommunitiesPortal` folder to `Communities`.
- Created new `layouts` folder.
- Moved layout files from chat to communities.
- Created new `helpers` folder.
- Moved helpers files from chat to communities.
- Moved `controls/community` files from chat to communities `controls`.
- Moved `panels/communities` files from chat to communities `panels`.
- Moved `popups/community` files from chat to communities `popups`.
- Moved `views/community` files from chat to communities `views`.
- Moved `CommunityBanner` file from shared to `Communities/controls`. Only used in communities context.
- Moved `CommunitySettingsView` and `CommunityColumnView` files from chat to communities `views`.
- Moved `PermissionsStore.qml` file to `shared/stores`.
- Updated imports.
- Updated storybook.

Part of #6204
2023-06-28 14:28:47 +02:00
Lukáš Tinkl 1eeb1a34f9 chore: drop NumberPolyfill
it is no longer used from anywhere and we now have a much better and more
flexible LocaleUtils
2023-06-26 17:17:59 +02:00
Lukáš Tinkl 620c7a746d feat(Settings/Communities): implement new communities list
Closes #11145
2023-06-23 16:48:26 +02:00
Khushboo Mehta 9be598ee32 fix(@desktop/wallet): Activity UI filtering improvements
1. Handling case where filters result in no results
2. Fixed period filter
3. Used recipient model from go side
2023-06-22 17:49:02 +02:00
Stefan eb0406b556 feat(wallet) api to retrieve last activity timestamp
Bumps status-go to include the new API endpoint.

Integrate the new API endpoint with the ActivityFilterPanel.

Closes #11169
2023-06-22 15:53:11 +02:00
Alex Jbanca ef837a9c9c fix(StatusQ): Dynamic width calculation for StatusMenu 2023-06-21 14:42:00 +03:00
Stefan 2ba9680316 feat(wallet): filter activity by ERC20
Refactor code to use the token identity instead of token code
Removed the debugging activity view as now we have the API integrated
in the history view
Fixed the activity type in the activity entry

Closes: #11025
2023-06-21 11:49:02 +02:00
Lukáš Tinkl fe9bb7d398 chore: Update StatusBaseButton content item layout
- introduce StatusButton storybook page with controls to play around
with the its options and variants
- StatusBaseButton: make the content item horizontally centered by
default
- StatusBaseButton: remove `textAlignment` and fix `textFillWidth` for
the intended usage
- fixup usage of the 2 above options which were introduced merely as a
workaround, mostly in wallet + corresponding storybook pages

Fixes #10903
2023-06-20 14:10:35 +02:00
Alex Jbanca c4e9f8dba0 fix: Adding Beta user agreement 2023-06-19 10:58:03 +03:00
Dario Gabriel Lipicar 9fc8f66fbd feat(@dekstop/wallet): use amounts from activity backend
Part of #11080
2023-06-16 11:06:23 -03:00
Ivan Belyakov a7b78bb6e8 feat: Add scrolling velocity and deceleration settings to advanced
settings.
Fixed RadioButtonSelector using anchor.margins
2023-06-16 15:54:33 +02:00
Stefan 2dd51e4584 feat(wallet) add recipients API and integrate with filter
Bumps status-go to include the new API.
Add a new RecipientsModel to the activity controller.
Extends the activity Controller with API to access and manage data in
the RecipientsModel.
Resolving addresses to names remains to be implemented.

Updates #10025
2023-06-16 13:15:46 +02:00
Cuteivist 5d7a4723bf
chore(@desktop/wallet): Use transparent background and add scroll shadow (#11118) 2023-06-16 11:37:17 +02:00
Khushboo Mehta 47c76714db feat(@desktop/wallet): Glue for acitvity filter UI and backend 2023-06-16 11:24:52 +02:00
Michal Iskierko d57485c6e9 feat(@desktop/communities): Add burning collectibles functionality
Burn collectibles.
Displaying burning fee.
Displaying remaining supply.

Issue #10816
2023-06-15 17:11:15 +02:00
Igor Sirotin 407179cd10
fix(ChatColumnView): hide input when no active chat (#11107) 2023-06-15 16:58:32 +03:00
Cuteivist 10e5c714a2
feat(@desktop/wallet): Use new activity model for HistoryView (#11075)
closes #11019
2023-06-15 15:09:35 +02:00
Lukáš Tinkl 60d14180cf fix(InvitationBubbleView): inconsistency in message link previews buttons
make the button rounded only at the bottom

Fixes #9157
2023-06-15 12:10:11 +02:00
Lukáš Tinkl 38bbd0fb53 fix: unbreak profile showcase
- amISectionAdmin no longer exists
- profile section wallet store no longer provided the base assets model
2023-06-15 11:13:36 +02:00
Lukáš Tinkl 045dfe60a0 fix: Channel picker doesn't render 1-1 chats correctly
- expose `colorId` and `colorHash`, the latter only for non-ENS verified
users
- use them in the results :)

Fixes #11086
2023-06-15 11:13:36 +02:00
Khushboo Mehta 7f18a76fd5 feat(@desktop/wallet): Complete Filter Activity List
fixes #10823
2023-06-14 20:18:44 +02:00
Khushboo Mehta fe023d39da feat(@desktop/wallet): Activity FIlter UI rest of the filters (UI only) 2023-06-14 18:06:05 +02:00
Igor Sirotin 4849230054
fix(ChatColumnView): fix input `Unblock` button state (#11073) 2023-06-14 18:09:46 +03:00
Anthony Laibe 85c6db4d89 fix(@wallet): send modal max link
fixes #11064
2023-06-14 12:58:16 +01:00
Michał Cieślak 8b44e686f4 feat(CommunityAirdrops): Fees popup with multiple entries for airdrops
Closes: #10484
2023-06-14 12:59:05 +02:00
Michal Iskierko db55d10b37 feat(@desktop/communities): Compute minting fees and displaying minting toast messages
Issue #10536
2023-06-14 10:44:57 +02:00
Stefan 4bcbe51154 feat(wallet): extend API to continue loading activity
Bump status-go with the refactoring of hasMore and add offset
Add support for continuously loading activity in the wallet API.
Extend the debugging demo with continuously loading

Closes #10994
2023-06-13 17:19:31 +02:00
Noelia 7d551b8311 feat(MintToken): Add navigation from retry to filled token form
Enable navigation from token view to new token view (edition).

Closes #10878
2023-06-13 15:57:20 +02:00
Noelia f58f82d4c6 refactor(MintToken): Mint token views refactor
- Created `TokenObject` files and use them inside `CommunityNewTokenView` instead of plain properties.
- Updated `CommunityTokenView` to use `TokenObject` properties instead of plain properties.
- Updated store calls to use `TokenObject` properties instead of plain properties.
- Remote destruct properties renames.
- Airdrop navigation extended passing token type (asset or collectible).
- Updated `storybook` according to new changes.
2023-06-13 15:57:20 +02:00
Khushboo Mehta ff98144a56 feat(@desktop/wallet): Part implementation of the filter activity UI 2023-06-13 10:41:07 +02:00
Cuteivist a4731517d6
feat(@desktop/wallet): Add copy details and repeat transaction buttons (#10904)
closes #10776
2023-06-13 10:18:53 +02:00
Stefan 43c7258328 feat(wallet): make filter API async
Bump status-go to include the async API changes
Handle the wallet-activity-filtering-done event
Propagate the has more flag
Extend the debugging UX

Update #10994
2023-06-12 18:36:24 +02:00
Lukáš Tinkl 6bfe79a7f3 fix(Chat): Context menu for gif downloads/copies a png file
Detect the MIME type using `QMimeDatabase` from the actual content and
save it in that same format using `QSaveFile`, as `QImage` does NOT
support saving a GIF

Fixes #10747
2023-06-12 16:51:33 +02:00
Cuteivist 31f59a2e81
chore(@desktop/wallet): Unify transaction enums (#11034) 2023-06-12 15:04:39 +02:00
Stefan 16304ab26b feat(wallet) filter activity by status
Parse the status information from the API response
Added debugging status as to the debug view

Closes: #10746
2023-06-12 10:38:31 +02:00
Cuteivist f0b42ad672
fix(@desktop/wallet): Update wallet account color correctly (#11008) 2023-06-12 10:14:19 +02:00
Anthony Laibe 59796b938f fix(@wallet): value with scientific notation
fixes #11009
2023-06-11 10:30:15 +01:00
Lukáš Tinkl 0b94c2b541 fix: revert to not destroy popups on close by default
- causing too many regressions along the way
- most of our popups are already destroyed properly inside Popups.qml
- in general, a Popup (Dialog, Menu, etc.) can be manually destroyed iff
it had been created using `Component.createObject()`, otherwise it's gone
for good until restart
- manually enabled the destroy-on-close in verified cases

Fixes #10948 (maybe some other dupes)
2023-06-09 00:44:27 +02:00
Lukáš Tinkl 0bf5c64b06 chore: removed unused components
0xdeadbeef
2023-06-09 00:44:27 +02:00
Lukáš Tinkl 0f9f5de267 fix: [chat] @mentions no longer working
fixup undefined references which caused the users model to become
empty

Fixes #11005
2023-06-08 16:19:53 -04:00
Lukáš Tinkl 4bf09e2b84 fix(StatusChatInput): handle non standard DND MIME types
- most browsers will pass a standard `text/uri-list` MIME type, however
Chrome uses `text/x-moz-url` so we handle that separately
(`drop.hasUrls` is `false` in this case)
2023-06-08 15:33:46 +02:00
Mikhail Rogachev 010640acd0
feat(Chat): display MutualStateUpdate system messages in 1-to-1 chats (#10847)
* feat(Chat): Display MutualStateUpdate system messages in 1-to-1 chats

* feat(ActivityCenter): Add AC notification when a user get removed by another contact

* fix: crutch fixing segfault on contact removal
2023-06-08 16:52:03 +04:00
Patryk Osmaczko dfbac49302 chore(qml): adapt assets to support mediaserver images 2023-06-08 13:09:59 +02:00
Igor Sirotin bc4492b53a
fix: Create only one instance of `StatusChatInput` (#10928)
* Chat input area preserved properties
* Fix emoji/gif/stickers popups open/close logic
2023-06-07 16:18:29 +03:00
Cuteivist a0146014d1
fix(@desktop/keycard/wallet): Small fixes (#10949) 2023-06-07 10:38:44 +02:00
Anthony Laibe e04487437d fix(@wallet): no token balance
fixes #10935
2023-06-06 10:47:04 +02:00
Igor Sirotin f86608287c
Fix/issue 10905 (#10930) 2023-06-06 09:57:00 +03:00
Lukáš Tinkl 2a253be291 fix: Wallet: Authentication popup is broken
- do no let text/input overflow our overall width
- set the scrollview horizontal padding to 0, the content item has its
own margins already

Fixes #10915
2023-06-05 15:46:24 +02:00
Cuteivist dc9193424f
feat(@desktop/wallet): Transactions values (#10832) 2023-06-05 08:22:30 +02:00
Khushboo Mehta 28654e0187 \chore(@desktop/wallet): Change customisation colours on desktop to match those used on mobile
fixes #10637
2023-06-02 19:48:19 +02:00
Patryk Osmaczko 35a2dd5244 [Popups]: added destroy() function in all popups by default
Also switched StatusModal to derive from StatusDialog instead
of Popup type

Closes #10149
2023-06-02 14:28:39 +03:00
Noelia d4d3a6d669 feat(MintToken): Add `delete` and `retry mint` options when deploy fails
- It refactors `SettingsPageLayout`.
- It adds `retry mint` and `delete` options when deploy process fails.
- It renames `RemotelyDestructAlertPopup` to generic name `AlertPopup`.
2023-06-02 13:15:34 +02:00
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
Jonathan Rainville 3760e5f5a7 chore(StatusChatInput): hide ChatCommands for now
Fixes #10893
2023-06-01 15:18:32 -04:00
Igor Sirotin 278654f694
fix: Use `StatusCursorDelegate` for password inputs (#10890) 2023-06-01 21:23:22 +03:00
Igor Sirotin 7eed470829
fix(StatusScrollView): Change implementation to inherit ScrollView (#10789) 2023-05-31 23:58:23 +03:00
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
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
Anthony Laibe 1e5fee981e feat(@wallet): calculate progress for activity tx
fixes #10762
2023-05-24 13:41:00 +02:00
Emil Sawicki f42f48b247 fix(@desktop/wallet); Refresh transaction wallet address 2023-05-23 07:44:29 -04:00