Commit Graph

154 Commits

Author SHA1 Message Date
Noelia 92f77e5fd9 feat(MintTokens): Add mint failure flow
- It updates `CommunityCollectibleView` to display minting failure state.
- It updates `CommunityMintedTokensView` to display minting failure state.
- It exposes subtitle color property in `CollectibleView`.
- It updates `storybook` with more options to display minting failure state.

Closes #10620
2023-05-18 17:06:25 +02:00
Noelia 6e2d552220 feat(MintToken/RemoteDestruct): Added animation when `remotely destroy` process is in progress
- Added property `remotelyDestructState` and `burnState` in `CommunityCollectibleView`.
- Added `fire` and `loading` icons while destruct/burn is in progress.
- Added short animation when destruct/burn process is completed.
- Renamed `Constants.DeployState` to `Constants.BackendProcessState`, more generic one that can be used for different processes.
- Updated `storybook` with new options to test animation.

Closes #10603
2023-05-18 15:28:44 +02:00
Noelia 7aaf8fcec2 feat(MintToken/RemoteDestruct): Review and update remote self destruct flow
Updated strings and renamed files.

Part of #10603
2023-05-18 15:28:44 +02:00
Khushboo Mehta 3ac9edbe96 feat(@desktop/wallet): Activity Details Progress bar
fixes #10639
2023-05-18 09:26:37 -04:00
Noelia e1d05eaafc fix(storybook): Removed property no longer used
`holdersModel` property no longer used in `CommunityCollectibleView`.
2023-05-15 13:36:16 +02:00
Michał Cieślak 2821efe73b chore(Storybook): Basic pages for SendModal and TokenListView added 2023-05-12 20:14:02 +02:00
Michał Cieślak e457f49879 chore(Storybook): Added page clarifying popup sizing issues 2023-05-12 16:38:15 +02:00
Michał Cieślak 086e5334fb chore(InDropdown): Search behavior adjusted, added label when no search results
Closes: #8879
2023-05-12 16:37:01 +02:00
Michał Cieślak c0e4d70f0a chore(InviteFriendsToCommunityPopup): Adjust search behavior 2023-05-12 16:37:01 +02:00
Michał Cieślak 6fcb533b68 chore(MembersDropdown): Search behavior adjusted 2023-05-12 16:37:01 +02:00
Khushboo Mehta 43bd5631de feat(@desktop/wallet): Header Gradient
fixes #10333
2023-05-12 11:39:03 +02:00
Khushboo Mehta a57c0b414b feat(@desktop/wallet): New Account header
fixes #10330
2023-05-10 16:02:37 +02:00
Cuteivist ec04b8668f
Feat/10473 Updated activity list delegate and activity details header (#10580)
closes #10473
closes #10542
fixes #10408
2023-05-10 13:54:06 +02:00
Noelia 1bb4cc7258 feat(storybook/StatusImageCropPanel): Added `StatusImageCropPanel` into storybook
Added `StatusImageCropPanel` into storybook.
2023-05-10 09:48:51 +02:00
Noelia 3f84660137 fix(storybook): Updated `CommunityMintTokensSettingsPanelPage`
Property no longer used
2023-05-10 09:48:51 +02:00
Michał Cieślak 110e5af0c3 chore(CommunityAirdropsSettingsPanel): Storybook page fixed 2023-05-08 11:44:10 +02:00
Michał Cieślak a5d339eb45 chore(CommunityNewAirdropView): Adjust MembersDropdown to updated design 2023-05-08 11:44:10 +02:00
Michał Cieślak 1f3ae975fc feat(CommunityNewPermissionView): red highlight for tokens with inssuficient balance and warning msg panel 2023-05-08 11:44:10 +02:00
Michał Cieślak 45aaa5a3de feat(HoldingsDropdown): maximum amount validation 2023-05-08 11:44:10 +02:00
Michał Cieślak 27aac8d83a feat(CommunityNewAirdropView): design-compliant token airdrop flow for collectibles 2023-05-08 11:44:10 +02:00
Michał Cieślak 1eda1911eb feat(HoldingsDropdown): airdrops tokens support added 2023-05-08 11:44:10 +02:00
Michał Cieślak da07230fa6 feat(AirdropRecipientsSelector): status label with current and max number of recipients added 2023-05-08 11:44:10 +02:00
Michał Cieślak aa039a859e feat: SequenceColumnLayout component added 2023-05-08 11:44:10 +02:00
Anthony Laibe 39b9b5ee91 feat(@wallet): add wallet filter 2023-05-06 17:40:28 +02:00
Stefan 6a0a7770b2 fix(wallet) don't show too big account index for custom path
The warning for not supported bigger than 99 for the account index
make sense only for standard derivation paths that we support.

Also added test case to story book for investigating the issue #10479

updates #10479
2023-05-03 16:51:25 +02:00
MishkaRogachev e160e70121 fix(Contacts): Remove lagecy `removeContactRequestRejection`
Close #9935
2023-05-02 13:56:36 -04:00
Noelia 8ccd091ebc feat(CommunityPortal/StatusCommunityCard): Prepared `StatusCommunityCard` to display permissions row
- `StatusCommunityCard` updated with a new hearder component.
- `CommunitiesGridView` updated to use `CommunityPermissionsRow` component inside card.
- Added needed models.
- Updated storybook.

Pending backend integration: Part of task #10410
2023-04-27 16:10:20 +02:00
Noelia 8a98a08f7b feat(storybook): Created new page for `CommunityPermissionsRow` component
- Updated permissions related models.
- Created new page for new component `CommunityPermissionsRow`
2023-04-27 16:10:20 +02:00
MishkaRogachev 2160b53e33 fix(ActivityCenter): Use ContactRequestId for accpeting and declining CRs from AC
Close #10127
2023-04-25 16:16:32 +04:00
Michał Cieślak 9fe3456e8f feat(Community/Airdrop): MembersDropdown
Closes: #9800
2023-04-21 11:53:11 +02:00
Michał Cieślak 1ce17ca3d4 feat(TokenPanel): Add support for amounts and network selection
Closes: #9797
2023-04-21 10:26:00 +02:00
Michał Cieślak ada4fdd407 feat(TokenItem): add possibility to display amount, storybook page added 2023-04-21 10:26:00 +02:00
Michał Cieślak b5ba4d1bf4 feat(Airdrops): InlineNetworksComboBox component added 2023-04-21 10:26:00 +02:00
Michał Cieślak c97fe80420 chore(Storybook): page for NetworkFilter added 2023-04-21 10:26:00 +02:00
Michał Cieślak 7fbb2cbc5a feat(Storybook): 'Playground' page for handy prototyping added 2023-04-21 10:26:00 +02:00
Stefan 691de11211 fix(Wallet) network selection and unify network implementations
Major changes:

- Don't allow empty network selection. End up using the nim model
  directly instead because of individual row changes issues
  encountered with nim models
- Made the clone model a generic implementation to be used in other
places where we need to clone a model: ReceiveModal,
AddEditSavedAddressPopup
- Use cloned model as alternative to NetworksExtraStoreProxy in
  ReceiveModal
- Added tristate support to our generic checkbox control
- UX improvements as per design
- Fix save address tests naming and zero address issue
- Various fixes

Notes:
- Failed to make NetworkSelectPopup follow ground-truth: show partially
  checked as user intention until the network is selected in the
  source model. Got stuck on nim models not being stable models and
  report wrong entry change when reset. Tried sorting and only updating
  changes without reset but it didn't work.
- Moved grouped property SingleSelectionInfo to its own file from
  an inline component after finding out that it fails to load on Linux
  with error "Cannot assign to property of unknown type: "*".".
  It works on MacOS as expected

Closes: #10119
2023-04-20 19:34:24 +02:00
Dario Gabriel Lipicar da1839fbbb feat(@desktop/wallet) reduce number of digits shown for large currency amounts
Fixes #8917
2023-04-18 10:11:18 -03:00
Lukáš Tinkl a8eed304c0 feat: implement ProfileShowcase settings
Implement the UI part of Profile/Settings/Showcase:

- Communities/Accounts/Collectibles/Assets tabs
- drag and drop of items between "hidden" and "in showcase" sections
- ability to set individual items' visibility
- persistency (showcase saved across restarts), not exposed yet due to
  missing backend API

Closes #9936
2023-04-12 11:39:37 +02:00
Noelia 5944b529ad feat(storybook): Added support for self destruct alert popup in storybook
Added support for self destruct alert popup in storybook.
2023-04-11 16:19:30 +02:00
Noelia fe22cf1bda feat(storybook): Added storybook support for remote self destruct popup
Added storybook support for remote self destruct popup
2023-04-11 16:19:30 +02:00
Noelia b3b53de9ea feat(storybook): Added support to `TokenHoldersPanel`
Added support to `TokenHoldersPanel`.
Updated  `TokenHoldersModel`.
2023-04-11 16:19:30 +02:00
Patryk Osmaczko f9250e7dd4 feat(storybook): add ChatAnchorButtonsPanel
iterates: #9069
2023-04-11 13:35:04 +02:00
Stefan 34c04f0af6 fix(Wallet) fix DerivationPathInput allow custom partial path
The non-standard derivation path was not allowed to be entered so paths
with custom indexes were not allowed.
Also implemented warning for non-ethereum coin
Added more tests for the new specifications
Other minor improvements and fixes

Closes #10135
2023-04-05 18:48:15 +04:00
Michał Cieślak 8dafdfceb8 feat(CommunityPermissions): Switch to enable/disable 'Who holds' section
Closes: #8498
2023-04-05 11:46:20 +02:00
Michał Cieślak 43196d9e31 feat(StatusGroupBox): Use StatusIcon to gray out label when disabled 2023-04-05 11:46:20 +02:00
Michał Cieślak 6768f62451 feat(Airdrops): Component for selecting recipient addresses and members
Closes: #9799
2023-04-04 09:56:47 +02:00
Alex Jbanca 5dc60f5782 fix(JoinCommunityView): Change Reveal Address button icon based on auth type 2023-04-01 08:33:06 +03:00
Stefan 81c3463816 feat(wallet): implement DerivationPathInput control
The enforcing of the derivation path editing rules is done in a structured
way by handling all the changes on the array of `Element` stored in
d.elements and then recomposing the HTML string to be displayed after
every change.

Main limitation is the workaround in `onTextChanged` that regenerates
the text in order to dismiss foreign characters introduced by pasting
which I couldn't find a way to disable without disabling also the ability
to copy content to clipboard.

Highlights:
- Implement DerivationPathInput control that intercepts the modifiable
keyboard events in order to edit the visible TextEdit.text while
respecting the requirements of the derivation path editing
- Implement a JS Controller that handles the logic of the
  decomposing and recomposing the derivation path string
- Add anew StatusQ with the TextEdit basic look and feel to be used
  in DerivationPathInput control without duplicating the style
- Allow passing modifiable events that are not generating characters in
  order to allow copy to clipboard
- Disable add account when control is in error state
- Limit to maximum 5 elements in the derivation path

Testing:
- Integrate the control with StoryBook for a quick preview of the
  control
- Add unit tests for the Controller basic functionality and regression
  for the main control Item
- Removed forcing x64 architecture on apple arm64 hardware from the
  storybook build configuration

Note: initially the implementation was suppose to be simple parse the
derivation path string edit elements and format it. However, I could not
find a quick way fix the circular dependency issue between editing the
text and reformatting it. The solution was to use a one way from the
structured data to the formatted string which complicates the
implementation logic.

Closes: #9890
2023-03-31 18:14:50 +04:00
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