wordplaydev / wordplay

An accessible, language-inclusive programming language and IDE for creating interactive typography on the web.
Other
63 stars 44 forks source link

Visual clipboard #10

Open amyjko opened 1 year ago

amyjko commented 1 year ago

What are you trying to do that you can't?

Create a place for drag and drop, cut, and copy to place code so that there's a place to temporarily store code.

What is your idea?

See below for design ideas.

kelliannr commented 1 year ago

KelliAnn Ramirez - kelliannr

meganht commented 1 year ago

Megan Tran (meganht)

amyjko commented 11 months ago

Hi @kelliannr and @meganht,

It's the end of the quarter, so please post an update on this issue. Things to consider:

If there's nothing to change above, then at least post a comment indicating that you've seen this. Thanks!

kelliannr commented 11 months ago

Hello, me and Megan are still planning on working on it. I'll copy paste our document with our design outlined when I get home. Additionally, we have a Figma file that we've been working on, so I'll also post the link to it here.

amyjko commented 11 months ago

Thanks for the update!

kelliannr commented 10 months ago

Link to edit: https://www.figma.com/file/Xv2enfCljOL4QZNLu2BycH/Wordplay%3A-Visual-Clipboard?type=design&node-id=0%3A1&mode=design&t=3izdfIAfTbLUaJOw-1

Link to prototype: https://www.figma.com/proto/Xv2enfCljOL4QZNLu2BycH/Wordplay%3A-Visual-Clipboard?page-id=0%3A1&type=design&node-id=236-236&viewport=-614%2C-1265%2C0.25&t=btRW3SXUGCi1ofdP-1&scaling=min-zoom&starting-point-node-id=236%3A236&show-proto-sidebar=1&mode=design

Problem When developing code, it’s easy for workspaces to be cluttered due to trial and error of programming. Commenting code can also make the actual code cluttered and hard to read. Eventually, you may end up with a bunch of unlabeled, commented code and you can’t tell what is the actual code that works and what is dud. Plus, once you have code that works, you probably have a lot of code cleaning up to do, which isn’t fun.

Solution The visual clipboard provides a platform detached from the program itself to store and preserve certain sequences of code. This lets users be able to save code that, while not necessarily fitting into the program yet, they can reference at a later time when needed.

Screenshot 2023-12-23 at 11 25 32 AM

This would be found on the right side of the screen when the user wishes to use the clipboard feature. Having it on the right side will enforce that the user’s action is more deliberate when having their mouse over there (compared to it being on the left side with the rest of the commands)

Screenshot 2023-12-23 at 11 26 07 AM

Visual Clipboard Features Adding code All code blocks will be defaulted to the most recent ones being at the top of the list. There are two ways for the user to save code in the clipboard.

1. Click and Drag code

2. Manually Add code

Saved Section Stores all code that the user inputs. This would be manually sorted by first “Pinned” codes, then it will sort by the most recently added

Code Blocks

Options (Gear icon) The following are options the user has for each code block in the “Saved” section:

Screenshot 2023-12-23 at 11 31 06 AM

“Clear All” Button Removes all code in the “Saved” Section”

Screenshot 2023-12-23 at 11 32 12 AM

A pop up window will open, asking the user is sure they want to clear everything

Screenshot 2023-12-23 at 11 32 32 AM
amyjko commented 10 months ago

Thanks @kelliannr! This is a good initial exploration. It seems like the concept you went with was more of a snippet library than a clipboard. A clipboard interacts with the copy and paste commands, storing a single snippet, whereas this design is more of a library of snippets. That's an interesting direction to explore.

I have few points of feedback, to help us iterate.

I look forward to the next iteration!

amyjko commented 8 months ago

It's the end of Winter! Please provide an update on this issue, including:

If you do plan to continue work on it, carry on. Otherwise, thank you for your contributions!

amyjko commented 7 months ago

No reply :( Unassigning @meganht.

SathvikCookie commented 1 week ago

Hey @amyjko, I'd like to work on this issue, can I be assigned?

amyjko commented 1 week ago

Sure. Looks like the last folks that worked on this didn't finish their design, so pick up from there they stopped?