Commit Graph

1437 Commits

Author SHA1 Message Date
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 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 af96345e26 Community -> New community: make community banner and logo required
in production builds

Fixes #11234
2023-06-29 10:44:30 +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 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 f01359de76 fix: Rename "Communities Portal" button tooltip to "Discover Communities"
Closes #8480
2023-06-27 21:33:36 +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
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
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
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
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
Pascal Precht b3329d790e feat: channel permissions
Closes: #10996, #10995, #10993, #10997, #9537
2023-06-20 21:57:37 +02: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
Alex Jbanca c4e9f8dba0 fix: Adding Beta user agreement 2023-06-19 10:58:03 +03: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
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
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
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
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
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
Khushboo Mehta 7f18a76fd5 feat(@desktop/wallet): Complete Filter Activity List
fixes #10823
2023-06-14 20:18:44 +02: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
Anthony Laibe 85c6db4d89 fix(@wallet): send modal max link
fixes #11064
2023-06-14 12:58:16 +01:00
Michał Cieślak 8b44e686f4 feat(CommunityAirdrops): Fees popup with multiple entries for airdrops
Closes: #10484
2023-06-14 12:59:05 +02:00
Michal Iskierko db55d10b37 feat(@desktop/communities): Compute minting fees and displaying minting toast messages
Issue #10536
2023-06-14 10:44:57 +02:00
Stefan 4bcbe51154 feat(wallet): extend API to continue loading activity
Bump status-go with the refactoring of hasMore and add offset
Add support for continuously loading activity in the wallet API.
Extend the debugging demo with continuously loading

Closes #10994
2023-06-13 17:19:31 +02:00
Noelia 7d551b8311 feat(MintToken): Add navigation from retry to filled token form
Enable navigation from token view to new token view (edition).

