processing / processing/p5.js-web-editor
Drag-and-drop file upload UI
Nobody has claimed this yet.
- 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:
- User drags a file anywhere on the editor
- Dragging triggers file/file type detection, handling, and UI
- On file drop, file gets added to project folder
Design
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
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.
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