processing / processing/p5.js-web-editor

Drag-and-drop file upload UI

Open
#375 10 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Based on #92 and #271, @machinic designed a new UI for file uploads! @machinic, @catarak, @lmccart: I'm guessing this is the flow based on what I saw in Zeplin, but please correct me if I'm wrong about any of this.

Code

It seems like the preferred interaction is:

  1. User drags a file anywhere on the editor
  2. Dragging triggers file/file type detection, handling, and UI
  3. On file drop, file gets added to project folder

Design

screen shot 2017-06-27 at 10 54 11 am

The styling below is approximate and uses general variable names, units, font weights, and measurements, but the ultimate goal is to replicate the above design. Final styling should be in em units instead of px, color variables and font weights should use the existing SCSS names, etc.

Window styling

 {
  box-shadow: inset -4px -4px 4px 0 rgba(0, 0, 0, 0.5);
  border: solid 4px var(--bluish);
}

Dialog box styling

Background
{
  width: 271px;
  height: 240px;
  border-radius: 2px;
  background-color: var(--white-three);
  box-shadow: 0 12px 12px 0 rgba(0, 0, 0, 0.16);
  border: solid 0.5px #b9d0e1;
}
Header
 {
  font-family: Montserrat;
  font-size: 21px;
  font-weight: bold;
  text-align: left;
  color: rgba(51, 51, 51, 0.87);
}
Body
{
  font-family: Montserrat;
  font-size: 16px;
  line-height: 1.25;
  text-align: left;
  color: var(--black);
}

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 reviewing issues #92 and #271 and the referenced Zeplin design, then inspect the editor's existing upload flow. Done means supporting the described drag-and-drop detection and project-folder addition while matching the supplied UI using existing SCSS variables and em units.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, scss
Domain
design, frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.