Skip to content

fix: show vertical tab notification dots when inbox is hidden#11611

Merged
zachlloyd merged 2 commits into
masterfrom
oz-agent/implement-issue-11497
May 24, 2026
Merged

fix: show vertical tab notification dots when inbox is hidden#11611
zachlloyd merged 2 commits into
masterfrom
oz-agent/implement-issue-11497

Conversation

@oz-for-oss
Copy link
Copy Markdown
Contributor

@oz-for-oss oz-for-oss Bot commented May 23, 2026

Closes #11497

Summary

  • Keep vertical-tab unread activity dots backed by notification state even when in-app notification UI is hidden.
  • Stop the configurable header toolbar from changing show_agent_notifications when the Notifications mailbox button is removed.
  • Add unit coverage for notification unread tracking while in-app notifications are disabled.

https://www.loom.com/share/c29bc7267e1b468d849feff52dfc3aea

Validation

  • cargo fmt
  • cargo test -p warp ai::agent_management::agent_management_model::tests --lib
  • cargo clippy -p warp --lib --tests -- -D warnings

Co-Authored-By: Oz <oz-agent@warp.dev>

Co-Authored-By: Zach Lloyd <zachlloyd@users.noreply.github.com>
@zachlloyd
Copy link
Copy Markdown
Contributor

@oz-agent i think there is a second issue here, which is that the "summary" view of a tab doesn't render the notification dot. please fix that

@oz-for-oss
Copy link
Copy Markdown
Contributor Author

oz-for-oss Bot commented May 23, 2026

@zachlloyd

I'm working on changes requested in this PR (responding to a PR conversation comment).

You can view the conversation on Warp.

I pushed changes to this PR based on the comment.

Next steps:

  • Review the changes pushed to this PR.
  • Follow up with another comment if further adjustments are needed.

Powered by Oz

Render unread notification activity in summary-mode vertical tab rows by carrying the unread flag in summary data.

Co-Authored-By: Zach Lloyd <zachlloyd@users.noreply.github.com>
Co-Authored-By: Oz <oz-agent@warp.dev>
@zachlloyd zachlloyd requested a review from zachbai May 24, 2026 00:38
@zachlloyd zachlloyd marked this pull request as ready for review May 24, 2026 00:38
@oz-for-oss
Copy link
Copy Markdown
Contributor Author

oz-for-oss Bot commented May 24, 2026

@zachlloyd

I'm starting a first review of this pull request.

You can view the conversation on Warp.

I completed the review and no human review was requested for this pull request.

Comment /oz-review on this pull request to retrigger a review (up to 3 times on the same pull request).

Powered by Oz

});
}

let notifications_placed = placed.contains(&&HeaderToolbarItemKind::NotificationsMailbox);
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This deletion seems incorrect? Think this should still be propagating the setting flag

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

why should disabling the notifications mailbox have any effect on whether we show in app notifications? that's one of the bugs i'm trying to fix. maybe i'm misunderstanding the code?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I guess that’s fair. U could still independently disable this setting if u wantsd

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

i think that's the right behavior. it was unexpected to me that disabling the inbox turned off notifications entirely

Copy link
Copy Markdown
Contributor Author

@oz-for-oss oz-for-oss Bot left a comment

Choose a reason for hiding this comment

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

Overview

This PR keeps agent notification records available for vertical-tab unread indicators even when the in-app notification UI is hidden, stops toolbar customization from mutating the notification visibility setting, and adds unit coverage for unread tracking while notifications are disabled.

Concerns

None.

Verdict

Found: 0 critical, 0 important, 0 suggestions

Approve

Comment /oz-review on this pull request to retrigger a review (up to 3 times on the same pull request).

Powered by Oz

@zachlloyd zachlloyd merged commit a530563 into master May 24, 2026
48 checks passed
@zachlloyd zachlloyd deleted the oz-agent/implement-issue-11497 branch May 24, 2026 20:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Vertical tabs do not show notification dots

3 participants