mirror of
https://github.com/zulip/zulip.git
synced 2025-11-07 15:33:30 +00:00
ui_init: Use OnboardingStep for narrowing on first web app load.
We plan to remove the 'tutorial_status' field from UserProfile table as it is no longer used to show tutorial. The field is also used to narrow a new user in DM with welcome bot on the first load. This prep commit updates the logic to use a new OnboardingStep for the narrowing behaviour on the first load. This will help in removing the 'tutorial_status' field.
This commit is contained in:
committed by
Tim Abbott
parent
13c0571183
commit
ee806c49b9
@@ -669,7 +669,9 @@ export function initialize_everything(state_data) {
|
||||
});
|
||||
drafts.initialize_ui();
|
||||
drafts_overlay_ui.initialize();
|
||||
onboarding_steps.initialize(state_data.onboarding_steps);
|
||||
// This needs to happen after activity_ui.initialize, so that user_filter
|
||||
// is defined. Also, must happen after people.initialize()
|
||||
onboarding_steps.initialize(state_data.onboarding_steps, message_view.show);
|
||||
typing.initialize();
|
||||
starred_messages_ui.initialize();
|
||||
user_status_ui.initialize();
|
||||
|
||||
Reference in New Issue
Block a user