Commit Graph

272 Commits

Author SHA1 Message Date
Igor Sirotin e3bfdc0f09 fix(StatusPopupMenu): Refactoring 2022-12-02 10:30:50 +03:00
Patryk Osmaczko 5d305a5221 refactor(StatusAppNavBar): simplify navbar
- removed imperative filtering
- removed imperative size calculation
- removed all ugly hacks

fixes: #7167
fixes: #8463
2022-11-29 16:06:33 +01:00
Stefan d0389a6305 feat(Wallet) show balance cache for chain native token
Quick integration of fetching balance in the current chart view.

The proper implementation requires refactoring the QML views to separate
price chart, that depends only on the token and chain, from balance that
depends on token, chain and address.

Closes: #7662
2022-11-16 13:07:46 +01:00
Michał Cieślak 5f659da9f8 feat(StatusQ): SanityChecker app for imports validation
Closes: #8071
2022-11-04 12:01:59 +01:00
Patryk Osmaczko bb28c4e30a chore(StatusQ): fix Sandbox release build
- regenerated qrc files
- added qrc files as CMake's Sandbox target dependency
2022-10-27 11:40:00 +02:00
Patryk Osmaczko 27a9133882 feat(communities/portal): add tags filtering 2022-10-18 12:53:41 +02:00
Alexandra Betouni 2ec0b5330a fix(SearchPopup): displaying comm channel's emojis
Closes #7702
2022-10-06 15:46:45 +03: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
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
Patryk Osmaczko d707bceb14 fix(StatusBaseButton): align text to horizontal center 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 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
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
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
Igor Sirotin 4a0b65b1d4 fix(StatusMessageEmojiReactions): Fixed emoji reactions appearance (#889) 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
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
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 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
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 9dca6156f6 feat(StatusListItem): scroll feature added if list of tags exceeds component width 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
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
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
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
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
Boris Melnik a82d07db7a fix(handler): Remove handler include from sandbox (#834) 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
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
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
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
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
Igor Sirotin b3dfa02297 feat(StatusComboBox): Introduced new component to replace `StatusSelect` (#790) 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 8fa740b12a chore(StatusListPicker): remove imperative updateInputListModel
closes: status-im/status-desktop#6500
2022-09-21 18:20:13 +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
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
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
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
Igor Sirotin fe66c51145 fix(demoapp): Replaced non-existent web images with locals (#757) 2022-09-21 18:20:12 +02:00