Commit Graph

3586 Commits

Author SHA1 Message Date
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