From dd5cf6f628309d509f5cc01e316e38a844dbade6 Mon Sep 17 00:00:00 2001 From: "Stanko K.R." Date: Fri, 21 Nov 2025 12:41:45 +0100 Subject: [PATCH 1/3] Fix pickers obscuring jump menu --- app/assets/stylesheets/nav.css | 1 + 1 file changed, 1 insertion(+) diff --git a/app/assets/stylesheets/nav.css b/app/assets/stylesheets/nav.css index 3a8836e84..b37201e1d 100644 --- a/app/assets/stylesheets/nav.css +++ b/app/assets/stylesheets/nav.css @@ -78,6 +78,7 @@ overflow: hidden; padding-block-end: 0; scrollbar-gutter: stable both-edges; + z-index: var(--z-nav); } .nav__scroll-container { From 41905068c0c1a89d001d6bbad20305bbe06ab9ca Mon Sep 17 00:00:00 2001 From: Jorge Manrubia Date: Fri, 21 Nov 2025 14:34:05 +0100 Subject: [PATCH 2/3] Bundle after notification is committed to mitigate reading stale data when bundling Attempt to deal with overlapping bundles being created by notifications created immediately one after the other. --- app/models/notification.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/notification.rb b/app/models/notification.rb index 416506783..4b69dd6e6 100644 --- a/app/models/notification.rb +++ b/app/models/notification.rb @@ -12,7 +12,7 @@ class Notification < ApplicationRecord after_create_commit :broadcast_unread after_destroy_commit :broadcast_read - after_create :bundle + after_create_commit :bundle scope :preloaded, -> { preload(:creator, :account, source: [ :board, :creator ]) } From c1f5699443c0ba0ec6a5149289c4607c1081478f Mon Sep 17 00:00:00 2001 From: Jorge Manrubia Date: Fri, 21 Nov 2025 14:35:29 +0100 Subject: [PATCH 3/3] Switch READ-COMMITED so that queries see the last committed data This should help solving the problem with overlapping bundles It is what we use in HEY and Basecamp --- config/database.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config/database.yml b/config/database.yml index 2b5085410..2d993c369 100644 --- a/config/database.yml +++ b/config/database.yml @@ -17,6 +17,8 @@ default: &default port: <%= ENV.fetch "FIZZY_DB_PORT", 3306 %> pool: 50 timeout: 5000 + variables: + transaction_isolation: READ-COMMITTED development: primary: