Commit Graph

284 Commits

Author SHA1 Message Date
Sale Djenic b22b632b2d feat(@desktop/wallet): account interaction - stop using a keycard for profile keypair - handling on paired devices
Part 4 of: #11737
2023-09-07 14:49:06 +02:00
Jonathan Rainville bc4a150afa feat(shared_addresses): get old shared addresses for the edit popup
Fixes #11973
2023-09-01 09:31:40 -04:00
Jonathan Rainville 789a01cf09 feat(shared-addresses): add loading state for checking permissions
Fixes #11893
2023-08-30 10:48:12 -04:00
Lukáš Tinkl a42ac076ca fix(shared-addresses): wrong account color and type
- rename `watchOnlyAccounts` to `nonWatchAccounts` to reflect what the
property returns
- some warning fixes

Fixes #12023
2023-08-30 10:30:50 +02:00
Sale Djenic 6b570d1114 fix(@desktop/wallet): notification centre item relating to import of keypair to another of the user's synced devices (point 1)
Point 1 of #11968
2023-08-25 13:31:42 +02:00
Sale Djenic 365fd37f99 fix(@desktop/wallet): importing keypairs after Waku backup (point 10)
Point 10 of #11968
2023-08-25 13:31:42 +02:00
Mikhail Rogachev cc83098263
feat(Communities): Improvements for token holders list (#11923)
* feat(Communities): Refactor token holder list item to separate file

Close #11858

* feat(Communities): Use contact details for community member info

* feat(Communities): reuse StatusMemberListItem for member token holder

* Review fixes

Co-authored-by: Michał Iskierko <61889657+endulab@users.noreply.github.com>

---------

Co-authored-by: Michał Iskierko <61889657+endulab@users.noreply.github.com>
2023-08-22 18:34:37 +03:00
Sale Djenic a1bf7bed19 feat(@desktop/syncing): make a not operable account fully operable, part 3
Closes the third part of #11779
2023-08-22 12:22:32 +02:00
Jonathan Rainville 7274e6156e
feat: hook edit shared addresses to backend (#11951)
Fixes #11822
2023-08-21 16:03:08 -04:00
Boris Melnik 95f829665b
feat(communities): Update permissions list for spectated community tokens model (#11803)
Fixes: #11480

* hook up join popup to permission model

* fix chats not being put in the permission model

* make it work with channel permissions as well

---------

Co-authored-by: Jonathan Rainville <rainville.jonathan@gmail.com>
2023-08-21 14:54:57 -04:00
Alex Jbanca 33b8ca84e8 feat: Disable community membership request actions when the request is in action pending state
The actions are disabled by default. The proper visibility can be set when the backend implementation is done.

+ Fix one issue where the button tooltip was triggered when the pending state button is not visible
2023-08-17 21:14:43 +03:00
Lukáš Tinkl 22258cc363 token-permissions: implement the UI "edit" flow for shared addresses
Fixes #11599
2023-08-11 15:38:42 +02:00
Khushboo Mehta ec3231ef7e feat(@desktop/wallet): Update remove keypair popup to match the Figma
fixes #11734
2023-08-10 19:56:59 +02:00
Alex Jbanca 7d0d321b35 feat(community): Add Pending states to community membership request decisions in members tab panel 2023-08-10 18:02:27 +03:00
Alex Jbanca e9a2b183c7 feat(Community): Add pending states to Community Request Notification 2023-08-10 18:02:27 +03:00
Khushboo Mehta 11820d0400 feat(@desktop/wallet): Wallet settings - Notification after each action
fixes #11719
2023-08-09 11:53:28 +02:00
Alexandra Betouni a36f0d8ce8 feat(Communities): changes in import popup for private keys
Closes #11245
2023-08-07 15:26:35 +03:00
Alexandra Betouni eb65e8899f [ImportCommunities] Add token models needed for CommunityIntroPopup
Closes #11773
2023-08-04 14:45:20 +03:00
Anthony Laibe 05653294eb fix: close testnet banner 2023-08-04 10:28:46 +02:00
Lukáš Tinkl cdc5a90940 fix(SendContactRequestModal): Display name / image problems with CR dialog
- fix missing profile image
- fix displaying wrong name when a nickname or ENS name is present
- fix ID verification flow ignoring nickname
- fix empty results when a contact has only an alias name
- fix needlessly requesting contact details several times (and
overwriting it); we get this info already from Popups.qml
- switch the popup to `StatusDialog` and fix hardcoded height

Fixes #11726
2023-08-02 09:52:32 +02:00
Jonathan Rainville 6e346d2c0d feat(Communities): changes in import popup for public keys
Also: refactor(communities), moved request to join funcs to communities module
This is needed because we can now request to join from the Import popup

Closes #11242
2023-07-28 18:53:59 +03:00
Alex Jbanca 90f4d60059 feat(ControlNode): Show toast notifications when the control node state changes
1. Fix an issue where importing a community using private key triggers the import finished event without updating the community data if the community is already imported with public key
2. Show toast messages on importCommunity and privateKeyRemoved events
3. Group community import toast messages handlers and move them from ContactsColumnView to AppMain. IMO these toast messages handlers should not be dependent on ContactsColumnView.
2023-07-28 10:03:10 +03:00
Boris Melnik 43a5d7eeeb feat(new-links): Parse url data and display
Fixes: #10852
2023-07-27 15:08:21 +03:00
Alex Jbanca 4aaae242b5 feat(Import Control Node): Adding ImportControlNode flow
1. Create a new popup as per Design: ImportControlNodePopup
2. Add the popup in storybook
3. Integrate ImportControlNodePopup in the app
2023-07-25 15:02:45 +03:00
Lukáš Tinkl a2e6227117 feat: disable community settings while in Testnet mode
- display an info box when in wallet testnet mode with a CTA to disable
it (functionality enabled for production builds only)
- the CTA can be tested/seen via OverviewSettingsPanelPage storybook page

Closes #11468
2023-07-24 19:29:13 +02:00
Igor Sirotin 38672ffda6
fix(ActivityCenterStore): Fix `switchTo` message is argument (#11639) 2023-07-22 20:20:06 +03:00
Igor Sirotin cc5f057b3a
Replace link previews with new unfurled data from the message (#11603) 2023-07-22 02:08:44 +03:00
Alex Jbanca 27c159d464 feat: Export control node (except backend for primary action)
Adding the export control node popup. The popup is behind an authentication wall.
1. Create ExportControlNodePopup qml
2. Add the popup in storybook
3. Create authentication flow with qml callback to open the popup after authentication
4. Add the popup open action in Global.qml
2023-07-20 12:11:17 +03:00
Sale Djenic 4b6066c955 fix(@desktop/wallet): review comments applied for keypair rename feature
- labels changed in Figma, updated in the app
- `Show encrypted QR of keypairs on device` is displayed only if needed now,
for this I had to add account/keypair `operability` feature, so far it handles only
displaying a context menu option, later in a separate issue a proper functionality
will be added
- wallet related toast notifications moved to the proper place (`AppMain.qml`, where
actually all notifications should be handled), not in the place where they occurs, we
need to review other notifications as well and move them there
2023-07-18 09:20:09 +02:00
Khushboo Mehta a468635ddc feat(@desktop/wallet): Networks - New List UX with link mainnet/testnet + testnet mode enable/disable
fixes #11252
2023-07-14 08:57:36 +02: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
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
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 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
Lukáš Tinkl ecc1b5316f fix: community context menu should not say "Leave community" if not joined
- get rid of the `amISectionAdmin` for good (was done only partially in
82a1ed2f7a)
- fix the corresponding storybook pages

Fixes #10963
2023-06-21 11:17:13 +02:00
Alex Jbanca c4e9f8dba0 fix: Adding Beta user agreement 2023-06-19 10:58:03 +03:00
Jonathan Rainville 347bc9c9d7 feat(curated-comms): add permission model to curated communities
Fixes #10410

Adds the permission model to the curated communities model.

Also fixes the assetsModel and collectiblesModel used by the community portal, because it was using the basic Chat Store created in AppMain, but that store doesn't have the assets model.
2023-06-16 16:43:33 -04:00
Mikhail Rogachev c693e4e273
feat(ActivityCenter): Make reply badge more interactive (#11108)
Close #8758
2023-06-15 18:33:49 +04: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 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
Jonathan Rainville f6223a1559 chore(update): comment out check for updates for now
Fixes #10990
2023-06-13 09:29:56 -04: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
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
Patryk Osmaczko b582afb03a feat: speedup/slowdown archives import based on window state
closes: #10815
2023-06-06 09:39:54 +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
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
Jonathan Rainville 7d0a77ef0d chore(links): update to use the new external link format
Fixes #10777
2023-05-31 10:36:08 -04:00
Igor Sirotin 5ff4b5a435
fix(MessageContextMenu): Cleanup. Separate menu for profile. (#10729) 2023-05-19 19:07:50 +03:00