-
Notifications
You must be signed in to change notification settings - Fork 0
[feat] Event Patching, Improve authentication, and status handling #65
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
Conversation
Removes unused authentication parameters for cleaner logic Updates PostCSS configuration to use the correct Tailwind plugin name Improves code readability and maintainability
Adds utility functions to determine open event statuses Refactors event filtering logic to enhance readability and maintainability
Adds support for start and end date inputs using dayjs for better date formatting. Disables date fields based on event type and status, ensuring a more intuitive user experience. Includes loading state for the submit button to prevent multiple submissions. Relates to user feedback on event management.
Implements improved date validation for event start and end times. Replaces status update mechanism with a more robust API call. Enhances user experience by integrating loading state during submission.
Adds a check to skip empty RegionServices for better logging Refines status assignment logic for 'Changed' and 'ImpactChanged' statuses Updates history ID assignment to use the update ID instead of a counter
Eliminates SD_REDIRECT_URL, SD_LOGOUT_REDIRECT_URL, and SD_AUTH_SECRET from workflow files and Dockerfile to streamline the build process. Improves security by reducing the exposure of unnecessary secrets.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good
@@ -54,6 +54,3 @@ jobs: | |||
SD_BACKEND_URL=${{ secrets.SD_BACKEND_URL }} | |||
SD_CLIENT_ID=${{ secrets.SD_CLIENT_ID }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it still relevant? Could you please double check env variables with examples.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it is relevant, any problem?
SD_BACKEND_URL="https://localhost:8080"
SD_CLIENT_ID=""
SD_AUTHORITY_URL=""
The front end still needs the basic information from the Auth to process the token.
Summary of the Pull Request:
This PR introduces multiple improvements across authentication, event management, and status handling:
Authentication & Configuration Enhancements:
Event Management Enhancements:
Status Handling Improvements:
Other Improvements: