diff --git a/CHANGELOG.md b/CHANGELOG.md index 38ef180..45439a9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -69,6 +69,12 @@ - URL parameters take priority over configuration (e.g., `?open_database=1`) - Database section expanded by default to maintain original behavior - Smart metadata handling: sub-section expansion automatically expands parent metadata section +- Add duplicate sets filter functionality + - New filter button on Sets page to show only duplicate/consolidated sets + - `BK_SHOW_SETS_DUPLICATE_FILTER`: Environment variable to show/hide the filter button (default: true) + - Works with both server-side and client-side pagination modes + - Consolidated mode: Shows sets that have multiple instances + - Non-consolidated mode: Shows sets that appear multiple times in collection - Add live environment variable configuration management system - Configuration Management interface in admin panel with live preview and badge system - Live settings: Can be changed without application restart (menu visibility, table display, pagination, features) @@ -76,6 +82,12 @@ - Advanced badge system showing value status: True/False for booleans, Set/Default/Unset for other values, Changed indicator - Live API endpoints: `/admin/api/config/update` for immediate changes, `/admin/api/config/update-static` for .env updates - Form pre-population with current values and automatic page reload after successful live updates +- **BREAKING CHANGE**: Default minifigures folder path changed from `minifigs` to `minifigures` + - Impact: Users who relied on the default `BK_MINIFIGURES_FOLDER` value (without explicitly setting it) will need to either: + 1. Set `BK_MINIFIGURES_FOLDER=minifigs` in their environment to maintain existing behavior, or + 2. Rename their existing `minifigs` folder to `minifigures` + - No impact: Users who already have `BK_MINIFIGURES_FOLDER` explicitly configured + - Improved consistency across documentation and Docker configurations - Add performance optimization - SQLite WAL Mode: - Increased cache size to 10,000 pages (~40MB) for faster query execution diff --git a/bricktracker/config.py b/bricktracker/config.py index d07f66d..5d1a7ea 100644 --- a/bricktracker/config.py +++ b/bricktracker/config.py @@ -39,7 +39,7 @@ CONFIG: Final[list[dict[str, Any]]] = [ {'n': 'HIDE_TABLE_CHECKED_PARTS', 'c': bool}, {'n': 'HIDE_WISHES', 'c': bool}, {'n': 'MINIFIGURES_DEFAULT_ORDER', 'd': '"rebrickable_minifigures"."name" ASC'}, # noqa: E501 - {'n': 'MINIFIGURES_FOLDER', 'd': 'minifigs', 's': True}, + {'n': 'MINIFIGURES_FOLDER', 'd': 'minifigures', 's': True}, {'n': 'MINIFIGURES_PAGINATION_SIZE_DESKTOP', 'd': 10, 'c': int}, {'n': 'MINIFIGURES_PAGINATION_SIZE_MOBILE', 'd': 5, 'c': int}, {'n': 'MINIFIGURES_SERVER_SIDE_PAGINATION', 'c': bool}, diff --git a/docs/env.md b/docs/env.md index 4222ea3..b26a3f7 100644 --- a/docs/env.md +++ b/docs/env.md @@ -66,7 +66,7 @@ | Variable | Purpose | Default | Required | |----------|---------|----------|-----------| | `BK_INSTRUCTIONS_FOLDER` | Instructions storage path | `instructions` | No | -| `BK_MINIFIGURES_FOLDER` | Minifigures storage path | `minifigs` | No | +| `BK_MINIFIGURES_FOLDER` | Minifigures storage path | `minifigures` | No | | `BK_PARTS_FOLDER` | Parts storage path | `parts` | No | | `BK_SETS_FOLDER` | Sets storage path | `sets` | No | | `BK_INSTRUCTIONS_ALLOWED_EXTENSIONS` | Allowed instruction file types | `.pdf` | No |