Skip to content

bug: On smaller devices(tablets, mobiles), there isn't any way to change the visibility(public/private) of a sketch. #3691

@Himanshu-9977

Description

@Himanshu-9977

p5.js version

1.11.10

What is your operating system?

None

Web browser and version

Brave : 1.83.118 Chromium: 141.0.7390.108 (Official Build) (64-bit)

Actual Behavior

The /sketches page is not responsive.
On smaller devices like mobile phones, tablets, iPads, the visibility of the sketch can't be changed since the option is hidden from the main list, and isn't included in the menu.
So, the user is not able to switch the visibility between public and private.

In larger screens :
Image

In smaller screens:

Image

Expected Behavior

The The /sketches page should be responsive to all devices.
On smaller devices like mobile phones, tablets, iPads, the context-menu should include an option to change the visibility(private/public), so that user can easily switch between private and public sketch.

Steps to reproduce

Steps:

  1. Go to the p5.js web editor(default page, i.e. https://editor.p5js.org/<your_username>/sketches).
  2. Observe the sketches list, you'll find an option to change visibility on larger screens.
  3. Switch to smaller screens, or open the same page in smaller devices, you won't find any such option.

Metadata

Metadata

Labels

Area: MobileFor issues affecting mobile or responsive behaviorBugError or unexpected behaviors

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions