mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-24 20:36:40 +07:00
Добавили заметки в сайдбар (#126)
* added notes sidebar * added note dropping and editing * added sidebar navigation * handling sidebarchanges over time * using router back for closing sidebar * fixed tripping inside single sidebar * added superpowers toggle to sidebar * user button opens sidebar now * added profile cover for profile sidebar * removed profile sidebar completely * ran prettier over project * added note not found error literal
This commit is contained in:
parent
fe3db608d6
commit
5d34090238
72 changed files with 1241 additions and 664 deletions
|
@ -4,18 +4,15 @@ import { LoadingDialog } from '~/containers/dialogs/LoadingDialog';
|
|||
import { LoginDialog } from '~/containers/dialogs/LoginDialog';
|
||||
import { LoginSocialRegisterDialog } from '~/containers/dialogs/LoginSocialRegisterDialog';
|
||||
import { PhotoSwipe } from '~/containers/dialogs/PhotoSwipe';
|
||||
import { ProfileDialog } from '~/containers/dialogs/ProfileDialog';
|
||||
import { RestorePasswordDialog } from '~/containers/dialogs/RestorePasswordDialog';
|
||||
import { RestoreRequestDialog } from '~/containers/dialogs/RestoreRequestDialog';
|
||||
import { TestDialog } from '~/containers/dialogs/TestDialog';
|
||||
import { ProfileSidebar } from '~/containers/sidebars/ProfileSidebar';
|
||||
import { TagSidebar } from '~/containers/sidebars/TagSidebar';
|
||||
|
||||
export enum Dialog {
|
||||
Login = 'Login',
|
||||
LoginSocialRegister = 'LoginSocialRegister',
|
||||
Loading = 'Loading',
|
||||
Profile = 'Profile',
|
||||
RestoreRequest = 'RestoreRequest',
|
||||
RestorePassword = 'RestorePassword',
|
||||
Test = 'Test',
|
||||
|
@ -23,7 +20,6 @@ export enum Dialog {
|
|||
CreateNode = 'CreateNode',
|
||||
EditNode = 'EditNode',
|
||||
TagSidebar = 'TagNodes',
|
||||
ProfileSidebar = 'ProfileSidebar',
|
||||
}
|
||||
|
||||
export const DIALOG_CONTENT = {
|
||||
|
@ -31,12 +27,10 @@ export const DIALOG_CONTENT = {
|
|||
[Dialog.LoginSocialRegister]: LoginSocialRegisterDialog,
|
||||
[Dialog.Loading]: LoadingDialog,
|
||||
[Dialog.Test]: TestDialog,
|
||||
[Dialog.Profile]: ProfileDialog,
|
||||
[Dialog.RestoreRequest]: RestoreRequestDialog,
|
||||
[Dialog.RestorePassword]: RestorePasswordDialog,
|
||||
[Dialog.Photoswipe]: PhotoSwipe,
|
||||
[Dialog.CreateNode]: EditorCreateDialog,
|
||||
[Dialog.EditNode]: EditorEditDialog,
|
||||
[Dialog.TagSidebar]: TagSidebar,
|
||||
[Dialog.ProfileSidebar]: ProfileSidebar,
|
||||
} as const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue