mirror of
https://github.com/inventree/InvenTree.git
synced 2026-06-12 11:38:47 +00:00
[UI] Month scroll (#12092)
* Vertical scrolling calendar view * Add new setting to control calendar horizon * Keep refetching data as user scrolss * Adjust view based on configured setting * Reduce padding * Simplify calendar layout * Docs tweak * Split out display settings * Adjust playwright test * Reduce reliance on transient dialogs
This commit is contained in:
@@ -1243,6 +1243,15 @@ SYSTEM_SETTINGS: dict[str, InvenTreeSettingsKeyType] = {
|
||||
('6', _('Saturday')),
|
||||
],
|
||||
},
|
||||
'CALENDAR_HORIZON_MONTHS': {
|
||||
'name': _('Calendar Horizon'),
|
||||
'description': _(
|
||||
'Number of months into the future to display in calendar views'
|
||||
),
|
||||
'default': 12,
|
||||
'validator': [int, MinValueValidator(1)],
|
||||
'units': _('months'),
|
||||
},
|
||||
'TEST_STATION_DATA': {
|
||||
'name': _('Enable Test Station Data'),
|
||||
'description': _('Enable test station data collection for test results'),
|
||||
|
||||
Reference in New Issue
Block a user