mirror of
https://github.com/zulip/zulip.git
synced 2025-11-07 23:43:43 +00:00
Added a user_list_style personal user setting to the bottom of Settings > Display settings > Theme section which controls the look of the right sidebar user list. The radio button UI includes a preview of what the styles look like. The setting is intended to eventually have 3 possible values: COMPACT, WITH_STATUS and WITH_AVATAR; the final value is not yet implemented. Co-authored-by: Tim Abbott <tabbott@zulip.com>
24 lines
619 B
Python
24 lines
619 B
Python
# Generated by Django 4.0.6 on 2022-08-14 18:23
|
|
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
("zerver", "0406_alter_realm_message_content_edit_limit_seconds"),
|
|
]
|
|
|
|
operations = [
|
|
migrations.AddField(
|
|
model_name="realmuserdefault",
|
|
name="user_list_style",
|
|
field=models.PositiveSmallIntegerField(default=2),
|
|
),
|
|
migrations.AddField(
|
|
model_name="userprofile",
|
|
name="user_list_style",
|
|
field=models.PositiveSmallIntegerField(default=2),
|
|
),
|
|
]
|