Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(ProfileShowcase): Adds drop area in collapsed headers #13722

Merged
merged 1 commit into from
Feb 27, 2024

Conversation

noeliaSD
Copy link
Contributor

Closes #13595

What does the PR do

  • It adds an additional right component to FoldableHeader.qml.
  • It adds hidden button component in hidden foldable header.
  • It adds visibility buttons component in in showcase foldable header.

NOTE / Known issues: App can behave wrongly until #13498 is integrated. Right now changing visibility of items trigger some unnecessary model resets that can cause UI misbehaviors (i.e: collapsing / uncollapsing section items).

Affected areas

Profile showcase communities, accounts, assets and collectibles tabs.

Screenshot of functionality

Screen.Recording.2024-02-26.at.13.33.50.mov

- It adds an additional right component to `FoldableHeader.qml`.
- It adds hidden button component in `hidden` foldable header.
- It adds visibility buttons component in `in showcase` foldable header.

Closes #13595
@status-im-auto
Copy link
Member

status-im-auto commented Feb 26, 2024

Jenkins Builds

Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ 6826f9b #1 2024-02-26 12:56:03 ~6 min tests/nim 📄log
✔️ 6826f9b #1 2024-02-26 12:56:42 ~6 min macos/aarch64 🍎dmg
✔️ 6826f9b #1 2024-02-26 13:00:14 ~10 min tests/ui 📄log
✔️ 6826f9b #1 2024-02-26 13:00:15 ~10 min macos/x86_64 🍎dmg
✔️ 6826f9b #1 2024-02-26 13:06:24 ~16 min linux/x86_64 📦tgz
✔️ 6826f9b #1 2024-02-26 13:14:56 ~25 min windows/x86_64 💿exe

Copy link
Member

@caybro caybro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

@alexjba alexjba left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code LGTM!

There's a strange behaviour though:
When dropping a hidden item into in showcase header, the view is automatically scrolled up and it can't be scrolled down from within the double flickable.
Have a look at this for a better understanding:

Screen.Recording.2024-02-27.at.11.59.49.mov

@noeliaSD
Copy link
Contributor Author

noeliaSD commented Feb 27, 2024

Code LGTM!

There's a strange behaviour though: When dropping a hidden item into in showcase header, the view is automatically scrolled up and it can't be scrolled down from within the double flickable. Have a look at this for a better understanding:

Screen.Recording.2024-02-27.at.11.59.49.mov

I think this is bc of the save changes popup that should appear on bottom and moves everything a bit on top.. we should fix that issue with this task: #13517

@noeliaSD noeliaSD merged commit 3425102 into master Feb 27, 2024
8 checks passed
@noeliaSD noeliaSD deleted the feat/issue-13595 branch February 27, 2024 10:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Profile showcase] Drop area behaviour when sections collapsed
4 participants