2
0
mirror of synced 2025-01-11 14:54:47 +00:00

243 Commits

Author SHA1 Message Date
Sale Djenic
b59295d56b feat(StatusListItem): scroll feature added if list of tags exceeds component width 2022-08-18 16:40:58 +02: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
Lukáš Tinkl
b3ceb0aad9 feat/(Status[Base]Button): add a new Primary variant
we were missing this variant, needed for 
2022-08-09 10:53:27 +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: 
2022-08-09 01:07:17 +02:00
Michał
56f36ed627
fix(StatusSeedPhraseInput): fix notifying inserting word done () 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 
2022-08-08 15:05:12 +02:00
Stefan
10d312ec8f feature(StatusAddressPanel): Implement generic address display control
Provides frame, prefix icon and copy operation int addition to StatusAddress

Updates: 
2022-08-05 17:01:25 +02:00
Boris Melnik
25e3c5526a
fix(handler): Remove handler include from sandbox () 2022-08-05 12:21:34 +03:00
Boris Melnik
40992f6718
feat(hot reloading): Add first version of hot reloading ()
Version for: https://github.com/status-im/status-desktop/issues/5690
2022-08-04 13:54:13 +03:00
Alexandra Betouni
9df658a574 feat(StatusQ/Controls): introducing StatusBackButton
Closes: https://github.com/status-im/status-desktop/issues/6727
2022-08-03 20:41:24 +02:00
Igor Sirotin
cff836280f
Reimplemented components using StatusComboBox ()
* 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-08-03 15:13:31 +03:00
Khushboo-dev-cpp
dbc0c1960a
chore: Remove StatusAssetSelector from StatusQ ()
* 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-08-03 09:22:36 +02:00
Lukáš Tinkl
e6be4d9bad feat(StatusTextArea): Implement StatusTextArea
Implements a standard QQC2 TextArea control with Status styling

Closes 
2022-08-02 11:35:11 +02:00
Igor Sirotin
2270526071
feat(StatusComboBox): Introduced new component to replace StatusSelect () 2022-07-30 17:45:22 +03:00
Alexandra Betouni
64ec74117d
fix(StatusInputPage): updated input height leftovers ()
As part of https://github.com/status-im/status-desktop/issues/6637
2022-07-27 16:33:55 +03:00
Patryk Osmaczko
5f1df089eb chore(StatusListPicker): remove imperative updateInputListModel
closes: 
2022-07-27 13:54:23 +02:00
Khushboo-dev-cpp
a60c44e387
Revert "chore: Remove StatusAssetSelector from StatusQ ()" ()
This reverts commit 3954d492667677a44629a328cb97d89d209821b5.
2022-07-26 14:36:26 +02:00
Lukáš Tinkl
c0c240ed6a hotfix(@qrc): remove the StatusAssetSelector from qrc files too
fixes the build of StatusQ/sandbox
2022-07-26 10:05:45 +02:00
Khushboo-dev-cpp
3954d49266
chore: Remove StatusAssetSelector from StatusQ ()
* 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-07-25 21:16:15 +02:00
Alexandra Betouni
2f650dc745
fix(StatusInput): fixing various layout issues ()
- 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-07-25 13:19:26 +03:00
Igor Sirotin
c0057daa7a
fix(demoapp): Replaced non-existent web images with locals () 2022-07-22 16:42:05 +03:00
Sale Djenic
132cfda244 Necessary updates applied to make it work on mac 2022-07-21 15:00:11 +02:00
Patryk Osmaczko
9b89e08294 feat: add filtering&sorting example
closes: 
closes: 
2022-07-21 15:00:11 +02:00
Patryk Osmaczko
df60ec047a chore: update README and build script 2022-07-21 15:00:11 +02:00
Patryk Osmaczko
9b7772be3b feat: use cmake instead of qmake
- cmake is superior to qmake (e.g. linking custom libraries)
- maintaining two build system generators is costly

iterates: 
2022-07-21 15:00:11 +02:00
Alexandra Betouni
9b9b3fcfff
fix(demo/CreateChatView): fixed layout issues ()
As part of https://github.com/status-im/status-desktop/issues/6452
2022-07-15 19:35:59 +03:00
Mikhail Rogachev
e7b80a9ae2
feat(StatusScrollView): New scrollview component without twitches () 2022-07-14 15:29:14 +03:00
Khushboo-dev-cpp
24a0e7472d
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 () 2022-07-14 11:03:39 +02:00
Khushboo-dev-cpp
c697467c68
fix: Minors fixes for issues found when using StatusFloatingButtons and implementing new SendModal ()
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-07-14 00:05:42 +02:00
Khushboo-dev-cpp
e2d42289f7
feat(StatusCard): Create a new reusbale card component ()
closes 
2022-07-14 00:03:44 +02:00
Noelia
e781645a58 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-07-13 13:17:21 +02:00
Noelia
c98f144fd8 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-07-13 13:17:21 +02:00
Alexandra Betouni
99457ee77f
fix(CreateChatView): fixed no contacts text alignment ()
As part of https://github.com/status-im/status-desktop/issues/6354
2022-07-13 11:59:53 +03:00
Alexandra Betouni
c41318d5e8
fix(StatusAppChatView): Updated layout based on new designs ()
As part of https://github.com/status-im/status-desktop/issues/6352
2022-07-13 11:58:59 +03:00
Michał Iskierko
05250a6eab
feat(StatusFontSettings): Add StatusFontSettings component to change StatusMenuItems font attributes ()
Required by 
2022-07-12 11:05:12 +02:00
Jonathan Rainville
a35d3dca8c refactor(isContact): rename isMutualContact to isContact
BREAKING CHANGE: isMutualContact is replaced by isContact anywhere it was used
2022-07-11 09:29:30 -04:00
Lukáš Tinkl
e16804c4f0 fix(models): flag/currency icons are rendered blurred
exchange language/currency icons, PNG->SVG
2022-07-06 14:12:06 +02:00
Patryk Osmaczko
c4421d3552 feat(StatusDialog): introduce StatusDialog
closes: 
2022-07-06 11:48:11 +02:00
Lukáš Tinkl
cdf3059d3d
fix(sandbox): enable the hover effects by default ()
Similar to what we did in status desktop under
d0a26a326e95a14a6a8a5634c0d30cd6dc648b54

- since Qt 5.xy, hover is not enabled by default for QQC2, so enable it
unconditionally as we are a desktop app anyway
- this fixes several hover effects being broken, mostly for builtin
components like MenuItem and some buttons (eg. the leftmost NavBar)
where we haven't enabled those with `hoverEnabled: true` explicitely
2022-07-04 17:09:00 +02:00
Lukáš Tinkl
5e590056ff
fix(@sandbox): greatly speed up (re)build times ()
since most of the compilation time is spent on creating the QRC bundle
and the resulting binary is quite huge, advice the `rcc` compiler to add
support for "big resources"
(cf https://doc.qt.io/qt-6/resources.html#embedding-large-files)

Also pass the env $LDFLAGS to qmake (to be able to link e.g. with mold,
which again greatly reduces the time to link the binary)

this leads to 6-10x faster time when recompiling
(Linux, gcc 12.1.1, mold 1.3.0)

BEFORE:
Clean build:
real	0m57,256s
user	1m25,869s
sys	0m40,963s

Incremental build, one file touched:
real	0m54,323s
user	0m54,012s
sys	0m2,934s

AFTER:
Clean build:
real	0m7,276s
user	0m21,001s
sys	0m37,256s

Incremental build, one file touched:
real	0m5,569s
user	0m4,850s
sys	0m0,840s
2022-07-01 10:18:09 +02:00
Noelia
b064f9ebd8 feat(StatusRoundButton): Added Tertiary type
- Transparent background but when hovered, like Primary type in idle state.

- Updated sandbox with the new type.
2022-06-27 07:50:22 +02:00
Sale Djenic
604bb7a74c fix(StatusToastMessage): clicked signal added 2022-06-23 19:52:23 +02:00
Igor Sirotin
34c223b581
feat(StatusListItem): Added loading and loadingFailed properties () 2022-06-22 10:40:17 +03:00
Mikhail Rogachev
69b5cb1988
feat(StatusCommunityTags): Add community tags component () 2022-06-14 16:23:18 +03:00
Khushboo-dev-cpp
d5df8b42a7
feat(StatusFloatingButtonsSelector): Implements the floating buttons selector widget ()
To be used in with StatusModal or independently
2022-06-14 11:07:08 +05:30
Patryk Osmaczko
b816643e2d fix: adapt StatusMemeberListItem usages to renamed properties 2022-06-13 10:45:35 +02:00
Noelia
40db66f763 feat(StatusCommunityCard): New design
- Added community banner.
- Added community restrictions / private.
- Modified card background shape.
- Modified logo shape and position.
- Modified text position and size.
- Modified `loading state` card.
- Added `DropShadow` effect.
- Added new icons.
- Added new community images and updated model.
- Added numbers format function.
- Added following new properties: `banner`,`activeUsers` `communityColor`, `isPrivate` and `tokenLogo`.

Closes 
2022-06-13 09:48:25 +02:00
Noelia
70834fc187 feat(StatusTagSelector): Introduced readonly tags and possibility of icon
- Different tag color depending if the entry `isReadonly` or not.
- Tag disabled if the entry `isReadonly`.
- Possibility to show icon if entry contains the proper info.
- Added property `orderByReadonly` to position `isReadonly` entries in the left.

Updated sandbox project examples according to new tag updates.

Closes 
2022-06-09 15:49:07 +02:00
Igor Sirotin
890ef86e1c
fix(StatusBaseButton): Mouse events ignored when button is disabled ()
* fix(StatusBaseButton): Mouse events ignored when button is disabled
2022-06-07 14:56:45 +03:00
Boris Melnik
da22cde5e6
feat(StatusMemberListItem): Add admin status () 2022-06-01 15:00:15 +03:00