feat: restore lost issues (404 fix, subscriptions page, header redesign) #4
Labels
No labels
bug
performance
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
slaid098/slaid098-dev#4
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Контекст
GitHub-аккаунт забанен, три issue созданные на GitHub потеряны: #137 (404 перевод + скорость), #139 (страница подписок), и третий (редизайн шапки) вообще не успел создаться из-за 403. Все три задачи актуальны и обсуждались с пользователем — тексты и контракты готовы. Перенести на Forgejo как три отдельных issue (этот issue — umbrella, отслеживает создание трёх).
Задача
Создать три issue на Forgejo (через API, без labels — известный баг Forgejo с int64 ID):
fix(not-found): localize 404 page and make it static
src/app/[locale]/__404__/page.tsx+ общий компонентsrc/components/not-found-view.tsx; локализация черезparams.locale.not-found.tsx— редирект на/ru/__404__(статика, локаль узнать нельзя).src/app/[locale]/not-found.tsx(прямые хиты/en/<несуществующее>черезnotFound()) — клиентская детекция локали поusePathname(), статус 404 сохраняется.cookies()/headers()в server components (регрессия PR #120 не допускается).feat(subscriptions): personal AI subscriptions page
src/app/[locale]/subscriptions/page.tsx(статика), заголовок «Подписки, которыми пользуюсь сам» / EN.src/lib/subscriptions.ts: 4 сервиса — OpenCode Go (https://opencode.ai/go), Synthetic.new (https://synthetic.new/?referral=KKPRqRfw), Ollama (https://ollama.com), Umans (https://app.umans.ai/register?ref=YZ78E3D7).refactor(header): unified menu navigation for all devices
aria-expanded, закрытие по Esc и по переходу.[slug]; на/contactsи/subscriptionsстрелки НЕТ (сейчас ложно показывается на /contacts из-за грубого условияisAppPage).header(ru/en), тесты. Должен быть влит ПОСЛЕ issue 2 (подписки), т.к. добавляет ссылку на /subscriptions в меню.Контракты
Инварианты
Граничные случаи
Влияние на связанные компоненты
Вне scope
Критерии приемки
Umbrella complete.
fe1c623).Closing umbrella.