feat: Trash (#1082)
* wip: trash * Enable restoration of deleted documents * update Trash icon * Add endpoint to trigger garbage collection * fix: account for drafts * fix: Archived documents should be deletable * fix: Missing delete cascade * bump: upgrade rich-markdown-editor
This commit is contained in:
@ -6,6 +6,7 @@ import Dashboard from 'scenes/Dashboard';
|
||||
import Starred from 'scenes/Starred';
|
||||
import Drafts from 'scenes/Drafts';
|
||||
import Archive from 'scenes/Archive';
|
||||
import Trash from 'scenes/Trash';
|
||||
import Collection from 'scenes/Collection';
|
||||
import KeyedDocument from 'scenes/Document/KeyedDocument';
|
||||
import DocumentNew from 'scenes/DocumentNew';
|
||||
@ -49,6 +50,7 @@ export default function Routes() {
|
||||
<Route exact path="/starred/:sort" component={Starred} />
|
||||
<Route exact path="/drafts" component={Drafts} />
|
||||
<Route exact path="/archive" component={Archive} />
|
||||
<Route exact path="/trash" component={Trash} />
|
||||
<Route exact path="/settings" component={Settings} />
|
||||
<Route exact path="/settings/details" component={Details} />
|
||||
<Route exact path="/settings/security" component={Security} />
|
||||
|
Reference in New Issue
Block a user