Skip to content

Conversation

@MikaKerman
Copy link
Contributor

@MikaKerman MikaKerman commented Feb 9, 2025

…ication

  • Added _get_alert_color() method to centralize color retrieval for alerts
  • Simplified _get_alert_groups_blocks() method by removing redundant type checking
  • Updated build() method to use new _get_alert_color() method
  • Narrowed type hints for alert groups processing
  • Removed unnecessary type branching in alert groups handling

…ication

- Added `_get_alert_color()` method to centralize color retrieval for alerts
- Simplified `_get_alert_groups_blocks()` method by removing redundant type checking
- Updated `build()` method to use new `_get_alert_color()` method
- Narrowed type hints for alert groups processing
- Removed unnecessary type branching in alert groups handling
@linear
Copy link

linear bot commented Feb 9, 2025

@github-actions
Copy link
Contributor

github-actions bot commented Feb 9, 2025

👋 @MikaKerman
Thank you for raising your pull request.
Please make sure to add tests and document all user-facing changes.
You can do this by editing the docs files in this pull request.

@MikaKerman MikaKerman merged commit a04697a into master Feb 9, 2025
5 checks passed
@MikaKerman MikaKerman deleted the ele-4028-messaging-integ branch February 9, 2025 11:54
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.

3 participants