Move previewer to introspectable library
還沒有人認領這個 Issue。
評估
- 難度
- 5/5
- 預估耗時
- 一週以上
- 新手友好度
- 30/100
- Issue 類型
- 重構
- 描述清晰度
- 需要釐清
- 活躍度
- 停滯
- 技術堆疊
- javascript
- 領域
- desktop
研究方向
首先閱讀 src/Previewer/Internal.js 和 src/Previewer/External.js,以比較現有的 inline 和 out-of-process previewer。當一個共用的、可自省的 previewer 函式庫能夠支援 Workbench inline、視窗化和 out-of-process context,而不必維護重複實作時,工作即完成。
由索引模型根據 Issue 內容生成。
描述
Right now we have 2 previewers:
one in JavaScript called Previewer/Internal.js for "inline preview" (preview directly in the Workbench window)
one in Vala called Previewer/External.js for "out of process" preview (preview in a separate process)
The idea here would be to rewrite the previewer as an introspectable library that can be used in different context such as workbench inline preview, windowed preview and out-of-process.
- Reduce maintenance effort by not having to implement things twice – see for example issues with "vala" tag https://github.com/sonnyp/Workbench/issues?q=is%3Aissue+is%3Aopen+label%3Avala
- Remove code duplication
- Cleaner architecture for async/out-of-process use cases
- Can be used in GNOME Builder
- Can be used easily to support more languages
- 主要語言
- JavaScript
- 星號
- 846
- 分支
- 91
- PR 合併指標
- 30 天內沒有已合併 PR
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 沒有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
workbenchdev/Workbench 的其他 Issue
-
難度 4/5 3-5 天 新手友好度 25/100
workbenchdev/Workbench#1028 · 11 則留言 ·
-
難度 3/5 1-2 天 新手友好度 35/100
workbenchdev/Workbench#1019 ·
-
難度 4/5 3-5 天 新手友好度 30/100
workbenchdev/Workbench#1014 ·
-
難度 4/5 3-5 天 新手友好度 35/100
workbenchdev/Workbench#1007 · 1 則留言 ·
-
How could I work with multiple user interfaces (e.g. multiple .ui files, or multiple blueprints)?未關閉
難度 5/5 一週以上 新手友好度 25/100
workbenchdev/Workbench#1006 · 1 則留言 · 1 個 reaction ·
查看 workbenchdev/Workbench 的全部 Issue
相似的 Issue
-
[BUG] Multi-day events show "Ended" while still in progress可能已有人在做 @tarunagnihotri534 今天認領。 未關閉bug
難度 2/5 1-3 小時 新手友好度 85/100
data-umbrella/du-event-board#231 · 2 則留言 ·
-
難度 1/5 1 小時以內 新手友好度 78/100
-
難度 2/5 1-3 小時 新手友好度 65/100
NaturalIntelligence/fast-xml-parser#888 · 1 則留言 ·
維護者通常 2 天內回覆
-
難度 1/5 1 小時以內 新手友好度 80/100
USACE/chart-docs#766 ·
-
bug callouts regression revealjs
難度 2/5 1-3 小時 新手友好度 72/100
quarto-dev/quarto-cli#15014 ·
維護者通常 1 天內回覆