Latest
#01Custom Screen Shadowing
- # Custom screen shadowing fix
- Fixed saving a named screen whose id collides with a built-in screen (e.g. "my-vaults" collides with the built-in My Vaults preset): the built-in was applied instead of the just-saved custom screen, dropping the user's filters (vault-name exclusion) and injecting the preset's sort.
- Made user-created screens win on id collisions in the screen manager:
getAllScreens()now returns custom screens before built-ins, soapplyScreenById/getActiveScreen/isScreenModifiedByresolve to the custom screen. - Made
getScreenById(URL reload path for filters and vault types) prefer custom screens over built-ins on id collisions. - Guarded
detachBuiltInIfModifiedso a custom screen shadowing a built-in id is never detached as a built-in when modified. - Hid built-in screens shadowed by a custom screen with the same id in the ScreenSelector dropdown to avoid duplicate entries.
- Added
src/lib/grid/screens.spec.tscovering collision resolution, apply-by-id, and the detach guard.