Bug 450043

Summary: feature request: save template
Product: [Applications] tellico Reporter: Jessica <jess.jones.unitedkingdom>
Component: generalAssignee: Robby Stephenson <robby>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed In: 3.5

Description Jessica 2022-02-11 21:26:32 UTC
I would like to request a feature.
In "configure tellico" -> templates: 

* after changing an existing template: a save button to save the changed template
* a new button for making a new template

SOFTWARE/OS VERSIONS
Windows 10
Git version
Comment 1 Jessica 2022-02-11 21:57:03 UTC
In addition there could also be added a button "open template" to edit an existing template, which was saved in the past (by using the "save template" button)

By adding those 3 buttons, users can easily make their own templates by creating "new template", "open template" or "save template" for a template.
Comment 2 Robby Stephenson 2022-02-17 02:41:51 UTC
(In reply to Jessica from comment #0)
> I would like to request a feature.
> In "configure tellico" -> templates: 
> 
> * after changing an existing template: a save button to save the changed
> template
> * a new button for making a new template

Are you referring to the collection fields in a new collection?
Comment 3 Bug Janitor Service 2022-03-04 04:35:47 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Bug Janitor Service 2022-03-19 04:35:09 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!
Comment 5 Robby Stephenson 2022-05-10 01:06:05 UTC
Git commit a40117edc0ed6af83d96b11f4c5232dc45bde5a8 by Robby Stephenson.
Committed on 10/05/2022 at 01:04.
Pushed by rstephenson into branch 'master'.

Add feature to save collection template

Empty collection is saved as a template in $CONFIG/collection-templates.
Unit test for verifying validity of saved collection. Yet to do is to
add feature to remove saved templates.
FIXED-IN: 3.5

M  +4    -0    ChangeLog
M  +17   -0    src/document.cpp
M  +1    -0    src/document.h
M  +7    -0    src/gui/CMakeLists.txt
C  +42   -11   src/gui/collectiontemplatedialog.cpp [from: src/tests/documenttest.h - 054% similarity]
C  +23   -9    src/gui/collectiontemplatedialog.h [from: src/tests/documenttest.h - 074% similarity]
A  +141  -0    src/gui/collectiontemplatedialog.ui
M  +92   -0    src/mainwindow.cpp
M  +2    -0    src/mainwindow.h
M  +5    -2    src/tellicoui.rc
M  +39   -1    src/tests/documenttest.cpp
M  +2    -1    src/tests/documenttest.h

https://invent.kde.org/office/tellico/commit/a40117edc0ed6af83d96b11f4c5232dc45bde5a8