Commit Graph

4825 Commits

Author SHA1 Message Date
Jonathan Rainville c3945f33c0 feat(replies): add deleted to QuotedMessage to change msg displayed
Adds `deleted` to the QuotedMessage object so that on the frontend, we can show "Delete message" only when we know the message was deleted.
Otherwise, when we don't know the quoted message, we show "Unknown message [...]"
2023-01-12 15:18:03 -05:00
Jonathan Rainville 91c2e6d257 feat: use QuotedMessage object for replies to better show the replies
Fixes #7754
ok
2023-01-12 15:18:03 -05:00
Dario Gabriel Lipicar 7c4022e4ac feat(@desktop/wallet): implement unified currency formatting
Fixes #8640
2023-01-12 15:21:27 -03:00
Khushboo Mehta 00817aedf9 fix(@desktop/wallet): Remove Animations from StatusQ and solve sanity check failure 2023-01-12 18:24:49 +01:00
Khushboo Mehta 5df7416fd9 feat(@desktop/wallet): Implement loading animation 2023-01-12 14:49:41 +01:00
Noelia 5e2fa14cd6 fix(Community Permissions): Update change detected buttons labels according to the new design
Exposed new properties in `SettingsDirtyToastMessage` to customise buttons texts.
Exposed new properties in `SettingsPageLayout` to customise dirty toast buttons texts.

Fixes #9046
2023-01-12 13:37:49 +01:00
Anthony Laibe e7b746795f feat(@wallet): multi tx approval/nonce 2023-01-12 13:33:29 +01:00
Noelia cc4ebc0ec8 fix(Community Permissions): Update `PermissionItem` according to the new design
Removed `and` text between items in `In` section.

Fixes #9049
2023-01-12 11:17:00 +01:00
Alexandra Betouni 985ef830df fix(StatusChatInput): fixed paste action doesn't work
Closes #7600
2023-01-12 11:24:01 +02:00
Noelia a181d1d867 fix(Community Permissions): Remove (hide) minting and import option in assets dropdown
Removed (hidden) minting and import option in assets dropdown

Fixes #8827
2023-01-12 08:58:43 +01:00
Jonathan Rainville 3a542cacf8 fix(StatusStickersPopup): fix stick pack list not scrollable
Fixes #8989
2023-01-11 16:20:19 -05:00
Lukáš Tinkl ab96c17fb2 chore(AppMain): use Loaders more aggressively, unloading any previous unused section
- another bit on the road to reduce startup time and be more conservative
towards RAM usage
- remove more imperative JS code
- only preload/prepare the currently active community, not all of them on
startup

