Moved context menus to it's own components. Separates responsibilities and logic.
Did the same with the vault router. Been shoving every router into the vault/index.ts but refactored them out to it's own subject router an resource router. Changed some naming to define clear namespaces as well as standardized some actions. Things like keeping CRUD + a few more actions.
There's still some code that exists for creating a public domain. May consider removing it, but it's pretty well separated and won't touch it for now. Will need to keep it in mind though when sharing becomes a feature.
Closes #5
autofocus is a quick feature I'm sneaking in.
Moved context menus to it's own components. Separates responsibilities and logic.
Did the same with the vault router. Been shoving every router into the vault/index.ts but refactored them out to it's own subject router an resource router. Changed some naming to define clear namespaces as well as standardized some actions. Things like keeping CRUD + a few more actions.
There's still some code that exists for creating a public domain. May consider removing it, but it's pretty well separated and won't touch it for now. Will need to keep it in mind though when sharing becomes a feature.