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

[Feature Request] Rotate Document in Edit View on Mac app #232

Open
bandundu opened this issue Jan 10, 2025 · 1 comment
Open

[Feature Request] Rotate Document in Edit View on Mac app #232

bandundu opened this issue Jan 10, 2025 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@bandundu
Copy link

Is your feature request related to a problem? Please describe.
Currently, when editing documents in Paperparrot, there's no functionality to rotate a document directly within the edit document view. This can be frustrating when uploaded documents have incorrect orientations, making them difficult to read or work with.

Describe the solution you'd like
I would like a feature in the edit document view that allows users to rotate documents by 90, 180, or 270 degrees. Since Paperless already exposes an endpoint for rotating documents (/api/documents/<id>/rotate/), this could be seamlessly integrated into the UI.

Describe alternatives you've considered
The alternative is doing this on paperless-ngx web which obviously is not the reason why I am using this great app ;)

Additional context
The Paperless API supports rotation via the rotate endpoint, which accepts a degrees parameter. Leveraging this existing API capability within the UI would enhance usability and streamline document editing.
Here is the relevant API detail:
POST /api/documents/<id>/rotate/
Parameters: { "degrees": 90 | 180 | 270 }

@bandundu bandundu added the enhancement New feature or request label Jan 10, 2025
@bandundu bandundu changed the title # [Feature Request] Rotate Document in Edit View on Mac app [Feature Request] Rotate Document in Edit View on Mac app Jan 10, 2025
@LeoKlaus
Copy link
Owner

Hi Charles,

great suggestion! Paperparrot already allows you to rotate documents before uploading them, but adding a button to rotate them afterwards shouldn't be an issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants