Self-hosted project management for devs and their clients: tickets, time tracking, docs and meetings, with an AI assistant that cites its sources. AGPL-3.0.
Ruby agplai-assistantdockerdsgvogdprhotwireissue-trackerjira-alternativeknowledge-basellmmcp-servermeeting-notesopen-sourceproject-managementredmine-alternativeruby-on-railsself-hostedticketingtime-tracking
<%# One owner for the streams that follow the current user's unread count:
the sidebar frame (notifications/_nav_count) and the hidden count-data
frame that raises notifications:count-updated for every other listener
(mobile nav). Rendered by the inbox turbo_stream templates (update,
mark_all_read, archive_all) and broadcast by
Notifications::BroadcastService#broadcast_badge_update, so all four
writers send the same thing. Both targets are frames whose partial's ROOT
is the frame: a replace swaps the target for that root, nothing more.
Guard: spec/requests/inbox_nav_count_stream_spec.rb. %>
<%= turbo_stream.replace 'nav_notifications_count',
partial: 'notifications/nav_count',
locals: { unread_count: unread_count } %>
<%= turbo_stream.replace 'notification_count_data',
partial: 'notifications/count_data_frame',
locals: { count: unread_count } %>