Commit Graph

5856 Commits

Author SHA1 Message Date
Lukáš Tinkl 45784cf0cd fix(ProfileDialogView): impossible to copy one's chat key
put a little label below the emoji hash with the elided compressed chat
key plus a copy button with a tooltip

Fixes #11665
2023-07-25 17:21:16 +02:00
Lukáš Tinkl 035f0b8122 fix(ProfileDialogView): fix bio top margin...
- it was too tight with empty bio
- unbreak the storybook page
2023-07-25 17:21:16 +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
Lukáš Tinkl 1332fdc0d9 feat(StatusInfoBox): add support for icons
with predefined Info, Danger, Success and Warning colors
2023-07-24 19:29:13 +02:00
Lukáš Tinkl ed855e5fad fix(StatusBanner): use consistent `warning` color 2023-07-24 19:29:13 +02:00
Lukáš Tinkl d42892eec8 fix(StatusListItem): fix icon color when disabled 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
Michał Cieślak 6d7a018aaf fix(general): added check if role passed to ModelUtils.get exists 2023-07-24 17:14:00 +02:00
Anthony Laibe a6815a7ad2 fix(@wallet): close properly add account modal
fixes #11567
2023-07-24 17:00:04 +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
Lukáš Tinkl 875e17b061 fix: Channels stay highlighted when they are not selected
disable the highlight also when not exiting the DropArea

Fixes #11459
2023-07-17 10:39:24 +02: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
Cuteivist 461bbbc06f
fix(@desktop/wallet): Activity list polish changes (#11486)
fixes #11447
2023-07-13 14:22:02 +02:00
Anthony Laibe 4c8c7d95d7 fix(@wallet): reset tab view on filter change
fixes #11469
2023-07-13 14:15:58 +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
Michał Cieślak 4a3e8ca1b2 feat: Adds AmountsArithmetic utility exposing basic functionality for handling arbitrary precision decimals
Closes: #11484
2023-07-12 11:59:40 +02:00
Michał Cieślak e1177617b9 feat: Add big.js library for arbitrary precision decimal arithmetic
big.js v6.2.1 (minified using terser)
2023-07-12 11:59:40 +02:00
Boris Melnik e109865f73 fix(community): Trim emojis in channels
Fixes: #11443
2023-07-12 12:45:10 +03: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
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 c59758b377 feat(SQ/StatusInfoBoxPanel): Created SQ panel
- Created general `StatusInfoBoxPanel` component. It includes a box with a title, text and button.
- Added storybook page support.
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 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
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
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
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 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
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
Noelia 0e730b38e7 feat(SQ/StatusTagItem): Extend text properties customization
Binding added for `font`  property to allow more component customization.
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
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
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
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
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
Lukáš Tinkl f01359de76 fix: Rename "Communities Portal" button tooltip to "Discover Communities"
Closes #8480
2023-06-27 21:33:36 +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
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
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
Lukáš Tinkl 068449c04c chore: update English TS files 2023-06-26 15:07:38 +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 8cd6de5013 chore(StatusQ/Utils): return StackView's push/pop return values from push/pop methods in StackViewStates
It allows to access pushed/popped items when using StackViewStates for
managing StackView.
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
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 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
Jonathan Rainville fe8a58c5db fix(badges): fix muted chat not being marked as read
Fixes #11041

Fixes the bug where going to a muted channel with a mention doesn't mark it as read. This was because the QML doesn't call mark as read when a channel doesn't have unviewed messages. That was because our Nim code put 0 as unviewedMessageCount when a channel is muted.

I changed it so that channels always have the value from status-go. No more conditions on the Nim side. Now the condition is on the QML side. So we hide the badge in QML instead. That also means that showing the number of unviewed message, even in a muted channel works.

I also fixed a bug where we counted muted messages on app restart for the normal badge. Usually it didn't cause issues, because it's rare that you had messages in a muted channel and nothing else. You'd also have unread messages in an unmuted channel. so you'd go there, read it, and it would then update the parent badge. 
While testing this issue, I discovered that we in fact count muted channels for the parent badge.
So i fixed it in this one too.
So while chats don't have any Nim code for muted chats, sections do, because status-go doesn't really give us that information.
2023-06-16 15:12:12 -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
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
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
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
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
Alex Jbanca 9d14fd60af chore: Integrate DB re-encryption process due to page size changes
Changes:
1. Bump status go to include DB migration
2. Integrate the new DB re-encryption signals to show the re-encryption loading screen
2023-06-14 21:12:22 +03: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