Skip to content

[feat] Add Event Detail Components #40

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 11 commits into from
Dec 13, 2024
Merged

[feat] Add Event Detail Components #40

merged 11 commits into from
Dec 13, 2024

Conversation

Aloento
Copy link
Member

@Aloento Aloento commented Dec 12, 2024

Summary of the Pull Request

This pull request introduces multiple enhancements and additions to the event management system, improving functionality, flexibility, and documentation for several components and features.

New Features

  1. EventCard Component
    • Displays event details and current status.
  2. EventAffected Component
    • Displays affected services and their regions.
  3. EventEditor Component
    • Enables editing of event details with a refactored EventStatus enum.
  4. useEditForm Hook
    • Manages state and validation for event editing.
  5. EventLog Component
    • Displays the event's history with timestamps.

Enhancements

  1. Update Function in StatusContext
    • Allows an optional data parameter for increased flexibility.

Documentation Updates

  1. EventCard Component
    • Clarifies event data handling and component flexibility.
  2. EventAffected Component
    • Details functionality for displaying affected regions and services.
  3. EventEditor Component
    • Enhanced with comprehensive documentation for editing capabilities.
  4. useEditForm Hook
    • Improved clarity on state management and validation.
  5. EventLog Component
    • Added documentation detailing props and usage.

@Aloento Aloento self-assigned this Dec 12, 2024
@Aloento Aloento changed the title [feat] Add Event Management Components [feat] Add Event Detail Components Dec 12, 2024
@Aloento Aloento added the gate Merge PR label Dec 13, 2024
@otc-zuul otc-zuul bot merged commit 3817ace into main Dec 13, 2024
9 checks passed
@otc-zuul otc-zuul bot deleted the feat_event branch December 13, 2024 12:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
gate Merge PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants