Skip to content

Notation for the need of login to upload (image) files #3079

Open
@prodka

Description

@prodka

Increasing Access

This feature will allow people to navigate the use of image() and upload file feature easily. More documentation increases access.

Feature enhancement details

Recently, I was working on the p5 web editor without logging in. I was trying to play with image() and trying to upload an image from my computer. However, only after a while I realized I needed to login to have the option to upload.

Either within the web editor or the image() reference page, if there is an indicator that you need to login to use the upload file feature might be helpful.

Activity

welcome

welcome commented on Apr 12, 2024

@welcome

Welcome! 👋 Thanks for opening your first issue here! And to ensure the community is able to respond to your issue, be sure to follow the issue template if you haven't already.

Harshit-7373

Harshit-7373 commented on Mar 6, 2025

@Harshit-7373
Contributor

@raclim @prodka Could you provide me with a design of how it should look? This issue needs further discussion.

added
Good First IssueA beginner-friendly issue, great for first-time contributors
on May 13, 2025
yashodipmore

yashodipmore commented on May 13, 2025

@yashodipmore

Hi @raclim, @Harshit-7373 👋

I'd love to work on this issue. Could you please assign it to me?

💡 My Proposed Approach:
Add a visible message or tooltip in the UI near the image upload section that clearly states:
“You must be logged in to upload files.”

Update the image() function reference or upload modal with an alert or subtle badge (e.g., 🔒 Login required) to indicate the restriction upfront.

If needed, I’ll propose a minimal design (non-intrusive, accessible) using a simple div or span with conditional rendering based on user auth status.

I’ll make sure the messaging is accessible and fits within the current UI theme and layout.

Looking forward to contributing and improving accessibility for users! 😊

raclim

raclim commented on May 16, 2025

@raclim
Collaborator

@yashodipmore I think that sounds okay so far! If possible, it'd be great if you could provide a brief screenshot or wireframe visualizing what this could look like on the editor.

yugalkaushik

yugalkaushik commented on Jun 1, 2025

@yugalkaushik
Contributor

Anyone working on this issue:

Since the upload file button is hidden when the user is not logged in, it would be helpful to show a clear message elsewhere to inform users that login is needed to upload images.
This message could be placed beside the Login and Sign Up buttons until the user is logged in, saying something like:
"Login required to upload images."
This way, users see the reminder right where they can take action, making it clear why the upload option isn’t available yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    EnhancementImprovement to an existing featureGood First IssueA beginner-friendly issue, great for first-time contributorsNeeds DesignRequires design input before moving forward

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Participants

      @raclim@prodka@yashodipmore@yugalkaushik@Harshit-7373

      Issue actions

        Notation for the need of login to upload (image) files · Issue #3079 · processing/p5.js-web-editor