Commit graph

15 commits

Author SHA1 Message Date
efcbfea825 Features: 1) Simplify autocomplete list filter by utilizing django.jQuery for bootstrap initialization;
Fixes: 1) Remove redundant external JavaScript includes for autocomplete functionality;

Extra: 1) Add minor formatting tweak by inserting a blank line for improved readability.
2025-07-01 19:04:41 +03:00
9b118aacef Features: 1) Add jQuery and Select2 scripts to autocomplete_list_filter.html;
Fixes: 1) None;

Extra: 1) None;
2025-07-01 18:58:18 +03:00
9f3b202646 Fixes: 1) Add missing "static" library import in autocomplete_list_filter.html;
Extra: Ensure compatibility with static assets in the template.
2025-07-01 18:54:36 +03:00
65beeb2a26 Features: 1) Add custom stylesheet and JavaScript for autocomplete functionality in admin filter template;
Fixes: None;

Extra: 1) Improve HTML indentation for better readability;
2025-07-01 18:51:44 +03:00
f15897f20d Features: 1) Simplify autocomplete_list_filter.html template by removing unused static assets and unnecessary label tag; 2) Refactor indentation for better readability;
Fixes: None;

Extra: Streamline template code by removing redundant HTML elements and unused script imports;
2025-07-01 18:45:02 +03:00
306f54b4a2 Features: 1) Replace autocomplete input with Select2-based dropdown for enhanced functionality and improved styling; 2) Add support for displaying the initial selection text in the dropdown; 3) Load additional Select2-specific JavaScript and CSS resources dynamically;
Fixes: 1) Correct handling of initial selection when lookup value is invalid or missing;

Extra: 1) Refactor related admin template and Python code to improve readability and maintainability; 2) Align variable names and code style for consistency.
2025-07-01 18:35:01 +03:00
08dc89ef19 Features: 1) Update AutocompleteListFilter to dynamically display field label in placeholder using blocktrans; 2) Enhance choices method with field_label for improved context;
Fixes: 1) Remove redundant jQuery UI script and CSS imports for optimization;

Extra: 1) Minor formatting adjustments for readability; 2) Replace variable `base_url` with `base` for naming consistency; 3) Improve `expected_parameters` method to return list format.
2025-07-01 18:29:25 +03:00
83ac6b27e6 Features: 1) Add data-lookup-kwarg to autocomplete input for better filtering; 2) Streamline admin autocomplete URL structure for consistency;
Fixes: 1) Replace outdated jQuery UI paths with modern equivalents; 2) Ensure proper retrieval of JSON responses in autocomplete widget; 3) Correct misaligned parameter initialization in `AdminFilter`;

Extra: Minor formatting improvements and variable renaming for readability.
2025-07-01 18:12:50 +03:00
c5397c6608 Features: 1) Add RelatedAutocompleteFilter for admin filters with autocomplete support; 2) Introduce autocomplete_list_filter.html template for the new filter; 3) Enable dynamic filtering with client-side autocomplete functionality;
Fixes: 1) Add missing imports for `FieldListFilter` and `reverse` in `core/admin.py`;

Extra: 1) Include relevant JS and CSS assets for autocomplete functionality; 2) Add comments and structure for better readability in template and script.
2025-07-01 17:55:24 +03:00
a63aa0371a Features: 1) Remove custom AjaxAutocompleteListFilter and its related widget/templates to streamline admin functionality; 2) Simplify ProductAdmin by using default ModelAdmin.
Fixes: 1) Remove unnecessary imports related to the deleted functionality.

Extra: 1) Extensive cleanup to remove redundant code and references; 2) Minor formatting adjustments for improved readability.
2025-07-01 17:44:20 +03:00
c5fe0cb6c6 Features: 1) Add AjaxAutocompleteListFilter to enable autocomplete functionality for admin list filters; 2) Introduce AjaxAutocompleteSelectWidget for enhanced UI integration; 3) Update ProductAdmin to use new autocomplete list filter; 4) Add template and styles for AutocompleteListFilter.
Fixes: None;

Extra: Add supporting JS and CSS for autocomplete list filter functionality.
2025-07-01 16:28:07 +03:00
d008d9dd0f Features: 1) Remove custom BaseAutocompleteFilter and related admin filters to streamline list filtering; 2) Simplify ProductAdmin by eliminating unused autocomplete mixin and filters;
Fixes: 1) Remove unused imports from `core/admin.py`;

Extra: 1) Delete redundant `autocomplete_filter.html` template and associated filter classes for cleanup; 2) Minor refactoring of `ProductAdmin` class in alignment with the removal of filters.
2025-07-01 15:43:45 +03:00
67a08b69b4 Features: None;
Fixes: 1) Correct `parameter_name` assignments in BrandAdminFilter, CategoryAdminFilter, TagsAdminFilter, and VendorAdminFilter to use plain strings;

Extra: None;
2025-07-01 15:35:42 +03:00
328ccaa615 Features: 1) 2.8.9 update
Fixes: 1) wtf go read diff;

Extra: ???
2025-06-18 15:05:58 +03:00
68febcdb08 Initial Commit 2025-04-29 22:40:30 +03:00