wip: new release modal

- highlight key updates or new features
- needs some transition love
- all copy including text and video placeholder
This commit is contained in:
David Hill
2025-12-21 16:45:49 +00:00
committed by adamelmore
parent 9d1cf98192
commit a77df3c174
7 changed files with 303 additions and 0 deletions

View File

@@ -68,6 +68,7 @@ import { ConstrainDragXAxis } from "@/utils/solid-dnd"
import { navStart } from "@/utils/perf"
import { DialogSelectDirectory } from "@/components/dialog-select-directory"
import { DialogEditProject } from "@/components/dialog-edit-project"
import { ReleaseNotesHandler } from "@/components/release-notes-handler"
import { Titlebar } from "@/components/titlebar"
import { useServer } from "@/context/server"
import { useLanguage, type Locale } from "@/context/language"
@@ -1443,6 +1444,11 @@ export default function Layout(props: ParentProps) {
),
)
createEffect(() => {
const sidebarWidth = layout.sidebar.opened() ? layout.sidebar.width() : 48
document.documentElement.style.setProperty("--dialog-left-margin", `${sidebarWidth}px`)
})
createEffect(() => {
const project = currentProject()
if (!project) return
@@ -2791,6 +2797,7 @@ export default function Layout(props: ParentProps) {
</main>
</div>
<Toast.Region />
<ReleaseNotesHandler />
</div>
)
}