Fixes #8782
2023-01-11 21:55:52 +01:00
Lukáš Tinkl 5a69cde2bc chore(StatusNavBarTabButton): delay the context menu creation
until it's actually right clicked
2023-01-11 21:55:52 +01:00
mprakhov 52d336b5a6 fix(@desktop/chat): allow to send attached image without text input 2023-01-11 18:27:31 +02:00
Alexandra Betouni 055fec9109 fix(Community): banners where overlapping
Closes #8947
2023-01-11 16:46:51 +02:00
mprakhov 3de073edb8 fix(@desktop/community): empty tag string creation 2023-01-11 15:41:57 +02:00
Pascal Precht 7d88adcbe1 fix(Chat): make message date group labels work again 2023-01-11 14:01:06 +01:00
Lukáš Tinkl 821c1f0ba0 hotfix(StatusMessage): restore timestamps
Qt broke the API between Qt 5.14 and Qt 5.15
(https://doc.qt.io/archives/qt-5.14/qml-qtqml-qt.html#formatDateTime-method vs
https://doc.qt.io/qt-5/qml-qtqml-qt.html#formatDateTime-method)

We'll move this function to C++ in a followup PR to preserve the API
compatibility while keeping it fast enough
2023-01-11 13:00:10 +01:00
mprakhov 3994f8b2fb fix(@desktop/chat): show message which was sent during group chat creation 2023-01-10 23:53:46 +02:00
Jonathan Rainville 5e8f3e6565 fix(CreateChatView): enable mentioning people selected in create chat
Fixes #8749

I couldn't fully test it because it needs #8991 to be fixed to see if the message is sent correctly
2023-01-10 13:58:37 -05:00
MishkaRogachev 321496c807 feat(ActivityCenter): Update ActivityNotificationMessage's text maximum width
Close #8915, close #8950
2023-01-10 20:39:34 +04:00
Noelia ba5e8ed8d5 fix(SQ/StatusListItemTag): Text is not horizontally centered
Removed `Layout.rightMargin` in text component.

Fixes #8876
2023-01-10 17:09:47 +01:00
Patryk Osmaczko 2aef1c887e fix(chat/community): size CommunityIntroDialog content properly
fixes: #8334
2023-01-10 16:51:55 +01:00
Lukáš Tinkl 6f1ecb9c8c fix(StatusChatInput): improve code highlighting in code snippet/blocks
- make the bg/fg color follow our current Style/Theme colors

Fixes: #8649
2023-01-10 15:21:45 +01:00
Lukáš Tinkl 9e396f7344 chore: refactor/improve/optimize StatusMessage & friends
- drop dead code
- reduce number of direct bindings
- use Loaders whenever possible

Fixes #8744
2023-01-10 10:55:53 +01:00
Pascal Precht 1a468a144b fix: remove group labels for 'today' and 'yesterday'
Closes #8377
2023-01-10 10:14:14 +01:00
Sale Djenic 4fb18e7cac fix(@desktop/onboarding): an issue handling date on Ubuntu fixed
It seems that `new Date` with only minutes set on Ubuntu generates different
datetime then on Mac.
2023-01-10 09:37:46 +01:00
mprakhov 0cc64774af fix(desktop/chat) show the badge during receiving the mention in inactive section 2023-01-09 20:00:51 +02:00
Lukáš Tinkl db97fbf3eb fix(StatusChatInput): return correct mention suggestions
- follow the order of properties that `ProfileUtils.displayName()` uses
elsewhere in the application
- prefer nickname or ensName over displayName if the user has them

Fixes: #8691
2023-01-09 16:41:51 +01:00
Lukáš Tinkl 785110b410 chore: remove dead code 2023-01-09 16:41:51 +01:00
Boris Melnik 9b8a86a3cb feat(communities): Add ban state for spectated community
Fixes: #8761
2023-01-09 10:30:54 -05:00
mprakhov 0675d6a7d9 fix(@desktop/chat): message box buttons do not work in group chat creation screen 2023-01-09 12:51:35 +02:00
Anthony Laibe 364124b1ed chore(@wallet): remove dead code about estimage gas 2023-01-07 11:11:10 +01:00
Lukáš Tinkl b086d432d1 fix: Chat Input isn't focused after editing a message
Fixes #8966
2023-01-06 14:35:07 +01:00
Lukáš Tinkl 01f2e645bc fix: unbreak StatusAppNavBar margins
partially revert ba811acc27 and silence the
warning
2023-01-06 14:00:37 +01:00
Lukáš Tinkl f6355dc4a6 fix(StatusBaseInput): No padding for input fields
- make the left/right padding and internal spacing consistent with the
Figma design

- the padding itself got broken by a behavior-incompatible change introduced in
17aaec2d53 (diff-451194c72ab50ea2586b6f1d6521b81d9a93206069788117326788be28b638fd);
this change is however correct but we can no longer rely on the
implementation detail that used to "reset" the left/right padding to its
default value when we set  `leftPadding: 0`

Fixes #8910
2023-01-06 00:59:42 +01:00
Jonathan Rainville 67e0df17e1 test(contact): add a test that sends a contact request from the chat
Fixes #6883
2023-01-05 15:21:38 -05:00
Stefan 16af9dfae6 fix(wallet): fix rename account modal states
Considerations:

- Change validation mode for StatusText to have validity from the start
- Don't show a color selection if the selected color doesn't match the
  available color palette
- Don't enable button if nothing changed
- Tests
    - Add test for validation mode that shows how the valid property
    behaves based on findings.
    - Fix text to expect valid on no input for the default control

Fixes: #8211
2023-01-05 22:16:44 +04:00
Lukáš Tinkl e947f81cd2 fix: Chat input: can't send html text from the clipboard
We always take the plain text from the clipboard but even the plaintext
can contain HTML tags, so escape those and wrap the result in a `<div
style='white-space: pre-wrap'>foo</div>` container. That way we preserve
not only the linebreaks but also any whitespace or tags.

Fixes #8919
2023-01-05 12:32:53 +01:00
Lukáš Tinkl 6fc1d0951b fix: Cannot open the link in the channel's description
Hook up the signal to open a hyper link

Fixes #8939
2023-01-04 18:54:14 +01:00
Jonathan Rainville 235c0d3042 test(community): add a test where the admin can delete a user's message
Fixes #6891
2023-01-04 11:12:47 -05:00
Jonathan Rainville 29450d34a7 feat(admin): enable admins to delete messages from other users
Fixes #8869
2023-01-04 11:12:47 -05:00
Patryk Osmaczko fe87cbaada fix(chat/messages): load messages even if fetch is ongoing
fixes: #8831
2023-01-04 11:05:11 -05:00
Alexandra Betouni ba811acc27 fix(improvements): remove console warnings pt1
Closes #7959
2023-01-04 17:28:59 +02:00
Sale Djenic 32fcda485c feature(@desktop/keycard): migrate an exsiting account from Keycard to Status Desktop
Fixes: #7030
2023-01-04 14:24:55 +01:00
Sale Djenic 1bc9deef47 chore(@desktop/keycard): `keyPairForAuthentication` replaced by `keyPairForProcessing` 2023-01-04 14:24:55 +01:00
Sale Djenic e34aac0a0f feat(StatusQ.Components): `StatusStepper` component introduced
Added `StatusStepper` component which displays total number of steps which need to be passed,
marking each completed step based on `completedSteps` property.

Needed for importing a Keycard into the app flow.

Corresponding page in API Documentation added.
2023-01-04 14:24:55 +01:00
Sale Djenic b2cb263d68 feature(@desktop/keycard): import or restore a Keycard via a seed phrase
Fixes: #7029
2023-01-04 14:24:55 +01:00
Sale Djenic 0e65f2a7ff feature(@desktop/keycard): create a new Keycard account with a new seed phrase
Fixes: #7028
2023-01-04 14:24:55 +01:00
Sale Djenic b81f4dd150 fix(@desktop/onboarding): refetching backed up data added 2023-01-04 11:15:58 +01:00
Sale Djenic 19ba018a1d fix(@desktop/onboarding): onboarding flows for `I already use Status` path do not match figma requirements (1/2)
Profile fetching (display name and identity images) implemented on the status-go side and
integrated in the desktop app.

Signal notifying about the progress while fetching backed up data from waku implemented on
the status-go side and integrated in the desktop app.

`I already use Status -> Enter a seed phrase` and `I already use Status -> Login with Keycard`
updated so they match figma now.

Fixes: #8467
2023-01-04 11:15:58 +01:00
Sale Djenic 9d382b1c81 fix(storybook): profile fetching updated
Profile fetching page, which is part of onboarding flow, is updated so it matches
the latest figma changes now.
2023-01-04 11:15:58 +01:00
Pascal Precht f6660654f7 fix(AppSearch): close appsearch popup when sendmessage button is clicked
Closes #8903
2023-01-03 16:35:21 +01:00
Khushboo Mehta 5f55cd2be9 feat(@desktop/wallet): Update the token selector in SendModal
fixes #8713
2023-01-03 09:33:20 +01:00
Khushboo Mehta eb2ec7c1af feat(@desktop/wallet): Update network card and routing lines in SendModal
fixes #8714
2023-01-02 15:36:26 +01:00
MishkaRogachev c50cf988a7 fix(ActivityCenter): Update AC notification on contact changes
Close #8586
2022-12-30 18:35:51 +04:00
MishkaRogachev 130a5f48b4 fix(ActivityCenter): Unify ContactRequest and ContactVerification AC notifications 2022-12-30 12:13:42 +04:00
MishkaRogachev f70ccfc17d fix(ActivityCenter): Add identity verification AC notifications 2022-12-30 12:13:42 +04:00
mprakhov e1f60c9ed0 fix(@desktop/contact): Message from the Contacts Request is not displayed correctly in the chat after the request was accepted 2022-12-29 17:04:46 +02:00
Igor Sirotin 38353af413 fix(PinnedMessagesPopup): Force show repeat header 2022-12-29 11:58:40 +03:00
MishkaRogachev 97436b6e26 feat(ActivityCenter) Outgoing contact request notification text fixes
Close #8388
2022-12-28 16:26:33 +04:00
mprakhov 3a26799781 fix(@desktop/profile): do not show store password to keychain dialog during saving Bio with enabled biometrics 2022-12-27 13:16:44 +02:00
Jonathan Rainville d59cffd623 fix(windows): fix app not showing when monitor setup changed
Fixes #8726
2022-12-26 09:55:14 -05:00
Alex Jbanca 94b911a986 fix(messagesView): Increase spacing between chat messages
Added padding between messages as specified in Figma:
topPadding - 8 if the current message has header, 2 otherwise
bottomPadding - 8 if both current and next message have header, 2 otherwise
2022-12-23 16:46:33 +02:00
mprakhov e378cb4fd9 fix(@desktop/chat): Do not allow send empty message 2022-12-22 16:23:44 -05:00
mprakhov 8b3319a1f3 fix(@desktop/communities): empty chat view during adding/removing active channel to the category 2022-12-22 20:02:09 +02:00
Pascal Precht f3eb29bfea feat(chat): allow for editing last user message using arrow-up key 2022-12-22 17:31:32 +01:00
Igor Sirotin 784b9acd4f fix(MessageView): Ignore message editing with no actual changes 2022-12-22 15:00:48 +03:00
Michał Cieślak fe7884cd29 feat(CommunityPermissions): InDropdown integration
Closes: #6041
2022-12-21 21:48:51 +01:00
Michał Cieślak d58dd3331b feat(CommunityPermissions): Dropdown for channels selection added 2022-12-21 21:48:51 +01:00
Michał Cieślak c980b52c3b feat(StatusCheckBox): Add support for small size 2022-12-21 21:48:51 +01:00
Michał Cieślak ce3146ebc8 feat(StatusChatInfoButton): Add possibility to enforce hiding type icon 2022-12-21 21:48:51 +01:00
Michał Cieślak 4c4abdbea2 feat(StatusItemSelector): Add possibility to use letter identicons 2022-12-21 21:48:51 +01:00
Michał Cieślak a1202b0896 chore(config): config adjusted to see qmldir files in QtCreator 2022-12-21 21:48:51 +01:00
Khushboo Mehta 17aaec2d53 feat(@desktop/wallet): Send modal update
fixes #8609
2022-12-21 20:44:56 +01:00
Khushboo Mehta f84404c956 feat(@desktop/wallet): Custom routing
fixes #8237
2022-12-21 19:25:11 +01:00
Noelia 265b0b5a8f fix(CommunityPermissions/NewPermissionsView): Holdings tags icon size/position didn't fit the design
- Updated `StatusItemSelector` API to allow other asset sizes and leftPadding.
- Applied different asset size in holdings tags in `NewPermissionView` to fit the design.
2022-12-21 18:42:16 +01:00
Noelia 73b2fb2271 fix(CommunityPermissions/PermissionItem): The component allowed adding labels with long texts that exceed the content itself
- Updated `PermissionItem` to avoid the `StatusListItemTag` exceeding the content itself.
Fixes #8580
2022-12-21 18:42:16 +01:00
Noelia 579075d6cc fix(StatusQ/StatusListItemTag): Changed API and added test elide property when a specific width is forced
- Changed `StatusListItemTag` API. Now it is based on `Control` component.
- Updated needed qml files to fit with the new `StatusListItemTag` API.
- Added `elide` property in `Text` component to better visualise the content when a specific width is forced.
2022-12-21 18:42:16 +01:00
Jonathan Rainville f29210d4a2 fix(image): fix image download on Windows
Fixes #8755
2022-12-21 10:33:34 -05:00
mprakhov fb254fd775 fix:(@desktop/keystone): Request saving password to keystone on a startup after changing the password through settings 2022-12-21 17:02:38 +02:00
Alex Jbanca 6cba8810e0 Fix Mentions in statusChatInput
1. Don't allow mention invalidation by altering mention with mouse or keyboard
2. Don't allow mention duplication on the same position
3. Clean mentions after text with mentions changes
4. Fix mention selection
5. Make sure mention is separated by text with valid separators (we're using only space)
6. Cursor will consider the mention as an object and will jump over it as it would be a single character (placing cursor inside leaves room for mention invalidation)
2022-12-21 12:23:39 +02:00
Pascal Precht 865ed32deb feat: introduce ability to @everyone
Closes #8479

This needs: status-im/status-go#3026
2022-12-21 10:19:48 +01:00
Noelia ec8c64d7a1 test(tst_userIdentity): Fix test scenarios broken due to new user profile design
- Fixed test scenarios broken due to new user profile design.
- Added new verifications in social links: github, youtube, discord and telegram.
- Scenario statements reorganization.

Fixes #8281
2022-12-20 15:53:50 +01:00
Jonathan Rainville 821b7f2571 fix: random crash when joining a channel for the first time
Fixes #8848

I'm not 100% sure why the issue is fixed by this, but I was able to pin point the source with a bisect and by running the Squish test for public chats over and over.
2022-12-20 09:40:37 -05:00
Igor Sirotin 3f2f732698 fix(Utils): Return empty contact if no `mainModuleInst` set 2022-12-20 17:23:09 +03:00
Boris Melnik 7563fe699a fix(sandboxapp): Fix build failed after spellchecking removing 2022-12-19 11:53:46 -05:00
Alexandra Betouni 99c7b33e1e fix(Global): Cleaned up Global from backend dependencies
Closes #7933
2022-12-19 16:28:41 +02:00
Noelia a9d25697dd feat(CommunitySettings): Implement UI for`edit`, `duplicate` and `remove` actions in community permissions page
feat(CommunitySettings): Implement UI for`edit`, `duplicate` and `remove` actions in community permissions page

- Enabled `duplicate` action (mocked).
- Enabled `delete` action (mocked) and added / updated navigations in case all permissions are removed.
- Added delete confirmation popup.
- Enabled `edit` action (mocked) where changes are detected and the `dirty changes toast` appears properly.

Closes #8581
2022-12-19 15:25:16 +01:00
Dario Gabriel Lipicar 9feb6c29cf feat(@desktop/wallet): reworked collectibles backend
Fixes #8407
2022-12-19 08:07:04 -03:00
Alex Jbanca 513fa1f71d Fix Emoji for projects that do not use qt resources system to resolve files
qrc mention is removed from emoji regex parsers
2022-12-19 10:11:53 +02:00
Patryk Osmaczko 87674064d0 feat(chat/messages): implement new messages marker
closes: #8572
iterates: #7488
2022-12-16 19:12:12 +01:00
Tanguy 473da3790b fix(chat-input): Colon detection for foreign keyboard layout 2022-12-16 10:28:24 +01:00
Michał Cieślak 9dcaf86e42 feat(CommunityPermissions): search for collectibles dropdown
Closes: #7158
2022-12-16 00:52:09 +01:00
Michał Cieślak 7234e49fee chore(Storybook): Add HoldingsDropdown page 2022-12-16 00:52:09 +01:00
Boris Melnik c8d67ada9d fix(warnings): Remove warnings from shared RootStore
Fixes: #8293
2022-12-15 20:45:46 +03:00
Boris Melnik f47e64c7e2 fix(hunspell): Remove hunspell usage in DOtherSide 2022-12-15 20:45:00 +03:00
Boris Melnik f35468963c fix(warnings): Rid off warnings
Fixes: #8293
2022-12-15 19:31:18 +03:00
Boris Melnik 0ff0047167 fix(warnings): Fix warnings from AppMain and main on start
Fixes: #8293
2022-12-15 18:03:11 +03:00
Dario Gabriel Lipicar 6f906ff90a fix(@desktop/wallet): adjust InformationTag sizes to design 2022-12-15 11:18:29 -03:00
Dario Gabriel Lipicar bd986a5b6b fix(@desktop/wallet): adjust collectible details screen to design 2022-12-15 11:18:29 -03:00
MishkaRogachev bc446f93b7 feat(Contacts): ContactVerificationRequestPopup reacts on model's update 2022-12-15 15:44:45 +04:00
MishkaRogachev ddf27d3038 feat(Contacts): Handle cancel identity verification on the reciever side
Close #8437
2022-12-15 15:44:45 +04:00
Boris Melnik a584a31818 fix(warnings): Remove warnings on login screen
Fixes: #8293
2022-12-15 14:17:53 +03:00
Igor Sirotin 50427390dd ens: Fix ens name inconsistency across app 2022-12-14 23:46:50 +03:00
Michal Iskierko 3f01af4446 fix(@desktop/chat): Fix user names propagation.
Add ProfileUtils for displaying correct name.
Set names in models correctly.
Fill names in qml correctly.

Fix #8343
2022-12-14 17:44:26 +01:00
Noelia 8a749846df fix(CommunityPermissions): Change `Flickable` to `StatusScrollView`
Modified `Flickable` in `CommunityNewPermissionView`, CommunityWelcomePermissionsView` and CommunityPermissionView` to `StatusScrollView`

Fixes #8584
2022-12-14 16:38:59 +01:00
Anthony Laibe 9b0d9cf478 feat(@wallet): Display ens name in account view
fixes #8607
2022-12-14 16:04:58 +01:00
Michal Iskierko 0da0360beb fix(@desktop/tests): Fixing gif and image unfirling scenarios
Fix #7912
2022-12-14 12:55:57 +01:00
Boris Melnik 5d19667f2d fix(warnings): Fix warnings raised from settings
Fixes: #8293
2022-12-14 14:33:13 +03:00
Anthony Laibe a7884cf04f feat(@wallet): re-org wallet footer
fixes #8600
2022-12-14 09:56:08 +01:00
Sale Djenic 4b972acdd9 feature(@desktop/keycard): display keycards for the same keypair as a list in the keypair details view
Fixes: #8136
2022-12-14 08:22:12 +01:00
Alexandra Betouni 1c030b398c fix(StatusTextMessage): Handle quote formatting in QML
HTML doesn't know about TextEdit's wrapMode line count so
when text was a quote it was seeing it as single line thus
painting a singleline height quoteline.

Closes #8109
2022-12-13 17:13:16 +02:00
Boris Melnik 123b8e320a fix(warnings): Fix chat, community settings warnings
Fixes: #8293
2022-12-13 17:46:30 +03:00
Lukáš Tinkl 4188193e0e fix(ProfileDialogView): Wrong name "Tokens" in Profile preview
Tokens -> Assets
NFTs -> Collectibles

(to be consistent with the rest of the app)

Fixes #8716
2022-12-13 12:49:32 +01:00
Boris Melnik 046e1d1073 fix(warnings): Avoid flickable manipulations in SettingsPageLayout when dirty toast message isn't active
Fixes: #8293
2022-12-13 13:05:28 +03:00
mprakhov 3ddd470a4a fix(@desktop/chat): use configured font size after restart 2022-12-13 11:17:08 +02:00
Lukáš Tinkl 73cc621f0c fix: Rename "Chat" tooltip to "Messages"
... and do it the proper way, ie. make the string translatable as we
can't handle translations coming from NIM files at the moment

Closes #8418
2022-12-13 03:46:25 +01:00
Lukáš Tinkl ed5893a8d0 chore: extract messages 2022-12-13 03:46:25 +01:00
Jonathan Rainville abd992b3ea fix(chat-input): fix sending images from dialog by using right prop
Fixes #8747
2022-12-12 13:48:44 -05:00
Jonathan Rainville 194e3048bc fix(messages): fix Resend btn not working and add Sending visual state
Fixes #7643

This adds the backend to resend. It then hooks the button to it.
This also adds a visual state for when we are sending. This gives a good indication that a message was sent.
2022-12-12 11:56:21 -05:00
Khushboo Mehta 9825a48eec fix(@desktop/wallet): Fix for wrong link is generated when transaction is done on testnet
fixes #8681
2022-12-12 15:23:52 +01:00
Khushboo Mehta 5b423a6dbd fix(@desktop/wallet): Wrong decimal place calculation on bridging
fixes #8660
2022-12-12 14:33:02 +01:00
Noelia 5d318d0304 fix(CommunitySettings): Previous page navigations are broken in community settings sections
Added property `previousPageName` into `SettingsPageLayout`.
Added needed slots in `CommunitySettingsView` to get `previousPageName` property changes and display the correct string.
Renamed `updateState` method to `navigateBack` to have a better accurate name.

Fixes #8455
2022-12-12 12:54:15 +01:00
Lukáš Tinkl 668ea868c4 fix(notifications): The sound of notifications is harsh and annoying
Use logarithmic sound volume scale instead of linear when interpreting
the sound volume value

TLDR; we were literally overblowing the speakers with absolute sound
volume levels; for the whole story I recommend reading:
https://www.dr-lex.be/info-stuff/volumecontrols.html

Also play a sound preview when changing the volume in Settings

Needs https://github.com/status-im/dotherside/pull/83

Fixes #8426
2022-12-12 11:39:32 +01:00
Noelia 2087a5322b feat(storybook): Added `CommunityPermissionsViewPage` to storybook
- Created page and added editor for specific page.
- Created needed mocked models.
- Added background in permission related pages to ensure correct dark mode visualization.
2022-12-10 14:02:02 +01:00
Noelia 1db0a0077d feat(storybook): Added `CommunityPermissionsSettingsPanel`
- Added `CommunityPermissionsSettingsPanel`.

- Created panel item editor and basic panel editor layout for `CommunityPermissionsSettingsPanelPage`. Still not linked to a model.

- Added mocked data for collectibles and tokens.

- Created `ChannelsModel` mocked data.

- Added edit / duplicate / remove signals logs.
2022-12-10 14:02:02 +01:00
Noelia 1cbb3e2ad3 feat(CommunityPermissions): Created `CommunityPermissionsView` layout
- Created `CommunityPermissionsView` and integrated into the flow.
- Created `PermissionItem` component.
- Added `holdingsListModel`, `permissionsObjectModel` and `channelsListModel` flows with mocked data.
- Added `isPrivate` permission property.
- Added button header in `SettingsPageLayout`
- Added signals/methods for edit/duplicate/remove permissions
- Created new file `OperatorsUtils.qml` specific for `Operators`
2022-12-10 14:02:02 +01:00
Noelia 5aeef81bad feat(statusq/StatusRoundButton): Added `Quaternary` type red
Added `Quaternary` type - red color.
2022-12-10 14:02:02 +01:00
Igor Sirotin e436d6937d fix: Removing and releasing ENS names 2022-12-09 18:56:33 +03:00
Lukáš Tinkl f62acae911 fix(Settings): cant switch off sounds for notifications
Fix a bunch of problems with handling sound/notifications related options
coming from the backend:
- `volume` and `notificationSoundsEnabled` live in a different settings
object; adjust the stores for that
- unbreak loading the actual wav/mp3 files (was never working on Linux
outside of AppImage!) -> use "qrc:/", same as the NIM backend does
- fix the volume scaling (backend has [1,100], QML is [0, 1])
- simplify our Audio QML item interface; no need for an extra property
and resolving the URL twice (which results in broken scenarios mentioned
above); we know which sounds we want to load

Closes #8668
2022-12-09 11:01:18 +01:00
mprakhov 873f690fd3 fix(@desktop/settings): empty screen when having 0 communities joined in Profile 2022-12-08 20:56:22 +02:00
Alex Jbanca 0526dca298 Fix "The user signs up with a profile image" squish test case 2022-12-07 20:18:57 +01:00
Boris Melnik ea432f26f5 fix(reactions): Fix reactions popup
Fixes: #8425
2022-12-07 20:39:39 +03:00
Lukáš Tinkl c32dfa48be fix: CTRL+K (jump to) modal is case sensitive
make the ChannelPicker/StatusSearchListPopup search case insensitive

Fixes #8460
2022-12-07 17:10:38 +01:00
Anthony Laibe f7704c719a fix(@wallet): fix token list
there is 2 type of token list, the whole list for send modal and the
list for asset view
2022-12-07 17:02:05 +01:00
Pascal Precht b510b33730 feat(communities): allow community import via public key
Status allows for importing communities via their private keys.

There's a requested feature that users should be able to import a community via
its public key as well.

This will behave differently as private keys won't give users ownership
of the communities. When importing via a (compressed) public key, Status
will try to fetch information about the community from the network. If it
finds such information, it'll load it into the app and create
a communitiy view from which users can then request access.

If it can't find a community or community information in the network,
the user will get a dedicated error message.

This commit also refactors the `ImportCommunityPopup` such that it uses
`StatusDialog` and updates the copy accordingly since importing via
public key is now possible as well.

Closes #8339
2022-12-07 14:18:08 +01:00
Igor Sirotin 16be01495a fix(EnsListView): Fixed message preview visibility 2022-12-07 15:59:40 +03:00
Igor Sirotin 4da18c8de7 fix(EnsListView): Fixed preferred name message preview 2022-12-07 15:59:40 +03:00
Lukáš Tinkl e13726e4af feat(SocialLinkPreview): links are too short to display even short urls
- rework the way social links are displayed/editted; we now only allow to
enter a so called "handle" and then substitute that in the final URL
template
- move the "icon" model role to NIM backend

This has several advantages:
- we display only the "handle" and don't have to elide some long URL
- we won't let users enter random URLs into their profile and spoof the
viewing part into clicking it

Additionally, make the social link "button" clickable -> navigate to the
target URL, and make the tooltip behave as "usual" (on mouse hover).
2022-12-07 12:40:58 +01:00
Boris Melnik 0a37716c7c feat(activity-center): Add details view dialog for contact requests
Fixes: #8461
2022-12-07 12:03:38 +03:00
Patryk Osmaczko 9601ab2668 fix(chat/messages): make initial messages load without scroll
fixes: #8602
2022-12-07 00:23:25 +01:00
Pascal Precht 93eaf0fdfd fix: allow whitespaces in display and nicknames
Closes #8391
2022-12-06 19:34:17 +01:00
Jonathan Rainville 2f338ecb09 fix(windows): use QML's OS notification for Windows
Fixes #4943

The custom OS notifications we have in place make it possible to click
the notification and go to the right place in the app, but it causes a
big issue in Windows; it breaks the tray icon, it becomes no longer
clickable.
The easy fix I did here is the go back to using the QML sendMessage
function. It works fine to send the notif and the tray icon keeps
working. The only downside is we lose context when clicking on the
notification, so it doesn't navigate to the chat.
IMO, this is a good tradeoff.
2022-12-06 10:04:56 -05:00
mprakhov d60a4b0c97 fix(@desktop/chat): open 121 chat by pasting chat key of existing mutual contact 2022-12-06 15:01:09 +02:00
mprakhov 32d1d927ef fix(@desktop/chat): Hide 'no results found' when entering the chat key in start chat 2022-12-06 12:39:02 +02:00
Anthony Laibe 734d9361fc fix(@wallet): do not show token if not visible
fixes #8620
2022-12-05 17:33:35 +01:00
Anthony Laibe 9aaea49e2c fix(@wallet): remove dead code 2022-12-05 15:26:44 +01:00
Khushboo Mehta 779df7628b fix(@desktop/wallet): Remove gas selector for slow, optimal and fast
fixes #8516
2022-12-05 14:51:39 +01:00
Khushboo Mehta 0c7442d696 fix(@desktop/wallet): Wrong Password error should not be handled in the SendModal
fixes #8527
2022-12-05 13:59:06 +01:00