Summary:
This section contains admin settings, mostly archived items, and a change password screen.
Archive Sections: The user can archive workspaces, modules, and lessons. Archived items are no longer available to the public on the KB page.
- An archived item can either be restored or permanently deleted from the database.
- User should be able to click on the archived item to reveal the content of the archived item.
- User can choose to restore the content back. Since the content is listed in user-defined orders, if an archived item is restored, it is added back to the bottom of the list. For example, let's say there are 4 workspaces to begin with, and the user archives the item at number 2, leaving 3 workspaces active. Now if this archived workspace is made active again, it's order now becomes 4th, while previously it was 2nd. The same thing applies to modules and lessons.
- We do not need to build pagination on these pages and the number of archived items will not be large in most of the cases.
User story 1: The user should be able to see a list of archived workspaces.
- A logged-in user should be able to see a list of archived workspaces.
- To a normal user on the internet (not the admin), when he sees the list of workspaces on the main page, archived workspaces are not visible.
- Since an archived workspace not only archives a workspace, it's content is also archived (modules and articles); therefore, when a workspace is restored, everything is restored, including it's content.
- Deleting a workspace means it is permanently deleted and is not recoverable. It is gone from the database permanently.
- We do not need infinite scrolling (or the load more feature) on this page. Therefore, let's show all the list items at once. Since this product is a single-user product, we do not need content increasing to a large number to add the load more feature.
- For the rest of the feature, check the summary above.
- User should be able to restore or delete archived items after showing a confirmation popup to user.
- When the user clicks on the archived workspace from the list, he is taken to the workspace detail page and at the top of that page, there is a banner that shows that this has been archived. User can also restore or delete the workspace from the detail page also after the popup confirmation alert.
- Designs are here: https://designs.quicklabs.in/quick-kb/adminland/workspaces/
User story 2: The user should be able to see a list of archived modules.