freeCodeCamp/client/utils/gatsby
abe 4494b0c05b
fix(UI): keep portal preview open (#48451)
* moved portal states to redux

stored a global window

open window if does not exist clear htmlif already exists

moved close window to desktop-layout

close portal if user navigates to route outside of challenges

naming conventions, specify url

dispatch setIsAdvancing and use in portal preview

* fix: close portal if main window closes

* fix: refactor it

* Revert "fix: refactor it"

This reverts commit 197a40a3a6.

* feat: add isAdvancing to hotkeys

* fix: revert to pane on first step of block

* fix: safari issues

* fix: revert to pane when not advancing

---------

Co-authored-by: kravmaguy <flex4lease@gmail.com>
Co-authored-by: moT01 <20648924+moT01@users.noreply.github.com>
2023-02-06 08:18:46 +01:00
..
challenge-page-creator.js fix(UI): keep portal preview open (#48451) 2023-02-06 08:18:46 +01:00
index.js feat(client): ts-migrate client/utils/** (#42823) 2021-08-09 10:30:31 +02:00
layout-selector.test.tsx feat(client): ts-migrate client/utils/** (#42823) 2021-08-09 10:30:31 +02:00
layout-selector.tsx refactor: consistent layout imports (#48378) 2022-11-04 09:40:03 +02:00