Commit Graph

6440 Commits

Author SHA1 Message Date
Lukáš Tinkl 666ba77051 fix[onboarding] Broken links to "Terms" and "Privacy"
- display the locally bundled privacy/terms of use texts in a popup
- add support for reading text files with both relative and absolute
files or URLs, useful for having the same file path in both storybook
and the app

Fixes #13877
2024-03-11 20:30:59 +01:00
Alex Jbanca e7a1f5e831 feat(ProfileShowcase): Sync dirty state with the source model
Whenever the source model becomes identical to the showcase dirty model, the dirty flag is removed
2024-03-11 20:58:55 +02:00
Alex Jbanca 204bfb30b6 feat(WritableProxyModel): Add syncedRemoval flag to allow source to remove edited rows 2024-03-11 20:58:55 +02:00
Noelia bb76962b69 fix(PasswordView): Dark mode background fix
Closes #13549
2024-03-11 16:14:48 +01:00
Dario Gabriel Lipicar af84d788ff feat(@desktop/wallet): display balance in collectibles view
Closes #12940
2024-03-11 09:10:01 -03:00
Lukáš Tinkl 96c7795153 fix(Settings): simplify the handling of the leftMargin
- reuse the existing `Constants.settingsSection.leftMargin` without the
required property
2024-03-11 12:44:16 +01:00
Stefan 9202cce3f5 feat(activity): add incremental updates to current activity filter
Switch the activity filter to use the new session-based API that
deliver incremental updates to the current filter.

Drop the old quick win listening for individual change events and
use the unified API instead.

The new transactions (on-top) trigger the old "new transactions" buttons
that trigger reset of the current filter and the top new transacitons
highlighted.

Highlight mixed changes (not new on top) as they come in

Highlight new changes on filter reset

Closes #12120
2024-03-11 11:39:59 +01:00
Anthony Laibe 115610fcf6 feat(@wallet): unknown token 2024-03-11 11:29:32 +01:00
Jonathan Rainville 6cbdcfdcf2 fix: fix token master can't send a message on permissioned channel
Fixes #13779

The problem was that the permission update some times takes time to get propagated and get back, or even the control node is offline, so the TM would not be able to post, because the backend would detect that there is a permission and that we don't have the key for it.

