| Commit message (Collapse) | Author | Age |
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
| |
+ set default values for config fields
+ merge fields named in the config file with default values
+ values from file take precedence over default values
+ to accomplish this, all config values are wrapped in `Option<T>`
|
| | |
|
| |
|
|
|
|
| |
+ implement config field `pdf_opener` for setting app to open PDFs/Epubs
+ implement config field `url_opener` for setting app to open URLs/DOIs
+ function to select fallback if no field is provided in config
|
| | |
|
| |
|
|
|
|
| |
+ If config file **and** CLI args have different files/dirs, concat them and open all
+ Adapt UI to show which files are choosen
+ TODO: Flag for ignoring config file
|
| |
|
|
|
| |
+ Hitting now sorts the entries by position in file or position of files
+ Can be helpful to detect entries newly added via DOI which are appended to EOF
|
| | |
|
| | |
|
| |
|
|
|
|
|
| |
+ split some functions to fit with different popups
+ select if append to file (and to which) or create new file
+ error handling if resolving doi ist not possible
+ error handling for wront doi patterns
|
| | |
|
| | |
|
| |
|
|
|
|
|
| |
- Modify the `handle_new_entry_submission` method to accept additional arguments.
- Add error handling for failed inserts when appending to the file.
- Introduce a new method `append_to_file` to handle file appending logic.
- Update file handling to ensure new entries are correctly written to the specified file.
|
| |
|
|
|
|
|
|
|
|
| |
- Add `.devbox` to the `.gitignore` file
- Create a new backup file `devbox.json.back` with package and shell initialization configurations
- Introduce a new method `add_entry` in the Bibiman struct to manage adding entries
- Implement functionality to handle new entry submissions using `doi2bib`
- Update command actions to include `AddEntry`
- Add `AddEntry` as a new popup type in the TUI for creating entries
- Enhance the UI rendering to support the new entry popup with input fields and cursor positioning
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
|
| |
- Map keys to actions to commands
- allows for easily adding config file support
- restructure folders/files
- implement own input mode
- rewrite UI rendering to make it better editable
|
| | |
|
| | |
|
| |
|