Noelia
7d3b0a576b
feat(storybook): Added support to change `tokenModel` and update `deployState` property
...
Added support to change `tokenModel` and update `deployState` property
2023-03-29 15:37:02 +02:00
Michał Cieślak
27c891fc18
feat(communities): AirdropTokensSelector component added
...
Closes : #9798
2023-03-29 14:25:46 +02:00
Michał Cieślak
1c80cbb3df
fix(Storybook): correct parsing of figma urls with in node-id
2023-03-29 14:25:46 +02:00
Alex Jbanca
75571c9f22
fix(StatusItemsSelector): Allow icons to be provided by the model
...
Fixing https://github.com/status-im/status-desktop/issues/9766
The main change is that the model will now provide the image type, on top of the image source. The image type can be either icon or image. Icons will be coloured with the same colour as the text.
2023-03-28 12:46:20 +03:00
Alex Jbanca
17834ecbc1
fix(MintTokens): Use localised amount for total supply
...
Fixing: https://github.com/status-im/status-desktop/issues/9763
Changes:
1. Use int to pass around the supply amount from one component to another
2. Transform the supply amount to localised string when it is displayed to the user.
2023-03-28 12:17:02 +03:00
Michał Cieślak
5b9017757f
feat(HoldingsDropdown): All listed assets / collectibles submenu
...
Closes : #9263
2023-03-24 16:09:01 +01:00
Noelia
e36270c844
feat(HoldingsDropdown): Added property `isCollectiblesOnly`
...
- Added property that allows to switch the holdings dropdown to only be used in collectibles mode.
- Updated storybook accordingly.
Part of #9938
2023-03-24 14:22:56 +01:00
Noelia
76e2a46c0d
feat(storybook): Added storybook support for `SignMintTokenTransationPopup`
...
Added storybook support for new popup.
2023-03-24 12:08:00 +01:00
Jakub Sokołowski
f39dfa87f7
move qzxing and SortFilterProxyModel to vendor folder
...
Lets avoid creating chaos by having multiple vendor folders.
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-03-23 12:09:19 +01:00
Noelia
87f86855eb
feat(storybook): Added storybook support for `StatusEmojiAndColorComboBox` component
...
Added storybook support for new component.
2023-03-23 08:24:45 +01:00
Noelia
f691c85127
feat(MintToken) Add select wallet account option
...
- Added accounts selector in `Create new token` page.
- Added account name box in `Preview` page.
- Updated `storybook` with new account data.
- Updated `deployCollectible` method call account address property.
Closes #9842
2023-03-23 08:24:45 +01:00
Michał Cieślak
d219d32b72
feat(CommunityPermissions): Limit of 5 permissions for "Become member" permission type
...
Closes : #9536
2023-03-22 14:57:58 +01:00
Michał Cieślak
bef14365aa
chore(StatusItemSelector): Use StatusFlowSelector as a base component
...
Closes : #9851
2023-03-21 11:59:12 +01:00
Michał Cieślak
7df80bfa1c
StatusQ: StatusFlowSelector added
2023-03-21 11:59:12 +01:00
Michał Cieślak
840ebbe1eb
feat(StatusQ): StatusGroupBox component added
2023-03-21 11:59:12 +01:00
Michał Cieślak
0db5790f76
chore(Storybook): StatusItemSelectorPage moved from Sandbox to Storybook
2023-03-21 11:59:12 +01:00
Michał Cieślak
47cb1810b6
chore(Storybook): StatusDotsLoadingIndicator page simplified
2023-03-21 11:59:12 +01:00
Noelia
7aaa16a0c4
feat(storybook): Added airdrop settings panel
...
Added airdrop settings panel.
Updated holdings dropdown page.
2023-03-17 13:12:08 +01:00
Lukáš Tinkl
1998a6556a
feat(Profile): New Social Links workflow
...
TLDR;
- all links visible in settings/popup
- persistent order of items
- drag'n'drop to reorder
- editing/deleting in a new popup
- several links of the same type
Needs changes in nimqml (to expose QAIM::begin/endMoveRows), in
DOtherSide (to expose those to NIM), in status-go (to preserve the links
order and fully save them to DB)
Fixes #9777
2023-03-16 16:08:23 +01:00
Noelia
7ff2f9cfa2
feat(storybook): Minted collectibles list view added
...
Added collectibles list view page.
Added related figma links.
Added new minted collectibles model.
2023-03-14 16:06:27 +01:00
Noelia
c7f18978de
chore(MintingToken): Refactor access to stores in minting components
...
- Refactored minting components store access, since some panels were accessing stores directly. Now `CommunitySettingsView` is the single place where stores are accessed.
- Renamed store `CommunitesStore` to `CommunityTokensStore` for handling minting / airdrop actions / request models.
- `NetworkFilter` refactored to prevent direct access to store inside the component.
Closes #9663
2023-03-14 16:06:27 +01:00
Lukáš Tinkl
5c0f1981ad
feat: Profile Showcase: Proof of concept for own Profile Dialog
...
- the goal of this PR is to get some bsais UI building blocks done for
the followup PRs
- the order of showcase tabs now is:
Communities/Accounts/Collectibles/Assets
- there will be further changes to accomodate for different types of
backend models as those get developed (for other users' profiles)
Fixes #9664
2023-03-08 18:45:27 +01:00
Lukáš Tinkl
3fd196323e
chore: silence warnings
2023-03-08 18:45:27 +01:00
Michał Cieślak
d813cc12b8
chore(CommunityPermissions): refactor access to stores in CP components
...
So far CP components (views, panels) were accessing stores directly.
Now `CommunitySettingsView` is a single place where stores are accessed.
Other components no longer depend on stores.
Moreover:
- dedicated store `PermissionsStore` created for handling permissions
in a single, separated place
- storybook pages fixed
Closes : #9784
2023-03-08 12:02:55 +01:00
Noelia
4ad4a7e2b5
feat(storybook): Added new mint token views pages
...
Added `CommunityCollectibleViewPage` and `CommunityNewCollectibleViewPage`.
Added new `TokenHoldersModel` model.
2023-03-07 13:24:45 +01:00
Noelia
736f315c49
feat(SQ/StatusDotsLoadingIndicator): Created new 3 dots loading animation
...
- Created new loading animation component.
- Added documentation and page in `stroybook`.
2023-03-07 13:24:45 +01:00
Michał Cieślak
a2a1da801c
chore(CommunityPermissions): Use key role name for referencing channels
2023-03-06 17:36:36 +01:00
Michał Cieślak
480c249ee0
chore(CommunityPermissions): Refactor channels handling
...
Community permissions model refers to channels by id instead of
taking/serving all details. UI fetches necessary metadata form
appropriate channels model.
Closes : #9588
2023-03-06 17:36:36 +01:00
Michał Cieślak
702d355e89
chore(InDropdown): Adapt to flattened model for channels
...
Closes : #9591
2023-03-03 16:51:45 +01:00
Michał Cieślak
bb2e03bd88
feat(StatusQ): Added ModelChangeGuard utility to prevent altering models
2023-03-03 16:51:45 +01:00
Michał Cieślak
aff97d741e
fix(CommunityPermissionsViewPage): prevent from modifying singleton's data from storybook's page
2023-03-03 16:51:45 +01:00
Michał Cieślak
4d5d557dfd
feat(Storybook): Add button for copying component name to clipboard
...
Closes : #9673
2023-03-03 00:16:40 +01:00
Michał Cieślak
95d29c76f9
fix(Storybook): Register StatusQ types for Storybook/qmlTests
...
Closes : #9690
2023-03-02 11:33:37 +01:00
Michał Cieślak
9772145ce5
chore(Storybook): Update Readme to point CMakeLists.txt as the main way to build instead of WebAssembly
...
So far README.md had only description for WASM builds what was
misleading, suggesting that's the only proper way of building Storybook.
Closes : #9679
2023-03-01 13:48:31 +01:00
Noelia
8a2bb3e40f
feat(MintTokens/storybook): Created network model and store
...
Created network model and mocked store.
2023-02-28 14:17:47 +01:00
Alex Jbanca
4fca725b55
fix(DidYouKnowSplashScreen): Implement UI changes
...
1. Update messages
2. Increase messages shuffle time to 7 sec
3. Add fade in animation to DidYouKnow messages
4. Update storybook page
2023-02-27 10:44:58 +02:00
Michał Cieślak
ad006cf105
fix(CommunityTokenPermissionsPopup): required models provided, storybook page fixed
2023-02-23 11:51:30 +01:00
Michał Cieślak
e352dcfc11
chore(CommunityPermission): Use typed properties for CommunitiesStore
...
Additionally, pass assets/collectibles models to HoldingsDropdown
directly instead of store to reduce dependency.
2023-02-23 11:51:30 +01:00
Michał Cieślak
44a13eedfc
chore(CommunityPermissions): Dissect real and mocked CommunitiesStore, adapt Storybook's pages
...
Closes : #9612
2023-02-23 11:51:30 +01:00
Michał Cieślak
e2811fa290
feat(CommunityPermissions): Handle update/remove by permission's key instead of index
2023-02-20 22:54:43 +01:00
Michał Cieślak
03e1636cff
feat(StatusQ): Add cpp model utils to allow handling ListModel and generic QAbstractItemModel uniformly
...
Closes : #9562
2023-02-20 22:25:56 +01:00
Michał Cieślak
f6ac937dfd
fix(CommunityPermissions): Warning regarding color assignment fixed
2023-02-20 18:40:59 +01:00
Michał Cieślak
a97c8a720e
feat(CommunityPermissions): Implement duplication checking
...
Moreover:
- adapt flow to the design
- introduce ModelChangeTracker utility component
Closes : #9048
2023-02-20 18:40:59 +01:00
Michał Cieślak
c78eaef2b6
chore(CommunityPermissions): Permissions model and backend API simplified, separation of concerns improved
2023-02-20 18:40:59 +01:00
Michał Cieślak
9757002c7d
chore(CommunityPermissions): Permissions model & backend API simplified, dirty state handling simplified
...
Additionally, permission types metadata excluded to PermissionTypes
singleton component, PermissionsDropdown simplified by using inline
components.
2023-02-20 18:40:59 +01:00
Michał Cieślak
7388bbfef3
chore(CommunityPermissionsView): component api unified and simplified
2023-02-20 18:40:59 +01:00
Michał Cieślak
0af9c27910
chore(CommunityNewPermissionView): simplified by introducing ModelsComparator component for tracking dirty state
...
Closes : #8830
2023-02-20 18:40:59 +01:00
Michał Cieślak
fb19385438
chore(CommunityNewPermissionView): refactor to improve separation of concerns, create/save actions moved up
2023-02-20 18:40:59 +01:00
Michał Cieślak
3a3d1657f0
chore(CommunityNewPermissionView): exclude subcomponent HidePermissionPanel
2023-02-20 18:40:59 +01:00
Michał Cieślak
f8f4757a0b
fix(Storybook): fix cmake config to show qmldirs in QtCreator
2023-02-20 18:40:59 +01:00