Skip to content
This repository was archived by the owner on Sep 3, 2025. It is now read-only.

Conversation

@mvilanova
Copy link
Contributor

@mvilanova mvilanova commented Oct 29, 2024

These changes introduce the ability to automatically close cases based on case type configuration, enhancing the flexibility of the case management system.

New Feature: Auto-Close for Cases

  • Added auto_close boolean field to CaseType model
  • Implemented case_auto_close_flow function to handle automatic case closure
  • Updated case_new_create_flow to check for auto-close condition

Database Changes

  • Added auto_close column to case_type table (Alembic migration)

UI Updates

Case Type Management

  • Added "Auto Close" checkbox in the NewEditSheet component
  • Updated Table component to display "Auto Close" status
  • Modified store.js to include auto_close in the default selected state

Minor UI Adjustments

  • Reordered checkboxes in NewEditSheet component
  • Updated column order in Case Type Table

Code Refactoring

  • Moved CaseStatus import from models to enums
  • Added import for CaseResolutionReason

Other Changes

  • Updated imports and formatting in various files
  • Minor code style improvements
Screenshot 2024-10-29 at 3 08 05 PM Screenshot 2024-10-29 at 3 05 04 PM Screenshot 2024-10-29 at 3 19 06 PM

@mvilanova mvilanova added the enhancement New feature or request label Oct 29, 2024
Copy link
Contributor

@snkilmartin snkilmartin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎉

@mvilanova mvilanova merged commit bdb63ab into master Oct 29, 2024
8 checks passed
@mvilanova mvilanova deleted the enhancement/case-auto-close branch October 29, 2024 23:03
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants