https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42189
--- Comment #50 from Paul Derscheid <[email protected]> --- Created attachment 198936 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=198936&action=edit Bug 42189: (follow-up) Track known widgets to preserve removal state - Persist a "known" array in localStorage alongside left/right so the dashboard can distinguish genuinely new widgets from deliberately removed ones - On restore, only auto-add widgets whose name is not in known - In onWidgetRegistered, skip widgets present in known to prevent removed widgets from reappearing on subsequent registration events To test: - Add the plugin widget to the ERM dashboard, then remove it - Refresh — verify the removed widget does not reappear - Clear localStorage and refresh — verify all widgets appear - Install a new plugin widget — verify it auto-adds on first visit even when other widgets have saved state Signed-off-by: Clemens Tubach <[email protected]> Signed-off-by: Thomas Klausner <[email protected]> -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
