Commit Graph

5710 Commits

Author SHA1 Message Date
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
Noelia f8bc5530aa fix(StatusPopupMenu): Changed dim to false
Changed dim to false.

Fixes https://github.com/status-im/status-desktop/issues/5828
2022-09-21 18:20:10 +02:00
Patryk Osmaczko bb3325ee6d fix(StatusSearchPopup): add color hash to chat icons 2022-09-21 18:20:10 +02:00
Patryk Osmaczko 2bce533f46 chore(StatusBaseText): add theme aware default color 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
Alexandra Betouni b94debcaaf feat(StatusTagSelector): Added colorIdForPubkeyGet property (#702)
Needed for: https://github.com/status-im/status-desktop/issues/5875
2022-09-21 18:20:10 +02:00
Noelia c7a2f6b479 feat(StatusTagSelector): Added property `showSortedListOnlyWhenText` and make dynamic the `implicitHeight`
Added property `showSortedListOnlyWhenText` and make dynamic the `implicitHeight` calculation.
2022-09-21 18:20:10 +02:00
Noelia 7f04c90494 chore(assets): Added new icon `add-to-dm`
Added new icon `add-to-dm`.
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
Noelia 7bd9b37792 feat(StatusCommunityCard): First component iteration (#693)
It includes logo, title, community members, description, loaded, community id, popularity, tags row (that must be replaced to a new StatusQ component `StatusListItemTagRow`.

It also contains `locale` property used to decide the member's number format.

Added loading card.

Added Community Card page (components test) and view (demo app) in sandbox.

Added component documentation.

Part of task: https://github.com/status-im/status-desktop/issues/4936
2022-09-21 18:20:10 +02:00
Patryk Osmaczko 7281c4142a chore(StatusBaseInput): expose placeholder as alias 2022-09-21 18:20:10 +02:00
Patryk Osmaczko 9a841b9c20 chore(StatusInput): use layouts for elements positioning
It removes complexity and fixes StatusInput to follow the size assigned
by client.
2022-09-21 18:20:10 +02:00
Sale Djenic 76a0caaa13 fix(StatusRoundedImage): actual loaded image width and height updated
In case you're dynamically change source image and image width and height
are way bigger than the rounded image component width and height, resizing
was not done correctly.

update

update
2022-09-21 18:20:10 +02:00
Alexandra Betouni 99f1634fbc feat(icons): adding view icon
Needed for: https://github.com/status-im/status-desktop/issues/4918
2022-09-21 18:20:10 +02:00
Alexandra Betouni e683793021 feat(StatusBaseInput): disabled mouse area when input is disabled
Needed for: https://github.com/status-im/status-desktop/issues/4918
2022-09-21 18:20:10 +02:00
Stefan 13b41cbd00 fix(StatusImageCrop): fix wrong initial image fit
The initial fit was computed for the square crop-window

updates: 5118
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
r4bbit.eth fff2682a9c fix(StatusNavigationListItem): make click handler work again (#688)
The click handler used inside the component broke in one of the latest
changes done in `StatusListItem` where it expects two arguments being
passed to its click handler.

This commit fixes it by supplying all needed arguments (where `itemId`
is always `''` unless set differently)
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
Alexandra Betouni b4c37e2255 fix(StatusListItem): added mouse obj parameter in clicked signal (#683)
Needed for: https://github.com/status-im/status-desktop/issues/5212
2022-09-21 18:20:10 +02:00
Igor Sirotin c2c47b6bb7 feat(StatusTabButton): Created component as per design (#684) 2022-09-21 18:20:10 +02:00
Alexandra Betouni d3637e8a56 feat(StatusTagSelector): Replaced member delegate w/ StatusMemberLisItm (#676)
Fixes https://github.com/status-im/status-desktop/issues/5625
2022-09-21 18:20:10 +02:00
Boris Melnik 5513158f89 fix(StatusTagSelector): Fix mouse hover (#678)
Closes: status-im/status-desktop#5220
2022-09-21 18:20:10 +02:00
Alexandra Betouni 88c26d148f fix(StatusChatList): Fixed alignment in left column (#680)
Needed for https://github.com/status-im/status-desktop/issues/5211
2022-09-21 18:20:10 +02:00
Igor Sirotin 0714d6b305 fix(StatusLetterIdentIcon): Display emoji as svg (#677)
* fix(StatusLetterIdentIcon): Display emoji as svg

* feat(StatusEmoji): Added StatusEmoji image component
2022-09-21 18:20:10 +02:00
r4bbit.eth 620e977673 fix(StatusSeedPhraseInput): ensure suggested item has correct text color (#670) 2022-09-21 18:20:10 +02:00
Igor Sirotin 5a9f9527a7 fix(StatusSlider): Fixed background behavior (#667) 2022-09-21 18:20:10 +02:00
Mikhail Rogachev 85713de833 fix(StatusProgressBar): Hide text in bar if it does not fit (#672) 2022-09-21 18:20:10 +02:00
Igor Sirotin 7baa94eab3 feat(Emoji): Functions improvements (#673)
- Introduced `format] argument for `parse` function
- New `iconId(text)` function
2022-09-21 18:20:10 +02:00
Alexandra Betouni cf7255b6f1 fix(StatusSeedPhraseInput): anchored component to its parent bottom
Needed for: https://github.com/status-im/status-desktop/issues/5669
2022-09-21 18:20:10 +02:00
Alexandra Betouni 4365911457 feat(StatusInput): exposed letterIconName property (#671)
Exposed letterIconName to be set in StatusLetterIdenticon

Needed for: https://github.com/status-im/status-desktop/issues/5636
2022-09-21 18:20:10 +02:00
Jonathan Rainville df3452d24d fix(StatusTagSelector): hide contact when it is selected (#668) 2022-09-21 18:20:10 +02:00
Jonathan Rainville 818374af1a fix(StatusSeedPhraseInput): autocomplete when word not alone in the list
The problem was that if the clicked word (or tabbed) was not alone in the suggestion list, the done signal was not called. Now it is always called when clicking on using tab or enter.
2022-09-21 18:20:10 +02:00
Stefan 1acbeb1962 fix(StatusSlider): improve handle draging area
Issues
- The slider only handle mouse events in its own control space.
- In oder to use the entire area it needs to be centered.

Fixes

- Center the content vertically (handle and slider bar)
- Height and implicitHeight defaults to heigh of the handle
- Add note to create awareness about the mouse handling requirements
2022-09-21 18:20:10 +02:00
Stefan 0d8bbcde8f improvement(StatusImageCrop): add option to limit to fill
Currently only fit image is supported as minimum limit
This change sdds option to fill crop window with image as
minimum zoom which is required by status-go crop function
2022-09-21 18:20:10 +02:00
Alexandra Betouni f1ddedd2b9 fix(StatusTagSelector): Updated names list filtering (#659)
Fixes: https://github.com/status-im/status-desktop/issues/5642
2022-09-21 18:20:10 +02:00
Jonathan Rainville 524915a68a fix(StatusBaseInput): adjust emoji size and position in base input (#660) 2022-09-21 18:20:10 +02:00
Alexandra Betouni ef891ea02c fix(StatusTagSelector): Adjusted name tags list width and scrolling (#653)
Needed for https://github.com/status-im/status-desktop/issues/5643
2022-09-21 18:20:10 +02:00
Patryk Osmaczko 76c9411329 chore(translations): add missing qsTrs
issue: status-im/status-desktop#4544
2022-09-21 18:20:10 +02:00
Khushboo Mehta 80ac7d22b9 fix(StatusBaseButton): Button component should keep its original width/size when it enters loading state
fixes #656
2022-09-21 18:20:10 +02:00
mishkarogachev b79c1f149b fix(StatusTagSelector):Create new chat input is single line 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
Alexandra Betouni e3a64a5d9c fix(StatusTagSelector): Added up/down hard keys navigation
Needed for: https://github.com/status-im/status-desktop/issues/5640
2022-09-21 18:20:09 +02:00
Noelia 9dd65224bf fix(StatusBaseButton): After loading, button keeps loader width, so the button size is bigger
When button changed from loading to their normal shape it kept the width of the loader as it was visible in the row component.

It has been added a binding between loader `visible` property and root `loading` property that fixes the issue with the width.

Also, removed some `break` leftovers.

Fixes #5606 --> https://github.com/status-im/status-desktop/issues/5606
2022-09-21 18:20:09 +02:00
mishkarogachev adbae92730 fix(StatusSwitchTabBar): Update and unify colors of tabBar 2022-09-21 18:20:09 +02:00
Jonathan Rainville f52d052051 fix(StatusWizardStepper): make to value configurable 2022-09-21 18:20:09 +02:00
Jonathan Rainville 8bc4dc906c fix(StatusBaseInput): fix typo in verticalAlignement 2022-09-21 18:20:09 +02:00
Khushboo Mehta a14d4b9680 fix(StatusListPicker): Add an option to allign the menu with respective the buttons and keep right aligned as the default one
Also fixes search placeholder to be centrally aligned

fixes #5633
2022-09-21 18:20:09 +02:00
Jonathan Rainville 45103cc958 fix(StatusSeedPhraseInput): fix pasting word with spaces in them
This makes it possible to paste a word with a space in it. It will insert it correctly
2022-09-21 18:20:09 +02:00
Jonathan Rainville 906a472f9e fix(StatusSeedPhraseInput): fix interactions in SeedInput 2022-09-21 18:20:09 +02:00