Skip to content

Improve searchbar design&behavior - #7050

Merged
mahibi merged 4 commits into
masterfrom
fixJumpingContentWhileLoading
Nov 16, 2026
Merged

mahibi merged 4 commits into
masterfrom
fixJumpingContentWhileLoading

Conversation

@mahibi

@mahibi mahibi commented Nov 16, 2026 •

Copy link
Copy Markdown
Collaborator

Issue 1: The searchbar height changes when it is clicked.
Issue 2: The content below the searchbar is jumping in height when the loadingbar visibility is toggled.

Below are different variants how this can be solved.
Please react to the PR description with the emoji for Variant A, B or C.
Waiting for feedback...

🎥 Screenvideos

Before

bug_jumping_bat_and_content.mp4

After

Variant A (commit 4b76635) -> vote with 🎉 reaction

commit.4b766353.mp4

Variant B: keep rounded searchbar (commit 6aaafa53) -> vote with ❤️ reaction

commit.6aaafa53.mp4

Variant C: keep rounded searchbar + animate avatar icon (commit 43aa2637) -> vote with 🚀 reaction

commit.43aa2637.mp4

🏁 Checklist

  • ⛑️ Tests (unit and/or integration) are included or not needed
  • 🔖 Capability is checked or not needed
  • 🔙 Backport requests are created or not needed: /backport to stable-xx.x
  • 📅 Milestone is set
  • 🌸 PR title is meaningful (if it should be in the changelog: is it meaningful to users?)

🤖 AI (if applicable)

  • The content of this PR was partly or fully generated using AI

… content down

Keep the divider in the layout and draw the LinearProgressIndicator on top of
the app bar's bottom edge, matching the chat toolbar's loading indicator.

Assisted-by: Claude Code:claude-opus-5-5
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
The idle search card (58dp) and the active search app bar (64dp + 1dp
divider) had different heights, so tapping the search field made the
conversation list jump down. Use the same fixed height for both states.

Assisted-by: Claude Code:claude-opus-5-5
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
Instead of swapping the rounded search card for a separate app bar when
the search gets activated, keep the same card and only change its
content: a back arrow, the text field and a clear button. The avatar,
filter and threads buttons are hidden while searching. This keeps the
top bar's shape and height, so the content below doesn't jump.

Assisted-by: Claude Code:claude-opus-5-5
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
Animate hiding and showing the avatar, filter and threads buttons when
the search gets activated or closed. The back arrow and clear button
fade in and out, and the paddings animate so the search card and its
text move smoothly instead of jumping.

Assisted-by: Claude Code:claude-opus-5-5
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
@mahibi mahibi added this to the 26.0.0 milestone Nov 16, 2026
@mahibi mahibi self-assigned this Nov 16, 2026
@mahibi
mahibi force-pushed the fixJumpingContentWhileLoading branch from ebec2b0 to 7cdba2d Compare November 16, 2026 10:56
@mahibi mahibi changed the title Fix jumping content while loading Improve searchbar design&behavior Nov 16, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Codacy

Lint

TypemasterPR
Warnings1716
Errors00

SpotBugs

CategoryBaseNew
Bad practice77
Correctness88
Dodgy code4040
Internationalization33
Malicious code vulnerability33
Performance77
Security1111
Total7979

@github-actions

Copy link
Copy Markdown
Contributor

📱 QA build

Download app-qa-debug.apk
QR code Open the QR code for this download
Commit 7cdba2d
Version 7050
Available until 7 days after this build

The QA build installs alongside a released Nextcloud app, so you can keep
using your existing install while testing.

Downloading the file requires a GitHub account, so open this link on the
device you want to test on, or transfer the APK to it.

@jancborchardt jancborchardt left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Very nice detail fix, very clearly variant C with the nice subtle animations. :) FYI @nimishavijay

@mahibi
mahibi marked this pull request as ready for review November 16, 2026 12:34
@mahibi
mahibi requested a review from rapterjet2004 November 16, 2026 12:34
@mahibi mahibi added the 3. to review Waiting for reviews label Nov 16, 2026
@AndyScherzinger

Copy link
Copy Markdown
Member

Agree with @jancborchardt -> Should be C. All are Material 3 compliant, but C has the smoother transition and looks more modern and is more in the bucket of the latest expressive variant of Material 3. 🚀

@AndyScherzinger AndyScherzinger left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Type C 🚀

@mahibi
mahibi merged commit a7b1362 into master Nov 16, 2026
22 checks passed
@mahibi
mahibi deleted the fixJumpingContentWhileLoading branch November 16, 2026 18:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews AI assisted

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants