Merged
Conversation
…guration - Introduced a new test file for integration tests that verify application startup, including module import checks, database schema creation, and process stability. - Updated pytest configuration in pyproject.toml to include a marker for GUI tests and set default options to exclude them from the test run.
- Introduced a new row of date presets for quick selection of date ranges: "This Month", "Last Month", and "2 Months Ago". - Implemented a handler method to set the date range based on the selected preset, enhancing user experience in date selection.
…nd projects - Implemented `get_sortable_fields` method in `ClientsListView`, `ContactsListView`, `ContractsListView`, and `ProjectsListView` to allow sorting by relevant fields such as name, last name, title, and dates. - Enhanced the `CrudListView` class to support sorting functionality, including dropdown selection and sorting direction toggle. - Improved the refresh logic to sort entities based on the selected field and direction, enhancing user experience in managing lists.
- Added `ondelete` constraints to various foreign key fields in the `Contact`, `Client`, `Contract`, `Project`, `Timesheet`, and `Invoice` models to enforce referential integrity. - Implemented `deletion_guards` in `ClientsIntent`, `ContactsIntent`, `ContractsIntent`, and `ProjectsIntent` to prevent deletion of entities that are still referenced by related records, providing user-friendly error messages. - Updated the `delete` method in `CrudIntent` to check for related records before deletion, ensuring that integrity constraints are respected and raising appropriate exceptions when necessary. - Added tests to verify that entities cannot be deleted if they are referenced by others, ensuring robust data integrity in the application.
- Simplified the display of contract and project data in `ViewContractScreen` and `ViewProjectScreen` by introducing a new method for building field rows, enhancing code readability and maintainability. - Removed redundant control initializations and streamlined the visibility logic for various fields. - Updated the invoicing process to support manual quantity entry, allowing users to create invoices directly from specified quantities without relying solely on time-tracking data. - Enhanced the `InvoicingEditorPopUp` to include a mode toggle for selecting between time tracking and manual entry, improving user experience in invoice creation.
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.