Commit Graph

62 Commits

Author SHA1 Message Date
Vladimir Druzhinin c422adc15e
Test(Community) Object names for invite people menu item added (#12151) 2023-09-13 15:22:33 +02:00
Patryk Osmaczko 35a2dd5244 [Popups]: added destroy() function in all popups by default
Also switched StatusModal to derive from StatusDialog instead
of Popup type

Closes #10149
2023-06-02 14:28:39 +03:00
Igor Sirotin 7eed470829
fix(StatusScrollView): Change implementation to inherit ScrollView (#10789) 2023-05-31 23:58:23 +03:00
Khushboo Mehta 2401bb52bb feat(@desktop/wallet): New floating header as a drop down list
fixes #10392
2023-05-03 18:52:19 +02:00
Lukáš Tinkl 7a5dbbd952 chore(StatusStickerButton): refactor to use StatusButton
- make it possible for StatusBaseButton to be icon-only (ie just icon, no
text, rounded if needed)
2023-04-18 13:45:38 +02:00
Igor Sirotin 0689a8f386
fix(Syncing): Fixed synced devices list UI bugs (#9929)
* Added online badge to device delegates
* Fixing device last timestamp processing
* Synced devices sorting - current device is always first
* Devices list scrolling fixes
* Fix device list duplication
* Hide online badge for "Synced device" subtitle
2023-03-21 16:10:06 +11:00
Lukáš Tinkl 8aa8b8b7ce fix(StatusTooltip): long text goes out of bounds
Fixes #9918
2023-03-17 12:23:40 +01:00
Lukáš Tinkl 411961aee7 fix: ‘Share community’ URL is unnecessarily ellipsed
- set the width on title/subtitle
- put the subtitle with its optional icon into a Row
- elide title/subtitle
- update Sandbox

Fixes #9701
2023-03-17 11:45:16 +01:00
Michał Cieślak 51928f5c20 fix(StatusQ): Removed nonexisting/unused imports from Sandbox pages
Closes: #9594
2023-02-22 13:35:14 +01:00
Lukáš Tinkl 79645b53ce fix: truncation of channel description and pinned message text
The chat title/subtitle no longer bleed into the action buttons

- handle long texts in chat description, elide them and show the whole
text in a tooltip
- minor UI fixes in ChatHeaderContentView and StatusToolBar
- adjust Sandbox' Controls page

Fixes #9583
2023-02-21 16:53:06 +02:00
MishkaRogachev b70e1f0fb4 feat(ActivityCenter): Add indication for visited/unvisited AC state
Close #347
2023-02-17 16:13:43 +04:00
Jonathan Rainville fdc0dce782 chore: remove public chat functionnalities
Fixes #8504

Removes the ability to create public chats, see public chats and even leaves previously active public chats
2023-01-25 10:05:55 -05:00
Khushboo Mehta 5df7416fd9 feat(@desktop/wallet): Implement loading animation 2023-01-12 14:49:41 +01:00
Noelia 579075d6cc fix(StatusQ/StatusListItemTag): Changed API and added test elide property when a specific width is forced
- Changed `StatusListItemTag` API. Now it is based on `Control` component.
- Updated needed qml files to fit with the new `StatusListItemTag` API.
- Added `elide` property in `Text` component to better visualise the content when a specific width is forced.
2022-12-21 18:42:16 +01:00
Igor Sirotin e3bfdc0f09 fix(StatusPopupMenu): Refactoring 2022-12-02 10:30:50 +03:00
Alexandra Betouni 2ec0b5330a fix(SearchPopup): displaying comm channel's emojis
Closes #7702
2022-10-06 15:46:45 +03:00
Patryk Osmaczko d707bceb14 fix(StatusBaseButton): align text to horizontal center 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
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
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
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
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
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
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 fe66c51145 fix(demoapp): Replaced non-existent web images with locals (#757) 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
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 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
Igor Sirotin acb56141fa feat(StatusListItem): Added `loading` and `loadingFailed` properties (#736) 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
Patryk Osmaczko 5f3d5aa31b fix: adapt StatusMemeberListItem usages to renamed properties 2022-09-21 18:20:11 +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
Igor Sirotin 4379c3dc61 fix(StatusBaseButton): Mouse events ignored when button is disabled (#707)
* fix(StatusBaseButton): Mouse events ignored when button is disabled
2022-09-21 18:20:10 +02:00
Boris Melnik fae4543b4f feat(StatusMemberListItem): Add admin status (#704) 2022-09-21 18:20:10 +02:00
Noelia 88f791f3ac feat(StatusChatToolBar): Add flexible component in right toolbar position
- Added loader in right component position and removed `StatusChatInfoButton` specific.

- Updated sandbox and added new example in Layouts with another different component than the `StatusChatInfoButton`.

BREAKING CHANGES:
The toolbar now expects a component to be loaded. The previous `StatusChatInfoButton` component has been removed and needs to be passed as a component from outside whenever needed.
Breaking changes in `desktop` will be addressed in: https://github.com/status-im/status-desktop/pull/5823
2022-09-21 18:20:10 +02:00
Mikhail Rogachev b9088427d7 feat(StatusLabeledSlider): add ability to decorate sliders and slider, decorated with lablels (#687)
Close #686
2022-09-21 18:20:10 +02:00
Mikhail Rogachev 290d5cbebc feat(StatusColorSpace): impl color space component (#679) 2022-09-21 18:20:10 +02:00
mishkarogachev 7a45b18b26 fix(StatusListItem): Make text always fit boundaries 2022-09-21 18:20:10 +02:00
Patryk Osmaczko 60946e66a7 chore(StatusLetterIdenticon): test different backgrounds 2022-09-21 18:20:09 +02:00
Alexandra Betouni 59510b8a0a feat(StatusSeedPhraseInput): exposed keys on pressed signal (#599)
* feat(StatusSeedPhraseInput): exposed touch/keys pressed events

Exposed keys.onPressed signal, mouse on clicked signal
as well as tabNavItem to be set in KeyNavigation.tab
when needed

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

* feat(StatusListItem): Added new tags inline in the StatusListItem (#607)

Co-authored-by: Khushboo-dev-cpp <60327365+Khushboo-dev-cpp@users.noreply.github.com>
2022-09-21 18:20:08 +02:00
Khushboo Mehta 10520a6f53 fix(StatusInput): Added mising documentation of new properties to StatusInput and StatusModal
Moved the StatusInputWithCursor out of StatusQ as it not needed under StatusQ.
2022-09-21 18:20:08 +02:00
osmaczko 5d58dc334c Add various of changes required by emojiHash and identiconRing integration (#577)
* chore(StatusIdenticonRing): make ringSpecModel accept array of objects

* chore(StatusLetterIdenticon): add charactersLen and textColor settings
2022-09-21 18:20:08 +02:00