-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feature: new pending panel on create page (#154)
* fix: issue with cached shortlinks * feat: initial work on pending image panel for create page * stash work * feat: add quick and simple json file to update server status * feat: add virtual list to pending panel
- Loading branch information
1 parent
14509cb
commit ffe3a24
Showing
18 changed files
with
665 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
'use client' | ||
|
||
/** | ||
* Dynamic view to toggle whether or not the pending panel | ||
* should be displayed on create page based on width | ||
* of browser window. | ||
*/ | ||
|
||
import { useWindowSize } from 'hooks/useWindowSize' | ||
import PendingPanel from '.' | ||
|
||
export default function PendingPanelView() { | ||
const { width } = useWindowSize() | ||
|
||
if (!width || width < 1100) { | ||
return null | ||
} | ||
|
||
return <PendingPanel /> | ||
} |
Oops, something went wrong.