Commit Graph

4549 Commits

Author SHA1 Message Date
Boris Melnik 77c5084355 fix(SettingsDirtyToastMessage): Avoid scrolling when content height is 0
Fixes: #8247
2022-11-15 19:30:15 +03:00
Alexandra Betouni f34d0d7152 fix(StatusTextMessage): Removed vertical text alignment leftover
Closes #8242
2022-11-15 17:25:28 +02:00
Lukáš Tinkl 48f5a9d256 fix(NicknamePopup): add support for Unicode nicknames
- do not restrict NicknamePopup's regexp to ASCII characters
- a similar thing could be done to the user's DisplayName but currently
  that's blocked on status-go side
- uses RXValidator from dotherside

Needs status-im/dotherside/pull/74
Fixes #8115
2022-11-15 11:42:33 +01:00
Dario Gabriel Lipicar 47f7373838 fix(@desktop/wallet): correct error message when adding own ENS name to saved addresses
#8114
2022-11-15 07:26:45 -03:00
Sale Djenic 557703543c fix(@desktop/keycard): migrating keypair looks somehow stucked for a while before switching to `Migrating key pair to Keycard` state
Fixes: #8177
2022-11-15 12:12:07 +03:00
Sale Djenic 662a11a57b chore(@desktop/keycard): tertiary action for shared keycard popup module renamed to cancel action
Since tertiary action for the keycard popup module is always used to cancel/invalidate
the current flow, it's renamed now to cancel action (avoids confusion this way and it
seems more intuitive. It doesn't set any state. It should be defined if it's possible to cancel
the flow from the current state.
2022-11-15 12:12:07 +03:00
mprakhov 707aa16462 fix(@desktop/chat): Limit chat name length #6938 2022-11-14 21:11:04 +02:00
Alexandra Betouni 7c88f462ec fix(StatusMessage): Updated component to QQC2 Control and as per desing
Fixes #7318
2022-11-14 18:13:40 +02:00
Alexandra Betouni 019a65a786 fix(CreateChatView): fixed tagselector various issues
Closes #7340
2022-11-14 09:46:22 -05:00
Lukáš Tinkl 77fa884a36 chore: fix storybook regressions 2022-11-14 14:14:32 +01:00
Dario Gabriel Lipicar 9dd004b690 fix(@desktop/wallet): fix add new saved address popup close button
#8214
2022-11-14 09:49:40 -03:00
Boris Melnik 13acb5730d fix(profile-settings): Add usage dirty values for preview and load image profile on save
Closes: #7920 #7917
2022-11-14 14:59:46 +03:00
MishkaRogachev 7e7daa56e1 fix(ActivityCenter): Change activity center button tooltip text 2022-11-14 10:23:13 +01:00
MishkaRogachev 06f1f9a7aa fix(ActivityCenter): Fix positioning AC popup
Close #8030
2022-11-14 10:23:13 +01:00
Stefan e8b9760c4f fix(StatusQ) scrolling on macOS if mouse pointer is over StatusBaseInput
This commit fixes a scrolling on macOS using trackpad in the context
of Add Wallet Account using seed-phrase.

Considerations:
The scrolling of advanced input with seed-phrase selected was failing
when mouse pointer was moving over a word phrase.

Scrolling of the popup content in AddAccountModal would not work
when the mouse pointer was over a StatusSeedPhraseInput form
the ImportSeedPhrasePanel

The identified root cause is StatusBaseInput's flicker which captures
the mouse wheel event. It seems the trackpad wheel events are handled
differently on macOS by the flicker and not propagated to the parent.

Fixes #5355
2022-11-12 14:17:11 +01:00
Michał Cieślak cb4380582e fix(CreateChannelPopup): cursor not jumping to the end
When typing at non-end position (in channel name filed) cursor
is no longer jumping to the end. Additionally binding loop
on "contentWidth" is fixed.

Closes: #7805
2022-11-11 15:14:44 +02:00
Michał Cieślak 1ca1866993 chore(Storybook): page for CreateChannelPopup added 2022-11-11 15:14:44 +02:00
Patryk Osmaczko 3b866c2ff6 chore(chat/MembersSelector): display "no results" when not found
fixes: #7495
2022-11-11 14:11:07 +01:00
Igor Sirotin a69b3b5928 fix(StatusMessageReply): Fixed reply text styling and behavior 2022-11-11 13:31:06 +01:00
Boris Melnik b10b6617cf fix(edit-message): Add content-type to edit message request
Closes: #7879
2022-11-11 14:01:16 +03:00
Boris Melnik 42234c7d49 feat(communities): User is able to cancel membership request
Part of: #7072
2022-11-10 23:07:22 +03:00
Richard Ramos ae7a16f27e fix: display "Resend" for expired messages 2022-11-10 11:49:42 -04:00
Pascal Precht df3f3d3d7b fix(AppSearch): ensure app search loader is deactivated when popup is
closed

Otherwise, the loader stays active, which requires users to hit CTRL-F
twice to reopen it again (because it'll first deactivate, then activate
again).

Fixes #7989
2022-11-10 16:07:57 +01:00
Pascal Precht 8d90204e0a refactor(communities): allow removing items from import file list
There was a requested design change where no longer wanted to have
checkboxes to decide which files will be included for a discord import,
but rather have an "X" button that enables users to remove items.

This commit implements this refactor.

In addition, it ensures that the already loaded discord categories and
channels that have been extracted from validation, are kept in sync as
well.

Meaning, if a user removes a file from the file list, the corresponding
channel will be removed as well.

If there's not channel in a given category, the category will be removed
as well.

Closes #8125 #8126
2022-11-10 15:45:25 +01:00
Noelia e9f84b2973 test(suite_wallet): Created `bdd_hook` for each `suite_wallet` test case
- Created `bdd_hooks` that contain the sing up steps just only once in the feature start and the needed start steps depending on the test case.

- Updated feature files removing sign up steps and given/when/then reorganization.

Closes #8026
2022-11-10 15:43:02 +01:00
Mykhailo Prakhov eda2fcabc0 Update Utils.qml 2022-11-10 15:32:15 +02:00
Mykhailo Prakhov e3b088eaea fix(@desktop/general): use utf-8 text for calculating 'StatusBaseInput' text length and current length in 'StatusInput' 2022-11-10 15:32:15 +02:00
Pascal Precht 69677a7c1c fix(communities): add missing community image to import process
This needs https://github.com/status-im/status-go/pull/2947
2022-11-10 14:08:59 +01:00
Lukáš Tinkl 2b6164fc8d fix: ens names should not display `@`
Fixes #8122
2022-11-10 10:42:05 +01:00
Sale Djenic 105e1c156b fix(@desktop/keycard): `ExportPublic` instead of `Sign` flow should be used for user authentication
Fixes: #8176
2022-11-10 11:03:44 +03:00
Sale Djenic 3fbcbb198f chore(@desktop/keycard): `if` with multiple `or` in condition moved to `switch` 2022-11-10 11:03:44 +03:00
Sale Djenic 6d4bec84b1 fix(@desktop/keycard): bigger Keycard views look cut if the app is resized to the min height
Fixes: #8137
2022-11-10 11:03:44 +03:00
Sale Djenic 3da62c9092 fix(@desktop/wallet): adding derived wallet account fixed
An issue with adding wallet account was happening only for a new user,
the reason for that was incorrectly set keystore path and keystore file couldn't
be found on the statusgo side because of that.
2022-11-10 11:03:44 +03:00
Michał Cieślak 6237d3c7c1 fix(InviteFriendsToCommunityPopup): adaptive popup height, consistent footer height
Closes: #7604
Closes: #7605
2022-11-08 22:03:56 +01:00
Richard Ramos 9fe2236a23 fix: pinned mailserver value 2022-11-08 21:40:06 +03:00
Michal Iskierko 1f2a050695 feat(@desktop/general): Use compressed community key in deep links
Issue #8001
2022-11-08 15:18:39 +01:00
Lukáš Tinkl e687dad3c7 fix(StatusTextMessage): Links not clickable in a long collapsed message
Setting `visible` or `enabled` to `false` stops mouse events from being
propagated -> hide the original message using `opacity` instead

Fixes links being unclickable when the gradient/mask is in effect

Closes #8116
2022-11-08 11:30:17 +01:00
Alex Jbanca d23cce99a0 Update MessagingView.qml
Group all common functions
2022-11-08 09:29:25 +02:00
Alex Jbanca f20c5efe20 Update ui/app/AppLayouts/Profile/views/MessagingView.qml
Simplify if statement

