Commit Graph

5710 Commits

Author SHA1 Message Date
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
Alexandra Betouni 3ac6f48fbd fix(StatusActivityCenterButton): updated offset values (#780)
Closes https://github.com/status-im/status-desktop/issues/6350
2022-09-21 18:20:12 +02:00
Alexandra Betouni 57d750e514 fix(demo/CreateChatView): fixed layout issues (#783)
As part of https://github.com/status-im/status-desktop/issues/6452
2022-09-21 18:20:12 +02:00
Alexandra Betouni e848ee3ba7 fix(StatusBaseButton): centered button's content (#779)
Closes #724
2022-09-21 18:20:12 +02:00
Noelia 2150b5f32b refactor(StatusPickerButton): Component refactor
Component refactor to have a clean and easy-to-read code.
Unnecessary stuff removed.

BREAKING CHANGES: Removed unnecessary properties since the parent already has them.
2022-09-21 18:20:12 +02:00
Lukáš Tinkl 33154a178a fix(SearchPopup): align with design
Needed for status-im/status-desktop#6428

- set the default icon background color to "transparent"; otherwise it
would be black when unset
- set the popup default size to 560x122 (as designed)
- add placeholder for the search field
- correct the font and icon sizes, spacing and margins according to
design
- fix some warnings
2022-09-21 18:20:12 +02:00
Lukáš Tinkl bee3e91423 fix(StatusCheckBox): enable setting the font size
add a possibility to override the font size for the contentItem's
StatusBaseText

otherwise it's impossible to do stuff like:
```
StatusCheckBox {
  font.pixelSize: 15
}
```¨
2022-09-21 18:20:12 +02:00
Mikhail Rogachev bd2932594a feat(StatusScrollView): New scrollview component without twitches (#766) 2022-09-21 18:20:12 +02:00
Khushboo-dev-cpp 170660a6be fix(StatusAssetSelector): Fixes the issue of longer text overlapping with the arrow. Have also added a max width for the text after which it should elide (#772) 2022-09-21 18:20:12 +02:00
Pascal Precht 85ca2dc3b3 feat(StatusStackModal): introduce `prevAction` API
This adds a possible `prevAction` hook to `stackLayout.currentItem`
which is triggered (if it exists) when the stack modal's back button is
hit.
2022-09-21 18:20:12 +02:00
Pascal Precht cf5461799f fix(StatusBaseInput): ensure correct text color is set for disabled
state
2022-09-21 18:20:12 +02:00
Khushboo-dev-cpp 9f87c24a6e fix: Minors fixes for issues found when using StatusFloatingButtons and implementing new SendModal (#748)
1. Fix the issue of floating buttons having incorrect color in Dark theme
2. Added balances param in StatusAssetSelector. ideally should be removed in another task as it is not the correct place for business logic
2022-09-21 18:20:12 +02:00
Khushboo-dev-cpp f8b5beb61c feat(StatusCard): Create a new reusbale card component (#731)
closes #582
2022-09-21 18:20:12 +02:00
Noelia e106f93c4d feat(StatusItemSelector): Component improvements
-  Added `popupItem` property
- Replaced `GridLayout` to `Flow`.
- Added add item logic.
- Added operators logic.
- Added basic documentation.
- Added to sandbox.
2022-09-21 18:20:12 +02:00
Noelia cd0e458ad2 feat(StatusIconTextButton): Created new control
It defines a button composed with an icon and plain text.
It has been documented and added to sandbox.
2022-09-21 18:20:12 +02:00
Noelia 4c3196a255 feat(StatusFloatValidator): Updated default `bottom` and `top` values 2022-09-21 18:20:12 +02:00
Noelia 694496ce75 feat(StatusSwitchTabButton): Added property `pixelSize` 2022-09-21 18:20:12 +02:00
Noelia 0c26e7e35b feat(StatusPickerButton): Added configurable image in front of text 2022-09-21 18:20:12 +02:00
Noelia 6b7a59bae5 chore(icons): Added arrow icon 2022-09-21 18:20:12 +02:00
Noelia 7df9e18840 feat(StatusDropdown): Basic dropdown template 2022-09-21 18:20:12 +02:00
Noelia 96dad45f70 feat(StatusBaseInput): Updated leftMargin depending if it is set from outside 2022-09-21 18:20:12 +02:00