Closes #10878
2023-06-13 15:57:20 +02:00
Noelia f58f82d4c6 refactor(MintToken): Mint token views refactor
- Created `TokenObject` files and use them inside `CommunityNewTokenView` instead of plain properties.
- Updated `CommunityTokenView` to use `TokenObject` properties instead of plain properties.
- Updated store calls to use `TokenObject` properties instead of plain properties.
- Remote destruct properties renames.
- Airdrop navigation extended passing token type (asset or collectible).
- Updated `storybook` according to new changes.
2023-06-13 15:57:20 +02:00
Noelia 02baf36070 fix(warnings): Fixed qml warnings
Fixed qml warnings
2023-06-13 15:57:20 +02:00
Khushboo Mehta ff98144a56 feat(@desktop/wallet): Part implementation of the filter activity UI 2023-06-13 10:41:07 +02:00
Cuteivist a4731517d6
feat(@desktop/wallet): Add copy details and repeat transaction buttons (#10904)
closes #10776
2023-06-13 10:18:53 +02:00
Stefan 43c7258328 feat(wallet): make filter API async
Bump status-go to include the async API changes
Handle the wallet-activity-filtering-done event
Propagate the has more flag
Extend the debugging UX

Update #10994
2023-06-12 18:36:24 +02:00
Lukáš Tinkl 6bfe79a7f3 fix(Chat): Context menu for gif downloads/copies a png file
Detect the MIME type using `QMimeDatabase` from the actual content and
save it in that same format using `QSaveFile`, as `QImage` does NOT
support saving a GIF

Fixes #10747
2023-06-12 16:51:33 +02:00
Cuteivist 31f59a2e81
chore(@desktop/wallet): Unify transaction enums (#11034) 2023-06-12 15:04:39 +02:00
Cuteivist cc7a2e9d32
fix(@desktop/wallet): Several fixes (#10971) 2023-06-12 11:08:37 +02:00
Cuteivist 82dced8826
fix(@desktop/wallet): Handle testnet explorer links (#11016) 2023-06-12 10:39:59 +02:00
Stefan 16304ab26b feat(wallet) filter activity by status
Parse the status information from the API response
Added debugging status as to the debug view

Closes: #10746
2023-06-12 10:38:31 +02:00
Cuteivist f0b42ad672
fix(@desktop/wallet): Update wallet account color correctly (#11008) 2023-06-12 10:14:19 +02:00
Anthony Laibe 59796b938f fix(@wallet): value with scientific notation
fixes #11009
2023-06-11 10:30:15 +01:00
Lukáš Tinkl 0b94c2b541 fix: revert to not destroy popups on close by default
- causing too many regressions along the way
- most of our popups are already destroyed properly inside Popups.qml
- in general, a Popup (Dialog, Menu, etc.) can be manually destroyed iff
it had been created using `Component.createObject()`, otherwise it's gone
for good until restart
- manually enabled the destroy-on-close in verified cases

Fixes #10948 (maybe some other dupes)
2023-06-09 00:44:27 +02:00
Lukáš Tinkl 0bf5c64b06 chore: removed unused components
0xdeadbeef
2023-06-09 00:44:27 +02:00
Lukáš Tinkl 0f9f5de267 fix: [chat] @mentions no longer working
fixup undefined references which caused the users model to become
empty

Fixes #11005
2023-06-08 16:19:53 -04:00
Lukáš Tinkl 4bf09e2b84 fix(StatusChatInput): handle non standard DND MIME types
- most browsers will pass a standard `text/uri-list` MIME type, however
Chrome uses `text/x-moz-url` so we handle that separately
(`drop.hasUrls` is `false` in this case)
2023-06-08 15:33:46 +02:00
Lukáš Tinkl b83b8e7466 fix(Utils): use the more robust QClipboardProxy checks
- when verifying whether an image has a suitable size or extension
2023-06-08 15:33:46 +02:00
Mikhail Rogachev 010640acd0
feat(Chat): display MutualStateUpdate system messages in 1-to-1 chats (#10847)
* feat(Chat): Display MutualStateUpdate system messages in 1-to-1 chats

* feat(ActivityCenter): Add AC notification when a user get removed by another contact

* fix: crutch fixing segfault on contact removal
2023-06-08 16:52:03 +04:00
Patryk Osmaczko dfbac49302 chore(qml): adapt assets to support mediaserver images 2023-06-08 13:09:59 +02:00
Igor Sirotin bc4492b53a
fix: Create only one instance of `StatusChatInput` (#10928)
* Chat input area preserved properties
* Fix emoji/gif/stickers popups open/close logic
2023-06-07 16:18:29 +03:00
Sale Djenic ae492fe631 fix(@desktop/profile): profile social links
- added to sync mechanism
- added to backup mechanism
- UI updated according to the newest changes

Closes: #10390
2023-06-07 13:22:59 +02:00
Cuteivist a0146014d1
fix(@desktop/keycard/wallet): Small fixes (#10949) 2023-06-07 10:38:44 +02:00
Anthony Laibe e04487437d fix(@wallet): no token balance
fixes #10935
2023-06-06 10:47:04 +02:00
Igor Sirotin f86608287c
Fix/issue 10905 (#10930) 2023-06-06 09:57:00 +03:00
Lukáš Tinkl 2a253be291 fix: Wallet: Authentication popup is broken
- do no let text/input overflow our overall width
- set the scrollview horizontal padding to 0, the content item has its
own margins already

Fixes #10915
2023-06-05 15:46:24 +02:00
Cuteivist dc9193424f
feat(@desktop/wallet): Transactions values (#10832) 2023-06-05 08:22:30 +02:00
Khushboo Mehta 28654e0187 \chore(@desktop/wallet): Change customisation colours on desktop to match those used on mobile
fixes #10637
2023-06-02 19:48:19 +02:00
Patryk Osmaczko 35a2dd5244 [Popups]: added destroy() function in all popups by default
Also switched StatusModal to derive from StatusDialog instead
of Popup type

Closes #10149
2023-06-02 14:28:39 +03:00
Noelia d4d3a6d669 feat(MintToken): Add `delete` and `retry mint` options when deploy fails
- It refactors `SettingsPageLayout`.
- It adds `retry mint` and `delete` options when deploy process fails.
- It renames `RemotelyDestructAlertPopup` to generic name `AlertPopup`.
2023-06-02 13:15:34 +02:00
Noelia 8ae2d29a1c feat(MintToken): Use `contractUniqueKey` instead of index
Updated minting flow to use `contractUniqueKey` instead of `index`.

Closes #10765
2023-06-02 13:15:34 +02:00
Noelia 86a0e8b9ec feat(MintAssets): Update minted tokens view with assets
- Added assets list UI.
- Added shape rectangle for empty lists.
- Added filter by asset / by collectible
- Updated storybook accordingly.
- Added flow to open token view depending on type

Closes #10625
2023-06-02 13:15:34 +02:00
Jonathan Rainville 3760e5f5a7 chore(StatusChatInput): hide ChatCommands for now
Fixes #10893
2023-06-01 15:18:32 -04:00
Igor Sirotin 278654f694
fix: Use `StatusCursorDelegate` for password inputs (#10890) 2023-06-01 21:23:22 +03:00
Jonathan Rainville fa656c9535 feat(NewChat): open contact popup when pasting key of user in request
Fixes #9736

When pasting the chat key of a user to whom you already sent a request to, but for which they haven't answered yet, we open the popup instead of doing nothing.
If you paste the chat key of a user you are not a contact at all and sent no request, it opens the contact request popup as before.
Also, same as before, if you paste the key of a mutual contact, their name will show in the suggestion list.
2023-06-01 10:51:39 -04:00
Igor Sirotin 7eed470829
fix(StatusScrollView): Change implementation to inherit ScrollView (#10789) 2023-05-31 23:58:23 +03:00
Jonathan Rainville 7d0a77ef0d chore(links): update to use the new external link format
Fixes #10777
2023-05-31 10:36:08 -04:00
Jonathan Rainville d04e121ab5 chore: update deep link to status-app on Windows 2023-05-31 10:36:08 -04:00
Michal Iskierko 4c29343a4a feat(@desktop/communities): Add self-destruct tokens functionality
Issue #10052
2023-05-31 12:43:36 +02:00
Cuteivist 7caa89b050
feat(@desktop/wallet): Transaction activity summary (#10809)
closes #10751
2023-05-31 11:25:16 +02:00
Cuteivist fb85c46727
fix(@desktop/wallet): Small navigation fixes (#10839) 2023-05-31 09:47:52 +02:00
Noelia 9f8275ce5c feat(MintAssets): Create mint assets flow
It creates mint assets flow:
- Preview integrated.
- Mint call and sign transaction popup added.

Closes #10624

a
2023-05-31 08:18:26 +02:00
Stefan 9262943176 feat(wallet) complete the filter API
Bumps status-go HEAD to include required changes

Updates Nim filter components and APIs to follow API changes in
status-go
Complete the debugging code
Add TODO placeholders to be completed in follow up PRs: collectibles ...
General improvements and refactoring

Closes #10634
2023-05-31 08:16:28 +02:00
Boris Melnik 91bdb5824b feat(mute): Adds intervals for muting channels and chats
Part of: #9369
2023-05-30 16:43:48 +03:00
Sale Djenic 0b9d7e1962 fix(@desktop/keycard): updated information for listed keypairs for migration to a keycard
Fixes: #10808
2023-05-26 10:54:12 +02:00
Sale Djenic 38ce51e4bb chore(@desktop/wallet): changes caused by accounts improvements on the `status-go` side
Closes: #10592
2023-05-26 06:54:50 +02:00
Lukáš Tinkl bf6758b68e fix(ShowcaseDelegate): community icon is not rounded
- this needs proper bg color (transparent) and a `border.width: 0` to
work properly with the

Fixes #10754
2023-05-25 16:30:10 +02:00
Boris Melnik 92a9c41238 fix(invitation-bubble): Adds loading state for unfurling links
Fixes: #10422
2023-05-25 12:33:54 +03:00
Noelia dbc3effe94 feat(MintTokens): Added validation rules in `CommunityNewCollectiblesView` page
Added new validation rules for name, description, symbol, supply and decimal fields according to new design.

Closes #10623
2023-05-25 11:11:44 +02:00
Alexandra Betouni 06b4b28145 [CommunityPermissions]: Added drag/drop image panel as per new design
Closes #10609
2023-05-24 20:31:10 +03:00
Noelia 12faa752bd feat(MintToken): Implement UI burn footer option
- Burn footer option enabled.
- Integrated `BurnTokensPopup` in mint tokens flow.
- Integrated `SignTokenTransaction` in burn flow (added needed signals to interact with backend).

Closes #10050
2023-05-24 17:17:40 +02:00
Noelia a366e96999 feat(MintTokens): Created `BurnTokensPopup`
- Created new popup.
- Added validation.
- Added header image component.
2023-05-24 17:17:40 +02:00
Anthony Laibe 1e5fee981e feat(@wallet): calculate progress for activity tx
fixes #10762
2023-05-24 13:41:00 +02:00
Alexandra Betouni d924d5a94a [onboarding]: fixed overall positioning
Closes #8525
2023-05-23 18:43:25 +03:00
Emil Sawicki f42f48b247 fix(@desktop/wallet); Refresh transaction wallet address 2023-05-23 07:44:29 -04:00
Stefan 22df203653 feat(Wallet): add activity filter basic API
Add the possibility of retrieving the data of wallet activity based
on the given filter criteria.

Major changes:
- Bump status-go with the new equivalent API
- Add temporary developer tools
    - Debugging ActivityView QML component to test filter and display
    the activity
    - Add activity Nim package and synchronous controller and model

Considerations
- Have the model synchronous for the first iteration and then move to
  async while implementing the fetching mechanism
- Use QtObject instances in the model instead of roles over items as
  agreed with the team
- Simplify the implementation by having a simple presentation layer
  using backend (service also in the future)
- Small required fixes and improvements

Closes: #10633
Updates #10366
2023-05-23 11:29:09 +02:00