Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Suggestion/feedback: better visibility for opening/saving project

未关闭
#1,007 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
35/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
停滞
技术栈
javascript
领域
desktop

调研方向

从 Welcome screen、主菜单以及 issue 中描述的现有项目保存对话框开始。跟踪项目的打开方式以及如何进入保存对话框,然后添加可见的 Save 和 Open 入口,并实现所要求的 Ctrl+S 行为;完成标准是:无需先选择演示项目,即可从 Welcome screen 打开已保存的项目。

由索引模型根据 Issue 内容生成。

描述

After using Workbench for small quick tests and demos, I decided to test and prototype a more complex project to explore the GNOME APIs (it's great tool, thanks for making this, I'm really glad this software exists!).

Since I didn't see a way to save the project (first I tried to hit Ctrl+S, but I also noticed there's no option in the main menu[^1]), I ended up keeping Workbench running, never turning my computer off. I also kept copying and pasting the source code of the different files into a separate text editor out of caution, to make sure I wouldn't loose anything.

[^1]: Also I thought the "Open project..." menu item would take me back to the Demos list in the welcome screen.

After saving a backup once again I felt confident enough to close the program, and to my surprise I saw a dialog offering to save the project!

I was glad this functionality exists, but I wish it didn't hide itself like that! Since there's no save shortcut (a standard HIG convention), and no "Save project" item in the main menu, I thought there was no such feature, and avoided closing the app altogether, fearing I'd loose my prototype.

After opening Workbench again, another surprise: there was no way to open a saved project. Only after choosing one of the demo projects I got a way to select the "Open project..." menu item.

So, to summarize, two suggestions:

  • Include "Save project" as an item in the main menu, following HIG's Ctrl+S keybindings.
  • Include an "Open" button in the Header bar of the Welcome screen, allowing to open a saved project without having to open a random demo project first.

Appendix 1: Save dialog mock

I made a mock showing the save dialog. It's really just the existing one minus the "Discard" button + unsaved messaging:

Mock of save project dialog

Appendix 2: Open button in Welcome screen

Following the HIG suggestion of avoiding text-only buttons in header bars, I included a document-open-symbolic icon.

Mock for Welcome screen
主要语言
JavaScript
星标
846
派生
91
PR 合并指标
30 天内没有已合并 PR

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

workbenchdev/Workbench 的其他 Issue

查看 workbenchdev/Workbench 的全部 Issue

相似的 Issue

更多 JavaScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。