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

hide "unread mention" bubble in search mode #3417

Conversation

sowjanyakch
Copy link
Contributor

@sowjanyakch sowjanyakch commented Oct 30, 2023

Resolves #2464

🖼️ Screenshots

🏚️ Before 🏡 After
Screenshot 2023-10-30 at 20 47 22 Screenshot 2023-10-30 at 20 44 45

This pull request hides the “unread mention” bubble when the search is activated #2464

This pull request uses the BehaviorSubject to monitor the activation state of the search mode. BehaviorSubject emits true (boolean value) when search mode is active and false (boolean value) when search mode is inactive.
UI elements should subscribe to the BehaviorSubject and show or hide the “unread mention” bubble based on search mode activation state. If the BehaviorSubject emits true, the UI hides “unread mention” bubble, whereas when the BehaviorSubject emits false, the ”unread mention” bubble is shown.

🏁 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?)

@mahibi mahibi self-requested a review November 2, 2023 09:31
@mahibi
Copy link
Collaborator

mahibi commented Nov 2, 2023

Hi @sowjanyakch

thanks for your PR, it works as expected 👍

just one minor remark:
you could format the code (Strg + Alt + L) so it should fit the codestyle.
I guess after this it's already ready to be merged.

@AndyScherzinger AndyScherzinger added enhancement New feature or request 3. to review Waiting for reviews bug Something isn't working and removed enhancement New feature or request labels Nov 3, 2023
@AndyScherzinger AndyScherzinger added this to the 18.0.0 milestone Nov 3, 2023
@mahibi mahibi force-pushed the issue-2464-hide-unread-mention-bubble-in-search branch from 69ae749 to 305ec47 Compare November 6, 2023 14:20
@mahibi mahibi merged commit cf38174 into nextcloud:master Nov 6, 2023
@mahibi
Copy link
Collaborator

mahibi commented Nov 6, 2023

Thank you @sowjanyakch , well done 👍

@AndyScherzinger
Copy link
Member

Nice work @sowjanyakch 🎉

@sowjanyakch sowjanyakch deleted the issue-2464-hide-unread-mention-bubble-in-search branch December 15, 2023 15:10
mahibi added a commit that referenced this pull request Sep 9, 2024
bug was introduced with #3417

Signed-off-by: Marcel Hibbe <[email protected]>
sowjanyakch pushed a commit that referenced this pull request Sep 11, 2024
bug was introduced with #3417

Signed-off-by: Marcel Hibbe <[email protected]>
backportbot bot pushed a commit that referenced this pull request Sep 11, 2024
bug was introduced with #3417

Signed-off-by: Marcel Hibbe <[email protected]>
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 bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

hide "unread mention" bubble in search mode
3 participants