Document Archive (#921)
* WIP: Archive * WIP * Finishing up archive endpoints * WIP * Update docs * Flow * Stash * Add toast message confirmations * Redirect handling, fixed publishhing info for archived docs * Redirect to collection instead of home, remove unused pub info * Account for deleted parent * Trash -> Archive Allow reading of archived docs * Dont overload deletedAt * Fixes * 💚 * ParentDocumentId wipe for unarchived sub docs * Fix: CMD+S exits editing Fix: Duplicate user name on published but unedited docs * Improve jank on paginated lists * Prevent editing when archived * 💚 Separate lint / flow steps
This commit is contained in:
@@ -2,9 +2,11 @@
|
||||
import styled from 'styled-components';
|
||||
|
||||
const Notice = styled.p`
|
||||
background: #ffd95c;
|
||||
color: hsla(46, 100%, 20%, 1);
|
||||
padding: 10px;
|
||||
background: ${props =>
|
||||
props.muted ? props.theme.sidebarBackground : props.theme.yellow};
|
||||
color: ${props =>
|
||||
props.muted ? props.theme.sidebarText : 'hsla(46, 100%, 20%, 1)'};
|
||||
padding: 10px 12px;
|
||||
border-radius: 4px;
|
||||
`;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user