processing / processing/p5.js-web-editor

mobileview: cant switch tab between `code` and `preview` tab

Open
#3,228 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Area: Mobile Enhancement Needs Design
Dominant language
JavaScript
Stars
1.7k
Forks
1.7k
Avg merge
3d 4h
Merged PRs (30d)
8

Description

Increasing Access

Currently, the p5.js web editor does not allow users to view or switch between the code and preview tabs while a project is running. This feature is essential for users to review and modify code while simultaneously observing the output.

While exploring examples on the p5.js website, I observed that on the desktop view, switching between code and preview tabs is possible, allowing for simultaneous code review and output observation. However, this functionality is not available on mobile devices, where switching tabs are disabled while the project is running. This limitation impairs the ability to debug and iterate on code when using mobile devices efficiently.

Problem

https://github.com/user-attachments/assets/8d0b466f-d59f-44e5-b93d-d8075db07e64

Feature enhancement details

Add a tab to view code tab when it is running, in mobile view.

PHOTO-2024-09-07-13-49-21

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

Reproduce the mobile p5.js web editor behavior while a project is running, then compare it with the desktop code and preview tabs. Trace the mobile tab navigation and determine how the running state disables switching. Done means mobile users can switch to the code tab while the project runs and continue viewing the preview as described in the issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend, mobile
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.