Commit Graph

5609 Commits

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