Skip to content

Conversation

@NicolasLafitteMM
Copy link
Collaborator

No description provided.

NicolasLafitteMM and others added 2 commits June 27, 2025 22:46
Remove redundant Critical/Normal button selection after impact selection:
- Remove button generation in _build_response_type_blocks() while preserving summary display
- Remove action handlers for incident_open_set_res_type_critical/normal
- Add automatic response type calculation based on priority (P1-P3=critical, P4-P5=normal)
- Handle "no impact selected" case by returning None values instead of priority 6
- Add type checking and conversion for impact descriptions to handle string IDs
- Add test environment support to skip usergroup invitations when TEST_MODE=true

This reduces the incident creation workflow from 4 steps to 3 steps by eliminating
the manual selection that duplicated the automatic priority calculation.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
- Add modern type annotations across models and views
- Update Django migrations with improved type hints
- Enhance test coverage for Slack modals and API endpoints
- Fix linting issues and improve code style consistency
- Update admin interfaces with better type safety
- Improve error handling in Confluence and RAID integrations
- Add proper typing to Celery settings and SSO configuration
- Enhance PagerDuty models with modern Django patterns

These changes improve code maintainability and leverage Django 4.2+ features
while maintaining backwards compatibility and following modern Python practices.
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.

2 participants