Open posva opened 1 month ago
I guess we need to split logic for ui and browser ui: right now using mainSizes
on UI when we should use detailSizes
(in the new UI there is no details, the middle panel has been removed)
Check the video, it is working again: https://streamable.com/8tzfxh
EDIT: we'll have some side effect when switching between UI and Browser UI: mainSizes
and detailSizes
for Browser UI and we should add a new sizes
for UI /cc @sheremet-va
Describe the bug
It seems that there was a regression of https://github.com/vitest-dev/vitest/pull/5166
vitest --ui
I think that the
initOnMounted
option no longer takes effect since they were moved outside of a component. Maybe they should be exposed as functions instead of variablesconst useDetailsSizes = () => useLocalStorage(...)
Reproduction
https://stackblitz.com/edit/vitest-dev-vitest-enxjhj?file=README.md&initialPath=__vitest__/
(default repro, might have outdated deps but I tested locally too)
System Info
Used Package Manager
pnpm
Validations