Commit Graph

9303 Commits

Author SHA1 Message Date
Michal Iskierko ce4996075c fix(@desktop/communities): Fix joining community
Unexpected exception broke handleCommunityUpdates

Fix #13958
2024-03-18 14:13:57 +01:00
Anastasiya Semenkevich 82bcddd488 chore: update status-go 2024-03-18 15:25:24 +03:00
Lukáš Tinkl affdccc100 chore: update base and English plural translations
- extract/refresh translatable strings
- fix missing English plurals
- some fixes in KeycardInit, was using non-plural forms

Fixes #13840
2024-03-18 09:43:06 +01:00
Stefan 79fa3795ca fix(settings) fix popup spacing for change password modal
The extra space was not needed given that modal has a padding of 16
already

Closes: #13894
2024-03-15 17:56:00 +01:00
Stefan 086180b47a chore(settings) align password screen with design
Changes required:

- Fixed text colors
- Fixed text expressions
- Added dividers
- Added labels

Closes #13893
2024-03-15 17:52:59 +01:00
Stefan 41d762078d chore(storybook): add ChangePasswordView storybook page
Updates: #13893
2024-03-15 17:52:59 +01:00
MishkaRogachev b37f0f0fd8 feat: emit signals on saving profile identity 2024-03-15 10:22:55 +01:00
MishkaRogachev 8a5164db68 feat: emit signals on saving profile showcase preferences
Close #13968
2024-03-15 10:22:55 +01:00
Alex Jbanca 3a3c3204fa
fix(ProfileShowcase): Add live preview support in the profile view (#13972)
* fix(ProfileShowcase): Add live preview support in the profile view

* Update ui/imports/shared/views/profile/ProfileShowcaseView.qml

Co-authored-by: Lukáš Tinkl <lukast@status.im>

---------

Co-authored-by: Lukáš Tinkl <lukast@status.im>
2024-03-14 19:31:38 +02:00
Lukáš Tinkl e5567d06f4 fix(Profile showcase): Update showcase visibility button UI
- correct width and radius
- correct padding
- remove border
- use a regular `StatusButton` instead of `DisabledTooltipButton` +
`StatusRoundButton`
- add the missing dropdown indicator

Fixes #13941
2024-03-14 18:00:27 +01:00
Lukáš Tinkl 2487963323 fix(StatusMenuItem): use the correct checkmark icon
- has to be the tiny version
- cleanup `assetSettings` assignment, it was redefining (shadowing) the
original properties, therefore creating new ones

Fixes #13941
2024-03-14 18:00:27 +01:00
Lukáš Tinkl d25cefcc2e fix(StatusBaseButton): adapt to handle actions when it is disabled
- add an `interactive` property as a drop-in replacement for `enabled`;
the UI looks "disabled" but can still display e.g. a tooltip or some
loading animation
- add the ability to display a tooltip
- remove DisabledTooltipButton and replace it with a regular
`Status(Flat)Button`, using the above new features
- update storybook with the new `interactive` switch

Fixes #10185
2024-03-14 18:00:27 +01:00
Igor Sirotin ad7f39f91c
fix: category item style (#13975) 2024-03-14 15:46:28 +00:00
Igor Sirotin da4105784a
fix(UserListPanel): use new `FastExpressionRole` (#13299) 2024-03-14 15:23:58 +00:00
Alex Jbanca 7be70ff010 fix(CommunitySettings): Load the community settings on demand and preserve the load state 2024-03-14 13:49:58 +02:00
Alex Jbanca 3b17134451 fix(StatusTextMessage): Allow user to copy parts of a message containing URLs
The root cause of this issue is that the `TextEdit.text` was replaced on hover to add specific styling for the hovered state. As a result the selection was dropped.

To fix this I've moved the highlighted hyperlink style to the StatusSyntaxHighlighter.
2024-03-14 12:21:52 +02:00
Alex Jbanca 4ca7e9b32d fix(DisplayNameValidation): Integrate duplicate display name in joined communities 2024-03-14 09:18:39 +02:00
Igor Sirotin 2f7572a3f4
chore: remove unused imports (#13961) 2024-03-13 21:55:15 +00:00
Jonathan Rainville 634591b69f
feat: hook reactions in read only channel and fix issues (#13913)
* feat: hook reactions in read only channel and fix issues

Fixes #13523

* fix crash and missing emoji popup on group chats

* code review fixes
2024-03-13 15:13:41 -04:00
Jacek Sieka fc16b81caf
chore(nim): use compile-time string formatting (#13945)
Nim 2.2 comes with compile-time string formatting that doesn't raise
exceptions if the format string is invalid - instead a compile-time
error is given.

This PR introduces a backport of that feature which improves performance
and reduces the risk that formatting causes the app to crash and will
help migrating the codebase to newer nim versions that track exceptions
more carefully.

There should be no change in runtime behavior (except formatting being a
bit faster)
2024-03-13 18:38:54 +01:00
Alex Jbanca 24d6c6d273 feat(profileShowcase): Sync collectibles context menu with account visibility 2024-03-13 17:51:23 +02:00
Mikhail Rogachev 9596e3c7aa
chore: bump status-go (#13940) (#13947) 2024-03-13 16:50:46 +01:00
Noelia 66c51ed777 feat(ProfileShowcase): Add network prefixes and filter watch only accounts
- Added network prefixes in profile showcase accounts delegate and included them in the searcher.
- Added filter to just display own accounts in profile showcase accounts tab.

Closes #13899
2024-03-13 14:37:03 +01:00
Cuteivist 8f2d023702
chore(wallet): Fix crash on changing networks (#13952) 2024-03-13 14:19:03 +01:00
Michal Iskierko b936a5f323 chore(@desktop): Upgrade status-go
Issue #13258
2024-03-13 13:39:28 +01:00
Michal Iskierko 86907b170c feat(@desktop/communities): handling bridge message replies
Issue #13258
2024-03-13 13:39:28 +01:00
Noelia f31d6131c3 feat(CollectiblesView): Always visualize section header if community minted collectibles are present
- If only minted collectibles, section header visible. Otherwise, if only regular collectibles, section hidden.
- Updated header used to `FoldableHeader`.

Closes #13315
2024-03-13 12:50:20 +01:00
Noelia 5b71ead227 fix(CollectibleView): Community tag correctly elided
Specified text width to correctly elide on the right.
2024-03-13 12:50:20 +01:00
Noelia 33ccae0a13 storybook(ManageCollectiblesModel): Warning cleanup
It was missing a correct type in a balance item so it was causing a waring.
2024-03-13 12:50:20 +01:00
Noelia 08114728d6 fix(CollectibleView): Some strange layout behaviour caused by this syntax
Syntax error.
2024-03-13 12:50:20 +01:00
Michal Iskierko 7d47291cdc chore(@desktop): Upgrade status-go
Issue #13646
2024-03-13 12:36:12 +01:00
Michal Iskierko 211801afd3 fix(@desktop/tokens): Compute deployment fees dynamically
Issue #13646
2024-03-13 12:36:12 +01:00
Khushboo Mehta 2f0343f0e9 feat(@desktop/wallet): Main Collectible Detail View enhancements
fixes #13804
2024-03-13 11:46:49 +01:00
Mikhail Rogachev 611d70a3b2
feat: Save profile identity in one json (#13937) 2024-03-13 10:46:40 +01:00
Alex Jbanca 7f78c03e6a feat(ProfileShowcase): Remove unnecessary roles renamings from profile showcase models 2024-03-13 10:02:30 +02:00
Mikhail Rogachev b77d6ab76f fix: Switch profile showcase to the right models (#13924) 2024-03-13 10:02:30 +02:00
Alex Jbanca 4ef30a91a3 feat(ProfileShowcase): Create dirty state component for the web tab and integrate the UI 2024-03-13 10:02:30 +02:00
Patryk Osmaczko 282c4e56cd fix: make TokenMaster request permissions reevaluation after remote
destruct

fixes: #13778
2024-03-12 16:29:36 +01:00
Jacek Sieka 427297068d
chore: clean up exception specifiers (#13735)
Annotating functions explicitly with `{.raises: [Exception].}` prevents
Nim from performing compile-time exception checking and is almost never
desired - it does have a tendency to spread through the codebase
however, similar to sub-par const correctness in C++.

The reason these annotations might have seemed necessary can be traced
to missing exception specifiers in the go imports bumped in this PR.

See
https://status-im.github.io/nim-style-guide/interop.c.html#functions-and-types
for background on Nim-go interop and
https://status-im.github.io/nim-style-guide/errors.exceptions.html for
more information on how exception tracking can be leveraged to find
missing error handling at compile-time.

This change has no runtime effect - it merely makes compile-time error
messages more informative or avoids them entirely.
2024-03-12 16:20:02 +01:00
Alex Jbanca aed1ae77c3 fix(ChannelPopup): Fix channel popup width 2024-03-12 17:08:27 +02:00
Lukáš Tinkl 5b1f2e8de2 fix(Profile flow) Validate nickname on edit
- align the nickname validation and min/max limits with displayName

Fixes #13591
2024-03-12 15:55:31 +01:00
Igor Sirotin a6f5f0bc94
fix: prevent forever chat loading animation (#13929)
* prevent animation if loading not started

* prevent scrolling to verification/contact request messages

* fix ac click behaviour

* remove CURSOR_VALUE_IGNORE. cleanup logs
2024-03-12 14:24:55 +00:00
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
Igor Sirotin 67b81e1953
chore: clean up build log (#13928)
* chore: clean up build log

* more cleanup

* typo fix
2024-03-11 17:08:09 +00:00
Noelia bb76962b69 fix(PasswordView): Dark mode background fix
Closes #13549
2024-03-11 16:14:48 +01:00
Michal Iskierko 5bfa1724c8 fix(@desktop/permissions): Fix displaying tokens in permissions
Fix #13773
2024-03-11 15:03:24 +01:00
Andrey Bocharnikov 832ed03ea3
fix(chat_section_module): Fix propagation of "muted" status in chat header (when handling chat_content details update) (#13904)
#13559
2024-03-11 17:02:00 +04:00
Dario Gabriel Lipicar af84d788ff feat(@desktop/wallet): display balance in collectibles view
Closes #12940
2024-03-11 09:10:01 -03:00