mirror of https://github.com/zulip/zulip.git
user_base_settings: Change web_home_view default to inbox view.
It would probably provide a better introduction to Zulip than Recent conversations.
This commit is contained in:
parent
7de061cf10
commit
603aa3db01
|
@ -271,7 +271,7 @@ export async function log_in(
|
|||
await fill_form(page, "form#login_form", params);
|
||||
await page.$eval("form#login_form", (form) => form.submit());
|
||||
|
||||
await page.waitForSelector("#recent_view_filter_buttons", {visible: true});
|
||||
await page.waitForSelector("#inbox-main", {visible: true});
|
||||
}
|
||||
|
||||
export async function log_out(page: Page): Promise<void> {
|
||||
|
|
|
@ -0,0 +1,22 @@
|
|||
# Generated by Django 4.2.7 on 2023-11-25 16:08
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
dependencies = [
|
||||
("zerver", "0490_renumber_options_desktop_icon_count_display"),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name="realmuserdefault",
|
||||
name="web_home_view",
|
||||
field=models.TextField(default="inbox"),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name="userprofile",
|
||||
name="web_home_view",
|
||||
field=models.TextField(default="inbox"),
|
||||
),
|
||||
]
|
|
@ -1570,7 +1570,7 @@ class UserBaseSettings(models.Model):
|
|||
default_language = models.CharField(default="en", max_length=MAX_LANGUAGE_ID_LENGTH)
|
||||
# This setting controls which view is rendered first when Zulip loads.
|
||||
# Values for it are URL suffix after `#`.
|
||||
web_home_view = models.TextField(default="recent_topics")
|
||||
web_home_view = models.TextField(default="inbox")
|
||||
web_escape_navigates_to_home_view = models.BooleanField(default=True)
|
||||
dense_mode = models.BooleanField(default=True)
|
||||
fluid_layout_width = models.BooleanField(default=False)
|
||||
|
|
Loading…
Reference in New Issue