-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
…25397) * feat: move bulk print operation to the background Signed-off-by: Akhil Narang <me@akhilnarang.dev> (cherry picked from commit bf6cb1a) # Conflicts: # frappe/utils/print_format.py * fix: open PDF in new tab Signed-off-by: Akhil Narang <me@akhilnarang.dev> (cherry picked from commit 5d0db0c) * fix: update message Signed-off-by: Akhil Narang <me@akhilnarang.dev> (cherry picked from commit 9bf22b7) * fix: add back a limitation to number of the documents Don't allow printing more than 500 documents Signed-off-by: Akhil Narang <me@akhilnarang.dev> (cherry picked from commit 1caae03) * fix: let backend generate task ID Signed-off-by: Akhil Narang <me@akhilnarang.dev> (cherry picked from commit 5a6bff9) * fix: make filename more user-friendly Signed-off-by: Akhil Narang <me@akhilnarang.dev> (cherry picked from commit 508e4d9) * refactor(bulk_print): choose queue dynamically Update docstrings and type hints a bit Signed-off-by: Akhil Narang <me@akhilnarang.dev> (cherry picked from commit 5e37ac7) * refactor: add in a new endpoint for background printing Let the original one stay as-is for backward compatibility Signed-off-by: Akhil Narang <me@akhilnarang.dev> (cherry picked from commit 0ec3e4a) * fix: unsubscribe from task after completion Also update event name to be more logical Signed-off-by: Akhil Narang <me@akhilnarang.dev> (cherry picked from commit 6a5af14) * refactor: make download button a primary action, update text Signed-off-by: Akhil Narang <me@akhilnarang.dev> (cherry picked from commit 5f087ed) * chore: fix conflicts Signed-off-by: Akhil Narang <me@akhilnarang.dev> --------- Signed-off-by: Akhil Narang <me@akhilnarang.dev> Co-authored-by: Akhil Narang <me@akhilnarang.dev>
- Loading branch information
1 parent
f008eeb
commit 513487e
Showing
2 changed files
with
161 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters