-
Notifications
You must be signed in to change notification settings - Fork 41
Closed
Labels
priority:high 🚑High priority issueHigh priority issuetype:enhancement 😃New feature or requestNew feature or request
Milestone
Description
Description
Update the sidebar in the Tanam web application to list configured document types under a "Content" section. Remove unused items from the sidebar while keeping the "Settings" and "Dashboard" sections. Rename the "Forms" section to "Content" and dynamically list document types from the Firestore sub-collection document-types
.
Requirements
-
Update Sidebar
- Remove unused items from the sidebar.
- Keep the "Settings" and "Dashboard" sections.
- Rename the "Forms" section to "Content".
-
List Document Types
- Retrieve and list the configured document types from the Firestore sub-collection
document-types
under the "Content" section.
- Retrieve and list the configured document types from the Firestore sub-collection
Steps to Implement
-
Update Sidebar Structure
- Modify the sidebar component to remove unused items.
- Ensure the "Settings" and "Dashboard" sections remain.
- Rename the "Forms" section to "Content".
-
Retrieve Document Types
- Implement functionality to fetch document types from the Firestore sub-collection
document-types
. - Dynamically list these document types under the "Content" section in the sidebar.
- Implement functionality to fetch document types from the Firestore sub-collection
-
Dynamic Listing
- Ensure the sidebar updates dynamically to reflect any changes in the document types stored in Firestore.
Testing
- Verify that unused items are removed from the sidebar.
- Confirm that the "Settings" and "Dashboard" sections remain intact.
- Check that the "Forms" section is renamed to "Content".
- Ensure that all configured document types from Firestore are listed under the "Content" section.
Additional Notes
- Ensure the sidebar updates in real-time to reflect any changes in the document types stored in Firestore.
- Consider implementing a caching mechanism to reduce the number of reads from Firestore for better performance.
References
Metadata
Metadata
Assignees
Labels
priority:high 🚑High priority issueHigh priority issuetype:enhancement 😃New feature or requestNew feature or request