Commit Graph

4141 Commits

Author SHA1 Message Date
Alex Jbanca 9be2a8d799 feat(Community Overview): Trigger chart data updates on specific actions + optimise the backend calls
This commit includes the following changes:
1. Request from backend the messages count in a specific interval as opposed to all messages timestamps in that interval.
2. Update the chart end date before refreshing the data
3. Fix metrics type parsing in community service
4. Fix a bug where the new incoming data was not processed by ChartJs without a hover event on the chart. The fix here is to manually request paint() on model changes.d

Issues found and not handled here:
1. On large communities the backend request can take 3 minutes to complete
2. CPU usage can easily go to 100% when switching chart tabs on large communities. All the requests are processed by the backend.
2023-08-07 11:12:21 +03:00
Noelia ecf5efb94e fix(Minttoken): Account selector is no longer present under fees section
It seems that for `macOS`, `ParentChange` trigger was not correctly set if using specific `when` condition on desktop app (working properly on storybook). Setting it always to `true`, it does the trick and reparents footer component as expected.

Fixes #11742
2023-08-04 16:48:20 +02:00
Sale Djenic 6e5469f5aa chore(@desktop/wallet): sorting out keypair/account menu 2023-08-04 15:43:03 +02:00
Alexandra Betouni eb65e8899f [ImportCommunities] Add token models needed for CommunityIntroPopup
Closes #11773
2023-08-04 14:45:20 +03:00
Cuteivist 66e9631933
fix(@desktop/wallet): Speedup wallet view loading (#11736)
fixes #11627
2023-08-04 10:41:45 +02:00
Anthony Laibe 05653294eb fix: close testnet banner 2023-08-04 10:28:46 +02:00
Igor Sirotin 129f81a01a
fix(MembersdSelectorView): fix the logic of opening CR popup (#11780) 2023-08-04 11:27:37 +03:00
Michał Cieślak edae7bf818 feat(Communities): Add animation in token holders list when remotely destuct completed
Closes: #11775
2023-08-04 09:41:43 +02:00
Michał Cieślak b4891a65b5 feat(Communities): Present remotely destruct in progress in token holders list
- some adjustments to updated design
- figma links added
2023-08-04 09:41:43 +02:00
Michał Cieślak a793865835 feat(Communities): Add TokenMasterActionPopup to MintTokensSettingsPanel
Closes: #11622
2023-08-03 16:26:34 +02:00
Michał Cieślak 383cd6dcf7 feat(Communities): TokenMasterActionPopup added for Remote destruct, Kick and Ban actions 2023-08-03 16:26:34 +02:00
Jonathan Rainville 164b84feb8 fix(RootStore): onCallbackFromAuthentication was moved to communities module 2023-08-03 09:16:03 -04:00
Michal Iskierko 780a6b6c68 feat(@desktop/communities): Expose remote destruct state to UI.
Issue #11182
2023-08-03 12:18:55 +02:00
Patryk Osmaczko 354bd3e923 feat(communities): implement channel-level members
closes: #11660
2023-08-03 10:58:24 +02:00
Cuteivist 3366f23f12
fix(@desktop/wallet): Update wallet accounts list effects (#11680)
fixes #11626
2023-08-03 10:19:36 +02:00
Mikhail Rogachev edba946a71
feat(Community): Community messaging statistics chart (#11696)
* feat(Community): Community messaging statistics chart

Close 11152

- Use se `collectCommunityMessageMetrics` for messaging statistics chart
in community overview

* feat(Community): Transfer community metrics with dto objects

* feat: impl simple string-based model for community metrics

* fix(Community): Review fixes and fix for changing community when chat is open

* Update src/app/modules/main/chat_section/controller.nim

Co-authored-by: Jonathan Rainville <rainville.jonathan@gmail.com>

---------

Co-authored-by: Jonathan Rainville <rainville.jonathan@gmail.com>
2023-08-02 20:03:52 +04:00
Jonathan Rainville dd346319ff feat(communities): add spectatedCommunityPermissionModel to communities
Fixes #11746
2023-08-02 11:00:46 -04:00
Noelia 33c9771d3b fix(Mint): No redirect to Tokens screen when minting a token
Fixes #11731
2023-08-02 15:55:36 +02:00
Khushboo Mehta ea91cd605f feat(@desktop/wallet): Account View Setting Actions
fixes #11689
2023-08-02 15:22:48 +02:00
Khushboo Mehta 5af56be60f fix(@desktop/wallet): Wallet: Send doesn't load preferred chains on account selection as recipient
fixes #11743
2023-08-02 13:38:49 +02:00
Noelia 939dc03728 feat(OwnerToken): Add `Retry` button
- In case of `Owner` and `TMaster` token deployment failed, a `Retry` button must be shown in minted tokens pages and it will navigate to the `Edit page` the same way it's done by using `Retry` button inside the item selected.
- Updated storybook accordingly.

Closes #11613
2023-08-02 11:56:48 +02:00
Lukáš Tinkl 3d2deb5335 fix: Revisit character set usage (ASCII/Latin1/UTF-8) in description fields
Restrict the character set to basically 7-bit ASCII plus some punctuation
in community/chat/profile related popups in order to:
- reduce the risk of impersonation (UTF-8 characters might look the same
despite being a different codepoint)
- narrow down the set of characters in order to keep the new share URL
format short

Closes #11307
2023-08-02 09:52:48 +02:00
Lukáš Tinkl cdc5a90940 fix(SendContactRequestModal): Display name / image problems with CR dialog
- fix missing profile image
- fix displaying wrong name when a nickname or ENS name is present
- fix ID verification flow ignoring nickname
- fix empty results when a contact has only an alias name
- fix needlessly requesting contact details several times (and
overwriting it); we get this info already from Popups.qml
- switch the popup to `StatusDialog` and fix hardcoded height

Fixes #11726
2023-08-02 09:52:32 +02:00
Lukáš Tinkl 3b560157be fix SendContactRequestModal (missing) margins/padding 2023-08-02 09:52:32 +02:00
Lukáš Tinkl 403e85ded7 fix: sort the contact list by the preferred display name 2023-08-02 09:52:32 +02:00
Cuteivist cdcfe811f5
fix(@desktop/wallet): Update transaction status UI (#11681)
fixes #11534
2023-08-02 06:36:54 +02:00
Stefan d253ba8a2a fix(wallet): fix activity time filter
Also optimize for no filter instead of given specific time range.

Closes: #11717
2023-08-01 17:20:34 +02:00
Sale Djenic 2e1b60ab06 feat(@desktop/wallet): account Interaction - remove master key and accounts
Closes: #11707
2023-08-01 14:27:23 +02:00
Noelia d832a306a4 fix(Minting): After minting completed 1 airdrop button is enabled and the other disabled
- Added `buttonEnabled` property to `StatusInfoBoxPanel` so it can be set from outside.
- Fixed airdrop button enable condition in minting flow. It is enabled when minting state is completed and if the token properties are infinite supply or there are still remaining tokens to be airdropped.
- Updated storybook accordingly.

Fixes #11496
2023-08-01 13:20:31 +02:00
Khushboo Mehta 6c5c36584a feat(@desktop/wallet): Account view - Prefered network
fixes #11578
2023-08-01 09:51:33 +02:00
Dario Gabriel Lipicar bf4af3d7d4 chore(wallet) remove transactions module
Bump Status GO to support session based activity requests

Transaction module was replaced by activity module,
this change removes the old code.

Details:

- Remove transaction.Item and use the DTO directly
- Replace the still using missing functionality
- Remove old way of fetching transactions in response to the history event
- Use activity filter to provide history for "recents" in Send.

Closes #11339
2023-07-31 19:01:33 +02:00
Jonathan Rainville 515028222e feat(airdrop): make the airdrop member selector use the airdropAddress
Fixes #11532

Hooks the Airdrop views to the new airdropAddress model property so that the fee calculation and the airdrop transaction can use a valid address.
2023-07-31 11:34:10 -04:00
Alex Jbanca 2454b5f69a fix(NetworkSelector): Fix broken bindings when the item is toggled 2023-07-31 12:33:43 +03:00
Alex Jbanca 44d511fd6a fix(NetworkSelector): Add Optimism as default network 2023-07-31 12:33:43 +03:00
Jonathan Rainville 6e346d2c0d feat(Communities): changes in import popup for public keys
Also: refactor(communities), moved request to join funcs to communities module
This is needed because we can now request to join from the Import popup

Closes #11242
2023-07-28 18:53:59 +03:00
Lukáš Tinkl bb2bbfb5b6 fix: Review scrolling behavior for holdings dropdown
- remove padding and use margins so that the listview can span the whole
width while having the scrollbar neatly next to it
- make the section header both inline and floatable (which makes it
always visible, even when scrolled away)
- fix the special search results "section" to behave the same way
- sort the results by category and name
- expose the `allTokensMode` for easy testing with storybook

Closes #10201
2023-07-28 17:46:29 +02:00
Sale Djenic 2749236a56 feat(@desktop/syncing): recovering from waku if backed up data refers to a profile migrated to a Keycard
Closes: #11661
2023-07-28 17:06:35 +02:00
Michał Cieślak 190a3b775e feat(Communities): Add fee box and updated sign popup to standard minting flow
Closes: #11303
2023-07-28 12:49:14 +02:00
Michał Cieślak f4d66a244e feat(Communities): Add fee box and updated sign popup to owner/token master tokens minting 2023-07-28 12:49:14 +02:00
Anthony Laibe 22c07efcd9 fix(@wallet): wallet color fixes
* Left bar hover color fix
* Network filter darkmode border
* No footer in all addresses

fixes #11659
2023-07-28 11:08:08 +02:00
Alex Jbanca 90f4d60059 feat(ControlNode): Show toast notifications when the control node state changes
1. Fix an issue where importing a community using private key triggers the import finished event without updating the community data if the community is already imported with public key
2. Show toast messages on importCommunity and privateKeyRemoved events
3. Group community import toast messages handlers and move them from ContactsColumnView to AppMain. IMO these toast messages handlers should not be dependent on ContactsColumnView.
2023-07-28 10:03:10 +03:00
Dario Gabriel Lipicar dc75c120df feat(wallet): use new status-go collectibles backend
Fixes #11558
2023-07-27 12:48:17 -03:00
Boris Melnik 43a5d7eeeb feat(new-links): Parse url data and display
Fixes: #10852
2023-07-27 15:08:21 +03:00
Anastasiya Semenkevich 6fa519a4c0 test(@tst_wallet_settingsManagement): add test to add new account from settings 2023-07-27 11:27:00 +03:00
Pascal Precht 5351f2b694 feat: implement retrying deploying community contracts
Ultimately, this means deleting/removing the entry of the previously
failed deployment, then performing a new transaction.

Closes #11186
2023-07-27 09:32:03 +02:00
Lukáš Tinkl 57fc600d5e feat: Add status-go version to About screen
- Settings/About now displays the `status-go` version, read from its
`VERSION` file
- use the actual app icon, to differentiate between prod/dev version
- make the version numbers clickable, taking the user to either the
release notes (prod) or the GH commit browser (dev)
- add "Is production" switch to the About page in storybook

Closes #11424
2023-07-26 21:35:21 +02:00
Michał Cieślak ed13b61c3a chore(Community Airdrop): Update fees box according to the desing
Now it allows to select account for paying fees.

Closes #11605
2023-07-26 17:59:45 +02:00
Michał Cieślak 3c65d2e69e chore(Communities): Fees box - use danger outline for account selector when error 2023-07-26 17:59:45 +02:00
Michał Cieślak 8524e37844 chore(Communities): Fees box - add showAccountsSelector flag
It allows to show/hide selector without losing it's state.
2023-07-26 17:59:45 +02:00
Michał Cieślak 7f27695f12 chore(Communities): Align fees box sizing to updated design 2023-07-26 17:59:45 +02:00
Igor Sirotin 4a4e3c5663
fix: Propagate `root.linkPreviewModel` (#11673) 2023-07-26 17:09:36 +03:00
Lukáš Tinkl 94c29d1e60 fix: Mint tokens screen uses different border colors for boxes
plus a couple of other dark mode fixes

Fixes #11633
2023-07-26 14:38:27 +02:00
Patryk Osmaczko faa425dd29 refactor(communities): rename `inviteUsersToCommunity` to `shareCommunityToUsers`
This change corrects legacy naming that was causing confusion.

Community invites are no longer sent to users. Instead, the community is
just shared. If a user is interested in joining this shared commmunity,
they must submit a request to join.
2023-07-26 14:09:21 +02:00
Cuteivist dea0e99bbb
fix(@desktop/wallet): Update activity delegates subtitle (#11645) 2023-07-26 13:50:27 +02:00
Stefan 03923b223b chore(wallet) optimize fetching request by using metadata
Use metadata instead of details for displaying activity headers.

Bump status-go to include the required API changes

Closes #11173
2023-07-25 17:55:33 +02:00
Alex Jbanca 8d335ab210 feat(ExportControlNode): Connect Export Control Node popup to backend
Connect `onDeletePrivateKey` to backend.
Depends on https://github.com/status-im/status-desktop/pull/11640
2023-07-25 15:44:58 +03:00
Alex Jbanca 4aaae242b5 feat(Import Control Node): Adding ImportControlNode flow
1. Create a new popup as per Design: ImportControlNodePopup
2. Add the popup in storybook
3. Integrate ImportControlNodePopup in the app
2023-07-25 15:02:45 +03:00
Alex Jbanca 83303a011e feat(CommunityOverview): Update Control Node help page URL opened by Learn more button
Updating the help URL.
2023-07-25 15:02:30 +03:00
Lukáš Tinkl a2e6227117 feat: disable community settings while in Testnet mode
- display an info box when in wallet testnet mode with a CTA to disable
it (functionality enabled for production builds only)
- the CTA can be tested/seen via OverviewSettingsPanelPage storybook page

Closes #11468
2023-07-24 19:29:13 +02:00
Michał Cieślak 715ed2a918 feat(Communities): Redesigned fees box and sign tx popup components added
Closes: #11600
2023-07-24 17:14:00 +02:00
Cuteivist 9b8340b695
feat(@desktop/wallet): Handle contract deployment (#11570)
closes #9047
2023-07-24 13:18:42 +02:00
Igor Sirotin 38672ffda6
fix(ActivityCenterStore): Fix `switchTo` message is argument (#11639) 2023-07-22 20:20:06 +03:00
Igor Sirotin cc5f057b3a
Replace link previews with new unfurled data from the message (#11603) 2023-07-22 02:08:44 +03:00
Mikhail Rogachev b75d8630ca
feat: use community.isControlNode as visible for archiveSupporVisible (#11560)
Close #11089
2023-07-22 01:05:42 +04:00
Noelia d2051c6247 feat(OwnerToken): Add all mint states views design details
- Added `storybook` support to change minted tokens model with Owner and TMaster tokens.
- Added new properties into the `tokenModel` model.
- Extended `CollectiblesView` to allow Owner and TMaster tokens representation.
- Updated `MintedTokensView` in order to display Owner and TMaster tokens.
- Added logic to `enable/disable` MINT and AIRDROP token depending on the owner /  tmaster tokens deploy state.
- Added temp buttons in MINT and AIRDROP pages that keeps enabled the flows although owner and tmaster backend is not ready.
- Extended navigation from outsite to minting section, depending on user profile and owner and tmaster states.
- Hide footer options in case of owner token item visualized.
- Added retry flow.

Closes #11299
2023-07-21 17:25:08 +02:00
Khushboo Mehta 9800dad3ba feat(@desktop/wallet): Account view - New Account view UI
fixes #11537
2023-07-21 15:37:30 +02:00
Lukáš Tinkl ef2d1b75ad fix: Burn and self destruct pop-ups are not closed after signing
- close the first popup before opening another
- fix `SignTokenTransactionsPopup` title (it would display "Burn
undefined tokens")
- remove duplicate close() calls
- `destroyOnClose: false` is the default

Fixes #11498
2023-07-21 15:23:45 +02:00
Lukáš Tinkl e744c847ad feat(token-permissions): display channel names in SharedAddressesPanel
Modify the PermissionUtils a bit to return an array of `[key, channelName]`
instead of just the keys and use it to display the channel names in the
permissions overview panel

(I could have used `QVariantMap` or `QJSonObject` here but those are
always sorted by `key`, so had to resort to using a plain vector/array)

Fixes #11584
2023-07-21 13:47:07 +02:00
Cuteivist d05d743d80
fix(@desktop/wallet): Various wallet view fixes (#11606) 2023-07-21 12:55:36 +02:00
Sale Djenic 9b17a66935 fix(@desktop/wallet): `Wallet -> Settings -> Account order` - drag and drop accounts in account list is not smooth
Fixes: #11508
2023-07-20 18:01:14 +02:00
Sale Djenic c47a432bae fix(@desktop/wallet): `Wallet -> Settings -> Account order` - watch-only accounts and keycard accounts should have appropriate icon
Fixes: #11513
2023-07-20 18:01:14 +02:00
Sale Djenic 32cac8a8cc fix(@desktop/wallet): `Wallet -> Settings -> Account order` - wrong copy when having single account
Fixes: #11512
2023-07-20 18:01:14 +02:00
Anthony Laibe 0cc91fb315 feat(@wallet): check for url not being a url 2023-07-20 15:32:35 +02:00
Lukáš Tinkl daae249fae feat(Token master): create category in Settings/Communities
Add a `memberRole` value and section for the TokenMaster category in
Settings/Communities

Fixes #11308
2023-07-20 11:37:48 +02:00
Alex Jbanca 27c159d464 feat: Export control node (except backend for primary action)
Adding the export control node popup. The popup is behind an authentication wall.
1. Create ExportControlNodePopup qml
2. Add the popup in storybook
3. Create authentication flow with qml callback to open the popup after authentication
4. Add the popup open action in Global.qml
2023-07-20 12:11:17 +03:00
Michal Iskierko 64422afed7 feat(@desktop/communities): Add burning state logic
Expose burningState in the model.
Update burningState when burning operation changes its status.

Issue #11076
2023-07-20 08:16:32 +02:00
Cuteivist db363b3782
feat(@desktop/wallet): Use separate filter for each wallet account (#11528)
closes #11412
2023-07-19 16:16:45 +02:00
Cuteivist ae6630911e
feat(@desktop/wallet): Adjust options in wallet account menu (#11368)
* feat(@desktop/wallet): Adjust options in wallet account menu

closes #10682

* test(wallet suite) Fix failed test (#11577)

---------

Co-authored-by: Vladimir Druzhinin <128374224+StateOf-Vlado@users.noreply.github.com>
2023-07-19 16:05:21 +02:00
Pascal Precht 3370f4f42d fix: display notification when asset deployment fails
Closes #11338
2023-07-19 13:02:04 +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
Anthony Laibe 3ea5464c33 feat(@wallet): verify json rpc URL 2023-07-18 15:39:21 +02:00
Sale Djenic 4b6066c955 fix(@desktop/wallet): review comments applied for keypair rename feature
- labels changed in Figma, updated in the app
- `Show encrypted QR of keypairs on device` is displayed only if needed now,
for this I had to add account/keypair `operability` feature, so far it handles only
displaying a context menu option, later in a separate issue a proper functionality
will be added
- wallet related toast notifications moved to the proper place (`AppMain.qml`, where
actually all notifications should be handled), not in the place where they occurs, we
need to review other notifications as well and move them there
2023-07-18 09:20:09 +02:00
Sale Djenic 6d25a888d3 feat(@desktop/wallet): keypair rename (a profile keypair name should follow display name)
Fixes: #10769
2023-07-18 09:20:09 +02:00
Alex Jbanca bed7db5528 feat(communityChart): Add messages over time chart - mocked data
Implementing community messages over time chart
Adding `OverviewSettingsChart.qml` to storybook
2023-07-18 08:43:59 +03:00
Khushboo Mehta 1a5907e22c fix(@desktop/wallet): fixes eird scrolling behaviour in Wallet settings
fixes #11526
2023-07-17 21:03:44 +02:00
Khushboo Mehta 4d6c8a840b feat(@desktop/wallet): Networks - Edit Network
fixes #11434
2023-07-17 21:03:44 +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
Jonathan Rainville 5f1483a595 fix: crash when request to join fails + add error toast when it fails
Fixes #11514

The problem was that we were not handling the error from request to join correctly.

Then I added an event that sends a signal to the QML to show a toast about an error. I don't show the actual error to the user because usually it's not super helpful. It will be in the logs.

The status-go change makes it so that we don't save the request to join if the permission check failed.
2023-07-14 15:11:57 -04:00
Noelia f3af979edf feat(OwnerToken): Admin view of Airdrops home - pre-Owner token minting
- New `Get started` panel for admins in `Airdrops` section added.
- Added support in `storybook`.

Closes #11472
2023-07-14 12:57:18 +02:00
Noelia c973605831 feat(OwnerToken): Admin view of Tokens home - pre-Owner token minting
- New `Get started` panel for admins in `Tokens` section added.
- Added support in `storybook`.

Part of #11472
2023-07-14 12:57:18 +02: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
Anthony Laibe 4c8c7d95d7 fix(@wallet): reset tab view on filter change
fixes #11469
2023-07-13 14:15:58 +02:00
Boris Melnik e109865f73 fix(community): Trim emojis in channels
Fixes: #11443
2023-07-12 12:45:10 +03:00
Sale Djenic 1561b170e4 chore(@desktop/syncing): keycards syncing improvements part 2/2
Handling keycards related syncing improvements done on the status-go side.

Closes: #11268
2023-07-11 22:15:44 +02:00
Igor Sirotin d7aa0582be
Switch to new URL unfurl API [sending messages part] (#11476) 2023-07-11 14:30:55 +03: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
Noelia eb37f44a23 feat(OwnerToken): Create Get started panel and add it to Tokens and Airdrops welcome views
- Added start panel in tokens welcome page.
- Added start panel in airdrop welcome page.
- Updated e2e tests according to new requirements.

Closes #11284
2023-07-11 11:07:01 +02:00
Noelia dea020fdba feat(MintToken): Updated sortable token holders with generic SQ component
Replaced existing `NoHoldersPanel` component to the generic `StatusInfoBoxPanel` one.
2023-07-11 11:07:01 +02:00
Noelia d4afc1fba6 feat(CommunitySettings): Changes section name from `Mint Tokens` to `Tokens`
Updated text according to new design.

Updated e2e tests according to new requirement.
2023-07-11 11:07:01 +02:00
Cuteivist 9b293f9c34
feat(@desktop/wallet): Loading animation for input data decoding (#11378)
closes #11333
2023-07-10 15:36:29 +02:00
Sale Djenic 11389facc0 fix(@desktop/general): make "Backup data" button available only for the "development" build
Fixes: #11463
2023-07-10 11:35:28 +02:00
Alex Jbanca 9629a145da feat: Update Community Overview header based on the new design
[Design](https://www.figma.com/file/17fc13UBFvInrLgNUKJJg5/Kuba⎜Desktop?type=design&node-id=31229-627216&mode=design&t=KoQOW7vmoNc7f41m-0)
1. Update header layout and size
2. Add OverviewSettingsPanel in storybook

feat: Update Community Overview Header based on the new design

Removing squish tests related to the community identicon in the Overview page. The identicon is removed in the new designs
2023-07-08 11:56:33 +03:00
Alex Jbanca 3b57915155 feat: Implement Community Overview footer with mocked data
1. Adding OverviewSettingsFooter.qml according to design
2. Adding the footer to storybook
3. Add the footer in the overview page
4. Remove the squish tests for the old footer
2023-07-07 21:07:35 +03:00
Alexandra Betouni ce06fc3a99 fix(EditCommunityToken): prevent using already existing symbols
Closes #10784
2023-07-07 15:30:07 +03:00
Alex Jbanca b710994bee fix: Supply amount in mint tokens preview
Check errors object for values before invalidating the supply amount.
2023-07-07 12:08:03 +03:00
Michał Cieślak 6b42414155 fix(CommunitySettingsView): Add expected roles to assets/collectibles models
The same components are used to display data from rootStore.assetsModel,
rootStore.collectiblesModel (permissions) and
root.community.communityTokens (airdrops). The models have different
roles and need adjustments before passing to ui components.

Closes: #11309
2023-07-06 19:39:44 +02:00
Alex Jbanca 5633efcdba fix(Edit community settings): Fixing width after merge error 2023-07-06 17:37:29 +03:00
Anthony Laibe 5a9ff99aad fix(@wallet): overview balance with symbol
fixes #11397
2023-07-06 15:48:02 +02:00
Cuteivist ab487d40a5
fix(@desktop/wallet): Handle empty activity list exception (#11399)
fixes #11354
fixes #11381
2023-07-06 14:59:26 +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
Anthony Laibe 0cd7829d62 fix(@wallet): prevent delete main account
fixes #11398
2023-07-06 07:50:23 +02:00
Michał Cieślak 16f3f0b2eb chore(Community Permissions): Mint asset button enabled in holdings dropdown
Closes: #11363
2023-07-06 00:53:11 +02:00
Michał Cieślak a4b1b5500a chore(CommunitySettingsView): Sections cross referencing simplified
Additionally:
- stack components directly define content of the left list
- fixed navigation from Permissions section to minting
- various code style fixes

Closes: #11179
2023-07-06 00:53:11 +02:00
Michał Cieślak 6247110293 chore(CommunitySettingsView): Not needed top level Loader removed 2023-07-06 00:53:11 +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
Alexandra Betouni b748402825 fix(EditCommunityToken): adjusted validation error messages for emojis
Closes #10783
2023-07-05 12:45:53 +03:00
Michał Cieślak b5d3a0cff9 fix(Community Permissions): handling collectible icons fixed
Closes: #11297
2023-07-05 11:41:45 +02:00
Noelia 6ec40eb3cc feat(OwnerToken): Create `token owner` and `master token` components
- It creates specific token artwork panel for owner token and token master token  representation.
- It adds support to new component in storybook.

Closes #11294
2023-07-05 11:14:38 +02:00
Jonathan Rainville 2d21ff6c38 fix(community): fix cancel of authentication still requests to join
Fixes #11272

The problem was that we didn't handle the cancelation (checking with password was empty). 

Now we do and we send the signal to cancel when it's the case.
2023-07-04 15:13:48 -04:00
Michał Cieślak 2d0aaaa974 fix(CommunityTokenView): Hide holdings list when token not deployed
Closes: #11386
2023-07-04 15:32:37 +02:00
Michał Cieślak 235c3d778b fix(MintTokensSettingsPanel): Improved binding from token model to CommunityTokenView instance, Constants.TokenType used consistently
Closes: #11387
Closes: #11384
2023-07-04 15:32:37 +02:00
Pascal Precht 42e0751e83 fix(Communities): ensure permission CTAs are rendered with admin
permissions

This commit fixes a bug that admins are not able to do any permission
actions (editing/deleting). The issue was that there was a check for
those CTAs only to be visible if the logged-in user is the owner of the
community, not an admin.

Closes #11092
2023-07-04 13:06:35 +02:00
Michał Cieślak 74991820ca fix(EditPermissionView): Dirty state validation fixed
Closes: #11063
2023-07-04 10:42:11 +02:00
Stefan 2487b4b1cb feat(wallet) make filer apis async
Bump status-go to include required changes

Refactor the API usage to use the new async APIs.
Support multiple events in the same block
Report loading state for all the APIs

Also

- fix the loadingData state in the controller.nim
- reset the model to empty when the filter is invalidated due to
address and chain IDs change

Closes #11170
2023-07-03 17:40:19 +02:00
Anthony Laibe 398cf6455c fix(@wallet): test etherscan link
fixes #11330
2023-07-03 14:46:09 +02:00
Michał Cieślak fcbc86d882 chore(Community Settings): unused SettingsPageLayout removed, minor naming adjustments
Closes: #11177
2023-07-03 12:47:35 +02:00
Michał Cieślak cd142a74fc chore(Community Settings): Squish tests fixed 2023-07-03 12:47:35 +02:00
Michał Cieślak 7f3f425a36 chore(AirdropSettingsPanel) simplified, storybook page improved
- added "back" navigation in storybook
- no need to use states and StackViewStates component
2023-07-03 12:47:35 +02:00
Michał Cieślak 6ccb832800 PermissionsSettingsPanel refactored and simplified, storybook pages fixed and improved
- header buttions/title/subtitle simplified
- no need to use states
- no need to use internal `d` object to pass data between pages
- permissions list scroll position preserved when navigation back from
  other views
- storybook: allow "back" navigation to cover whole flow in sb
- fix some regressions in permissions-related pages
2023-07-03 12:47:35 +02:00
Michał Cieślak f363397f77 chore(PermissionsSettingsPanel): welcome view moved to PermissionsView
to simplify states management

Storybook page updated to cover case when permissions model is empty.
2023-07-03 12:47:35 +02:00
Michał Cieślak 3a28d3e68d chore(MembersSettingsPanel): refactored to use SettingsPage
Minor qml warning fixed
2023-07-03 12:47:35 +02:00
Michał Cieślak 7d02444318 chore(Community Settings): OverviewSettingsPanel refactored
- fixed changing position of header when editing community
- simpler integration with SettingsDirtyToastMessage
2023-07-03 12:47:35 +02:00
Michał Cieślak c3a86184ca chore(MintTokensSettingsPanel): SettingsPage component moved to own file
It's inteded to be used consistently for all flows in community
settings.
2023-07-03 12:47:35 +02:00
Michał Cieślak d5a11ce0fa chore(MintTokensSettingsPanel): component simplified, storybook page
improved

- management of header simplified, no states needed
- no need to use StackViewStates helper
- no need to use internal `d` object as a proxy to pass data between
  pages
- StackView used as a base class
- clipping problems fixed (#11285)
- scrolling problems fixed (#11289)
- all flows working from the storybook
- header management simplified

Closes: #11285
Closes: #11298
2023-07-03 12:47:35 +02:00
Michał Cieślak 8a83aba05a chore(MintedTokensSettingsPanel): simplified by integrating welcome page into MintedTokensView
Welcome info is a placeholder when list of tokens is empty. For that
reason is hander to keep in MintedTokensView instead of in MintedTokensSettingsPanel
and maintain additional state for that.
2023-07-03 12:47:35 +02:00
Michał Cieślak 5a0a5357d1 MintedTokensView minor refactor (code formatting) 2023-07-03 12:47:35 +02:00
Michał Cieślak 617866a0a4 Exclude IntroPanel from WelcomeSettingsView
Additionally:
- word wrapping problems fixed
- storybook page added
2023-07-03 12:47:35 +02:00
Michał Cieślak 456a21f831 SettingsPageHeader control added
It's generic header intended to be used in all community settings
flow.
2023-07-03 12:47:35 +02:00
Cuteivist c842876791
chore(@desktop/wallet): Use correct period of weeks filtering (#11362) 2023-07-03 11:51:34 +02:00
Noelia 981fdd6095 feat(Communities): Moved dropdown qml components from `controls` to `popups`
Closes #11265
2023-06-30 17:37:31 +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
Jakub Sokołowski 08ef5efda5 fleets.json: drop decomissioned eth.test fleet
The fleet wasn't being used so it has been liquidated:
https://github.com/status-im/infra-eth-cluster/commit/de986014

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-06-30 08:35:06 -04:00
Sale Djenic 263ef86c31 fix(@desktop/keycard): crash by just running "Setup a new Keycard with an existing account" flow and closing it
Fixes: #11346
2023-06-30 12:22:52 +02: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
Lukáš Tinkl 6d6cb7a7a7 Settings/Communities: fix duplicate entries
in case a community is both `spectated` and `joined`

Fixes #11301
2023-06-29 17:22:36 +02:00
Jonathan Rainville e35945b76c feat(requestToJoin): add addressesToShare to requestToJoin call
Fixes #11154
2023-06-29 11:19:19 -04:00
Sale Djenic 319bf7a69e fix(@desktop/syncing): keypair syncing - function renamed to avoid confusion, request from the code review 2023-06-29 15:08:29 +02:00
Sale Djenic 7c56dc53d9 feat(@desktop/syncing): keypair syncing - recovering from another device with Keycard related profile
Closes: #10983
2023-06-29 15:08:29 +02:00
Lukáš Tinkl af96345e26 Community -> New community: make community banner and logo required
in production builds

Fixes #11234
2023-06-29 10:44:30 +02:00
Khushboo Mehta a2dd87c18b feat(@desktop/wallet): Watch only account toggle + persisted
fixes #11221
2023-06-29 10:18:42 +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 d763a09cac feat(Communities): File renames
- Removed redundant `community` word in some files from: `controls`, `views`, `popups`, `helpers ` and `panels` folders.
- Updated storybook.
- Updated squish files.

Closes #6204
2023-06-28 14:28:47 +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 823054ec33 fix: Can't deploy collectible via community's mint token section
fix some refactoring error

Fixes #11287
2023-06-28 13:07:58 +02:00
Lukáš Tinkl 9107f15a77 [Mint Token] Update validation rule for name property
Fixes checking for duplicate token name in a case insensitive manner

Redo the `ModelUtils.contains(model, roleName, value, mode =
Qt.CaseSensitive)` in C++; more speed and add ability to search case in/
sensitive

Some more smaller fixes/speedups

Fixes #11204
2023-06-28 11:55:11 +02:00
Cuteivist 91e0d3f0cd
fix(@desktop/wallet): Hide disabled copy address action (#11269)
fixes #10507
2023-06-28 08:27:18 +02:00
Jonathan Rainville 28fa8271a6 feat(communities): update communities token list on token deploy
Fixes #11125

Updates the communities asset and collectibles lists when a new token is deployed.
Also refactors the section module to remove all that code and use the communities token list instead.
Adds community ID to the token list model so that we can show only the global tokens and the tokens from the community are shown in the community
2023-06-27 09:54:23 -04:00
Sale Djenic 961764e3a8 fix(@desktop/onboarding): Keycard -> Factory reset button is not calling any action
Fixes: #11256
2023-06-27 15:11:53 +02:00
Lukáš Tinkl 62fec738a1 [Mint Token] Automatically switch the typed text to uppercase in symbol input
allow uppercase ASCII only input, up to 6 characters

Fixes #11201
2023-06-27 12:35:41 +02:00
Pascal Precht 7b9c78b843 fix: don't allow admins to kick or ban admins
This hides the action items to kick or ban users if they happen to be
admins. There's also a change in status-go that prevents admins to kick
or ban other admins that has to land first here:

https://github.com/status-im/status-go/pull/3666

Closes #10936
2023-06-27 12:13:29 +02:00
Anthony Laibe 31aca3ac35 feat(@wallet): Sort account by position 2023-06-26 22:21:20 +02:00
Pascal Precht 04183a6271 fix: don't cause a wrong redirect when performing community admin
actions

Fixes #11146
2023-06-26 16:27:05 +02:00
Michał Cieślak 9f262a648c chore(CommunityTokensMinting): TokenObject - property-by-property assignment removed, retry flow simplified
Closes: #11050
2023-06-26 10:01:14 +02:00
Michał Cieślak 3a801955e8 chore(CommunityTokensMinting): TokenObject usage refactored
AssetObject and CollectibleObject removed to avoid distinguishing
between those two types in many places.
2023-06-26 10:01:14 +02:00
Khushboo Mehta c47140a406 feat(@desktop/wallet): Wallet accounts - Account List
fixes #11189
2023-06-23 16:55:36 +02:00
Lukáš Tinkl 620c7a746d feat(Settings/Communities): implement new communities list
Closes #11145
2023-06-23 16:48:26 +02:00
Anastasiya Semiankevich 9df6e68a77 chore(@CommunityNewTokenView.qml): add validation for decimal points input 2023-06-23 16:38:04 +03:00
Anastasiya Semiankevich b0a48f35ee chore(@CommunityNewTokenView): placeholder should differ depends on view
different placeholders for Asset and Collectibles view per figma
2023-06-23 15:09:25 +03:00
Boris Melnik cdac45010a feat(communities): Adds mute community intervals
Fixes: #9369
2023-06-22 20:46:33 +03: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
Lukáš Tinkl ae9a52397c fix: broken validation in Total finite supply field
do not try to assign `supply` value in case of error

Fixes #11122
2023-06-22 17:17:06 +02:00
Lukáš Tinkl bb7f744c57 fix: [Mint Token] Update supply validation rule text
Fixes #11190
2023-06-22 17:17:06 +02:00
Lukáš Tinkl ee8df8357a fix: Center collectible artwork field horizontally
Fixes #11187
2023-06-22 17:17:06 +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
Pascal Precht bea4c8c2ad fix: ensure view-and-post permissions are hidden when satisfied
This has slipped through during rebase.
We don't want to show the list of permissions to be fullfilled if they
are already satisfied
2023-06-22 12:53:39 +02:00
Noelia 1d086a9a65 fix(MintToken): 0/1 remaining label shown for a token with infinite supply
Fixes #11208
2023-06-22 12:17:34 +02:00
Noelia a671f7a9f8 fix(MintToken): Change remotely destruct text in summary view
Fixes #11199
2023-06-22 12:17:34 +02:00
Noelia 9b5efd59ef fix(MintToken): Footer options must be disabled in some cases
- Footer options must be disabled until minting process is completed.

- Airdrop footer option must be disabled if not available tokens to airdrop.

- Remotely destruct footer option must be disabled if no hodlers.

Fixes #11198
2023-06-22 12:17:34 +02:00
Noelia 6edfa002d2 fix(Airdrop): Airdrop item not inserted correctly
- After a rebase, signal properties were modified incorrectly.

- Also added protection to not push into the stack the same state more than ones and reset holdings model each time it is set.

Fixes #11147
2023-06-22 12:17:34 +02:00
Noelia 25b4f1a269 fix(MintToken): Can't get fees to remotely destruct tokens
After a rebase, signal parameter names were renamed incorrectly.

Fixes #11149
2023-06-22 12:17:34 +02:00
Alex Jbanca b128ed3ec1 fix: Mint tokens view - exclude watch accounts from accounts dropdown 2023-06-22 12:16:45 +03:00
Alex Jbanca 581ba8541b fix: Community permissions and tokens view horizontal scrolling 2023-06-22 10:02:59 +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 ecc1b5316f fix: community context menu should not say "Leave community" if not joined
- get rid of the `amISectionAdmin` for good (was done only partially in
82a1ed2f7a)
- fix the corresponding storybook pages

Fixes #10963
2023-06-21 11:17:13 +02:00
Alex Jbanca d79a93bb6a fix: InDropdown scrollable height 2023-06-21 09:54:43 +03:00
Pascal Precht b3329d790e feat: channel permissions
Closes: #10996, #10995, #10993, #10997, #9537
2023-06-20 21:57:37 +02:00
Alexandra Betouni 3e0a01883f feat(CommunityPemissions): Added chat input post rights panel
Closes #9436
2023-06-20 20:19:55 +02:00
Alexandra Betouni 61faa2df90 fix(CommunityOverview): adjusted info icon color
Closes #10899
2023-06-20 18:08:44 +03: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
Igor Sirotin f17e49fe32
fix: Community settings member context menu (#11150) 2023-06-20 10:14:25 +03:00
Emil Sawicki 54ae6a3154 feat(@wallet): Display parsed input data
fixes #10793
2023-06-19 10:43:09 +01:00
Alex Jbanca c4e9f8dba0 fix: Adding Beta user agreement 2023-06-19 10:58:03 +03:00
Jonathan Rainville 347bc9c9d7 feat(curated-comms): add permission model to curated communities
Fixes #10410

Adds the permission model to the curated communities model.

Also fixes the assetsModel and collectiblesModel used by the community portal, because it was using the basic Chat Store created in AppMain, but that store doesn't have the assets model.
2023-06-16 16:43:33 -04: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
Mikhail Rogachev fecf58102c
feat(Communities): Request to join should ask for a wallet password (#10967) 2023-06-16 15:02:03 +04: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
Igor Sirotin 60d78eb0ad
fix: Re-enable light mode for status.prod (#11042) 2023-06-15 21:34:25 +03:00
Anastasiya Semiankevich 373608d744 chore(@e2e_tests): split scenario to create and edit, improved edit logic 2023-06-15 18:14:13 +03: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
Mikhail Rogachev c693e4e273
feat(ActivityCenter): Make reply badge more interactive (#11108)
Close #8758
2023-06-15 18:33:49 +04: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
Michał Cieślak e0dd0b82ce feat(Community Airdrops): Dynamic fee calculation in the airdrop form
Closes: #10547
2023-06-15 14:32:52 +02:00
Noelia d4ba22f7bb feat(AirdropAssets): Enable assets tab in airdrop dropdown
- Added assets model.
- Added no data text for assets tab.
- Added navigation from airdrop to mint specific tab.
- Updated `HoldingsDropdown` component to allow network information for assets.
- Removed `isCollectiblesOnly` option in `HoldingsDropdown`. No longer needed.
- Updated `storybook` to support airdrop assets testing.

Closes #11056
2023-06-15 14:04:08 +02:00
Lukáš Tinkl 7bf7f272f3 fix: community context menu should not say "Leave community" if not joined
- differentiate between "Close" and "Leave" a community where the former
applies to spectated communities
- move the "leave community" confirmation popup to a shared place
(Popups.qml), extend it with the outro message and reuse it everywhere
- don't let admins leave a community
- some minor cleanups and dead code removals

Fixes #10963
2023-06-15 12:22:04 +02:00
Anastasiya Semiankevich 601696f589 chore(e2e_tests): extend saved address creation with network options 2023-06-15 12:22:48 +03: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
Igor Sirotin 11bd51fc27
fix(SyncingView): only suggest to sync non-synced devices (#11083) 2023-06-15 11:53:35 +03: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
Mykhailo Prakhov 82a1ed2f7a
feat(@desktop/community): Community admin permissions (#10909)
* chore:
- replaced admin bool to memberRole
- activate admin permissions
- configured admin restrictions
2023-06-14 18:00:41 +02:00
Igor Sirotin 4849230054
fix(ChatColumnView): fix input `Unblock` button state (#11073) 2023-06-14 18:09:46 +03:00
Igor Sirotin 476db57837
fix(Settings): fix left panel items width (#11048) 2023-06-14 18:07:36 +03:00
Igor Sirotin 951fa8b0f4
feat(SyncingView): show installation id in debug mode (#11058) 2023-06-14 16:02:57 +03: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
Noelia 523ddd0572 fix(MintToken): Network is not correctly initialized when the new token form is prefilled
Added initialization tor network combobox.

Fixes #11030
2023-06-14 08:57:10 +02:00
Noelia 87c5ef4928 fix(NetworkFilter): Network filter doesn't allow to preselect a specific value in single selection mode
- Added support for selecting a specific `chainId` in `NetworkFilter.qml`.
- Added `storybook` use case for selecting specific `chainId` in single selection mode.

Part of #11030
2023-06-14 08:57:10 +02:00
Jonathan Rainville 125593369f fix(CodeScanner): fix QrCode Scanner not working on Linux
Fixes #10101

The problem was quite weird. The camera worked, but only when not **directly** in a Loader.

So I fixed by moving the Loader outside of StatusQrCodeScanner and into its parent SyncDeviceFromMobile.

The bahaviour is the same. We get a button asking to enable the camera, then we load the Scanner component. Before the Loader contained only the Camera component.
2023-06-13 12:49:55 -04:00
Anthony Laibe 362250ba92 feat(@wallet): Set default tabl to multichain 2023-06-13 15:00:45 +01:00
Noelia 42c8758746 fix(MintToken): Some renames / code cleanups
Some renames / code cleanups
2023-06-13 15:57:20 +02:00
Noelia 9524ced598 feat(MintToken): Disable airdrop, remote destruct and burn options if mint status is failed
Airdrop, remote destruct and burn options disabled if token status failed.
2023-06-13 15:57:20 +02:00
Noelia 5e4164e2e6 fix(MintToken): Validation rules reviewed
- Updated name and description regex rules.
- Extended name and symbol validation when retry minting to allow same text if we are in edition mode.

Fixes #10860
2023-06-13 15:57:20 +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
Noelia 02baf36070 fix(warnings): Fixed qml warnings
Fixed qml warnings
2023-06-13 15:57:20 +02:00
Jonathan Rainville f6223a1559 chore(update): comment out check for updates for now
Fixes #10990
2023-06-13 09:29:56 -04:00
Michał Cieślak 8102600c5b feat(CommunityMintTokens): Using sortable list of tokens holders
New list contains also dropdown menu with some actions, basic
integration is done for holder types and actions supported currently
by the backend.

Closes: #10621
2023-06-13 12:37:10 +02:00
Michał Cieślak 99ad85047d feat(SortableTokenHoldersPanel): Info panel added when no holders
Closes: #10602
2023-06-13 12:37:10 +02:00
Michał Cieślak 9f73d874c2 feat(CommunityMintTokens): added sortable token holders list component 2023-06-13 12:37:10 +02:00
Anastasiya Semiankevich d9f15ace2b test(@tst_wallet_account_management): add test to verify hide watch-only button 2023-06-13 12:46:09 +03:00
Lukáš Tinkl a263b16862 fix: Holdings dropdown searcher locked
Set the `KeyNavigation.backtab` to itself to avoid accidentally pressing
`Shift+Tab` and tab away from the focused `StatusInput` (which makes it
look like it's disabled)

Fixes #10561
2023-06-13 11:24:07 +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
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
Anthony Laibe 3d6a5b1785 fix(@wallet): left bar selection
fixes #10999
2023-06-12 11:26:47 +01:00
Cuteivist cc7a2e9d32
fix(@desktop/wallet): Several fixes (#10971) 2023-06-12 11:08:37 +02:00
Cuteivist 82dced8826
fix(@desktop/wallet): Handle testnet explorer links (#11016) 2023-06-12 10:39:59 +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
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
Noelia 8d7ff095dd fix(MintToken): App crash when trying to create new token
Accounts `color` role was changed to `colorId` so, `CommunityNewTokenView` has been updated accordingly.

Closes #10991
2023-06-08 15:50:15 +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
Anthony Laibe 96f4b5cc83 fix(@wallet): hide watch only account
fixes #10917
2023-06-08 15:16:27 +03:00
Patryk Osmaczko dfbac49302 chore(qml): adapt assets to support mediaserver images 2023-06-08 13:09:59 +02:00
Boris Melnik 73eb12c914 feat(communities): Adds mute category interval
Part of: #9369
2023-06-08 00:16:54 +03: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
Sale Djenic ae492fe631 fix(@desktop/profile): profile social links
- added to sync mechanism
- added to backup mechanism
- UI updated according to the newest changes

Closes: #10390
2023-06-07 13:22:59 +02:00
Lukáš Tinkl 274fc98839 fix(StatusDateRangePicker): use StatusDatePicker for the range selection
- exchange the direct input with a calendar popup
- extend the validation of the range (so that from < to === true, etc)
- remove direct input components (Status[Base]DateInput.qml)

Fixes #10900
2023-06-07 10:54:44 +02:00
Alexandra Betouni 3227d5afb4 fix(Communities): resolved popup warning
Closes #10952
2023-06-06 18:32:03 +03:00
Anthony Laibe 525a8e19bf feat(@wallet): sort accounts
fixes #10845
2023-06-06 16:17:56 +02:00
Patryk Osmaczko b582afb03a feat: speedup/slowdown archives import based on window state
closes: #10815
2023-06-06 09:39:54 +02:00
Pascal Precht 0b280f090e refactor(communities): remove legacy pending membership indicator
We no longer want to show pending membership requests in the left column
of the layout. Instead, community owners need to go to the community
settings -> members -> Pending requests

This however does not remove the legacy membership popup yet because
it's still used when users click the OS notification of incoming
community requests to join.

We don't yet have a mechanism to make the app navigate specifically to
that section of the community settings.
2023-06-06 09:07:53 +02:00
Igor Sirotin f86608287c
Fix/issue 10905 (#10930) 2023-06-06 09:57:00 +03:00
Lukáš Tinkl ee9db6a302 fix: add/remove account modal positioning is wrong
A small regression from porting StatusModal to StatusDialog

Fixes #10913
2023-06-05 13:47:55 +02:00
Cuteivist dc9193424f
feat(@desktop/wallet): Transactions values (#10832) 2023-06-05 08:22:30 +02:00
Anastasiya Semiankevich e88369a83e tst_communityManageOverview): add scenario that copies community private key 2023-06-02 23:19:35 +03: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 cbe290a735 fix(MintToken): Sign transaction popup was not showing correct data
Fixed params to pass to sign transaction popup: chainId, chainName and accountName.
2023-06-02 13:15:34 +02: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
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
Cuteivist b557274dff
feat(@desktop/wallet): Added NFT preview (#10846)
closes #10822
2023-06-02 10:29:40 +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 e82f6ebf53
fix: Manual login after local pairing (#10858) 2023-06-01 11:15:51 +03: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
Khushboo Mehta 5678d86a54 fix(@desktop/wallet): Simple Custom Date range date picker
fixes #10796
2023-05-31 14:28:22 +02: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
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
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
Lukáš Tinkl 130976957f fix: blurry icons in Network Filter combobox
- detect SVG images and apply the same fix as we do in StatusIcon
- do not load a lowres (tiny) variant

Fixes #9853
2023-05-30 11:39:00 +02:00
Lukáš Tinkl 266b2406cc fix: wrong error message on incorrect password
Adjust to the new error messages when opening the database with the DB
pool

Fixes #10830
2023-05-29 14:52:04 +02:00
Sale Djenic 36ca4cd8f9 fix(@desktop/wallet): removed options for creating a derivation path that's not a keycard compatible if selected origin is migrated to a keycard
If selected origin is an origin migrate to a keycard the following options are disabled:
- drop down menu (where user is able to select one of predefined paths) in custom derivation section
- reset button
2023-05-26 06:54:50 +02:00
Sale Djenic 1d41590d56 fix(@desktop/wallet): keycard accounts do not display a keycard icon in the wallet list of accounts
Closes: #10643
2023-05-26 06:54:50 +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 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