Commit Graph

6787 Commits

Author SHA1 Message Date
Roman Chornii a2032ac689
fix(ProfileDescriptionPanel) bio affecting profile showcase changes (#15063)
fixes #15015
2024-06-10 12:29:38 +03:00
Khushboo Mehta 3010fb58cb feat(@desktop/wallet): Implements Edit slippage
fixes #14829
2024-06-07 16:17:08 +02:00
Lukáš Tinkl dbfa9b0b39 fix(StatusTextMessage): fix "edited" status for emoji messages
- continue processing the message if it's an emoji

Fixes #15081
2024-06-07 16:09:08 +02:00
Belal Shehab f0bcea0044
fix(wallet): Renamed KeyPair to key pair throughout the entire app (#15051)
* fix(wallet): Renamed KeyPair to key pair throughout the entire app

replaced the keypair occurances with key pair in the entire qml ui files
fixes: #13612 
---------

Co-authored-by: belalshehab <belal@status.im>
Co-authored-by: Valentina Novgorodtceva <valentina@status.im>
2024-06-07 16:29:09 +03:00
Lukáš Tinkl 70d2a1dd75 [UI - Swap] Update / improve NetworkFilter component to cover swap design specs
- add new `showRadioButtons` and `showTitle` UI customization points
- adjust SB and expose all the existing modes, fix it to make it work
with multi selection
- integrate these new modes into SwapModal to align it with the Figma
design

Fixes #14780
2024-06-07 15:19:51 +02:00
Belal Shehab fdf47c4c21
fix(wallet): fixing back button shows unnecessarily (#15065)
reset the back button on stack reset
fixing: #14320

Co-authored-by: belalshehab <belal@status.im>
2024-06-06 16:10:20 +03:00
Lukáš Tinkl a3c9012f4a feat: [UI - Swap] Create swap input component
- new panel created: `SwapInputPanel`
- some cleanups to the needed stores
- created a SB page demonstrating the use of 2 panels and the
`SwapExchangeButton`
- created QML tests

Fixes #14781
2024-06-06 11:13:18 +02:00
Michal Iskierko a7b9a62745 fix(@desktop/communities): Lazy loading token holders
Token holders are not fetched when application starts.
They are fetched only when token details screen is opened.

Fix #14974
2024-06-06 10:18:16 +02:00
Michał Cieślak 3c73a84c77 fix(SendModal): Unblock sending collectibles flow
Closes: #15039
2024-06-05 17:52:58 +02:00
Michał Cieślak 793e82ac7e chore(SubmodelProxyModel): Marked as deprecated 2024-06-05 14:18:43 +02:00
Michał Cieślak 958dc7c5ba chore(ObjectProxyModel): Generalized version of SubmodelProxyModel
Closes: #14893
2024-06-05 14:18:43 +02:00
Michał Cieślak 2868d22a3a fix(ModelSyncedContainer): Proper disconnection from previously used model 2024-06-05 14:18:43 +02:00
Andrey Bocharnikov 3345a9cc48 fix(HistoryNodes): Fix mailserver management UI controllers
Fixes #14982
2024-06-04 15:37:06 -04:00
Cuteivist 0d3cb065fb
fix(wallet): Fetch preferences only when changed (#15024) 2024-06-04 18:34:35 +02:00
Mykhailo Prakhov 551ae70c46
fix: crash during closing the app if gif was sent/received (#15026) 2024-06-04 13:32:46 +02:00
Alex Jbanca 4e81f8f220
feat(StatusQ.Models): Adding SingleModelItemData helper component (#14891)
SingleModelItemData is a generic component that can provide a live object extract from an arbitrary QAbstractItemModel*
2024-06-04 13:08:52 +03:00
Alex Jbanca f1308f3b28
feat: Add initial support for ChartJs plugins (#14433)
+ adding plugin for crosshair and zoom
+ adding plugin for data labels
2024-06-04 13:08:16 +03:00
Khushboo Mehta aa03edf17c feat(@desktop/wallet): Integrate recurring onramp providers in Recurrent tab
fixes #14820
2024-06-04 11:09:59 +02:00
Khushboo Mehta 3f77a16317 feat(@desktop/wallet): Implement Network selection in SwapModal
fixes #14750
2024-06-04 11:07:23 +02:00
Jonathan Rainville b2fb287beb
refactor: rely on canPost and canView instead of checking permissions (#14993)
* refactor: rely on canPost and canView instead of checking permissions

Fixes #14983

* chore: remove all Light permission checks that are no longer needed
2024-06-03 15:06:34 -04:00
Anastasiya Semenkevich ed1d244921 chore: object name for share profile button 2024-06-03 09:52:00 +03:00
Lukáš Tinkl c53c8bb08a fix(ProfileDialogView): Share your own profile button is missing
- do not fully deactivate the secondary button slot/loader as it's also
used by the Share button

Fixes #14995
2024-05-31 18:42:02 +03:00
Seitseman 70bdd9140f fix: Error message is misleading when pasting bio longer than 240 chars
de-synchronized charLimit and input.maximumLength for Profile Description bio properties to get the UX identical to mobile.
Fixes: #14879
2024-05-31 11:38:00 -04:00
Andrey Bocharnikov bcb9d787c8 fix(permissions): Communities: HoldingsDropdown doesn't allow decimal input (Edit Permissions)
If chainName is empty, HoldingsDropdown doesn't initialise decimals for AmountInput

Fixes #14942
2024-05-31 21:38:24 +07:00
Khushboo Mehta c9641bb0b9 feat(@desktop/wallet): Implementation of One Time & Recurrent tab in Buy Popup
fixes #14819
2024-05-31 12:47:37 +02:00
Mikhail Rogachev f62b6eb348
fix(communities): Correct handling 'hide channel from certain members' (#14977)
Close #14915
2024-05-31 12:28:09 +02:00
Jonathan Rainville 2830f01932 Fix missing reaction and edit buttons on permissioned channels (#14933)
* fix poster actions (edit, delete)

* use canPost instead

* fix chat getting updated without community
2024-05-30 10:04:36 -04:00
Jonathan Rainville 42b10783ef
fix: ensure communityDetails are updated in PermissionsView (#14981)
Fixed an issue where communityDetails were not being updated in PermissionsView.
This issue was causing the name, color, and image not to update correctly.

Co-authored-by: mdias <maildomarcio@gmail.com>
2024-05-30 09:52:28 -04:00
Stefan 1618e6ce0a feat(dapps) implement basic DAppRequestModal
I added it to storybook for testing. There is not integration with with
the app yet.

Updates: #14762
2024-05-30 12:00:06 +02:00
Lukáš Tinkl 6973ccef6b fix: Hide ID verification buttons
- temporarily disable all ID verification flows by default for 2.29
- enabled it in StoryBook for testing purposes

Fixes #14954
2024-05-30 11:41:33 +02:00
Valentina1133 f4115632c1
chore: add object name for emoji reaction (#14987) 2024-05-30 16:00:18 +07:00
Stefan 35b81eadf6 feat(dapps): show dapps list in wallet connect popup
Things done here:

Integrate basic functionality for wallet connect in status-go
Update the list of dapps from the SDK
Retrieve the persistence dapps list from the backend as a fallback
if there is no connection and SDK can't be initialized
Provide a basic simple view of dapps in the wallet connect popup

Closes: #14557
2024-05-30 10:57:42 +02:00
Stefan 07bc6c49df feat(dapps) attempt to fix the wallet connect abstraction
Spent too much time figuring out the puzzle of
service->module->view->QML just to call a
status-go function.

Keeping this attempt for later while moving to a
simplified Controller/Provider approach. I will
come back to the abstraction when we add tests
to use it.

Updates: #14615
2024-05-30 10:57:42 +02:00
Stefan ea2b6b2ed7 chore(dapps) move responsibility of tracking sessions from WC SDK
Updates: #14615
2024-05-30 10:57:42 +02:00
Stefan 0cf41a60cb chore(dapp) update SDK interface and the generated code
Updates: #14615
2024-05-30 10:57:42 +02:00
Khushboo Mehta ca031a285c feat(@desktop/wallet): Use SubModelProxyModel in SwapAdaptor.qml
fixes #14926
2024-05-30 10:28:40 +02:00
Michał Cieślak 80eaf6ba89 feat(MonitoringTool): Inspect arbitrary model found by objectName
Closes: #14971
2024-05-29 22:47:38 +02:00
mdias 2c1806434a
Fix asset value in HoldingsDropdown when adding an asset (#14920)
When creating or editing a community permission, if you add a holding token that has already been added,
the amount value displayed is in basic units (long value) of that token instead of primary units
2024-05-29 13:59:13 -04:00
Anastasiya Semenkevich e15fea7927 chore: add object name for ChatView component 2024-05-29 10:36:52 +03:00
Anastasiya Semenkevich 0fca77b733 chore: rename holders string to match the general in app approach 2024-05-28 19:50:17 +03:00
Lukáš Tinkl f28343e264 fix: Error when editing saved ENS address
- reset the `address` field properly to zero (instead of empty) address

Fixes #14901
2024-05-28 15:31:23 +02:00
Lukáš Tinkl c4f7c9732d fix(AddEditSavedAddressPopup): hide network selector for ENS names
- fix some typos, add some forgotten `qsTr()` calls
- improve SB page with create/edit modes

Fixes #14909
2024-05-28 15:31:23 +02:00
Michal Iskierko 6d310c33cd fix(@desktop/communities): add hidden button to refresh (retrack transaction) community tokens
Issue #14699
2024-05-28 13:52:42 +02:00
Khushboo Mehta 9d8542c95d feat(@desktop/wallet): Add support for Account selection in Swap Modal using already existing AccountsModalHeader.qml
fixes #14749
2024-05-28 10:59:18 +02:00
Khushboo Mehta 81d7ca32b0 feat(@desktop/wallet): Swap modal launch flows
fixes #14628
2024-05-28 10:11:24 +02:00
Lukáš Tinkl 02a17b67ca fix(SlippageSelector): fixup custom input focus and tests 2024-05-28 10:02:20 +02:00
Lukáš Tinkl 3a4764b217 fix(SlippageSelector): remember previous custom value
do not overwrite it and display the Custom button when we click one of
the predefined buttons
2024-05-28 10:02:20 +02:00
Lukáš Tinkl 9eba61e18c fix(StatusButtonRow): move to StatusQ
- also split the SB pages
2024-05-28 10:02:20 +02:00
Michał Cieślak 824f14e220 StatusRowButton and SlippageSelector as a separate components, api simplified, fixed issue with setting values from outside 2024-05-28 10:02:20 +02:00
Lukáš Tinkl 442111c1ad feat: [UI - Swap] Create row radiobutton component with custom field
- Create row radiobutton component like the one defined in design
- It shall contain custom set of buttons
- It shall contain a Custom button that will be converted to an input
field
- Add the new component into a new storybook page
- Create necessary qml tests to cover the component logic

Fixes #14784
2024-05-28 10:02:20 +02:00
Lukáš Tinkl 3ea2ba18f2 feat: [UI - Swap] Create swap switch button
- create a custom circle button component for the Swap popup, with the
needed click event and a border area that can be overlaped with the
background as it looks in the design

Fixes #14782
2024-05-28 09:12:07 +02:00
Anton Iakimov d0865e2f44
chore: switch wakuv2 fleet to waku (#14033)
* chore: switch wakuv2 fleet to waku

See status-im/infra-nim-waku#91 for details

Mostly done automatically. Some parts manually.

* chode: drop eth.staging fleet

Signed-off-by: Jakub Sokołowski <jakub@status.im>

---------

Signed-off-by: Jakub Sokołowski <jakub@status.im>
Co-authored-by: Jakub Sokołowski <jakub@status.im>
2024-05-28 08:48:04 +02:00
Jonathan Rainville 6a820c9e72 fix(categories): fixes categories being always closed on start
Part of https://github.com/status-im/status-desktop/issues/14886

The problem was that we converted `collapsed` to `opened` way too early and with a logic error.

By using collapsed until the module, it's way easier to understand and also fixes the logic mistakes.

I also renamed a couple of functions and variables so that the mistake doesn't happen again.
2024-05-27 14:27:14 -04:00
Lukáš Tinkl 1692651184 fix(Wallet): "All accounts" title casing typo
Fixes #14669
2024-05-27 14:19:34 +02:00
Valentina1133 a11d06f07f
chore: add object name for i dont have other device button (#14921) 2024-05-27 18:19:35 +07:00
Michał Cieślak 2dfb61fe1c fix(SubmodelProxyModel): Proxy model made non-intrusive
Now SubmodelProxyModel doesn't affect source model therefore it's
possible to safely use multiple SubmodelProxyModels over the same source
model.

Closes: #14550
2024-05-27 12:03:17 +02:00
Michał Cieślak d9707091d3 feat(StatusQ): ModelSyncedContainer utility 2024-05-27 12:03:17 +02:00
Michał Cieślak e4dffc60aa fix(TestModel): proper row count check 2024-05-27 12:03:17 +02:00
Valentina1133 5c5debd0c0
chore: add object names market data fields (#14904) 2024-05-27 13:55:25 +07:00
Andrey Bocharnikov 2958a03c2c fix(airdrop): fix decimals validation
* set decimal for assets on AidropSettingsPanel and HoldingsDropdown test pages
* Disable amount length validation by default
* Input: Align validation error string to the left edge
* Update validation error copy

fixes #11918
2024-05-23 19:40:33 +07:00
Lukáš Tinkl a2e85bb3eb feat: [UI - Swap] Create tag error component
- created a new component (`ErrorTag`) based on the existing
`InformationTag`, suitable for displaying a row of icon (optional), text
and (optional) button in red/danger color
- add ErrorTagPage.qml to StoryBook
- add some basic QML tests

- InformationTag: make more properties customizable, use the same
`bgRadius` consistently
- StatusSmartIdenticon: some fixes for the MouseArea hover/click
behavior

Fixes #14792
2024-05-23 08:55:10 +02:00
Valentina1133 dd2d64043b
chore: object names added for link previews elements (#14869) 2024-05-22 09:35:25 +07:00
Jonathan Rainville e01d8fe422
fix(links): open status links in the browser when not shared urls (#14845)
Fixes #14844

The problem was that links to status.app that are not shared links were still considered shared urls, because our util function can only check if it contains `status.app`.

The solution is two fold:
1. If there are Link Previews, I ask the link preview for the type of Link. If it's a normal link, I just open it.
2. If there are no Link Preview for that link, we call `parseSharedUrl` as before, but now we handle the failure by opening in the browser because we can assume that it's a normal link.
2024-05-21 14:14:38 -04:00
Alex Jbanca f944e8359b
fix(BiometricLogin): Move to regular login page when biometric login fails with error (#14860) 2024-05-21 18:42:53 +03:00
Roman Chornii 55edd94401
fix(ProfileDescriptionPanel): Profile settings -> Identity : Addition of validation to bio field (#14772)
- Added validator to the bio component to allow only ascii and emoji characters
This PR fixes #13623
2024-05-21 00:13:55 +03:00
Lukáš Tinkl a6c897929a chore: Remove custom rowData method from NIM's models
- Some NIM's models define additional (not part of the
QAbstractModelItem API) method rowData to allow access to model's data
on UI side
- The same job can be done relying fully on public QAbstractModelItem
API using ModelUtils utility. It gives full transparency if we need
nim's model or other like ListModel replacement in tests/storybook
- propagate `tokensStore` to unbreak the Browser's wallet menu

Fixes #14805
2024-05-20 18:02:20 +02:00
Alex Jbanca 62b7083f4c
fix: Fixing the share addresses popup height when only owner and TM permissions are available (#14865)
* fix: Fixing the share addresses popup height when only owner and TM permissions are available

* Update ui/app/AppLayouts/Communities/panels/SharedAddressesPanel.qml

Co-authored-by: Michał <michalcieslak@status.im>

---------

Co-authored-by: Michał <michalcieslak@status.im>
2024-05-20 18:45:30 +03:00
Stefan 08a1e10f59 feat(dapps) add toast notifications for Wallet Connect paring
Updates: #14754
2024-05-20 17:13:30 +02:00
Richard Ramos 35e4e63b48 feat: shards.staging fleet 2024-05-20 09:33:17 -04:00
Stefan ee72ec7aee feat(dapps) add DAppsService component and ConnectDAppModal
Implement the initial Pairing user workflow and disconnect option for
the first session.

Also

- rename pairing modal accordingly (`PairWCModal.qml`) to make room for the proper
`ConnectDAppModal.qml`
- basic tests for service helpers
- update storybook to reflect the new user workflows

Closes #14607
2024-05-20 15:09:57 +02:00
Stefan 4771f0d77f feat(wallet) customize NetworkFilter for dapps display
Allow to show all selected icons in the network filter
Hide checkboxes in the network filter dropdown

Updates #14607
2024-05-20 15:09:57 +02:00
Stefan 7cd97a0051 chore(dapps) move dApps UX into its own DAppsWorkflow component
Storybook: also automate related workflows for faster iteration

Also extend the inspector utils to handle Loaders and Popups

Updates: #14607
2024-05-20 15:09:57 +02:00
Stefan 78775d3d69 chore(dapps) move wallet connect service code outside popups
Updates: #14607
2024-05-20 15:09:57 +02:00
Alex Jbanca 7a3b0e0653 feat: Update app icons
Adding app icons with all the necessary sizes bundled in ico/icns
2024-05-20 13:38:04 +03:00
Alex Jbanca 292c74b189 feat: Add monochrome tray icons 2024-05-20 13:38:04 +03:00
Valentina1133 03712af3b9
chore: add object names for links preview and add button (#14853) 2024-05-20 17:11:37 +07:00
Michał Cieślak b764446568 feat(StatusLetterIdenticon): simplify names of properties
Closes: #14439
2024-05-17 23:43:42 +02:00
Michał Cieślak a153279e77 feat(StatusLetterIdenticon): make useAcronymForLetterIdenticon true by default 2024-05-17 23:43:42 +02:00
Michał Cieślak b2ab3a455a feat(StatusLetterIdenticon): make useAcronymForLetterIdenticon mode charactersLen unaware 2024-05-17 23:43:42 +02:00
Michał Cieślak aeb9929fcd feat(StatusLetterIdenticon): introduce strictBackgroundColor flag to decouple coloring and useAcronymForLetterIdenticon flag 2024-05-17 23:43:42 +02:00
mdias 694b3c3488
fix: The emoji color selector animation is out of bounds (#14841)
Issue #14744
2024-05-17 13:43:54 -04:00
Michał Cieślak d2f73cd88f fix(Communities): Show channel for non-members when read-only, tokenless permission is set
When channel has view-only permission not requiring any holdings, the
channel is not encrypted and should be presented to non-members in
read-only mode.

Closes: #14439
2024-05-17 15:19:06 +02:00
Lukáš Tinkl 93d808d020 fix(CommunityMembershipSetupDialog): wait for the Join Permission response only
- introduce a new boolean property `checkingPermissionToJoinInProgress`
and use it to enable/disable the Join (share addresses) button when
joining a community
- we don't have to wait for both join and channels permissions check to
finish, as the former is much faster
- renamed `joinPermissionsCheckSuccessful` to
`joinPermissionsCheckCompletedWithoutErrors` to avoid confusion

Fixes #14680
2024-05-17 14:26:55 +02:00
Lukáš Tinkl 26923bc603 chore(StatusDialog): Support custom elements in the footer
- fix rounded corners in header/footer background
- add support for footer drop shadow
- add a page/demo with the various features to StoryBook

Fixes #14499
2024-05-17 10:08:43 +02:00
Jonathan Rainville bbd1adcabb
Remove importCommunity from QML and Nim code (#14814)
* Remove importCommunity from QML and Nim code

Handling issue 14310. Removed functions associated with the API.

* Updated pr for suggested changes.

* Updated module.nim

---------

Co-authored-by: Eliza <elsorber@gmail.com>
2024-05-16 17:30:32 -04:00
Cuteivist b771ac6aed
feat: Change optimism network short name (#14766) 2024-05-16 18:37:54 +02:00
Alex Jbanca f3dc7b9918 feat(ProfileShowcase): Implement custom showcase position when searcher text is filtering items 2024-05-16 16:47:42 +03:00
Valentina1133 e9127f9cd7
Chore/add object name rename keypair item (#14807)
* chore: add object name for rename keypair menu item

* chore: add object name save changes in rename keypair popup
2024-05-16 16:17:33 +07:00
Alex Jbanca 27bfe22af0 fix: Reload contact info whenever the profile dirty flag is dropped
We need to manually request the contact information again because the contact object is not live
2024-05-16 11:13:13 +03:00
Jonathan Rainville 753825a40e
chore(status-go): up status-go for the fix to hidden channels being unread (#14793)
Fixes #14421
2024-05-15 16:31:57 -04:00
Cuteivist d70f2dcf23
feat(@wallet): Show lightbox when clicking collectible (#14168) 2024-05-15 11:36:56 +02:00
Cuteivist 2565c8a135
fix(wallet): Show community name in tag (#14622) 2024-05-15 11:14:46 +02:00
Lukáš Tinkl 8b8af40979 feat(Settings): remove UI scaling option panel
- as discussed with Design, do not allow the user to select the UI scale
option from Settings as it causes many problems; instead rely on the
OS/Qt HighDPI support to handle the scaling for us
- note however, for advanced users, it's still possible to specify the
UI scale manually by exporting the standard `QT_SCALE_FACTOR` prior to
starting the app
- in the longterm, we will come with our own scaling solution at the QML
level, independent from the OS

Fixes #14137
2024-05-14 17:47:10 +02:00
Khushboo Mehta 30ff5f3a2b fix(@desktop/wallet): New Collectible Details tabs
fixes #13806

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-05-14 09:32:45 +02:00
Lukáš Tinkl 2537cdc2f2 fix(CommunityPortal): don't show PermissionsRow for free communities
- hide the permissions row and tokens when the community is free to join
- fix evaluating the `requirementsMet` property which affects the lock
icon state; that role was never part of the model
- add a helper C++ method `isTokenGatedCommunity`
- adjust the SB models, adding different variations of the
permissionsModel for the CommunitiesPortalLayoutPage

Fixes #14671
2024-05-13 16:21:07 +02:00
Lukáš Tinkl 94ca1ff22a fix: ENS keycap display issues
- run the user's display name (ENS name) thru the `Emoji.parse()`
function as that will convert the potentially UTF-16 encoded name
containing emojis into an image

Fixes #12290
2024-05-13 16:20:54 +02:00
Michał Cieślak 587594f3b9 feat(StatusQ): General purpose js function-based aggregator
Closes: #14617
2024-05-13 15:54:03 +02:00
Michał Cieślak ae636ef5a7 fix(StatusQ/Aggregator): Proper recalculation on layout change removing rows
Closes: #14554
2024-05-13 15:53:00 +02:00
Cuteivist 73cee9eebf
bugfix(community): Show popup for infinite supply collectibles (#14410) 2024-05-13 12:59:49 +02:00
Cuteivist 406f12d239
feat(settings): Fixed changing network urls (#14353) 2024-05-13 12:06:05 +02:00