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

Export Notes as PDF #504

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Export Notes as PDF #504

wants to merge 3 commits into from

Conversation

ashrash
Copy link

@ashrash ashrash commented Apr 25, 2021

Feature request : #487
This PR adds the following:

  1. Functionality to download notes as PDF.
  2. Functionality to export all notes as zipped PDF.

Browser checklist

This PR has been tested in the following browsers:

  • Chrome
  • Firefox
  • Safari

Testing checklist

  • End-to-end tests have been created if necessary

@ashrash ashrash marked this pull request as ready for review April 25, 2021 08:10
@ashrash ashrash changed the title Pdf Export Notes as PDF Apr 25, 2021
@ashrash ashrash marked this pull request as draft April 25, 2021 08:55
@ashrash ashrash marked this pull request as ready for review April 25, 2021 08:55
@ashrash
Copy link
Author

ashrash commented Apr 28, 2021

@taniarascia Could you please review this PR ?

@Thomashighbaugh
Copy link

Um are the devs going to do the reviews they apparently need to get this merged, because this is a pretty useful feature and it seems to have passed all the checks.

@@ -118,12 +119,88 @@ function* syncSettings() {
} catch (error) {}
}

export const getNoteTitle = (text: string): string => {
Copy link
Owner

Choose a reason for hiding this comment

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

Instead of duplicating this code, it can be imported.

@taniarascia
Copy link
Owner

This is a great idea! However the app will only ever be deployed in "demo-mode", that is, client side only. This feature requires a Node app to be running. So either the button should be hidden in demo mode and is understood to only work on the self-hosted version, or it would have to work client-side only.

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.

3 participants