mirror of
https://github.com/BoostIO/BoostNote-App.git
synced 2026-04-27 05:15:56 +03:00
[PR #1225] [CLOSED] Add paid export API (PDF/HTML) #1212
Labels
No labels
android 🤖
assigned to core 🦹
bug 🐛
documentation 📚
documentation 📚
duplicate 🚫
external issue 🔼
external issue 🔼
feature request 🌟
funded on issuehunt 💵
help wanted 🆘
improvement request 🔨
improvement request 🔨
ios 🍎
mobile 📱
needs investigation 🔬
needs more info ℹ️
needs specs 📐
plugin idea 🔌
plugin idea 🔌
poll 🗳️
pull-request
question ❓
rewarded on issuehunt 🎁
security issue 🔑
won’t fix ❌
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/BoostNote-App#1212
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/BoostIO/BoostNote-App/pull/1225
Author: @Komediruzecki
Created: 9/23/2021
Status: ❌ Closed
Base:
master← Head:feature/add-paid-pdf-api-export📝 Commits (3)
ff78c4eAdd premium PDF/HTML export846dfb1Fix lint error1c66271Update PDF export UI📊 Changes
3 files changed (+135 additions, -238 deletions)
View changed files
➕
src/cloud/api/teams/docs/exports.ts(+21 -0)📝
src/cloud/components/DocPage/DocContextMenuActions.tsx(+113 -46)📝
src/cloud/lib/export.ts(+1 -192)📄 Description
Add handling of paid vs free users for export
Add API calls for PDF/HTML
Change Doc Context menu to call API on export
Fix title not being encoded
Add JSON optional API (for client calls)
Remove export procedures from cloud code
Tested:
Free user (cannot export HTML/PDF)
Pro/Standard user (can export HTML/PDF)
Video showcase of new UI changes:
https://user-images.githubusercontent.com/18196945/134771820-3a2f16b2-5c2a-4db5-94d8-a864e98a24df.mp4
Implements: https://github.com/Boostnote/BoostHub/issues/1345
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.