Co-authored-by: Lukáš Tinkl <lukast@status.im>
2022-11-08 09:29:25 +02:00
Alex Jbanca 0996ef3612 Fix showMessageLinksSwitch bindings
Property bindings were added for showMessageLinksSwitch in order for it to change the checked state whenever previewableSites model has any item checked or displayChatImages setting is true.
2022-11-08 09:29:25 +02:00
Alex Jbanca 0d3f872c5c Display message preview settings - fix model -> view relationship
There are two main changes in the model -> view relationship:
1. The model coming from the store becomes the only source of truth and the UI will only change when the model changes. This means that when another UI component from settings menu wants to change some setting it needs to update the model, not UI components directly.
2. When the store will provide a new model we will update only rows that are different in the current model.
2022-11-08 09:29:25 +02:00
Lukáš Tinkl 80d211f521 fix(MessageView): fix opening URL links
Fixes: #8123
2022-11-07 11:03:39 +01:00
Igor Sirotin 09d8a10b49 fix(StatusMessageReply): Fixed text formatting in replied message 2022-11-05 18:29:25 +03:00
Michał Cieślak 5f659da9f8 feat(StatusQ): SanityChecker app for imports validation
Closes: #8071
2022-11-04 12:01:59 +01:00
Pascal Precht cabfaf1ed6 fix(Communities): adjust discord import error codes
Those have been changed in status-go, resulting in wrong visualization
of import warnings and errors.

This commit adjusts them so they match the correct codes again.
2022-11-03 18:24:48 +01:00
MishkaRogachev d147d7058e fix(ActivityCenter): Polishing Activity Center UI 2022-10-31 14:01:58 +03:00
Jonathan Rainville 0806d657d3 fix(community-tests): fix a couple community tests 2022-10-28 14:56:29 -04:00
Sale Djenic 2c03146309 fix(@desktop/keycard): can't create accounts if the main account was restored in using an existing keycard account
`I already use Status` -> `Login with Keycard` flow is enabled.

Fixes: #7867
2022-10-28 20:43:09 +02:00
Sale Djenic d6797ca4e9 chore(@desktop/keycard): login with keycard flow enabled (onboarding) 2022-10-28 20:43:09 +02:00
Igor Sirotin 82bc21b4ff fix: Fixed group and channel mention notifications 2022-10-28 21:21:49 +03:00
Lukáš Tinkl 9327b483a4 fix(BeforeGetStartedModal): fix padding and (line) spacings
additionally correct the way a font is propagated from a QQC2 Control
down to our components

Fixes #6515
2022-10-28 19:19:42 +02:00
Michal Iskierko 234a164597 fix(@desktop/chat): Accept profile deep link in "Send Contact Request to chat key"
Fix #8070
2022-10-28 16:15:40 +02:00
MishkaRogachev 6a72773ab6 feat(ActivityCenter): Refactor AC Store and fix notifications counting
Close #7654
2022-10-28 12:29:40 +03:00
Michal Iskierko 58fe1ed8ca fix(@desktop/chat): If profile popup is opened close it before another opening
Fix #6650
2022-10-28 11:02:42 +02:00
Lukáš Tinkl 27c883ae98 fix(ContactsView): button is in the wrong position
Fixes #8080
2022-10-28 10:56:44 +02:00
Lukáš Tinkl eb4a7d71c5 chore: bump VERSION to 0.7.90 in master
so that we always have a higher version than the latest stable release
(0.7.x at the moment), giving us a buffer to further bump it to 0.8.9x as
we approach the 0.9.x series
2022-10-27 23:39:33 +02:00
MishkaRogachev 851dd3bc76 feat(ActivityCenter): Review fixed for community membership AС notifications 2022-10-28 00:25:10 +03:00
MishkaRogachev 5d8e3ac252 feat(ActivityCenter): Fix handling membership requests from AC 2022-10-28 00:25:10 +03:00
MishkaRogachev 9b93a9d3f9 feat(ActivityCenter): Common date-time lable
Close #7952
2022-10-28 00:25:10 +03:00
MishkaRogachev 532700f6c7 feat(ActivityCenter): Kicked from community notification 2022-10-28 00:25:10 +03:00
MishkaRogachev 9c8fee09cd feat(ActivityCenter): Community membership status handling 2022-10-28 00:25:10 +03:00
MishkaRogachev d4e4e66fc6 feat(ActivityCenter): Community membership notifications
Close #7277
2022-10-28 00:25:10 +03:00
Lukáš Tinkl f122607ada fix: consecutive discord messages should be grouped like status messages
- fill the senderId just like other messages
- add some checks in Utils since the "publicKey" (ID) coming Discord
isn't in the format we'd normally expect

