AppShellLayout: escolher as abas mobile e receber todos os módulos no moreSheet
維護者通常 1 天內回覆
還沒有人認領這個 Issue。
評估
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 新手友好度
- 35/100
- Issue 類型
- 功能
- 描述清晰度
- 基本清楚
- 活躍度
- 活躍
- 技術堆疊
- typescript
- 領域
- frontend
研究方向
Start at the AppShellLayout component and the BottomNav it renders under src/lib, plus the stories or docs that demo the shell with several modules. The issue names no files in this repository, so first reproduce the 5-module case to see where modules and the moreSheet snippet are passed down. Then decide which of the three proposed APIs to adopt, since the proposal offers alternatives rather than one shape. Done means the chosen prop or snippet is implemented, typed, and shown in a docs/story example with more than four modules.
由索引模型根據 Issue 內容生成。
描述
Problema
Um painel com mais de 4 módulos não consegue controlar a navegação mobile do AppShellLayout (4.6.0):
- as abas da
BottomNavsaem direto dosmodules, sem como escolher quais 4 ficam na barra; - o snippet
moreSheetrecebe sórest/visibleCount, não a lista completa nem links externos.
No wi (codeatlasdev/wi) o painel tem 5 módulos e ~15 rotas, e Documentação/Status não tinham como ser acessados no celular. Para resolver, o app esconde a barra nativa por CSS (.ca-shell > .ca-bottom-nav) e monta a própria BottomNav com um módulo sentinela "Mais" (apps/web/src/lib/components/MobileNav.svelte, MoreSheet.svelte). O r2k backoffice resolveu com um moreSheet próprio que repete os grupos do mega-menu.
Proposta
bottomNavModules(oumobileTabs): quais destinos ficam na barra.moreSheetrecebendo{ modules, active, close }completos.- Ou um snippet
mobileNavque substitui a barra inteira.
- 主要語言
- TypeScript
- 星號
- 6
- 分支
- 3
- 平均合併
- 5 小時 21 分鐘
- 30 天內合併 PR
- 378
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
codeatlasdev/ui 的其他 Issue
-
難度 2/5 1-3 小時 新手友好度 84/100
codeatlasdev/ui#1340 ·
維護者通常 1 天內回覆
-
area:a11y area:components bug
難度 2/5 1-3 小時 新手友好度 76/100
codeatlasdev/ui#1336 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 77/100
codeatlasdev/ui#1329 ·
維護者通常 1 天內回覆
-
good first issue
難度 2/5 1-3 小時 新手友好度 74/100
codeatlasdev/ui#1292 · 1 則留言 ·
維護者通常 1 天內回覆
-
area:components enhancement good first issue
難度 2/5 1-3 小時 新手友好度 68/100
codeatlasdev/ui#1198 ·
維護者通常 1 天內回覆
相似的 Issue
-
bug frontend
難度 2/5 1-3 小時 新手友好度 85/100
CivicTechWR/accessible-housing-portal#578 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 68/100
nekko-labs/nekko-agent#2998 ·
維護者通常 1 天內回覆
-
難度 1/5 1 小時以內 新手友好度 86/100
sandbox-quantum/switch#2163 ·
維護者通常 1 天內回覆
-
enhancement ux
難度 2/5 1-3 小時 新手友好度 72/100
lolimmlost/aidj#433 ·
維護者通常 1 天內回覆
-
test: ipcShownDialogKeys.test.tsx can fail the unit run with 'window is not defined' after it ends未關閉
難度 2/5 1-3 小時 新手友好度 72/100
維護者通常 1 天內回覆