Coach lineup polish, referee level/position delete, feature-flag nav gating, per-job pause
- Coach line-up screen: more breathing room above the sheet, brighter event subtitle, and the "Schedule" button now matches the date input's height. - Positions and referee levels can now be deleted from Settings (blocked with a friendly message if still in use on a roster/referee profile/inheritance chain). - The Evaluations nav placeholder is now gated on the formbuilder flag, same as Forms itself, since the design reuses formbuilder underneath. - Control panel: each scheduled platform job can now be paused/resumed individually (features.models.JobToggle), independent of the platform-wide Maintenance lock. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
28
features/migrations/0004_jobtoggle.py
Normal file
28
features/migrations/0004_jobtoggle.py
Normal file
@@ -0,0 +1,28 @@
|
||||
# Generated by Django 6.0.6 on 2026-08-23 09:09
|
||||
|
||||
import uuid
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('features', '0003_jobrun'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.CreateModel(
|
||||
name='JobToggle',
|
||||
fields=[
|
||||
('created', models.DateTimeField(auto_now_add=True, verbose_name='created')),
|
||||
('modified', models.DateTimeField(auto_now=True, verbose_name='modified')),
|
||||
('id', models.UUIDField(default=uuid.uuid4, editable=False, primary_key=True, serialize=False)),
|
||||
('name', models.CharField(help_text='Dotted Celery task name, matching a features.jobs.JOB_REGISTRY key.', max_length=255, unique=True, verbose_name='job name')),
|
||||
('enabled', models.BooleanField(default=True, verbose_name='enabled')),
|
||||
],
|
||||
options={
|
||||
'verbose_name': 'job toggle',
|
||||
'verbose_name_plural': 'job toggles',
|
||||
},
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user