Closes #6678
2022-10-27 22:44:00 +02:00
Boris Melnik 6175beb40a feat(Communities): Add checking access type in Welcome modal
Part of: #7072
2022-10-27 21:39:12 +03:00
Patryk Osmaczko db2be47ee1 feat(storybook): extended editing of communities portal page
- added tags editor
- added active members editor
- refactored icon/banner models (removed imperative transforms)
- refactored icon/banner selection (removed single shots)

closes: #8032
2022-10-27 13:55:06 +02:00
Patryk Osmaczko bb28c4e30a chore(StatusQ): fix Sandbox release build
- regenerated qrc files
- added qrc files as CMake's Sandbox target dependency
2022-10-27 11:40:00 +02:00
Lukáš Tinkl 16a51f2f72 fix(MessageView): unbreak showing identity ring in replies
use the correct way to get the original message's content type and
compare it with the correct Constant type
2022-10-27 10:01:59 +02:00
Michał Cieślak 36454eadd3 fix(Theme): restore accidentally removed import 2022-10-27 10:00:30 +02:00
Jonathan Rainville e83f46e44a test(community): add test that kicks a member
Fixes #6890
2022-10-26 14:03:21 -04:00
Khushboo Mehta aec7a30d03 feat(@desktop/wallet): Updated UI for bridge and multi routing support
fixes #7334
2022-10-26 18:48:30 +02:00
Jonathan Rainville 68fbaeadc1 test(community): add test that invites a user to the community 2022-10-26 12:32:52 -04:00
Alexandra Betouni ea9a715602 fix(StatusMessage): Reduced top+bottom margins based on figma spec
Closes #7318
2022-10-26 17:27:52 +03:00
Alexandra Betouni 752574cfdb fix:(Settings): Added bottom row components in header
* Made tab bar in Profile Settings non scrollable with
the rest of the content

Closes #7525
2022-10-26 16:47:03 +03:00
Jonathan Rainville c956f3c4ef fix(ProfileDialogView): hide contact request buttons when removed 2022-10-26 09:34:47 -04:00
Lukáš Tinkl 2c2337a45d fix(MessageView): unbreak message reply update and found animation
due to the refactor, StatusMessage is no longer the toplevel item inside
the delegate, so adjust the functions

some minor cleanups and dead code removals; striving for keeping the
number of properties and bindings inside a ListView delegate at a minimum
2022-10-26 12:50:39 +02:00
Jonathan Rainville afaf7717e8 fix: fix signals not passing the callback
Fixes #8038

We added a callback arg to the signals, but signals do not support default args. You need to pass the exact number of args.
2022-10-26 10:29:33 +02:00
Jonathan Rainville cea4945cba feat(storybook): add browser settings in the storybook 2022-10-25 14:27:50 -04:00
Michał Cieślak 2e05a9784e fix(InviteFriendsToCommunityPopup): invite candidates list made scrollable
Additionally, bottom padding is fixed to avoid cutting-off the list
too early.

Closes: #7603
2022-10-25 17:03:44 +02:00
Michał Cieślak 6b90d4d5a6 chore(Storybook): add pages for InviteFriendsToCommunityPopup and related components
Closes: #8004
2022-10-25 17:03:44 +02:00
Michał Cieślak 57e80255bf fix(Global): Popup components moved from Global.qml to dedicated non-singleton component
Closes: #7992
2022-10-25 15:35:18 +02:00
Alexandra Betouni 080bc44971 fix(AppMain): only show banner when disconnected
Closes #7416
2022-10-25 08:26:29 -04:00
Lukáš Tinkl 70e9c89465 fix(AboutView): "Our principles" button not working
as a bonus, add the link to release notes as well

