Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Copy Files List Button #821

Open
curran opened this issue Aug 2, 2024 · 3 comments
Open

Copy Files List Button #821

curran opened this issue Aug 2, 2024 · 3 comments
Assignees
Labels
good first issue Good for newcomers usability improvement Incremental usability improvement

Comments

@curran
Copy link
Contributor

curran commented Aug 2, 2024

I sometimes want to copy a list of file names.

image

This section used to say "files" somewhere. that would be nice to bring back, then we could put a little "copy" button next to it, which when clicked would copy a list of file names.

For example:

fetchAndParseData.js
index.js
package.json
README.md
useData.js

image

Context: I'm working on the textbook images and I need to list out the files to generate screenshots of syntax-highlighted code for, using syntax highlighting for print

@curran
Copy link
Contributor Author

curran commented Aug 2, 2024

Previous designs for reference

image

I remember now - we moved the buttons to the side! In so doing we must have lost the "Project Files" text.

@curran
Copy link
Contributor Author

curran commented Aug 2, 2024

Similar to this "copy files" button we could have maybe.

image

from https://ui.shadcn.com/charts

@curran curran moved this to Up Next in VZCode Kanban Sep 10, 2024
@curran curran added good first issue Good for newcomers usability improvement Incremental usability improvement labels Sep 21, 2024
@curran curran moved this from Up Next to RCOS Fall 2024 in VZCode Kanban Sep 21, 2024
@thebigsteppa thebigsteppa self-assigned this Sep 27, 2024
@curran curran moved this from RCOS Fall 2024 to In Progress in VZCode Kanban Sep 27, 2024
@curran
Copy link
Contributor Author

curran commented Oct 2, 2024

@alizavirji @thebigsteppa Here's how we can start on this:

Here's a new mockup I made of where the new thing should go.

image

The idea is:

  • For the first version, let's just make it text (no button, nothing too fancy)
  • The file to edit to make that show up is src/client/VZSidebar/index.tsx
  • You can add the text towards the bottom of that file, near line 416

image

Please start by just adding some text there, open a draft pull request with that change, and we can take it from there. Good luck!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers usability improvement Incremental usability improvement
Projects
Status: In Progress
Development

No branches or pull requests

3 participants