Commit Graph

4446 Commits

Author SHA1 Message Date
Michał Cieślak f48aee2e44 fix(UserListPanel): Removed margin when the list positioned not at the end
Closes #7526
2022-09-29 00:23:55 +02:00
PavelS c931f716e8 fix(@desktop/chat): adjust chat input logic to allow emojis
Fixes #7622
2022-09-28 15:02:50 -04:00
Michal Iskierko f40ef4613e fix(@desktop/communities): Show only not community members
Fix #7477
2022-09-28 18:09:40 +02:00
Michal Iskierko d14fc486b5 fix(@desktop/contacts): Do not show pending identity request when user is verified.
Fix #7376
2022-09-28 10:56:14 -04:00
Noelia dcd77e3bf7 fix(Chat/Verify Identity): Identity verification typo
Changed hardcoded name to the corresponding `userDisplayName` parameter.

Fixes #7538
2022-09-28 10:54:03 -04:00
Lukáš Tinkl 2fd9877ba5 fix(StatusChatInfoButton): space between # and channel name
lower the spacing to better match the designs

Closes #7592
2022-09-28 10:53:07 -04:00
Khushboo Mehta d65f0fa55e fix(@desktop/wallet): Added squish tests for transactions and transaction details
fixes #7215
2022-09-28 09:55:41 -04:00
Igor Sirotin 010bdc9956 feat(CreateChatView): Support pasting chat key 2022-09-28 09:55:25 -04:00
Michal Iskierko 3bcd26b6ae fix(@desktop/general): Fix sections switching shortcuts
Ctrl+n shortcut changes enabled section.

Fix #7478
2022-09-28 09:42:14 -04:00
Alexandra Betouni fc3daa1451 (StatusSectionLayout): removed big space between header and content
Closes 7312
2022-09-28 15:37:52 +03:00
Alexandra Betouni 654519f5dd fix(ProfilePopup): fixed display name on block popup
Closes #7521
2022-09-28 15:37:29 +03:00
Khushboo Mehta db429b4961 fix(@desktop/wallet): Fix the emoji and text placement in the SendModal
fixes #7427
2022-09-28 14:25:58 +02:00
Noelia 751d61df8b fix(Communities/Settings): Cropped bottom panel in Community Overview
Footer buttons anchored to `leftPanel` bottom.
Improved list view alignment.

Fixes #7322
2022-09-28 12:01:58 +02:00
Alexandra Betouni d45230a6f7 fix(CreateChatView): disable confirm button if no tags added
Closes #7493
2022-09-28 12:53:16 +03:00
Sale Djenic f17003e5f2 test(@desktop/wallet): tests for adding wallet accounts updated according to the latest changes (`Authentication` flow) 2022-09-27 20:15:34 +02:00
Sale Djenic c5a81455e8 fix(@desktop/keycard): change password disabled for a keycard user 2022-09-27 20:15:34 +02:00
Sale Djenic 4e257539b8 chore(@desktop/keycard): `usingBiometricLogin` prop added to the user profile global instance 2022-09-27 20:15:34 +02:00
Sale Djenic 3687df2a2f chore(@desktop/keycard): `isKeycardUser` prop added to the user profile global instance 2022-09-27 20:15:34 +02:00
Sale Djenic 08ef68706f feat(@desktop/keycard): login flow wrong keychain pin update 2022-09-27 20:15:34 +02:00
Sale Djenic 861c585d2b feat(@desktop/keycard): adding wallet account using `Authenticate` flow
Fixes: #7509
2022-09-27 20:15:34 +02:00
Sale Djenic 4c3aca273a fix(@StatusQ/StatusInput): `dirty` prop set to default value when reset func it called 2022-09-27 20:15:34 +02:00
Sale Djenic db1bbef0e1 fix(@desktop/wallet): validation of a seed phrase if it contains a word of length 3 fixed 2022-09-27 20:15:34 +02:00
Sale Djenic 64f167a32d fix(@desktop/wallet): pasting seed phrase fixed 2022-09-27 20:15:34 +02:00
Sale Djenic 4bff0b14ed fix(@desktop/wallet): crash adding an account via seed phrase fixed 2022-09-27 20:15:34 +02:00
Sale Djenic f11ff29cb4 feat(@desktop/keycard): check what’s on a Keycard
Fixes: #7032
2022-09-27 20:15:34 +02:00
Sale Djenic 10c3b66336 feat(@desktop/keycard): unlock keycard flow added to the flows which are using it
- factory reset flow updated with unlock keycard flow
- setup new keycard (keycard migrate) flow updated with unlock keycard flow
- authenticate flow updated with unlock keycard flow
2022-09-27 19:03:18 +02:00
Sale Djenic a3b71c7d91 feat(@desktop/keycard): unlock keycard flow added
Fixes: #7031
2022-09-27 19:03:18 +02:00
Igor Sirotin c8bb6ae30e fix(CommunitySettingsView): Fixed sending community invitations 2022-09-27 19:41:23 +03:00
Alexandra Betouni 54076c772c fix(ProfilePopup): popup title was wrong with ens names
Closes #7320
2022-09-27 17:30:51 +03:00
MishkaRogachev ced2454bdc feat(ActivityCenter): Force sorting notifications by timespamp
Close #7492
2022-09-27 18:14:07 +04:00
Lukáš Tinkl a209d39881 fix: ENS name issues
- don't display identicon rings for contacts with an ENS name
- prefer the at-form (@foo-user) whenever possible, and don't display their
  username or pubkey unless they are locally given a nickname
- show compressed keys everywhere instead of the regular ones

Fixes: #7319
Fixes: #7515
2022-09-26 22:38:02 +02:00
Lukáš Tinkl 54c73b0be7 chore: cleanup, fix warning, remove dead code 2022-09-26 22:38:02 +02:00
MishkaRogachev 2681542a98 feat(ActivityCenter): Store AC properties globaly
Close 7489
2022-09-26 15:49:46 +03:00
MishkaRogachev ac9d68b6f5 feat(ActivityCenter): Add ReplyBadge & review fixes
Close 7276
2022-09-26 15:49:46 +03:00
MishkaRogachev b9ca8654a8 feat(ActivityCenter): Fix messages and AC notifications height
Close #7497
2022-09-26 15:49:46 +03:00
MishkaRogachev d4d22f4094 feat(ActivityCenter): Notification badge with community info 2022-09-26 15:49:46 +03:00
MishkaRogachev b923c97773 feat(ActivityCenter): customize badgies for communities and group chats 2022-09-26 15:49:46 +03:00
MishkaRogachev 239563e93b feat(Activity Center): Making mentions AC notifications match design and specs
Close #7275
2022-09-26 15:49:46 +03:00
Alexandra Betouni 7ea19d14d0 fix(CommunityListTags): fixed gradiend on dark theme
Closes #7257
2022-09-26 15:30:14 +03:00
PavelS 36a56a8af3 fix(@desktop/chat): adjust chat name placement
Fixes #7353
2022-09-26 12:54:41 +03:00
Lukáš Tinkl 36bea83eee fix: "Remove contact" button in ProfilePopup doesn't work
Closes: #7519
2022-09-26 11:13:56 +02:00
PavelS f884c91e97 fix(@desktop/community): community tags close button adjust
Fixes #7294
2022-09-26 10:25:17 +03:00
PavelS 6a96bc93b3 fix(@desktop/chat): handle same name mentions
Fixes #7220
2022-09-22 15:01:55 +03:00
Lukáš Tinkl 19391d9052 fix(PinnedMessagesPopup): don't show empty replies and reactions
Fixes: #7498
2022-09-22 12:18:04 +02:00
Lukáš Tinkl 19aa32a07e fix(ContactPanel): unbreak showing identicon rings
- unbreak the user icon in the popup menu
- don't show idention ring for ENS names

Fixes: #7496
2022-09-22 11:21:37 +02:00
Lukáš Tinkl 52dbf9b7c8 fix(CommunitiesListPanel): set uniform icon size
we want same icon sizes here, no matter if there's an image or not

Fixes: #7285
2022-09-22 11:18:16 +02:00
Lukáš Tinkl d7710ce135 fix(ChatMessagesView): unbreak closing reply bubble
there was a binding loop warning; but this one also fixes overlapping
messages

Fixes: #7481
2022-09-22 08:37:29 +02:00
Michał Cieślak 824616c32e chore(general): pull_request_template.md updated 2022-09-21 18:20:15 +02:00
Michał Cieślak 88c0e87446 chore(general): add SortFilterProxyModel submodule
It's necessary as a result of StatusQ merge
2022-09-21 18:20:15 +02:00
Khushboo-dev-cpp 71c5e1f4fd fix(StatusListItem): Adding padding in the inline tags (#915) 2022-09-21 18:20:15 +02:00
Alexandra Betouni 367324e422 (StatusSectionLayout): Added back button in StatusChatToolbar (#903)
To be used in header in all sections where it's needed

Needed for https://github.com/status-im/status-desktop/issues/7312
2022-09-21 18:20:15 +02:00
Michał b1d6e73e2f feat(StatusMessage): add 'hideMessage' property to allow hiding main message text (#916) 2022-09-21 18:20:15 +02:00
Lukáš Tinkl 060b98a74d fix(StatusChatInfoButton): fix vertical title alignment
do not display the subtitle when it's empty
2022-09-21 18:20:15 +02:00
Michał 8df06ef463 fix(StatusBaseButton): font family and weight fixed (#908) 2022-09-21 18:20:15 +02:00
MishkaRogachev b068deccd4 hotfix(StatusSectionLayout): fix notificationCount availability 2022-09-21 18:20:15 +02:00
Michal Iskierko 42fe647963 fix(StatusMessageSenderDetails): Simplify StatusMessageSenderDetails
StatusMessageSenderDetails contains only displayName and secondaryName.
Correct values are delivered by a model.

Issue #7241
2022-09-21 18:20:15 +02:00
Lukáš Tinkl 819c401579 fix(StatusPinMessageDetails): correct spacing
Fixes status-im/status-desktop#7305
2022-09-21 18:20:15 +02:00
Patryk Osmaczko d707bceb14 fix(StatusBaseButton): align text to horizontal center 2022-09-21 18:20:15 +02:00
Lukáš Tinkl 07a8d91ce5 fix(StatusListItem): unbreak vertical alignment 2022-09-21 18:20:15 +02:00
Lukáš Tinkl 0355f52cd9 hotfix: fix broken notification-muted icon 2022-09-21 18:20:15 +02:00
Alexandra Betouni 6112143a3c fix(StatusChartPanel): updated left spacing (#907) 2022-09-21 18:20:15 +02:00
Alexandra Betouni 61fd7ab8d5 fix(StatusChartPanel): fix #893 PR comments 2022-09-21 18:20:15 +02:00
Igor Sirotin e9bc96e2a1 fix(StatusColorRadioButton): Fixed size as per design (#732) 2022-09-21 18:20:15 +02:00
Alexandra Betouni 8be1af7059 feat(StatusChart): Adding chart component (#893)
Needed for https://github.com/status-im/status-desktop/issues/6490
2022-09-21 18:20:15 +02:00
Sale Djenic 44b6cda99a feat(StatusPinInput): additional spacing for every N-th digit
Two new props exposed so we can sed an extra spacing for every N-th item.
- `additionalSpacingOnEveryNItems` - determines for which item to add an extra space
- `additionalSpacing` - determines the value of extra space which will be added
2022-09-21 18:20:15 +02:00
Michał b85450a3de chore(StatusItemSelector): allow of using icons (#897) 2022-09-21 18:20:15 +02:00
Lukáš Tinkl 6549c9f344 fix(StatusChatInfoButton): pinned messages counter
- fix the "pinned messages" counter, add plural handling (Fixes #899)
- modernize using layouts (Fixes #898)
- add some more examples
2022-09-21 18:20:15 +02:00
PavelS b2fda3dfe8 fix(StatusMessage): adjust text alignment (#901)
Fixes https://github.com/status-im/status-desktop/issues/7301
2022-09-21 18:20:15 +02:00
Lukáš Tinkl 8e4d3c3fa9 hotfix: unbreak "pointing hand" cursor
turns out we can indeed have only one MouseArea to handle both the cursor
and intercepting the event in the "loading" state
2022-09-21 18:20:15 +02:00
Alexandra Betouni 4fcbce3949 feat(StatusBaseButton)!: Converting to QQC2 Button
Closes #782
2022-09-21 18:20:15 +02:00
Patryk Osmaczko 2c0f8c8e94 feat(StatusChatListItem): add online badge 2022-09-21 18:20:15 +02:00
Igor Sirotin 4a0b65b1d4 fix(StatusMessageEmojiReactions): Fixed emoji reactions appearance (#889) 2022-09-21 18:20:15 +02:00
Khushboo-dev-cpp 840d4bc14a fix(StatusExpandableItem): Added new padding for Tertitary type expandable item, a flag to set separator to visible true or false (#896) 2022-09-21 18:20:15 +02:00
Pascal Precht 5024db4f57 feat(StatusMessage): add support for `messageAttachments`
Prior to this commit, a `StatusMessage` can hold only a single
`messageImage`.

There will be scenarios where messages can have multiple attachments.
This is the case when importing messages from discord.
Hence, this commit introduces a new `messageAttachments` property which
is a whitespace separated list of attachment URLs (very analogous to the
already existing `linkUrls` property).

For now, we can safely assume these URLs will resolve to image content.
In future versions however, we might want to support additional content
types to handle any byte stream.
We will then change `messageAttachments` from `string` to a list model
that holds `attachment`s where we also have access to its `contentType`.
This will allow us to decide at runtime which component should be used
to view/play the attachment.
2022-09-21 18:20:15 +02:00
Khushboo-dev-cpp a298dace74 feat(StatusListItem): Added new properties to handle inline tags needed in the wallet section (#879) 2022-09-21 18:20:15 +02:00
Lukáš Tinkl 19b9c6e164 fix: StatusDateGroupLabel doesn't support i18n and has no year
- fix evaluating "Today" and "Yesterday"; can't just compare the two Date
objects, the timestamp will always differ so need to compare
year/month/day only
- best attempt to have the month translated, and year added if they
differ (until Qt6 at least, left a TODO)

Closes #843
2022-09-21 18:20:15 +02:00
Sale Djenic 938a544330 feat(Controls): introduce `StatusPasswordInput`
`StatusPasswordInput` is a wrapper around  `TextField` with an option
to display signing phrase.
2022-09-21 18:20:14 +02:00
Michał 21f187ad39 feat(StatusItemSelector): improved reusablity, addItem and popup handling removed (#887)
Additionally:
- minor positioning fixes in StatusListItem and StatusListItemTag
- StatusItemSelectorPage updated and added to main.qml
2022-09-21 18:20:14 +02:00
PavelS 97c3b6c7df fix(StatusListItem): adjust placement of title icons (#888)
Needed for https://github.com/status-im/status-desktop/issues/6972
2022-09-21 18:20:14 +02:00
Pascal Precht 85ad799218 fix(StatusBaseButton): fix wrong id usage 2022-09-21 18:20:14 +02:00
Pascal Precht 6e10b57c79 fix(StatusBaseButton): keep `MouseArea` enabled when in `loading` state
`StatusBaseButton` comes with a `MouseArea` that is disabled when the
button is set to being disabled. Prior to this commit it's *also* disabled
when the button is in `loading` state.

This makes sense because a button that is in `loading` state shouldn't
not emit any click signals or trigger hover indications.

There's a scenario though in which we want render a tooltip on top of
the button which is in `loading` state. For the tooltip to show, the
`MouseArea` of the button needs to be enabled.

Hence, this commit adjust `StatusBaseButton`'s behaviour to *not*
disable the `MouseArea` when it's `loading`. Mouse events are already
prevented via the `loading` flag. So the only thing left to do is to
ensure the button doesn't trigger any hover indication when in `loading`
state.
2022-09-21 18:20:14 +02:00
Pascal Precht 25bc2fe566 feat(StatusMessageReply): introduce `profileClickable` property
This is analogue to `profileClickable` available on `StatusMessage`,
preventing users to activate a reply-to-message's profile avatar.

At the time of this commit, this is only the case for imported messages.
So we can derive that, if `StatusMessage.profileClickable` is false, then
`StatusMessageReply.profileClickable` is also false.

Hence, we don't need to expose this property to higher level APIs.
2022-09-21 18:20:14 +02:00
Stefan 4332de11a2 fix(StatusSelect): set implicitWidth to the content size 2022-09-21 18:20:14 +02:00
Patryk Osmaczko 40c90bb19f fix(StatusTagSelector): forbid removing readonly tags 2022-09-21 18:20:14 +02:00
Lukáš Tinkl 20cbd99ae7 fix(StatusRadioButton): StatusRadioButton can't be fully clicked
- fix the control's width (don't have to be explicit, the QQC2 Control
takes care of calculating the implicitWidth/Height automatically based on
contents)
- while at it, fix the metrics to be able to support RTL
languages too (it was off for Arabic)
- some smaller cleanups too
2022-09-21 18:20:14 +02:00
Lukáš Tinkl fb43b9cd7f fix: remove duplicate entries 2022-09-21 18:20:14 +02:00
Alexandra Betouni dff3d95e14 feat(StatusQ): Merging Icon, Background and Image Settings (#788)
Closes #781
2022-09-21 18:20:14 +02:00
Alexandra Betouni 25c8eb7b49 fix(StatusScrollBar): Fixed visibilty when policy always on (#878)
Needed for https://github.com/status-im/status-desktop/issues/6262
2022-09-21 18:20:14 +02:00
PavelS 5c6fe0983d fix(StatusSelectableText): add missing Utils import (#880) 2022-09-21 18:20:14 +02:00
Alexandra Betouni 5d3bd00cd8 feat(StatusQ/Layout)!: Cleaning up Layouts for consistency (#836)
- Created StatusMainLayout to be used as the apps' main
  layout
- Created StatusSectionLayout to be used for all sections as
  their base
  - Created StatusToolBar as part of StatusAppLayout with
    standard component the ActivityButton and posibility to
    add custom implementation components

Needed for https://github.com/status-im/status-desktop/issues/6635
2022-09-21 18:20:14 +02:00
Pascal Precht 4f723b4278 feat(StatusMessage): introduce `profileClickable` property
This property allows for enabling/disabling whether or not the profile
picture and display name of a message is clickable and also dictates the
cursor type accordingly.

The reason this is being introduced is that, with imported messages from
other systems (e.g. discord, telegram etc), we don't want the user to
trigger the popup menu for more profile information because we don't
know any profile information of messages coming from such systems.

Such messages are signed by the community.

Closes https://github.com/status-im/status-desktop/issues/6680
2022-09-21 18:20:14 +02:00
PavelS 9769fdbb00 feat(Icons): add quote icon (#876)
Needed for https://github.com/status-im/status-desktop/issues/6988
2022-09-21 18:20:14 +02:00
Michał d27a655637 fix(StatusImageCropPanel): display SizeAllCursor cursor when over image (#864) 2022-09-21 18:20:14 +02:00
MishkaRogachev 1fc5525f9e fix(StatusChatListCategory): Add alias to category item for squish tests 2022-09-21 18:20:14 +02:00
PavelS 0717f155e8 feat(StatusScrollView): add ensureVisible function to Utils (#868)
Replace local ensureVisible with ensureVisible function from Utils

Required for https://github.com/status-im/status-desktop/issues/7093
2022-09-21 18:20:14 +02:00
Michał e754af13d3 chore(StatusAppNavBar): List views' bounds behavior refined (#866)
- outer list: not draggable
- communities list: not draggable when sufficient space,
  drag and overshot otherwise
2022-09-21 18:20:14 +02:00
Noelia e87b00f1f8 feat(StatusItemPicker): Added `radioButtonSize` property
Added properties `namePixelSize` and `radioButtonSize`.
Some fixes when shortName is undefined.
2022-09-21 18:20:14 +02:00
Noelia c8b880b1a9 feat(StatusRadioButton): Added size variant `Large` and `Small` 2022-09-21 18:20:14 +02:00
Pascal Precht 0b5ac614f9 feat(StatusMessage): add `messageOriginInfo` property
This is a property that allows for adding information about the origin
of a message (e.g. "Imported from discord").

This will most likely be only useful for messages that have been
imported from any other platform.

Because importing from other platforms requires those message to be
signed by a Status Account, it's undesirable to render the public key of
the account that signed imported messages.

Hence, when there's a `messageOriginInfo`, we don't render the elided
public key.
2022-09-21 18:20:14 +02:00
Igor Sirotin 7a94479f37 test(StatusMessage): Added objectName to `StatusTextMessage` (#869) 2022-09-21 18:20:14 +02:00
Jonathan Rainville 98e5d6cc57 test(StatusChatInfoButton): add objectName to pin text for tests 2022-09-21 18:20:14 +02:00
Jonathan Rainville cdf9344943 test(StatusTextMessage): add objectName for test 2022-09-21 18:20:14 +02:00
Michał 508b3f35cf fix(StatusTabButton): display hand cursor on hover when enabled (#859)
Needed for https://github.com/status-im/status-desktop/issues/6787
2022-09-21 18:20:14 +02:00
Michal Iskierko dc45e275f1 fix(Theme): Adding additional green color
Issue #6279
2022-09-21 18:20:14 +02:00
Stefan 15c766a3d6 fix(StatusChatListCategory): Clicking on a category should toggle it
The culprit here is at the very bottom, in StatusListItem: the toplevel
item was a MouseArea handling the clicks and this causes problems as any
extra buttons placed on top of it get their mouseClick events delivered
in wrong order (after StatusListItem). Fix this by having a MouseArea
handling click events behind the actual toplevel item as a last resort,
catch all handler  plus the actual "sensor" being just a MouseArea that
handles merely the hover events

- drop unneeded onPressed/onReleased handlers in StatusChatListCategoryItem
- fix some warnings (typos, unreachable code, shadowed variables)

Fixes: #6733
2022-09-21 18:20:14 +02:00
Stefan 75bdb9217f test(Sandbox): extend sandbox test for StatusChatListCategoryItem
Scope was to validate why StatusChatListCategoryItem miss behaves when
used in StatusChatListCategory.

On its own all the events works fine, as it can be seen by monitoring
the click events for each item (title, item and buttons).
However, inside StatusChatListCategory the mouse events are overlapped and
button events trigger also for the item. Tried obvious fiexes like
disabling steal of mouse events from buttons but this break the hovering
effect.

Updates: #6733
2022-09-21 18:20:14 +02:00
PavelS 33786814b9 fix(CreateChatView): adjust start chat page (#863)
Add fix from https://github.com/status-im/status-desktop/pull/7077 to
demoapp
2022-09-21 18:20:14 +02:00
Igor Sirotin 23e50341d2 fix(StatusMessage): Design update and minor improvements (#752) 2022-09-21 18:20:14 +02:00
Sale Djenic c922bf5adf feat: added missing icons
The following icons added:
- `key_pair_prvate_key.svg`
- `key_pair_seed_phrase.svg`
2022-09-21 18:20:14 +02:00
Sale Djenic 9dca6156f6 feat(StatusListItem): scroll feature added if list of tags exceeds component width 2022-09-21 18:20:14 +02:00
Jonathan Rainville a0a6cd3ae1 test(StatusSearchPopup): add object name for tests 2022-09-21 18:20:14 +02:00
Igor Sirotin 93a709bf36 fix(StatusComboBox): Pointing hand cursor on hover (#862) 2022-09-21 18:20:14 +02:00
PavelS 2d3e7919f1 fix(StatusInput)!: trigger errors bindings (#858)
Change valid to false by default

Fixes https://github.com/status-im/status-desktop/issues/6825

BREAKING CHANGE: StatusInput now emits signal for errors change and is
invalid by default
2022-09-21 18:20:14 +02:00
Anthony Laibe f157229e36 feat(@StatusComboBox): expose inner objectName property (#850) 2022-09-21 18:20:14 +02:00
Jonathan Rainville 82e5f03f5e test(StatusSearchPopup): add object names for tests 2022-09-21 18:20:14 +02:00
Stefan 9d2c05ad48 fix(StatusChatListAndCategories): duplicate objectName
Due to repository automerge.
2022-09-21 18:20:14 +02:00
Stefan e9879aa3ae tests(StatusChatListAndCategories.qml) add object names for testing 2022-09-21 18:20:14 +02:00
MishkaRogachev 6bac2322c2 test(StatusChatListAndCategories): Add object names 2022-09-21 18:20:14 +02:00
PavelS 6da0b9d534 fix(StatusPopupMenu): update popup content to support big margins (#853)
Needed for https://github.com/status-im/status-desktop/issues/6822
2022-09-21 18:20:14 +02:00
PavelS 2f64374bbd fix(StatusMenuItemDelegate): adjust menu item height (#852)
Needed for https://github.com/status-im/status-desktop/issues/6830
2022-09-21 18:20:14 +02:00
Sale Djenic 8c33ad6191 feat(StatusCheckbox): introduced new `leftSide` prop
- `leftSide` determines whether to display check box on the left or right
side, defaulted to left
2022-09-21 18:20:14 +02:00
Khushboo-dev-cpp 0d35fc022f fix(StatusColorSelectorGrid): Expose the Color Repeater for Squish testing (#847) 2022-09-21 18:20:14 +02:00
Patryk Osmaczko 363f60cddb fix(StatusIconTextButton): make icon invisible when no icon is loaded
Otherwise this button has invisible left padding when no icon is set
2022-09-21 18:20:14 +02:00
Patryk Osmaczko e0d24628a4 fix(StatusToolTip): remove contentItem by id usage
Otherwise contentItem can't be safely overriden by the clients
2022-09-21 18:20:13 +02:00
Patryk Osmaczko 77d32efa4b feat: add social link icons 2022-09-21 18:20:13 +02:00
PavelS 0c522d393a fix(StatusImageCropPanel) add margins to crop area (#848)
Needed for status-im/status-desktop#6835

Required by status-im/status-desktop#6872
2022-09-21 18:20:13 +02:00
MishkaRogachev bc0db0a632 fix(StatusCommunityTags): fix width calculation 2022-09-21 18:20:13 +02:00
PavelS 7071a29700 fix(StatusTabButton) adjust tab button height (#842)
Needed by https://github.com/status-im/status-desktop/issues/6786
2022-09-21 18:20:13 +02:00
Lukáš Tinkl 6dd90ae3a2 feat/(Status[Base]Button): add a new Primary variant
we were missing this variant, needed for status-im/status-desktop#6081
2022-09-21 18:20:13 +02:00
Lukáš Tinkl 66a1b24274 chore(Palette): do not define font properties twice
sue a shared impl, they are common to both light/dark palettes
2022-09-21 18:20:13 +02:00
PavelS 53be0784a8 fix(StatusImageCropPanel) adjust Image Crop component (#839)
- update StatusSlider handle and background positioning

Needed for https://github.com/status-im/status-desktop/issues/6835
2022-09-21 18:20:13 +02:00
Stefan 0f40f5bb0d fix(tests): fix building tests 2022-09-21 18:20:13 +02:00
Stefan 0a6c1bfcac fix(StatusImageCrop): fix artefacts due to offscreen caching
Fix by disabling layering, leftover from the previous approach of not
using Canvas.

Also investigate TODO regarding artefacts workaround and implement
a proper approach

Fixes: #6640
2022-09-21 18:20:13 +02:00
Lukáš Tinkl fc7c0a07a5 hotfix(StatusDatePicker): fix some UI issues
- make selectedDate read/write for preselecting the date
- minor toolbar spacing/sizing fixes
2022-09-21 18:20:13 +02:00
Michał 82707a0d48 fix(StatusSeedPhraseInput): fix notifying inserting word done (#841) 2022-09-21 18:20:13 +02:00
Lukáš Tinkl 2d22b4260e feat(StatusDatePicker): introduce StatusDatePicker component
nothing fancy, just a combo box with a calendar popup; needed for the
discord import tool UI

Related to status-im/status-desktop#6081
2022-09-21 18:20:13 +02:00
MishkaRogachev f5bcbb93de fix(StatusInput): Add labelPadding customization and improve height calculation 2022-09-21 18:20:13 +02:00
MishkaRogachev 22308abfcd fix(StatusBaseInput): placeholder text is also can be multiline 2022-09-21 18:20:13 +02:00
MishkaRogachev eccf3ba811 fix(StatusStackView): Use availableWidth for content 2022-09-21 18:20:13 +02:00
Michal Iskierko 4646ccaa1f feat(StatusColorRadioButton): expose radio button diameter property
Issue #5982
2022-09-21 18:20:13 +02:00
Jonathan Rainville b2ed066a5d fix(StatusChatList): fix wrong id used 2022-09-21 18:20:13 +02:00
Stefan 603d8e7ee9 feature(StatusAddressPanel): Implement generic address display control
Provides frame, prefix icon and copy operation int addition to StatusAddress

Updates: #6798
2022-09-21 18:20:13 +02:00
PavelS 524f941401 fix(StatusImageCropPanel) vertically align slider in ImageCropPanel (#829)
- change StatusSlider to be vertically centered

Needed for https://github.com/status-im/status-desktop/issues/6725
2022-09-21 18:20:13 +02:00
Boris Melnik a82d07db7a fix(handler): Remove handler include from sandbox (#834) 2022-09-21 18:20:13 +02:00
Michał abd8ea2195 chore(StatusChatList): Keep sync with underlying model after reordering (#825) 2022-09-21 18:20:13 +02:00
Alexandra Betouni b64f2394cd fix(StatusBaseInput): added left margin between text and left component (#830)
Needed for https://github.com/status-im/status-desktop/issues/6730
2022-09-21 18:20:13 +02:00
Michał 0440df796b chore(StatusChatList)!: Use SortFilterProxyModel instead of filtering functions (#823)
BREAKING CHANGE: StatusChatList has no longer filterFn, model is
intended to be already filtered externally
2022-09-21 18:20:13 +02:00
Boris Melnik f5c75562b2 feat(hot reloading): Add first version of hot reloading (#674)
Version for: https://github.com/status-im/status-desktop/issues/5690
2022-09-21 18:20:13 +02:00
Anthony Laibe 6ca24d33cb feat(@StatusAppNavBar): Add qr scan button 2022-09-21 18:20:13 +02:00
Jonathan Rainville c5b121399e test(StatusSmartIdenticon): add objectName for tests 2022-09-21 18:20:13 +02:00
Alexandra Betouni de6ac27fc7 feat(StatusQ/Controls): introducing StatusBackButton
Closes: https://github.com/status-im/status-desktop/issues/6727
2022-09-21 18:20:13 +02:00
Boris Melnik d999cb5d88 fix(StatusSearchPopup): Fix `forceActiveFocus` method (#818) 2022-09-21 18:20:13 +02:00
Alexandra Betouni bac36176bd fix(StatusInput): setting default 44px in min/max height (#817) 2022-09-21 18:20:13 +02:00
Igor Sirotin 5b31926939 Reimplemented components using `StatusComboBox` (#815)
* fix(StatusAccountSelector): Refactored and reimplemented using `StatusComboBox`
* fix(StatusAssetSelector): Refactored and reimplemented using `StatusComboBox`
* fix(StatusColorSelector): Reimplemented using `StatusComboBox`
* fix(StatusCardPage): Replaced `StatusSelect` with `StatusComboBox`
2022-09-21 18:20:13 +02:00
Mikhail Rogachev cb13839f95 fix(StatusCommunityTag): Polish text and icon sizings (#824) 2022-09-21 18:20:13 +02:00
Alexandra Betouni 8210e06292 fix(Utils): moved emojilists.js instance inside Emoji singleton (#816)
Needed for: https://github.com/status-im/status-desktop/issues/6729
2022-09-21 18:20:13 +02:00
Khushboo-dev-cpp ae75afb67a feat(StatusDialog): Add DIalog Background componentto make the dialog background customizable (#809) 2022-09-21 18:20:13 +02:00
Khushboo-dev-cpp ac8f8cbca9 chore: Remove StatusAssetSelector from StatusQ (#806)
* fix(StatusSelect): Expose a property to make arrow in the select item visible/invisible

* chore: Remove StatusAssetSelector from StatusQ as its base component StatusSelect is enough to build this further on desktop side.

This component also has dependecy on BE and hence should be moved out.

BREAKING CHANGE:
2022-09-21 18:20:13 +02:00
Anthony Laibe 6ad6a38369 feat(@StatusFloatingButtonsSelector): expose repeater (#795) 2022-09-21 18:20:13 +02:00
Patryk Osmaczko 444981723c chore(StatusListPicker): enable picker to work with incompatible models 2022-09-21 18:20:13 +02:00
Jonathan Rainville 5e40f2e4d4 test(StatusListItem): add objectName 2022-09-21 18:20:13 +02:00
Lukáš Tinkl 2529392569 fix(StatusSeedPhraseInput): Back up seed phrase inputs are missing spacing
Closes: #6720
2022-09-21 18:20:13 +02:00
Lukáš Tinkl ab817c862c feat(StatusTextArea): Implement StatusTextArea
Implements a standard QQC2 TextArea control with Status styling

Closes #236
2022-09-21 18:20:13 +02:00
Jonathan Rainville a05a35939a feat(StatusInput): add force argument to validate to force validation 2022-09-21 18:20:13 +02:00
Igor Sirotin b3dfa02297 feat(StatusComboBox): Introduced new component to replace `StatusSelect` (#790) 2022-09-21 18:20:13 +02:00
Noelia 29fbe51e8f test(StatusTagSelector): Added `objectName` property needed for automation 2022-09-21 18:20:13 +02:00
Noelia c42f7d42fa test(StatusChatList): Added `objectName` property needed for automation 2022-09-21 18:20:13 +02:00
Noelia b42b347374 test(StatusChatInfoButton): Added `objectName` property needed for automation 2022-09-21 18:20:13 +02:00
Alexandra Betouni a56893609e fix(StatusInput): Replaced layout spacing with margins (#808)
As part of https://github.com/status-im/status-desktop/issues/6022
2022-09-21 18:20:13 +02:00
Khushboo-dev-cpp 767e7a7f5a fix(StatusModal): Adapt the status modal to have a user defined background color (#807)
Add a new color for StatusFloatingButtonSelector
2022-09-21 18:20:13 +02:00
Jonathan Rainville fade2f2d8a chore(StatusScrollView): remove unused background property
BREAKING CHANGE: removes the background property of the StatusScrollView
2022-09-21 18:20:13 +02:00
Alexandra Betouni a978b81258 fix(StatusInputPage): updated input height leftovers (#804)
As part of https://github.com/status-im/status-desktop/issues/6637
2022-09-21 18:20:13 +02:00
Patryk Osmaczko 3df86befad chore(utils): add `iconSource` API to Emoji 2022-09-21 18:20:13 +02:00
Patryk Osmaczko 8fa740b12a chore(StatusListPicker): remove imperative updateInputListModel
closes: status-im/status-desktop#6500
2022-09-21 18:20:13 +02:00
Patryk Osmaczko 56d42bb229 chore(StatusListPicker): remove imperative filtering
iterates: status-im/status-desktop#6511, status-im/status-desktop#6500
2022-09-21 18:20:13 +02:00
Sale Djenic 444894a642 fix(StatusSearchPopup): reset search location
New `resetSearchLocationClicked` signal introduced.

Click on `X` button is emitting `resetSearchLocationClicked` signal and
lets a component which is using this one to decide what to do instead just
reseting search selection locally to this component.

Needed for https://github.com/status-im/status-desktop/issues/6551
2022-09-21 18:20:12 +02:00
Khushboo-dev-cpp 9e21b8664f Revert "chore: Remove StatusAssetSelector from StatusQ (#792)" (#805)
This reverts commit 3954d492667677a44629a328cb97d89d209821b5.
2022-09-21 18:20:12 +02:00
Mikhail Rogachev b613b98ffa feat(StatusListView): Add availableWidth/availableHeight to api (#801) 2022-09-21 18:20:12 +02:00
Lukáš Tinkl af59155150 hotfix(@qrc): remove the StatusAssetSelector from qrc files too
fixes the build of StatusQ/sandbox
2022-09-21 18:20:12 +02:00
Lukáš Tinkl 4d76daa4e7 fix(StatusAppNavBar): fix profile icon bottom margin
it should be 24px from the bottom according to the design
2022-09-21 18:20:12 +02:00
Khushboo-dev-cpp 0e50dbd034 chore: Remove StatusAssetSelector from StatusQ (#792)
* chore: Remove StatusAssetSelector from StatusQ as its base component StatusSelect is enough to build this further on desktop side.

This component also has dependecy on BE and hence should be moved out.

BREAKING CHANGE:

* fix(StatusSelect): Expose a property to make arrow in the select item visible/invisible
2022-09-21 18:20:12 +02:00
Khushboo-dev-cpp fa890b3b18 fix: Move status logo to icons folder needed in the ReceiveModal (#773) 2022-09-21 18:20:12 +02:00
Lukáš Tinkl cf2d18cba9 fix(StatusBanner): TestNet banner overlaps left panel
let the text elide on the right side if the parent width is smaller
than ours

Related: status-im/status-desktop#6600
2022-09-21 18:20:12 +02:00
Alexandra Betouni c5a1e057ec fix(StatusInput): fixing various layout issues (#794)
- Resolved binding loops in StatusInput
- Replaced all instances of StatusBaseinput
  with StatusInput
- Cleaned up min/max height properties
- Fixed total height calculation

Needed for https://github.com/status-im/status-desktop/issues/6358
2022-09-21 18:20:12 +02:00
Michał 6ed0219313 feat(StatusChatListAndCategories) expose highlightItem property (#796) 2022-09-21 18:20:12 +02:00
Igor Sirotin fe66c51145 fix(demoapp): Replaced non-existent web images with locals (#757) 2022-09-21 18:20:12 +02:00
Michał Iskierko 17ae4263cd fix(StatusMinLengthValidator): Check if the text contains only whitespaces (#778)
Fixes #6304
2022-09-21 18:20:12 +02:00
Jonathan Rainville 268ff0bb13 test(StatusChatToolBar): add object name for tests 2022-09-21 18:20:12 +02:00
Jonathan Rainville 842f71f720 test(StatusMenuItemDelegate): add objectName property for tests 2022-09-21 18:20:12 +02:00
Jonathan Rainville cde2e925ec test(StatusChatInfoButton): add objectName to StatusChatInfoButton 2022-09-21 18:20:12 +02:00
Mikhail Rogachev 6c45f4bfef feat(StatusListView): Add new ListView, GridView and ScrollView components with tuned scrolling
* fix(StatusScrollView): use Flickable underhood to ScrollView issues

* feat(StatusListView): New listview component without twitches

* fix(StatusScrollView): Fix background positioning and sliders visibility

* feat(StatusGridView): Add GridView wrapper
2022-09-21 18:20:12 +02:00
MishkaRogachev 3941afe4f5 Fix building x86_64 solution on Mac M1 2022-09-21 18:20:12 +02:00
Sale Djenic 2d92be0bfa Necessary updates applied to make it work on mac 2022-09-21 18:20:12 +02:00
Patryk Osmaczko a50296046d feat: add filtering&sorting example
closes: status-im/status-desktop#6510
closes: status-im/status-desktop#6512
2022-09-21 18:20:12 +02:00
Patryk Osmaczko c84651dc5c chore: update README and build script 2022-09-21 18:20:12 +02:00
Patryk Osmaczko de0823a2e2 bump vendor/SortFilterProxyModel
iterates: status-im/status-desktop#6510
2022-09-21 18:20:12 +02:00
Patryk Osmaczko c6c276d8c8 chore(git): add vendor/SortFilterProxyModel
iterates: status-im/status-desktop#6510
2022-09-21 18:20:12 +02:00
Patryk Osmaczko 6dd8c5fa46 feat: use cmake instead of qmake
- cmake is superior to qmake (e.g. linking custom libraries)
- maintaining two build system generators is costly

iterates: status-im/status-desktop#6510
2022-09-21 18:20:12 +02:00
Alexandra Betouni 03bc2e6184 feat(StatusListItem): adding title text icon (#785)
Needed for https://github.com/status-im/status-desktop/issues/6494
2022-09-21 18:20:12 +02:00
Alexandra Betouni 9dacfb9bb6 fix(StatusQ): Added/updated icon assets (#786)
Nedded for: https://github.com/status-im/status-desktop/issues/6494
2022-09-21 18:20:12 +02:00