The solution is to block the UI when a permission update is pending, since we can't post correctly while it is not processed by he control node.
2024-03-08 17:26:36 -05:00
Mikhail Rogachev 74dfd181c3
feat: Add new simplified model for profile showcase preferences (#13708)
* feat: Add new simplified model for profile showcase preferences

Close #13688

* feat: Add new api for saving profile showcase preferences

* feat(ProfileShowase): Save action with the new backend

- Created JSON file according to new backend structure when saving.
- Updated `dirty state` to sync writable and movable models when position is changed to have a better internal models sync.
- Reenabled identity fields save.

Closes #13799

* feat(ProfileShowcase): Showcase limit values integration with backend

Updated showcase limits with values coming from backend.

---------

Co-authored-by: Noelia <noelia@status.im>
2024-03-08 21:11:48 +01:00
Andrey Bocharnikov 058b08d3c9
fix(ProfileShowcase): Fix blinking when hovering over an address (#13865)
#13681
2024-03-08 19:21:08 +04:00
Lukáš Tinkl 29c61d8135 fix: Hide fleet selection from settings
- introduce `ENABLE_FLEET_SELECTION` desktop config entry to control the
Fleet selection UI availability
- UI can be enabled with envvar `STATUS_RUNTIME_ENABLE_FLEET_SELECTION=1`

Fixes #13848
2024-03-08 13:29:28 +01:00
Noelia a9b5d8fcf7 feat(ProfileShowcase): Add search input in all tabs
- Added searcher input in header.
- Added 2 filter proxies for hidden and inshowcase models depending on search text.
- Added filter expression per showcase tab (accounts, collectibles and communities).
- Added specific placeholder when search empty.
- Added specific logic when search active.
- Added search validation.

Closes #13508
2024-03-08 10:43:07 +01:00
Lukáš Tinkl 418d6bcc35 fix: Collapse / expand section header icons in collectibles view
- use the right icons for collapsed/expanded state
(this should probably use the existing `FoldableHeader` component)

Fixes #13774
2024-03-07 22:18:50 +01:00
Alex Jbanca 07ac4eb8a6 fix(StatusQ): Don't emit layoutChanged on source model reset in MovableModel
+ Update tests
2024-03-07 22:07:49 +02:00
Mykhailo Prakhov 49f7accbc2 chore: send emphemeral notification from QML side 2024-03-07 11:56:21 -05:00
Mykhailo Prakhov 9b8c6aa673 feat: ban/unban/kick system and ephemeral notifications 2024-03-07 11:56:21 -05:00
Noelia b92974ffff feat(ProfileShowcase): Display counter in `In showcase` section header and elements limit
- Added counter in showcase header.
- Added placeholder when limit reached and section expanded.
- Added placeholder when limit reached and section collapsed.
- Added green animation when section collapsed and element added.
- Disabled showcase delegate context menu when limit reached.
- Dynamic tooltip offset center added.
- Added model changes tracker to track the in showcase count.

Closes #13507
2024-03-07 16:10:46 +01:00
Michal Iskierko 473fdc9fbb fix(@desktop/messages) Bridge messages will always have headers
Fix #13736
2024-03-07 09:05:01 -05:00
Cuteivist 3188250b1d
feat(wallet): Add asset sorting by 1 day fiat change (#13826) 2024-03-07 14:47:17 +01:00
Lukáš Tinkl 1e13d8f122 fix: [Profile flow] Nickname not updated after it was added, edited or removed
- trigger a reload of contact details when the secondary popup has been closed

Fixes #13870
2024-03-07 13:48:23 +01:00
Valentina1133 3e1a4f55cb
chore: object name added for status switch (#13871) 2024-03-07 15:05:39 +07:00
Sale Djenic ccd5a416ce fix(wallet): erc20 transfer with multiple path
Fixes: #13759
2024-03-06 14:06:51 +01:00
Alex Jbanca 4d6082e806 feat(ProfileShowcase): Updates based on comments 2024-03-06 14:49:54 +02:00
Alex Jbanca e304d9b76b feat(ProfileShowcase): Implement workaround for the inline components not working
This commit will fix the linux and windows builds by removing the usage of public inline components

TODO: revert this commit once all platforms are migrated to qt 5.15.8+
2024-03-06 14:49:54 +02:00
Alex Jbanca 4a4a5d5c4b feat(ProfileShowcase): Adding the MovableModel to the ProfileShowcaseModels to intercept the SFPM events
This is needed for the DND.
2024-03-06 14:49:54 +02:00
Alex Jbanca c916bfa84e feat(ProfileShowcase): Fixing MovableModel signal handling after the sync state changes
1. Fixing duplicate connections on source model
2. Update connections and indexes when the internal data gets reset
2024-03-06 14:49:54 +02:00
Alex Jbanca 07484cb15c feat(ProfileShowcase): Simplify ProfileShowcasePanel API and connect to the new models
1. Fix `EmptyShapeRectangleFooterListView` visibility and positioning after ListView items are animated out of view
2. Update `ShowcaseDelegate` to remove modelObject dependency. The UI properties needed will be received from parent
3. Update `ProfileShowcasePanel` to remove the previous logic involving rows move and visibility change. There is no need now for two specialised delegate components (one for in showcase and one for hidden). The delegate is still configured outside of this component because the model rolenames need to be mapped to the delegate properties. The common delegate logic is implemented in the `ProfileShowcasePanel` and only the model mapping is needed from parent component.
3. Update all `ProfileShowcase*Panel` to impement the new API
4. Remove all `*ShowcaseDelegate`. The delegate is simple enough to be configured at once in the Panel
2024-03-06 14:49:54 +02:00
Alex Jbanca fbcd90ef3b feat(ProfileShowcase): Update ProfileShowcaseModels to support nim models
1. Adapt and unify model rolenames
2. Add support for dirty state
3. Add reset
2024-03-06 14:49:54 +02:00
Alex Jbanca 5a3bca9a51 feat(ProfileShowcase): Remove assets tab from settings and profile dialog
The assets tab will be implemented later on. It's not needed for this milestone
2024-03-06 14:49:54 +02:00
Alex Jbanca 49aa747fdf feat(ChannelPermissions): Show confirmation dialog before closing the channel edit popup 2024-03-06 14:40:23 +02:00
Khushboo Mehta 3118931ab8 fest(@desktop/wallet): Update Desktop UI to correctly call the router and send
fixes #13797
2024-03-06 12:31:16 +01:00
Ivan Belyakov da226b75aa feat(wallet): resize saved address popup to remove network selection
when ENS name is resolved. Resolve ENS name before used in SendModal.
UI tweaks:
  - red stroke on address input in case of error
  - smaller tick for validation address input
  - added validation spinner to address input, removed from the button
  - handled tab key to move focus between inputs
2024-03-06 08:52:23 +01:00
Lukáš Tinkl b623c8fb2b fix(chat input): should be disabled if user is not able to post
- extend `isUserAllowedToSendMessage` to also cover
`Constants.chatType.communityChat`
- let `admin` always satisfy the permissions
- hide the add emoji/reaction button instead of disabling it when the
permissions are not met
- adjust the error msg to better reflect the reality (tokens vs.
permissions)

Fixes #13777
2024-03-05 18:13:29 +01:00
Noelia 954b25a54c feat(SettingsContentBase): Dirty bubble horizontally centered correctly
Manual calculation of bubble postion to be correctly centered due to the usage of `SettingsContentBase` as a centralPanel component that already has a default left margin value.
2024-03-05 17:54:10 +01:00
Noelia d12641264a feat(SettingsContentBase): Save changes bubble overlaid by default
- Added `autoscrollWhenDirty` property to be able to configure the settings content base as autoscroll mode when dirty toast appears. Otherwise, the toast will be shown overlaid on top of the view content.
- Updated profile view to setup autoscroll on `Identity` tab. Rest of app cases are setup with the overlay mode.

Closes #13517
2024-03-05 17:54:10 +01:00
Dario Gabriel Lipicar 96d9acf1f0 feat(@desktop/wallet): implement jump to activity details screen from collectible details activity tab
Fixes #13721
2024-03-05 07:41:20 -03:00
Anastasiya Semenkevich f3bf194187 chore: add object name for settings left panel 2024-03-05 10:41:39 +03:00
Sale Djenic cbfbce3f62 fix(wallet): naming of first and subsequent wallet accounts
Closes #12693
2024-03-04 13:31:25 +01:00
Lukáš Tinkl d12490ab18 feat(Profile flow): Respond to/review an incoming CR
- implement the new "Reviewing contact request" popup & flow
- adjust storybook

Fixes #13519
2024-03-04 10:56:10 +01:00
Noelia babedf4272 feat(ProfileShowcase) Web tab visual updates according to new design
- Updated `AddSocialLinkModal` according to new design.
- Modified main social links items according to new design.
- Updated edit modal according to new design.
- Some text validation updates.

Closes #13511
2024-03-04 10:54:12 +01:00
Valentina1133 919cd8a7a7
chore: object name for add item button added (#13824) 2024-03-04 16:48:21 +07:00
Sale Djenic e44774dd88 fix(wallet): move to keycard option should not be available for private key imported key pairs
Closes #13796
2024-03-04 10:26:23 +01:00
Sale Djenic 65c553b9e8 fix(wallet): warning that key pair requires import disappears after adding new acc on paired device
Fixes: #13795
2024-03-04 10:26:08 +01:00
Lukáš Tinkl fda1d37c5b feat(Profile flow): ID verification flows (incoming/outgoing)
- Send/request ID verification
- Reply to incoming ID request
- Review ID verification reply
- adjust SB and add shortcuts to trigger the various states of the ID
verification flows

Fixes #13709
Fixes #13745
Fixes #13747
2024-03-04 09:56:30 +01:00
Mikhail Rogachev 0455832f92
feat: Add `scanCommunitiesMembersForName` endpoint (#13789)
Close #13434
2024-03-01 22:12:19 +03:00
Michał Cieślak 00af1d0e90 StatusQ(WritableProxyModel): Handling of layoutChanged/rowsMoved from source models fixed
Closes: #13601
2024-03-01 15:47:41 +02:00
Jonathan Rainville c9fd4ebcee feat(communities): hook promoteSelfToControlNode to UI
Fixes https://github.com/status-im/status-desktop/issues/13560
2024-02-29 12:29:39 -05:00
Mikhail Rogachev f934615752
feat: Add api for getting full pending CR object (#13749) 2024-02-29 12:49:37 +03:00
Alexandra Betouni cdbe3a7718 [ProfileSettings]: Added biometrics in password change view
Closes #13302
2024-02-29 11:44:59 +02:00