Commit graph

16 commits

Author SHA1 Message Date
d891000b19 Features: None;
Fixes: None;

Extra: 1) Remove redundant comments from `_kpis.html`; 2) Exclude unused `_income_overview.html` include from `index.html`; 3) Comment out GA/Yandex/Ads integration placeholder in `_filters.html`.
2025-12-10 19:46:00 +03:00
5962fb1145 Features: 1) Add timeframe filter component in the admin dashboard; 2) Create low stock products widget with tailored design; 3) Extend KPI section to include dynamic data (GMV, Orders, AOV, Net Revenue, Refund Rate); 4) Allow timeframe selection functionality for metrics and charts.
Fixes: 1) Add missing `constance.config` import in `views.py`; 2) Replace hardcoded timeframe logic with configurable period parsing; 3) Ensure proper handling of empty datasets for low stock and KPI calculations.

Extra: Refactor dashboard templates to improve layout and add contextual adjustments (e.g., grid updates, daily sales title); Optimize cache handling for dashboard metrics; Cleanup unused legacy dashboard variables.
2025-12-10 19:33:18 +03:00
71389ee278 Features: 1) Add customer mix and shipped vs digital metrics to dashboard context;
Fixes: 1) Replace failed daily stats with empty lists instead of crashing; 2) Fix inconsistent variable scoping and cleanup;

Extra: 1) Refactor daily stats logic to handle exceptions gracefully; 2) Improve readability by grouping related metrics; 3) Add type annotations for new context variables.
2025-11-17 22:42:38 +03:00
8caeff538a Extra: 1) Remove chart.js 2025-11-17 16:23:05 +03:00
150e4bcf24 Features: 1) No new features added.
Fixes: 1) Fixed Hebrew translation line breaks and spacing inconsistencies; 2) Corrected punctuation and formatting in user reset password email template; 3) Fixed line breaks in model docstring for proper formatting.

Extra: 1) Updated POT-Creation-Date to reflect latest commit; 2) Minor whitespace and punctuation fixes across multiple translation strings.
2025-11-17 16:19:29 +03:00
be9940cdc0 Features: 1) Added arith template tags for sub and neg operations to support arithmetic in templates;
Fixes: 1) Replaced `add:-X` with `sub:X` in template logic for consistent arithmetic;

Extra: 1) Added `arith` to template load context; 2) Introduced `_to_float` helper for safe type conversion; 3) Used `suppress` to handle invalid conversions gracefully.
2025-11-17 15:59:39 +03:00
08340c801a Features: 1) Added daily sales chart with orders and gross revenue visualization; 2) Added fallback message for insufficient data;
Fixes: 1) Removed deprecated UI elements;

Extra: 1) Refactored layout to use card components; 2) Added responsive chart with dual Y-axes; 3) Included error handling for chart initialization.
2025-11-17 15:50:29 +03:00
00a172d463 Features: 1) Add currency symbol display in dashboard; 2) Add type hints to dashboard_callback and related functions;
Fixes: 1) Fix type annotations for get_revenue, get_returns, get_total_processed_orders; 2) Add missing import for Context;

Extra: 1) Add type hint for currency_symbol; 2) Add type ignore comments for image_url; 3) Update UNFOLD config to use dict[str, Any]; 4) Add missing import for typing.Any; 5) Refactor template to conditionally display currency symbol.
2025-11-16 23:35:03 +03:00
d2f46539ee Features: 1) Add top 10 most wished and most popular products lists; 2) Update UI to display lists with cards and counts.
Fixes: 1) Fix translation of "Returns" to "Возвраты"; 2) Fix translation of "Sales vs Returns" to "Продажи и Возвраты".

Extra: 1) Refactor wishlist and order product queries to support top 10 lists; 2) Add backward compatibility for single product views; 3) Update template structure to include new lists and improve layout.
2025-11-16 17:02:36 +03:00
d4ea32c375 Features: 1) Refactored sales vs returns chart rendering for improved structure and readability;
Fixes: 1) Fixed inconsistent whitespace in image tag attributes;

Extra: 1) Added missing line break for visual spacing; 2) Updated footer text for consistency and clarity.
2025-11-16 16:25:11 +03:00
d139b7daf6 Features: 1) Enhance quick links rendering with flexible class styling;
Fixes: 1) Fix inconsistent indentation and formatting in quick links construction;

Extra: 1) Add class attribute to navigation component for layout control; 2) Improve readability by using consistent block structure.
2025-11-16 16:11:14 +03:00
b305876feb Features: 1) Add "eVibes" version display in admin dashboard footer;
Fixes: 1) Remove dashboard title exclusion logic; 2) Refactor quick links to include title, link, and optional icon;

Extra: 1) Add separator and version text component; 2) Update template to render version info; 3) Minor formatting cleanup.
2025-11-16 16:03:11 +03:00
20ecaa683f Features: 1) Added "Orders", "Taskboard", "Support", "Quick Links" settings; 2) Reordered and updated setting labels for consistency.
Fixes: 1) Corrected line endings in locale file; 2) Updated POT-Creation-Date to reflect current build.

Extra: 1) Refactored setting file to improve structure; 2) Ensured translation keys match updated UI labels.
2025-11-16 15:48:23 +03:00
338b2df0c9 Features: 1) Refactored template logic to separate gross/returns context and total calculation for clarity;
Fixes: 1) Fixed duplicate `{% with %}` block causing syntax error;

Extra: 1) Improved template structure for maintainability; 2) Added missing closing `{% endwith %}`.
2025-11-16 15:07:45 +03:00
56826300b6 Features: 1) Added dashboard callback view to expose revenue, returns, and order metrics; 2) Added new admin dashboard template with visual metrics and charts; 3) Integrated language flags into UNFOLD configuration using centralized LANGUAGES_FLAGS.
Fixes: 1) None.

Extra: 1) Refactored language flag definitions into a centralized dictionary in base settings; 2) Added commerce utility functions for revenue, returns, and order processing; 3) Improved code structure and documentation in views and utils.
2025-11-16 14:50:17 +03:00
33362d8340 2025.4 PREVIEW 2025-11-08 04:38:09 +03:00