- New apps.tooltips: TooltipContent model, {% tooltip data %} inclusion
tag, _tooltip.html partial with .tt/.tt-title/.tt-description etc.
class contract; 34 tests green
- Kit bag panel (_kit_bag_panel.html): .token-tooltip → .tt + child
class renames (tt-title, tt-description, tt-shoptalk, tt-expiry)
- game-kit.js attachTooltip: .token-tooltip → .tt selector
- SCSS: .tt added alongside .token-tooltip for display:none default +
hover rules in _wallet-tokens.scss and _game-kit.scss
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
34 lines
1.1 KiB
Python
34 lines
1.1 KiB
Python
# Generated by Django 6.0 on 2026-04-16 00:38
|
|
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
initial = True
|
|
|
|
dependencies = [
|
|
]
|
|
|
|
operations = [
|
|
migrations.CreateModel(
|
|
name='TooltipContent',
|
|
fields=[
|
|
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
|
|
('slug', models.SlugField(unique=True)),
|
|
('title', models.CharField(max_length=200)),
|
|
('type_label', models.CharField(blank=True, max_length=100)),
|
|
('symbol', models.CharField(blank=True, max_length=10)),
|
|
('degree_str', models.CharField(blank=True, max_length=40)),
|
|
('description', models.TextField(blank=True)),
|
|
('shoptalk', models.TextField(blank=True)),
|
|
('expiry', models.CharField(blank=True, max_length=200)),
|
|
('effect', models.TextField(blank=True)),
|
|
('extras', models.JSONField(default=dict)),
|
|
],
|
|
options={
|
|
'ordering': ['slug'],
|
|
},
|
|
),
|
|
]
|