Fixes #8020
2022-10-25 08:26:23 -04:00
Michal Iskierko 6d2a2e6e03 fix(@desktop/general): Fix clicking deep links in chat
Clicking any deep-link in chat: /u, /c, /cc does not open browser but executes instantly

Fix: #6302
2022-10-25 08:26:16 -04:00
Richard Ramos 3b3b737956 feat: encrypt communities 2022-10-25 08:26:10 -04:00
Lukáš Tinkl 5d0d3e7135 feat(storybook): add controls to profile page
now one can play around with various UI aspects of the new Profile Dialog
2022-10-24 16:55:12 +02:00
Alexandra Betouni 594983c889 fix(BackUpSeed): Confirm # word input had no focus
Closes #7680
2022-10-24 17:28:36 +03:00
Alexandra Betouni e617c8981f fix(SendRequestModal): fixing spacing issues
Closes #6941
2022-10-24 17:28:17 +03:00
Iuri Matias fbccb31960 chore(@storybook): add language & currency settings view to storybook
chore(@storybook): add language & currency settings view to storybook

chore(@storybook): add language & currency settings view to storybook

fix storybook menu

remove qsTr
2022-10-24 10:25:56 -04:00
Anthony Laibe 76aedc3615 feat(@wallet): display ens name with saved addressess 2022-10-24 12:39:34 +02:00
Lukáš Tinkl 6e664564e0 feat(storybook): add Profile Popup
This adds the ProfileDialogView to storybook pages

For now, there's just one control to switch between own profile and
another profile; more to come in later PRs.

The mocked global objects (mainModuleInst and globalUtilsInst) are
injected via QML

Fixes: #7820
2022-10-21 18:12:39 +02:00
Lukáš Tinkl 62d4aca0ca fix(ProfileDialogView): Use compressed chat key in "Copy Link To Profile"
Fixes #7988
2022-10-21 11:41:03 +02:00
Lukáš Tinkl f722dc0761 fix(CommunitiesGridView): don't display header labels when section empty
Do not display the Featured/Popular labels when the corresponding section
is emtpy

Fixes: #7946
2022-10-21 11:40:52 +02:00
Igor Sirotin 5ff2976e80 fix(MessageView): Changed visual borders of message 2022-10-21 00:44:19 +02:00
Pascal Precht 7706a6caea fix(CreateCommunityPopup): reset discord filelist when modal is opened
Prior to this commit we would reset the file list (and categories and
channels) whenever the `CreateCommunityPopup` was closed.

This made sense because at that point we could assume that the user has
decided to somehow stop the process of an import, so the next time the
modal is opened again, we want that data to be reset.

However, it turned out that this introduced a bug in the scenario where
and import is running, and while it's running, when the user decides to
hide the progress modal, it would reset the warnings count, resulting in
the progress banner to show an invalid state until the next progress
signal was emitted.

We don't want to reset this data every time we close the modal. We only
want to reset it when we know there's no import in progress.

Fixes #7787
2022-10-20 12:19:02 +02:00
Lukáš Tinkl 8e307d6c35 chore: minor Discord import related UI fixes
- correct plural in qsTr()
- readonly properties
- remove obsolete/dead/unused code
2022-10-20 10:40:41 +02:00
Sale Djenic a60e5d49cf feat(@desktop/keycard): create a new pairing code
Fixes: #7038
2022-10-19 13:24:41 +02:00
Sale Djenic 1f49f3fedd chore(@desktop/keycard): keycard animations' details set as constants for easier maintaining 2022-10-19 13:24:41 +02:00
Sale Djenic 7377526553 feat(@desktop/keycard): create a 12-digit personal unblocking key (PUK)
Fixes: #7037
2022-10-19 13:24:41 +02:00
Sale Djenic 9b2a63c400 feat(@desktop/keycard): change pin flow added
Fixes: #7034
2022-10-19 13:24:41 +02:00
Lukáš Tinkl 025a45d1a4 chore(AppMain): improve startup time
- wrap everything we can in AppMain with a (async) Loader
- do not access globals w/o a proper store
- drop some dead code

Although I wasn't able to completely fix the bug, the ~50% improvement in
startup time is still worth trying imho. On my machine, the startup time
went down from ~7s to under 4s.

Related: #7292
2022-10-19 10:48:20 +02:00