Add a launcher start method and event to access the Window object
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 65/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Quiet
- Tech stack
- typescript
- Domain
- frontend
Research direction
Start at the launcher startup path shown in the issue, where window.open creates the launcher and editor.call("launcher:start", launcher) is triggered. Trace how launcher methods and events are exposed, then add the requested start method and event so the opened Window object is accessible through the clearer API. Done means the API is available when the launcher starts.
Written by the indexing model from the issue text.
Description
A new method and event should be added when the launcher starts so that the Window object can be accessed. At the moment, editor.call("launcher:start", launcher) is triggered here, but a clearer and more convenient API is needed to work with the opened window.
const features = popup ? 'popup' : undefined;
const launcher = window.open('', '_blank', features);
if (launcher) {
launcher.opener = null;
launcher.location = url;
editor.call("launcher:start", launcher); // Fire event
}
- Dominant language
- TypeScript
- Stars
- 1.3k
- Forks
- 215
- Avg merge
- 1d 29m
- Merged PRs (30d)
- 30
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from playcanvas/editor
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
playcanvas/editor#2245 ·
-
area: viewport enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
playcanvas/editor#2223 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 72/100
playcanvas/editor#2254 ·
-
playcanvas/editor#2253 · 1 assignee ·
-
Difficulty 3/5 1-2 days Newbie friendliness 38/100
playcanvas/editor#2243 ·
All issues in playcanvas/editor
Similar issues
-
calcite-components needs triage refactor
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Esri/calcite-design-system#15203 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 91/100
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
Difficulty 1/5 Under an hour Newbie friendliness 95/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Automattic/studio#4908 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 90/100