9965 Commits

Author SHA1 Message Date
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
97b02e1f04
chore(ci): do full Windows workspace cleanup
If we don't we regularly get weird Git failures on Windows like:
```
fatal: Unable to find current revision in submodule path 'vendor/qzxing/tests/resources'
fatal: Failed to recurse into submodule path 'vendor/qzxing'
```
Or
```
stderr: fatal: Unable to create '.../.git/index.lock': File exists.
```
Which are very annoying and require manual workspace purge by infra team.

Many of you will get annoyed with resulting slower checkouts
on subsequent builds, but that's a price I'm willing to pay.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-03-08 21:18:58 +01: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
Anastasiya Semenkevich
39445afd89 chore: screenshot on fail improved 2024-03-07 17:54:27 +03:00
Anastasiya Semenkevich
0848301498 chore: better dirs naming 2024-03-07 17:54:27 +03:00
Anastasiya Semenkevich
40530954db chore: do not remove logs after run 2024-03-07 17:54:27 +03:00
Michal Iskierko
33c3fcf582 fix(@desktop/chat): Fix referencing message nil pointer
Fix #13812
2024-03-07 09:50:17 -05:00
Valentina Novgorodtceva
4dc232e9d0 chore: object name added for status switch 2024-03-07 17:42:20 +03: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
Anastasiya Semenkevich
5b53e91f73 chore: replace references with dev task 2024-03-07 16:09:28 +03:00
Anastasiya Semenkevich
adff1be5f5 chore: change validations for edit profile form 2024-03-07 16:09:28 +03: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
Alexandra Betouni
13c2653e2f Added Chart Panel in story book 2024-03-07 11:49:24 +02:00
Valentina1133
3e1a4f55cb
chore: object name added for status switch (#13871) 2024-03-07 15:05:39 +07:00
Anastasiya Semenkevich
ac2c3fb55f chore: skip edit tests because of bug 2024-03-06 20:45:58 +03: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
Anastasiya Semenkevich
53979c9598 chore: change ticket reference and remove xfail mark 2024-03-06 15:08:48 +03: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
Valentina Novgorodtceva
8ea10c5bba chore: updated reference, new bug for ens name purchase 2024-03-06 14:25:14 +03:00
Valentina Novgorodtceva
ee9c88130d chore: removed skip mark with bug reference (bug is closed) 2024-03-06 14:25:14 +03:00
Valentina Novgorodtceva
6a2bbe1904 chore: enabled login_with_wrong_password test 2024-03-06 14:25:14 +03: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
Anastasiya Semenkevich
385c7cf803 chore: reference in template is changed 2024-03-06 09:07:02 +03:00
Anastasiya Semenkevich
abe87955a4 chore: improve the reference 2024-03-06 09:07:02 +03:00
Jonathan Rainville
5b8f37cba2 fix(community_tokens): ignore wallet events from watch only accounts
Fixes #13407
2024-03-05 13:28:03 -05: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
Valentina Novgorodtceva
c584d2ecdb chore: disabled toast messages verification for now, will be enabled in another task 2024-03-05 12:39:41 +03:00
Valentina Novgorodtceva
94753b9fc2 chore: fails fixed 2024-03-05 12:39:41 +03:00
Anastasiya Semenkevich
f3bf194187 chore: add object name for settings left panel 2024-03-05 10:41:39 +03:00
Valentina Novgorodtceva
3ad918c561 chore: refactored pin and unpin message test, joined with join community test 2024-03-04 18:28:15 +03:00