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

📝 Document upload functionality #498

Merged
merged 16 commits into from
Nov 6, 2024
Merged

Conversation

JMicheli
Copy link
Collaborator

@JMicheli JMicheli commented Nov 4, 2024

I figured we should begin drafting documentation for the upload feature so that when it eventually makes its way down the pipeline there will be something to guide users through enabling it and understanding how to configure and use it.

I'm marking this as a draft to ensure that it meets the style and content expectations for the project.

@JMicheli JMicheli requested a review from aaronleopold November 4, 2024 02:11
Copy link

codecov bot commented Nov 4, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Files with missing lines Coverage Δ
core/src/config/stump_config.rs 84.77% <ø> (ø)

Copy link
Collaborator

@aaronleopold aaronleopold left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I took a cursory look towards the end of my lunch today, I had a few comments but otherwise this looks great! Thanks a ton for getting the ball rolling here

Edit to add I refactored the docs a bit on the KoReader feature branch. We have time still, as I don't expect to merge that for another week-ish, but it would be good to get this in first so I can handle the conflicts there.

docs/pages/guides/upload.mdx Outdated Show resolved Hide resolved
docs/pages/guides/upload.mdx Outdated Show resolved Hide resolved
docs/pages/guides/upload.mdx Outdated Show resolved Hide resolved
Comment on lines 32 to 44
## How it works

This feature allows users to upload books or an entire collection of files and directories via series upload.

After an upload finishes, a library scan will automatically be started to add the newly uploaded books.

### Uploading books

Users can upload one or more book files (e.g., `.cbz`, `.cbr`, `.epub`, and `.pdf` files) to a specific library directory.

### Uploading Series

Users can upload a `.zip` file containing multiple books in an arbitrary directory structure. The archive will be extracted to the location specified when uploading.
Copy link
Collaborator

@aaronleopold aaronleopold Nov 5, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it would be nice to use the stepped instruction pattern from a few other places, like the scanner docs. I think your title is much better though (i.e. not making the heading a question)

Copy link
Collaborator Author

@JMicheli JMicheli Nov 6, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Check out what I added. I'm pretty into the InlineIcon component I made (although if there was a pre-existing solution I missed let me know).

I added some steps, although in a slightly different way. Rather than walking through the steps that happen when an upload is done, I walked through the steps a user should take to make an upload happen. I thought that would be a good way to explain each of the upload request fields and what they do from a user's perspective.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rather than walking through the steps that happen when an upload is done, I walked through the steps a user should take to make an upload happen

Nice, I think that’s perfect! I’ll also be able to take a look at the component you mentioned tomorrow

docs/pages/guides/upload.mdx Outdated Show resolved Hide resolved
JMicheli and others added 5 commits November 5, 2024 15:55
Co-authored-by: Aaron Leopold <36278431+aaronleopold@users.noreply.github.com>
Co-authored-by: Aaron Leopold <36278431+aaronleopold@users.noreply.github.com>
Co-authored-by: Aaron Leopold <36278431+aaronleopold@users.noreply.github.com>
@JMicheli JMicheli marked this pull request as ready for review November 6, 2024 06:20
Copy link
Collaborator

@aaronleopold aaronleopold left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thanks again ❤️

docs/pages/guides/upload.mdx Outdated Show resolved Hide resolved
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

@JMicheli JMicheli merged commit 52af5fb into experimental Nov 6, 2024
8 checks passed
@JMicheli JMicheli deleted the jm/document-upload branch November 6, 2024 15:00
@aaronleopold aaronleopold mentioned this pull request Dec 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants