Add support for default entry layouts
Summary
Following the conversation in #863, this feature focuses on adding a set of default entry templates that are shared amongst the various KeePass compatible applications. Original conversation start: https://github.com/keepassxreboot/keepassxc/issues/863#issuecomment-1161421170
The 'system' for this approach is documentation over code since it will be implemented by multiple parties. Need to clearly document:
- The default templates and their ids
- What data types and key names each template requires
- some form of input validation (try not to be too strict)
Then we can move to allow a 'custom' template spec like I wrote above, if necessary.
Some good default templates that would get us 99% there:
- Secure note (title and notes only)
- Credit Card (title, CC numbers, expiration)
- Entry with email (add an email field to the entry)
- identification (Title, name, person data fields, address, etc)
Example: https://github.com/Kunzisoft/KeePassDX/wiki/Templates
The final table defining this feature is found below: https://github.com/keepassxreboot/keepassxc/issues/8228#issuecomment-1211902266
Source: keepassxreboot/keepassxc