Skip to content

Vibe issues#237

Merged
clstaudt merged 5 commits intomainfrom
vibe-issues
Feb 28, 2026
Merged

Vibe issues#237
clstaudt merged 5 commits intomainfrom
vibe-issues

Conversation

@clstaudt
Copy link
Contributor

No description provided.

…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.
@clstaudt clstaudt merged commit acb767e into main Feb 28, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant