workbenchdev / workbenchdev/Workbench

Move previewer to introspectable library

Open
#153 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
844
Forks
91
Avg merge
7h 12m
Merged PRs (30d)
1

Description

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.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading src/Previewer/Internal.js and src/Previewer/External.js to compare the existing inline and out-of-process previewers. The work is complete when a shared introspectable previewer library can support Workbench inline, windowed, and out-of-process contexts without maintaining duplicated implementations.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
desktop
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.