Channels UI surgical cleanup and create description save fix

This commit is contained in:
DrygMira
2026-04-14 10:36:50 +03:00
parent 126b4ba3a1
commit 7bdb3118ae
6 changed files with 61 additions and 56 deletions
+1 -15
View File
@@ -39,20 +39,6 @@ export function render({ navigate }) {
const card = document.createElement('div');
card.className = 'card stack';
const nextStepCard = document.createElement('div');
nextStepCard.className = 'card stack';
nextStepCard.innerHTML = `
<strong>Вы вошли как @${login}</strong>
<p class="meta-muted">Следующий шаг для ручной проверки: откройте вкладку «Каналы» в нижнем меню.</p>
`;
const openChannelsButton = document.createElement('button');
openChannelsButton.className = 'primary-btn';
openChannelsButton.type = 'button';
openChannelsButton.textContent = 'Открыть каналы';
openChannelsButton.addEventListener('click', () => navigate('channels-list'));
nextStepCard.append(openChannelsButton);
const topRow = document.createElement('div');
topRow.className = 'row';
topRow.innerHTML = `
@@ -215,7 +201,7 @@ export function render({ navigate }) {
shineBtn.addEventListener('click', () => onToggleClick('shine'));
card.append(topRow, badgesRow, status, listWrap);
screen.append(nextStepCard, card);
screen.append(card);
refreshProfileSnapshot();