Klurifixus / butikado

före projectet
0 stars 2 forks source link

Customize Django Admin Styling and Add Low Stock Warning Feature #15

Open Klurifixus opened 5 months ago

Klurifixus commented 5 months ago

Customize Django Admin Styling and Add Low Stock Warning Feature

User Story: As an admin user, I want the Django admin interface to be more visually informative and user-friendly, so that I can easily manage products, especially those with low stock levels.

Description: The current Django admin interface serves its purpose but lacks certain visual cues that can aid in quicker and more efficient management, especially regarding inventory levels. The goal is to introduce custom styling to the admin interface to highlight critical information, such as low stock levels for products, and to improve the overall aesthetic and usability of the admin panel.

Tasks:

Implement Custom Styling for Low Stock Warning:

Add visual indicators in the admin list view for products that have low stock levels (below a certain threshold, e.g., 5 units). This could be in the form of text color changes, icons, or background highlights. Styling the Entire Admin Interface:

Apply custom styles to the Django admin interface to enhance visual appeal and user experience. This may include changes to color schemes, fonts, layouts, and other UI elements. Ensure Responsive and Accessible Design:

Make sure that the custom styles do not interfere with the admin interface's responsiveness and accessibility. Future Considerations:

Ensure that customizations are maintainable and do not significantly diverge from Django's default templates to avoid complications during upgrades. Consider the use of a Django third-party package like django-jazzmin or similar to facilitate styling if it aligns with project requirements. Acceptance Criteria:

Admin users can easily identify products with low stock directly from the list view. The admin interface has an improved aesthetic and user experience. Customizations do not impede the admin's functionality, responsiveness, or accessibility.

Klurifixus commented 5 months ago

Image is on place in admin panel. Please test if it warns the user if they want to buy more than is on stock... else write a new issue for this