Closed toomeyDev closed 3 years ago
Entry format task is approx. 50% complete, needs further refinement regarding simplified formats, implementation of format-choice handling within the program.
Basic functionality for custom timesheet names is working: intend to add a prompt asking if the user is sure they want to overwrite when writing to an existing file.
Commit: fe1b5a51696831caa0cebfc41c27571f3a227ed6
Added overwrite prompt, improved formatting of output (ie 60 seconds will now properly convert to 1 minute, same with minutes to hours) b9d27ec3db8c68fd0c86acaadb11ad4837ad0263
Added preferences.json file for user-configuration saving, will be necessary for functions relating to entry formats and saving to a dedicated 'timesheets' folder for customization and other user preferences. d008545cec3c934094d7cdc74c0fc55480a6ad36
Implemented option to save finished timesheets to an 'output' folder, can be turned on/off by changing the 'file_folder' preference to 'True' or 'False'. Commit: 94bc6973508030b892142dd4748c15ff78088d2f
Improved efficiency of preferences menu, removed redundant statements when checking for existing output folder after 'file_folder' is set to 'True' Commit: 139ff54e6172661eafadae9420bb9e2cdbd25f38
Finished implementation of user-preference options, added a new reset functionality which will return preferences to default values -> DEFAULT VALUES: [file_folder False, entry_confirmation True, auto_txt True] Commit: 3b4129ed4ede35a399cc0c9ab78ad50a15bbd29b
Screenshot of new preferences menu: Reset functionality:
Implemented the 'condensed' format for entry format functionality, prompts user to enter hrs, minutes, and seconds on a single line separated by spaces.
Commit: 7e1483f1a921256d42820a272d48cc843d35d27d
Custom formats (only minutes and hrs, only seconds, only minutes etc) will require separate functionality to work properly, outside the scope of this issue. Moving custom entry formats to a separate issue:
Issue: https://github.com/toomeyDev/SimpleTimeClock/issues/5
Simplified-prompt format implemented and working as-intended, all customization features successfully added.
Screenshot of new input_format menu:
Closing issue.
Implement basic user-experience preferences/customizations
Goals