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 摘要。