Commit Graph

703 Commits

Author SHA1 Message Date
Igor Sirotin fd6d735df8
test(StatusMessage): Added objectName to `StatusTextMessage` (#869) 2022-08-25 23:30:05 +03:00
Jonathan Rainville 4d63af303c test(StatusChatInfoButton): add objectName to pin text for tests 2022-08-24 10:08:17 -04:00
Jonathan Rainville 1e12636abd test(StatusTextMessage): add objectName for test 2022-08-22 13:48:24 -04:00
Michał 89049fd56b
fix(StatusTabButton): display hand cursor on hover when enabled (#859)
Needed for https://github.com/status-im/status-desktop/issues/6787
2022-08-22 14:35:36 +02:00
Michal Iskierko be24401a50 fix(Theme): Adding additional green color
Issue #6279
2022-08-22 13:44:40 +02:00
Stefan 8214e64684 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-08-22 12:29:24 +02:00
Stefan 50299f8d83 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-08-22 12:29:24 +02:00
PavelS 6e93b4ec41
fix(CreateChatView): adjust start chat page (#863)
Add fix from https://github.com/status-im/status-desktop/pull/7077 to
demoapp
2022-08-22 10:35:23 +03:00
Igor Sirotin 6c107b5760
fix(StatusMessage): Design update and minor improvements (#752) 2022-08-20 03:01:28 +03:00
Sale Djenic a9c0c88101 feat: added missing icons
The following icons added:
- `key_pair_prvate_key.svg`
- `key_pair_seed_phrase.svg`
2022-08-18 16:40:58 +02:00
Sale Djenic b59295d56b feat(StatusListItem): scroll feature added if list of tags exceeds component width 2022-08-18 16:40:58 +02:00
Jonathan Rainville b9882c6ff6 test(StatusSearchPopup): add object name for tests 2022-08-18 09:12:11 -04:00
Igor Sirotin 72750ef60c
fix(StatusComboBox): Pointing hand cursor on hover (#862) 2022-08-18 15:07:16 +03:00
PavelS 9f6f9905e9
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-08-18 14:45:38 +03:00
Anthony Laibe a22d8252b1
feat(@StatusComboBox): expose inner objectName property (#850) 2022-08-18 10:55:09 +02:00
Jonathan Rainville 02bb67a266 test(StatusSearchPopup): add object names for tests 2022-08-16 09:35:19 -04:00
Stefan f15b0d4de4 fix(StatusChatListAndCategories): duplicate objectName
Due to repository automerge.
2022-08-16 11:47:47 +02:00
Stefan 8f06729c1a tests(StatusChatListAndCategories.qml) add object names for testing 2022-08-16 11:30:06 +02:00
MishkaRogachev c721a67c70 test(StatusChatListAndCategories): Add object names 2022-08-15 18:10:24 +04:00
PavelS b2e8a0e282
fix(StatusPopupMenu): update popup content to support big margins (#853)
Needed for https://github.com/status-im/status-desktop/issues/6822
2022-08-15 16:48:58 +03:00
PavelS 76cc5fda22
fix(StatusMenuItemDelegate): adjust menu item height (#852)
Needed for https://github.com/status-im/status-desktop/issues/6830
2022-08-15 12:53:44 +03:00
Sale Djenic e1d8d934b3 feat(StatusCheckbox): introduced new `leftSide` prop
- `leftSide` determines whether to display check box on the left or right
side, defaulted to left
2022-08-11 13:20:17 +02:00
Khushboo-dev-cpp 9fa6fb2324
fix(StatusColorSelectorGrid): Expose the Color Repeater for Squish testing (#847) 2022-08-11 12:58:09 +02:00
Patryk Osmaczko ce22d8759c fix(StatusIconTextButton): make icon invisible when no icon is loaded
Otherwise this button has invisible left padding when no icon is set
2022-08-10 14:43:28 +02:00
Patryk Osmaczko 91cafca41f fix(StatusToolTip): remove contentItem by id usage
Otherwise contentItem can't be safely overriden by the clients
2022-08-10 14:43:28 +02:00
Patryk Osmaczko 151097e466 feat: add social link icons 2022-08-10 14:43:28 +02:00
PavelS 7fc207f75f
fix(StatusImageCropPanel) add margins to crop area (#848)
Needed for status-im/status-desktop#6835

Required by status-im/status-desktop#6872
2022-08-10 13:58:52 +03:00
MishkaRogachev caaa2fc53b fix(StatusCommunityTags): fix width calculation 2022-08-10 12:07:32 +03:00
PavelS 98aa6a4b27
fix(StatusTabButton) adjust tab button height (#842)
Needed by https://github.com/status-im/status-desktop/issues/6786
2022-08-09 18:27:15 +03:00
Lukáš Tinkl b3ceb0aad9 feat/(Status[Base]Button): add a new Primary variant
we were missing this variant, needed for status-im/status-desktop#6081
2022-08-09 10:53:27 +02:00
Lukáš Tinkl fa16c32316 chore(Palette): do not define font properties twice
sue a shared impl, they are common to both light/dark palettes
2022-08-09 10:53:27 +02:00
PavelS 4282cc10c4
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-08-09 09:54:19 +03:00
Stefan e5ddf28f02 fix(tests): fix building tests 2022-08-09 01:07:17 +02:00
Stefan 4937681645 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-08-09 01:07:17 +02:00
Lukáš Tinkl 39b1bcfe6b hotfix(StatusDatePicker): fix some UI issues
- make selectedDate read/write for preselecting the date
- minor toolbar spacing/sizing fixes
2022-08-08 23:20:41 +02:00
Michał 56f36ed627
fix(StatusSeedPhraseInput): fix notifying inserting word done (#841) 2022-08-08 17:38:43 +02:00
Lukáš Tinkl 789b773649 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-08-08 15:05:12 +02:00
MishkaRogachev ad962a6009 fix(StatusInput): Add labelPadding customization and improve height calculation 2022-08-08 15:58:31 +03:00
MishkaRogachev f09565a4fa fix(StatusBaseInput): placeholder text is also can be multiline 2022-08-08 14:20:20 +03:00
MishkaRogachev d08339a7b0 fix(StatusStackView): Use availableWidth for content 2022-08-08 14:20:20 +03:00
Michal Iskierko 5c24767310 feat(StatusColorRadioButton): expose radio button diameter property
Issue #5982
2022-08-08 10:29:12 +02:00
Jonathan Rainville 737b9cfb3f fix(StatusChatList): fix wrong id used 2022-08-05 15:57:24 -04:00
Stefan 10d312ec8f feature(StatusAddressPanel): Implement generic address display control
Provides frame, prefix icon and copy operation int addition to StatusAddress

Updates: #6798
2022-08-05 17:01:25 +02:00
PavelS 2a377533f8
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-08-05 16:53:55 +03:00
Boris Melnik 25e3c5526a
fix(handler): Remove handler include from sandbox (#834) 2022-08-05 12:21:34 +03:00
Michał 94e59e1bf0
chore(StatusChatList): Keep sync with underlying model after reordering (#825) 2022-08-04 21:52:56 +02:00
Alexandra Betouni 3ac0187923
fix(StatusBaseInput): added left margin between text and left component (#830)
Needed for https://github.com/status-im/status-desktop/issues/6730
2022-08-04 18:03:33 +03:00
Michał a563687bf5
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-08-04 14:52:12 +02:00
Boris Melnik 40992f6718
feat(hot reloading): Add first version of hot reloading (#674)
Version for: https://github.com/status-im/status-desktop/issues/5690
2022-08-04 13:54:13 +03:00
Anthony Laibe 9738890d9d feat(@StatusAppNavBar): Add qr scan button 2022-08-04 09:45:59 +02:00