Skip to content

Feature/6947/search contact if open via share with dialog - #7054

Merged
mahibi merged 7 commits into
masterfrom
feature/6947/searchContactIfOpenViaShareWithDialog
Nov 17, 2026
Merged

mahibi merged 7 commits into
masterfrom
feature/6947/searchContactIfOpenViaShareWithDialog

Conversation

@mahibi

@mahibi mahibi commented Nov 17, 2026 •

Copy link
Copy Markdown
Collaborator

Add a search to "send to" and "forward to" modes.

🖼️ Screenshots

Sent to

grafik grafik

Forward to

grafik grafik

🏁 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

The "Send to…" and "Forward to…" screens get a search button. While
picking the target, the search only lists joined conversations, as
contacts, open conversations and messages can't take the shared content.

Resolves #6947

Assisted-by: Claude Code:claude-opus-5-5
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
- A finished forward removes its extras and un-hides the source chat, so
  a recreation or resume doesn't bring the forward mode back.
- A forward blocked by a call in another chat keeps the forward mode.
- A new share or forward closes a search left open.
- The picking search applies the rules of the share list, leaving out
  lobby-locked rooms.
- The same search isn't run again after a rotation, also when it had no
  results, while a cleared query or a failed search is run again.

Assisted-by: Claude Code:claude-opus-5-5
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
…arding

- Clearing the query stops the running search, so its results can't come
  back while the next query is still waiting for its debounce.
- Long-pressing a conversation while forwarding no longer opens the
  conversation operations, as already while sharing.
- The search tests wait for the list, which the message search updates
  from another thread.

Assisted-by: Claude Code:claude-opus-5-5
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
Move the check for an already started search and the choice of the
searchable rooms out of getSearchQuery, so that the picking search does
not push the method over detekt's complexity threshold.

Assisted-by: Claude Code:claude-opus-5-5
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
The share/forward title bar (64dp) was higher than the search bar (58dp),
so opening the search there moved the conversation list up. Give the
title bar the height of the search bar.

Assisted-by: Claude Code:claude-opus-5-5
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
When sharing or forwarding, the empty search field said "Search in
Nextcloud Talk", although only the conversations to send to are
searched. Show "Send to" instead.

Assisted-by: Claude Code:claude-opus-5-5
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
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 17, 2026
@mahibi mahibi self-assigned this Nov 17, 2026
@mahibi
mahibi requested a review from rapterjet2004 November 17, 2026 09:13
@mahibi mahibi added the 3. to review Waiting for reviews label Nov 17, 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 83c0c8b
Version 7054
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.

@mahibi
mahibi merged commit b0ecbb4 into master Nov 17, 2026
21 checks passed
@mahibi
mahibi deleted the feature/6947/searchContactIfOpenViaShareWithDialog branch November 17, 2026 15:15
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.

Search contact if open via "Share with" dialog

2 participants