Commit Graph

774 Commits

Author SHA1 Message Date
Noelia 96dad45f70 feat(StatusBaseInput): Updated leftMargin depending if it is set from outside 2022-09-21 18:20:12 +02:00
Noelia db2fda5ed4 feat(StatusInput): Added alias property to font and binding to left / right paddings 2022-09-21 18:20:12 +02:00
Noelia 264a45cec3 feat(StatusItemSelector): First component iteration
- Layout, basic properties and signal.
- Default tag displayed.
- TODO: Selector logic.
2022-09-21 18:20:11 +02:00
Alexandra Betouni 828339bf7c fix(CreateChatView): fixed no contacts text alignment (#767)
As part of https://github.com/status-im/status-desktop/issues/6354
2022-09-21 18:20:11 +02:00
Alexandra Betouni 27491d7fee fix(StatusAppChatView): Updated layout based on new designs (#765)
As part of https://github.com/status-im/status-desktop/issues/6352
2022-09-21 18:20:11 +02:00
Olufemi Ade-Olusile d9feeff1a9 chore(StatusIcon): Include Object Name to Status Icon (#761)
* Include auto generated object names for all Icons.

This will help Squish tests easily identify Icons. Which is used in test case https://github.com/status-im/status-desktop/issues/6274

* Include auto generated object names for all Icons.

This will help Squish tests easily identify Icons. Which is used in test case https://github.com/status-im/status-desktop/issues/6274

* Include auto generated object names for all Icons.

This will help Squish tests easily identify Icons. Which is used in test case https://github.com/status-im/status-desktop/issues/6274

* refactor(isContact): rename isMutualContact to isContact

BREAKING CHANGE: isMutualContact is replaced by isContact anywhere it was used

* fix(StatusStackModal): init the next/finish buttons

call `updateRightButtons()` also on creation to correctly initialize the
Next and Finish buttons in derived classes, when one overrrides these

can be seen in the Backup Seed dialog where the Next button is not
enabled even though all 3 boxes are checked

* feat(StatusFontSettings): Add StatusFontSettings component to change StatusMenuItems font attributes (#749)

Required by #6090

* fix(StatusPinInput): `forceFocus` function exposed

* fix(StatusTagSelector): corrected font size in to label

Needed for https://github.com/status-im/status-desktop/issues/6349

* fix(StatusActivityCenterButton): fixed actvity icon position (#763)

Closes https://github.com/status-im/status-desktop/issues/6350

* Include auto generated object names for all Icons.

This will help Squish tests easily identify Icons. Which is used in test case https://github.com/status-im/status-desktop/issues/6274

* Include auto generated object names for all Icons.

This will help Squish tests easily identify Icons. Which is used in test case https://github.com/status-im/status-desktop/issues/6274

* Include auto generated object names for all Icons.

This will help Squish tests easily identify Icons. Which is used in test case https://github.com/status-im/status-desktop/issues/6274

Co-authored-by: Jonathan Rainville <rainville.jonathan@gmail.com>
Co-authored-by: Lukáš Tinkl <lukast@status.im>
Co-authored-by: Michał Iskierko <61889657+endulab@users.noreply.github.com>
Co-authored-by: Sale Djenic <aleksandardjenic@status.im>
Co-authored-by: Alexandra Betouni <31625338+alexandraB99@users.noreply.github.com>
2022-09-21 18:20:11 +02:00
Alexandra Betouni c63ecee172 fix(StatusActivityCenterButton): fixed actvity icon position (#763)
Closes https://github.com/status-im/status-desktop/issues/6350
2022-09-21 18:20:11 +02:00
Alexandra Betouni 052b37a348 fix(StatusTagSelector): corrected font size in to label
Needed for https://github.com/status-im/status-desktop/issues/6349
2022-09-21 18:20:11 +02:00
Sale Djenic 1138a1eb1f fix(StatusPinInput): `forceFocus` function exposed 2022-09-21 18:20:11 +02:00
Michał Iskierko 88e21c0a91 feat(StatusFontSettings): Add StatusFontSettings component to change StatusMenuItems font attributes (#749)
Required by #6090
2022-09-21 18:20:11 +02:00
Lukáš Tinkl ea24acd7ce fix(StatusStackModal): init the next/finish buttons
call `updateRightButtons()` also on creation to correctly initialize the
Next and Finish buttons in derived classes, when one overrrides these

can be seen in the Backup Seed dialog where the Next button is not
enabled even though all 3 boxes are checked
2022-09-21 18:20:11 +02:00
Jonathan Rainville 524168410d refactor(isContact): rename isMutualContact to isContact
BREAKING CHANGE: isMutualContact is replaced by isContact anywhere it was used
2022-09-21 18:20:11 +02:00
Lukáš Tinkl cd2bb8c165 fix(StatusChatList): StatusChatListItem should follow parent's width
both StatusChatList and StatusChatListItem have the same hardcoded width
of 288, so if we want to make the former smaller, StatusChatListItem has
to obey that, otherwise it's cut on its right side in status-desktop

Status Desktop's new designs have a smaller width (272), this fix is
needed for status-im/status-desktop#6343
2022-09-21 18:20:11 +02:00
Kamil K e268edb988 fix: handle animations by higher level nodes or states 2022-09-21 18:20:11 +02:00
Lukáš Tinkl b8dcbb6187 fix(models): flag/currency icons are rendered blurred
exchange language/currency icons, PNG->SVG
2022-09-21 18:20:11 +02:00
Lukáš Tinkl dd38cfc0de fix(StatusIcon): flag/currency icons are rendered blurred
- set the Image's sourceSize only if it's an SVG, otherwise it is
rendered blurry
- remove antialiasing/mipmap; it's not the correct fix, doesn't really
improve the visual quality for smallish items like icons and just causes
memory/GPU overhead
2022-09-21 18:20:11 +02:00
Patryk Osmaczko 9a076ee49c feat(StatusDialog): introduce StatusDialog
closes: #725
2022-09-21 18:20:11 +02:00
Lukáš Tinkl 8fd5f5b3bb fix(sandbox): enable the hover effects by default (#751)
Similar to what we did in status desktop under
d0a26a326e

- 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-09-21 18:20:11 +02:00
Lukáš Tinkl f145d30350 fix(@sandbox): greatly speed up (re)build times (#746)
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-09-21 18:20:11 +02:00
Mikhail Rogachev 586d975d76 feat(StatusStackModal): add subheader and remove explicit width (#747) 2022-09-21 18:20:11 +02:00
Igor Sirotin b720f13caa fix(icons): Updated arrows icons (#735) 2022-09-21 18:20:11 +02:00
Mikhail Rogachev 59b9532cb8 Fix(StatusStackModal): fix height calculation (#745) 2022-09-21 18:20:11 +02:00
Iuri Matias 9f8caa00bb bug(@status-q): only run animations when they are visible to avoid cpu issues (#744)
bug(@status-q): only run animations when they are visible to avoid cpu issues

remove prop that doesn't exist
2022-09-21 18:20:11 +02:00
Mikhail Rogachev 2a64ba455b feat(StatusStackModal): Component to replace nested StausModals (#733) 2022-09-21 18:20:11 +02:00
Noelia 9f3aa21834 fix(StatusChatToolBar): Updated activity center button size
Activity center button has now the same size than the other toolbar buttons.

Fixes https://github.com/status-im/status-desktop/issues/6216
2022-09-21 18:20:11 +02:00
Noelia 6207e1f34f feat(StatusRoundButton): Added `Tertiary` type
- Transparent background but when hovered, like Primary type in idle state.

- Updated sandbox with the new type.
2022-09-21 18:20:11 +02:00
Sale Djenic e8bb092db4 fix(StatusToastMessage): `clicked` signal added 2022-09-21 18:20:11 +02:00
Jonathan Rainville e0ddb0f8d0 chore(StatusFlatRoundButon): fix warning related to hovered property 2022-09-21 18:20:11 +02:00
Noelia eddea24c63 fix(StatusCommunityCard): Added implicit width and height (#739)
Fixes https://github.com/status-im/status-desktop/issues/6206
2022-09-21 18:20:11 +02:00
Igor Sirotin 679096e12e feat(icons): Added unpin icon (#738) 2022-09-21 18:20:11 +02:00
Igor Sirotin acb56141fa feat(StatusListItem): Added `loading` and `loadingFailed` properties (#736) 2022-09-21 18:20:11 +02:00
Mikhail Rogachev 0a36c4c88d fix(StatusCommunityTag): fix StatusCommunityTag and and ETH icon (#734) 2022-09-21 18:20:11 +02:00
Igor Sirotin 2bb0a67754 fix(contributing.md): Added `Popup` sizing guidelines (#728) 2022-09-21 18:20:11 +02:00
Mikhail Rogachev 529cf9de3a feat(StatusCommunityTags): Add community tags component (#718) 2022-09-21 18:20:11 +02:00
Boris Melnik f78693d247 feat(StatusQ.Controls): Introduce `StatusActivityCenterButton` (#705) 2022-09-21 18:20:11 +02:00
Igor Sirotin f1b3c25b63 fix(StatusBaseButton): Passed `icon.rotation` property to the icon component (#727) 2022-09-21 18:20:11 +02:00
Khushboo-dev-cpp 517dcf646e feat(StatusFloatingButtonsSelector): Implements the floating buttons selector widget (#681)
To be used in with StatusModal or independently
2022-09-21 18:20:11 +02:00
Igor Sirotin 3d779f78cb fix(StatusTabButton): Hide bottom dash in disabled state (#729) 2022-09-21 18:20:11 +02:00
Patryk Osmaczko 5f3d5aa31b fix: adapt StatusMemeberListItem usages to renamed properties 2022-09-21 18:20:11 +02:00
Noelia 2b3cbf6444 feat(StatusCommunityCard): Added explicit dependency between z properties
Added explicit dependency between z properties with banner, logo, and content card.
2022-09-21 18:20:11 +02:00
Noelia 31539e0606 fix(StatusListItemTag): Added margins to better center the content
Added margins to better center the content
2022-09-21 18:20:11 +02:00
Noelia bc9e177f27 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 #692
2022-09-21 18:20:11 +02:00
Patryk Osmaczko 869db82f86 chore: adapt to new user/member backend models structure 2022-09-21 18:20:11 +02:00
Patryk Osmaczko 036212c5e3 chore(StatusModal): set StatusModal margins to 64
closes: status-im/status-desktop#6049
2022-09-21 18:20:11 +02:00
Patryk Osmaczko ad149843bf chore(StatusModal): make StatusModal follow padding
https://github.com/status-im/status-desktop/pull/6010#discussion_r892148627
2022-09-21 18:20:11 +02:00
Noelia ca9d67525a feat(StatusTagSelector): Updated component to use `StatusTagItem` as a delegate
Updated component to use `StatusTagItem` as a delegate.
2022-09-21 18:20:11 +02:00
Noelia b06dba5aea feat(StatusTagItem): Created new control that represents a tag item
Created new `StatusTagItem` control and added that represents a tag item with a `text`, `icon` and `isReadonly` properties.
2022-09-21 18:20:10 +02:00
Noelia 259aeba066 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 #694
2022-09-21 18:20:10 +02:00
Anthony Laibe 946e169ee0 feat(@StatusAssetSelector): Use asset selector per symbol and not (#715)
address
2022-09-21 18:20:10 +02:00
Alexandra Betouni 6cfeafaada fix(StatusTagSelector): Fixed Layout issues when shrinking (#714)
Closes https://github.com/status-im/status-desktop/issues/5954
2022-09-21 18:20:10 +02:00