* Removed draft tour point

* Removed unused texts

* Fixed e2e tests

* Linting

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
Этот коммит содержится в:
Maria A Nunez
2025-03-21 11:06:36 -04:00
коммит произвёл GitHub
родитель e495fb3182
Коммит d69e8b3e90
11 изменённых файлов: 0 добавлений и 209 удалений

Просмотреть файл

@@ -202,12 +202,6 @@ async function savePreferences(client: Client, userId: UserProfile['id']) {
const preferences: PreferenceType[] = [
{user_id: userId, category: 'tutorial_step', name: userId, value: '999'},
{
user_id: userId,
category: 'drafts',
name: 'drafts_tour_tip_showed',
value: JSON.stringify({drafts_tour_tip_showed: true}),
},
{user_id: userId, category: 'crt_thread_pane_step', name: userId, value: '999'},
];

Просмотреть файл

@@ -52,12 +52,6 @@ export async function initSetup({
// Update user preference
const preferences: PreferenceType[] = [
{user_id: user.id, category: 'tutorial_step', name: user.id, value: '999'},
{
user_id: user.id,
category: 'drafts',
name: 'drafts_tour_tip_showed',
value: JSON.stringify({drafts_tour_tip_showed: true}),
},
{user_id: user.id, category: 'crt_thread_pane_step', name: user.id, value: '999'},
];
await userClient.savePreferences(user.id, preferences);