Sync notifications and troubleshooting guides (#998)

* Add help articles

* Broadcast sync messages as notifications

* Lint fixes

* more lint fixes

* Remove redundant code
This commit is contained in:
Zach Gollwitzer
2024-07-18 14:39:38 -04:00
committed by GitHub
parent b200b71284
commit fa08f027c7
33 changed files with 256 additions and 97 deletions

View File

@@ -25,8 +25,13 @@
</head>
<body class="h-full">
<div id="notification-tray" class="fixed z-50 space-y-1 top-6 right-10"></div>
<%= safe_join(flash.map { |type, message| notification(message, type: type) }) %>
<div class="fixed z-50 space-y-1 top-6 right-10">
<div id="notification-tray">
<%= render_flash_notifications %>
</div>
</div>
<%= family_notifications_stream %>
<%= content_for?(:content) ? yield(:content) : yield %>
@@ -39,5 +44,4 @@
<%= render "shared/app_version" %>
<% end %>
</body>
</html>