Commit Graph

9358 Commits

Author SHA1 Message Date
Jonathan Rainville b6b21c3744
Refactor out channel groups (#14202)
Fixes #12595

Gets rid of the concept of channelGroups.
Instead, we use the communities and chats directly, to keep the same concepts as status-go.
2024-05-13 15:58:55 -04: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
Roman Chornii f965ab4540
fix(Syncing): cancelling syncing flow should not result in error dialog (#14633)
Closes #11908
2024-05-13 14:24:29 +03:00
Cuteivist 5fbc262dec
fix(wallet): Hide loading when selected account is loaded (#14435) 2024-05-13 13:00:02 +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
Roman Chornii 6caea1c56e
fix: Messages: Change unfurl image crop aspect ratio to align with Open (#14682)
Graph

Fixes: 13379
2024-05-13 12:48:42 +03:00
Michał Cieślak ed33f21828 fix(SubmodelProxyModel): model reset emitted properly when roles change
Closes: #14650
2024-05-13 11:12:09 +02:00
Stefan 4dfa0a1b05 chore(storybook) add ConnectDappModal to story book
Also:

- mock FeatureFlags nim to silence `Global.qml` warnings

Updates: #14556
2024-05-13 10:33:16 +02:00
Stefan 1f60410db8 feat(dapps) implement wallet connect URI input
Other changes

- start Wallet Connect SDK using web engine after wallet is ready
- source WC project ID from the constants in nim
- close list when opening the `ConnectDappModal`
- remove the old POC modal instantiation
- rename ConnectDappPopup to Modal for consistency
- move specific dapps related user settings to their place in the component
- add DAppsStore to be used for dapps abstraction

Updates #14556
2024-05-13 10:33:16 +02:00
Sale Djenic 0de54bb584 fix(general): throughput/rate limit error
Closes: #14665
2024-05-13 10:30:35 +02:00
Godfrain Jacques bc56278e19
chore(status-go): bump status-go to fix activate permissions upon making device controlnode (#14708) 2024-05-10 09:45:49 -07:00
Godfrain Jacques ac54a70c4e
fix: Permission created before making device a control node is not getting active (#14537)
* chore: bump status-go

* fix: mitigate permissions stuck in pending on control node promotion

This PR fixes #14023

UI does NOT allow promoting to control node is no Owner token is present
2024-05-10 08:57:06 -07:00
Lukáš Tinkl 523e0490fe fix(StatusWindow): fix changing the window state(s)
- since the window can be a combination of several states (e.g.
maximized + fullscreen + minimized), use the newer `windowStates()` to
track and toggle them
- call `makeStatusAppActive()` in all the identical codepaths (clicking
tray icon, activating a mac or win instance, running a second instance,
etc)
- fixes restoring the window to its previous state(s) when activating
from the tray or dock icon
- use some more standard keyboard shortcuts

Fixes #14132
2024-05-10 16:11:37 +02:00
Jakub Sokołowski ba98fca516
chore(ci): allow overriding PRODUCTION_PARAMETERS
This would allow us to create non-prod builds in CI.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-05-10 09:18:43 +02:00
Lukáš Tinkl cd06731119 fix: community tag icon is missing
- check for emoji using either `iconId` or `iconHex` as a fallback if
the former fails (can happen with some emojis)

Fixes #14599
2024-05-09 17:48:14 +02:00
Lukáš Tinkl d703d0e87f feat(CreateChannelPopup): inherit the channel color from community color
- if there's a valid community info and the color is non-empty, inherit
it when creating a new channel
- also fix the color picker button height
- adjust the SB page with separate "create" and "edit" options

Fixes #14570
2024-05-09 12:06:43 +02:00
Jonathan Rainville 953fff0e68 feat(community): show a message when the member reevaluation is ongoing
Fixes #14378
2024-05-08 16:44:58 -04:00
Jonathan Rainville 685b83d56d chore: update icons to use the new multicoloured Status logo
Fixes #14531
2024-05-08 10:22:34 -04:00
Khushboo Mehta 03495265d5 feat(@desktop/wallet): Add Swap Feature Flag
fixes #14627
2024-05-08 13:41:17 +02:00
Roman Chornii 05000c5743
fix(TokenUI): Hide explicitly ManageTokensCommunityTag in community settings page according to collectibles cells sizing (#14500) 2024-05-08 14:24:27 +03:00
Cuteivist 8049eaa014
fix(wallet): Update currency format on startup (#14623) 2024-05-08 11:46:57 +02:00
Michał Cieślak 27c53f4154 feat(StatusQ/SubmodelProxyModel): Exposing roles computed per submodel to the top-level model
Closes: #14390
2024-05-07 16:26:44 +02:00
Godfrain Jacques ceee230244
fix: Token Master permission missing token name (#14609) 2024-05-07 06:58:15 -07:00
Khushboo Mehta 3a57a63605 fix(@desktop/wallet): Use Pokt instead of Infura as Main url for Arb and Ope Sepoila 2024-05-07 14:37:28 +02:00
Khushboo Mehta bc1aa3b934 fix(@desktop/wallet): Send tag in SendModal doesn't show correct value
fixes #14448
2024-05-07 13:39:45 +02:00
Khushboo Mehta 8d8268db2f feat(@desktop/wallet): Make images match their aspect ratio but still have min width and height in collectible details
Also make images zoom to cropped when visible in the collectibles list view

fixes #14203
2024-05-06 16:56:48 +02:00
Stefan 195cb55e8d fix(build) fix python package error on make run on MacOS
Update packages all the time ensuring that a change in package.json will
be reflected without manual intervention.

The `fileicon` v0.3.0 tool we used on MacOS to embed icons in our binary
is failing. Upgrading to latest v0.3.3 fixes this. It will require
a `make update` though to fix local builds.
2024-05-06 16:02:07 +02:00
Lukáš Tinkl 3fd96986da fix: Hovering community in the profile showcase leads to crash
- messing around with the DropShadow layer lead to a nasty crash
somewhere deep inside Qt mouse event handlers

Fixes #14596
2024-05-03 18:57:02 +02:00
Lukáš Tinkl caa97737c7 fix(ui-test): fix sporadic failures to load CreateChannelPopupPage
thus also fixing the failing `tests/ui` in CI
2024-05-03 17:01:39 +02:00
Lukáš Tinkl ac9a240e25 fix(StatusLoadingIndicator): make StatusLoadingIndicator use Animator
TLDR: the `StatusLoadingIndicator` will be able to continue the
(rotating) animation eventhough the app might be stuck as
`RotationAnimator` runs on the render thread

- make `StatusIcon` use internally `ColorImage` component which makes it
possible to recolor `Image` on the fly w/o the need to use
`QtGraphicalEffects` module and a separate color layer
- which in turn enables us to use `StatusIcon` with the
`RotationAnimator`
- one minor drawback though, we can no longer use the versioned
properties like `mipmap` with `StatusIcon`; not a big deal as we use
this with SVGs only

Fixes #10014
2024-05-03 17:01:39 +02:00
Andrey Bocharnikov 688238fdd3 Fix(Profile): Fix saving of profile identity changes (#14464)
Problem:
There were no difference between the fact that the avatar is not changed and the avatar is deleted. The same for bio and displayName

On NIM, this state was simply rewritten
Solution
(The problem was discovered due to the fact that if the picture does not change, then Nim receives a base64 encoded source - instead of the path to the new Avatar. Which Status go could not parse as a file.)

On the QML side, if we see that there have been changes, we add changes to changesMap Json, if there are no changes, then do not add. (This is the way to implement Option).

On the NIM Side - convert to saveData

On the Module side - distinguish Nil from an empty string

fixes #14464
2024-05-03 10:43:29 -04:00
Dario Gabriel Lipicar 1884f6e033 fix(@desktop/wallet): prevent collectibles controller crash if network unknown 2024-05-03 08:50:02 -03:00
Dario Gabriel Lipicar 7dea2e248c feat(wallet): add grove support for opt sepolia and arb sepolia
Closes #14501
2024-05-03 08:49:01 -03:00
Valentina1133 ae856e76f0
Add object names for confirm tags button and enable create community button to master (#14574)
* chore: add object name for confirm community tags button

* chore: add object name for enabling of creation of community button
2024-05-03 09:54:33 +02:00
Lukáš Tinkl 22a9ca72b3 fix(StatusCard): fix some visual glitches
- correct propagation of hover events, fixes card flicker
- improve the ugly thick border
- token icons are now correctly rounded
- fix text descent lines are cut of ("y" and "p" truncated at the
bottom) due to excessive clipping, set correct max line count
- fix tag outline not being visible in dark mode
- add/update the corresponding SB page, with more controls to play
around with the different params

Fixes #14555
2024-05-02 20:25:13 +02:00
Roman Chornii d191a2d9ec
fix(UX Improvement): Clicking on the community logo when in the admin panel should take back to the community. Fixes(#14271) (#14544) 2024-05-02 20:24:56 +03:00
Lukáš Tinkl 63c3b756a5 fix(ChangePasswordView): Clear and cancel button is not blue
- use the proper `StatusFlatButton` as it was meant in the Figma design

Fixes #13763
2024-05-02 17:26:09 +02:00
Jonathan Rainville 1ff424aea1 chore: disable history archive for new user and add advanced setting
Fixes #14534
2024-05-02 10:45:52 -04:00
Jonathan Rainville bfb506540f chore: hide create community button behind advanced setting
Fixes #14530

(includes a revert of the previous hide that wasn't exactly what we wanted)
2024-05-02 10:45:52 -04:00
Stefan 2972531766 chore(global) add the dapps button under a feature flag
Also add basic feature flag support that work with QML and nim

Closes #14553
2024-05-02 12:26:58 +02:00
Stefan 8d6d9c3d7c chore(dapps) update foundation for DApps work
Remove unused and de-scoped elements

Updates #14317
2024-05-02 09:47:30 +02:00
Stefan 913041d5d9 chore(dapps) foundation for dapps page in storybook
Updates #14317
2024-05-02 09:47:30 +02:00
Sale Djenic dd104960ba feat(walletconnect): initial code organization
Closes #14395
2024-05-02 09:47:30 +02:00
Mikhail Rogachev 0146db8da8
fix: Fix content height for SharedAddressesPanel (#14562) 2024-05-01 18:03:20 +02:00
Andrey Bocharnikov dc1edfc9f4
fix(chat_section): fix preview for pinned messages with images/stickers (#13684) (#14549)
* Add preparedMessageByID function
* fix warning
2024-05-01 10:51:27 +04:00
Jonathan Rainville 821b54fda6 chore: update the readme to have useful links 2024-04-30 17:56:46 +02:00