WebClient: Single `miden-web-app`, multiple use cases
- 主要语言
- Rust
- 星标
- 18
- 派生
- 34
- PR 合并指标
- 30 天内没有已合并 PR
描述
Currently, each tutorial mandates the user creates a new app (always called `miden-web-app`). This is annoying.
We should either:
1. Amend the instructions to create a different app name, or
2. Use a single app, with setup instructions part of #106. Then, add separate functions to invoke the different tutorial phases:
1. This could be done by adding more UI components (buttons) to trigger the different functions, or
2. Always keep one button, but replace the contents of `app/page.tsx`.
2.i. is a little more complex (e.g. we need to handle cases where tutorial `i-1` was skipped and the user jumped straight to `i`), so I suggest 2.ii should be done.
cc @partylikeits1983 @Dominik1999
贡献指南
调研方向
该 issue 涉及教程仓库中的 miden-web-app。首先检查现有的应用结构,可能在 `app/page.tsx` 和相关的教程设置文件中。了解当前如何触发不同的教程阶段。目标是修改应用以支持从单个实例运行多个教程,可能通过动态更新页面内容来实现。查看 issue #106 以获取相关的设置说明。“完成”意味着用户可以从一个 Web 应用运行所有教程,而无需每次都创建新的应用。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- nextjs, react, typescript
- 领域
- developer-experience, documentation, frontend
- Issue 类型
- 功能
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 冷清
- 描述清晰度
- 基本清楚
- 新手友好度
- 65/100