Skip to content

feature: add search dialog to new tray menu#10331

Merged
Rello merged 4 commits into
masterfrom
feature/SearchDialog
Jul 10, 2026
Merged

feature: add search dialog to new tray menu#10331
Rello merged 4 commits into
masterfrom
feature/SearchDialog

Conversation

@Rello

@Rello Rello commented Jul 8, 2026

Copy link
Copy Markdown
Collaborator
Bildschirmfoto 2026-07-08 um 21 39 55 Bildschirmfoto 2026-07-08 um 21 40 13

note: double "search" in the header was removed after the screenshot

@Rello Rello self-assigned this Jul 8, 2026
@Rello Rello added os: 🍎 macOS Apple macOS, formerly also known as OS X os: 🚪 Windows os: 🐧 Linux design Design, UI, UX, etc. labels Jul 8, 2026
@Rello

Rello commented Jul 8, 2026

Copy link
Copy Markdown
Collaborator Author

/backport to stable-34.0

Rello and others added 3 commits July 9, 2026 14:29
Signed-off-by: Rello <github@scherello.de>
Expose isFetchMoreInProgress, hasSearchTerm, hasSearchError, canEditSearch
and a computed SearchState enum as model properties, replacing the derived
booleans in SearchWindow.qml.

Assisted-by: Claude:claude-opus-4-8
Signed-off-by: Camila Ayres <hello@camilasan.com>
Add cases for placeholder, skeleton, results, nothing found and search
error states, plus the derived boolean properties.

Assisted-by: Claude:claude-opus-4-8
Signed-off-by: Camila Ayres <hello@camilasan.com>
@camilasan camilasan force-pushed the feature/SearchDialog branch from 4b74b96 to d7b44af Compare July 9, 2026 12:30
@Rello

Rello commented Jul 10, 2026

Copy link
Copy Markdown
Collaborator Author

search feature to be moved into an independent module

Signed-off-by: Rello <github@scherello.de>
@Rello Rello added this to the 34.0.0 milestone Jul 10, 2026

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 0a6a33754f

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

visible: !trayWindowMainItem.showAssistantPanel

anchors.top: trayWindowMainItem.showAssistantPanel ? assistantInputContainer.bottom : trayWindowUnifiedSearchInputContainer.bottom
anchors.top: trayWindowMainItem.showAssistantPanel ? assistantInputContainer.bottom : trayWindowHeader.bottom

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Keep tray content below the sync warning

When the cross-account sync warning is visible (UserModel.hasSyncErrors for another account and the assistant is not active), it is still anchored below trayWindowHeader, but this changed SyncStatus to start at the same trayWindowHeader.bottom. Since SyncStatus is declared later, it can overlap/cover the warning instead of leaving space for it, making the warning unreadable or hard to click. Anchor the normal tray content below trayWindowSyncWarning.bottom when that warning is visible, as the removed search input used to do.

Useful? React with 👍 / 👎.

@github-actions

Copy link
Copy Markdown
Contributor

Artifact containing the AppImage: nextcloud-appimage-pr-10331.zip

Digest: sha256:1e0662995af354a4fd1a2f8c2c3c03ee6b6746993ee6bde2c48b32456493143f

To test this change/fix you can download the above artifact file, unzip it, and run it.

Please make sure to quit your existing Nextcloud app and backup your data.

@sonarqubecloud

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
1 Security Hotspot
63.3% Coverage on New Code (required ≥ 80%)
180 New Code Smells (required ≤ 0)

See analysis details on SonarQube Cloud

💡 Need a hand with PR review? Try Gitar by Sonar!

@Rello Rello merged commit 3361cfd into master Jul 10, 2026
22 of 23 checks passed
@Rello Rello deleted the feature/SearchDialog branch July 10, 2026 11:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review design Design, UI, UX, etc. os: 🍎 macOS Apple macOS, formerly also known as OS X os: 🚪 Windows os: 🐧 Linux

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants