Merge pull request #31329 from overleaf/mj-dark-mode-notification

[web] Introduce notification for dashboard dark mode

GitOrigin-RevId: da5045d412ddc87a4b18823a4a5fa3192fe15c89
This commit is contained in:
Mathias Jakobsen
2026-02-12 09:05:36 +00:00
committed by Copybot
parent 55c3b6b7ea
commit 498c89c6ed
20 changed files with 369 additions and 89 deletions
@@ -4,6 +4,7 @@ import { EditorProviders } from '../../helpers/editor-providers'
import { EditorView } from '@codemirror/view'
import type { FC, PropsWithChildren } from 'react'
import { EditorViewContext } from '@/features/ide-react/context/editor-view-context'
import { TutorialProvider } from '@/shared/context/tutorial-context'
describe('Workbench', { scrollBehavior: false }, function () {
beforeEach(function () {
@@ -34,7 +35,7 @@ describe('Workbench', { scrollBehavior: false }, function () {
return (
<EditorProviders
features={{ aiErrorAssistant: aiAssistEnabled }}
providers={{ EditorViewProvider }}
providers={{ EditorViewProvider, TutorialProvider }}
>
<div style={{ backgroundColor: '#1b222c' }}>{children}</div>
</EditorProviders>