mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-24 23:11:12 -05:00
Fix admin dashboard auto-refresh
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
-- Add admin settings for non-disruptive auto-refresh
|
||||
INSERT INTO admin_settings (setting_key, setting_value, category, description)
|
||||
VALUES
|
||||
('auto_refresh_strategy', '"merge"', 'admin_panel', 'Auto-refresh strategy: merge (silently merge new items), replace (current behavior - full replacement), notify (show notification only)'),
|
||||
('preserve_interaction_state', '"true"', 'admin_panel', 'Whether to preserve user interaction state during auto-refresh (expanded items, typing in notes, etc.)')
|
||||
ON CONFLICT (setting_key) DO NOTHING;
|
||||
Reference in New Issue
Block a user