Skip to content

Commit

Permalink
7492 additional ai fields (#7513)
Browse files Browse the repository at this point in the history
* added new fields, however, need to ask whether or not we want the helptext fields to go along or if they are static:

* updated AI fields, as well as reordered them in the code and CMS to match new PNI product page template

Co-authored-by: Daniel Miranda <daniel@mozillafoundation.org>
  • Loading branch information
2 people authored and fessehaye committed Oct 20, 2021
1 parent e390a5c commit f492483
Showing 1 changed file with 39 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# Generated by Django 3.1.11 on 2021-09-26 21:56

from django.db import migrations, models
import networkapi.wagtailpages.fields


class Migration(migrations.Migration):

dependencies = [
('wagtailpages', '0038_auto_20210924_2002'),
]

operations = [
migrations.AddField(
model_name='generalproductpage',
name='ai_can_user_control',
field=networkapi.wagtailpages.fields.ExtendedYesNoField(help_text='Does the user have control over the AI features?'),
),
migrations.AddField(
model_name='generalproductpage',
name='ai_can_user_control_helptext',
field=models.TextField(blank=True, help_text='Helptext that will appear in the can user control section.', max_length=5000),
),
migrations.AddField(
model_name='generalproductpage',
name='ai_is_transparent_helptext',
field=models.TextField(blank=True, help_text='Helptext that will appear in the AI is transparent section.', max_length=5000),
),
migrations.AddField(
model_name='generalproductpage',
name='ai_is_untrustworthy_helptext',
field=models.TextField(blank=True, help_text='Helptext that will appear in the AI is untrustworthy section.', max_length=5000),
),
migrations.AlterField(
model_name='generalproductpage',
name='ai_is_untrustworthy',
field=networkapi.wagtailpages.fields.ExtendedYesNoField(help_text='Is the AI untrustworthy?'),
),
]

0 comments on commit f492483

Please sign in to comment.