Merged
Conversation
* Initial plan * feat: AO inherits region logo when it has no logo of its own Co-authored-by: taterhead247 <26818765+taterhead247@users.noreply.github.com> * refactor(tests): extend helpers with logoUrl opt and hard-fail on missing fixtures Co-authored-by: taterhead247 <26818765+taterhead247@users.noreply.github.com> * formatting to clear ci * got the coalesce working * alt text --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: taterhead247 <26818765+taterhead247@users.noreply.github.com> Co-authored-by: Damon Vinciguerra <damon.vinciguerra@gmail.com>
…153) * Initial plan * Remove event filters (CSAUPs, GTE, Convergence) from map Co-authored-by: taterhead247 <26818765+taterhead247@users.noreply.github.com> * Delete unused SVG components for convergence, csaup, and gte Co-authored-by: taterhead247 <26818765+taterhead247@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: taterhead247 <26818765+taterhead247@users.noreply.github.com> Co-authored-by: Damon Vinciguerra <damon.vinciguerra@gmail.com>
… UTC offset timezones (#159) * Initial plan * fix: use local timezone when displaying lastAnnualReview dates in admin tables Co-authored-by: taterhead247 <26818765+taterhead247@users.noreply.github.com> * annual review data localized --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: taterhead247 <26818765+taterhead247@users.noreply.github.com> Co-authored-by: Damon Vinciguerra <damon.vinciguerra@gmail.com>
* [MOUNT-63] Enhance user queries with home region details (#25) * Enhance user queries with home region details - Introduced `homeRegion` field in user selection to include home region information. - Updated `buildUserSelect` and `buildSingleUserQuery` functions to support home region data. - Modified user router to always include list fields in user queries for better data retrieval. - Added handling for home region in user list and single user queries, ensuring consistent data structure. * Update user query parameters and enhance tests - Reformatted parameter destructuring in `buildSingleUserQuery` for improved readability. - Added comprehensive tests for user retrieval by ID and email, ensuring inclusion of home region and position details. - Implemented cleanup logic in tests to maintain database integrity after user creation. * Update dependencies to use @acme/api version 0.2.0 and introduce social URL validation schema in the validators package. (#23) * [MOUNT-59] Add API response in scalar (#22) * Update API key and event routers with detailed output schemas * Enhance API output schemas across multiple routers for improved data structure and clarity * This update adds comprehensive validation and descriptions for new fields in the output schemas. * Refactor API key and organization schemas to remove unnecessary datetime validations and allow nullable fields for parent organization attributes * [MOUNT-57] Update modals and add mobile filter sheet (#21) * Update modals and add mobile filter sheet - Updated various modal components to improve layout and responsiveness, including adjustments to class names for better styling. - Introduced a new MobileFilterSheet component for mobile devices to manage filters more effectively. - Integrated MobileFilterSheet into AOsTable, AreasTable, and other relevant components to enhance user experience on smaller screens. - Adjusted filter handling logic to accommodate the new mobile filter interface. * Enhance admin layout with titles and z-index adjustments - Added a title prop to the Layout component for better page identification across various admin pages. - Updated the z-index for the header to ensure proper stacking context. - Adjusted padding for content areas to improve layout consistency. - Modified several admin pages to utilize the new title feature, enhancing user experience and accessibility. * Add scrollbars in the admin sidebar. (#19) * Update event category handling in forms and modals (#18) - Introduced EVENT_CATEGORY_OPTIONS and EVENT_CATEGORY_LABEL_MAP constants for better management of event categories. - Updated LocationEventForm, AdminEventTypesModal, and AdminWorkoutsModal to utilize the new constants for displaying event category labels. - Improved label formatting to include category descriptions where applicable. * [MOUNT-62] Enhance user management with home region functionality (#24) * Enhance user management with home region functionality - Introduced home region selection in user modals and tables, allowing for better organization of users based on their home regions. - Updated user modal to include home region ID and ensure proper authorization checks for editing users based on their home region. - Enhanced user tables to filter and display users by home region, improving the overall user management experience. - Added necessary backend logic to enforce home region authorization during user updates, ensuring only authorized admins can modify users associated with specific home regions. - Updated tests to cover new home region functionalities and ensure robust validation of user permissions. * Refactor user authorization logic in admin user modal and API - Updated user modal to enhance editing permissions based on session ID, allowing users to edit their own information. - Adjusted backend user update logic to enforce home-region authorization, ensuring only users with the appropriate roles can modify user data. - Changed the role used in the crupdate route from 'admin' to 'editor' to better reflect the intended permissions for user updates. * Update user editing permissions in admin user modal * Updated user router to utilize the new schemas for user list and detail responses, improving data structure and validation. * Update user grant access tests to enforce role permissions more explicitly, ensuring only org admins can grant roles. Enhance user test assertions for better validation of user properties. * Enhance workout handling and add deleted workout warning component (#13) - Added `DeletedWorkoutWarning` component to display alerts for unavailable workouts. - Updated `WorkoutDetailsContent` to utilize the new warning component for missing locations and events. - Improved null checks for location and event data to prevent crashes. - Modified `groupMarkerClick` to handle location data more robustly. - Adjusted API response to return a message for unavailable locations instead of throwing an error. * [MOUNT-46] Enhance event handling and introduce map event router (#12) * Enhance event handling and introduce map event router - Added support for invalidating map queries in AdminDeleteModal and AdminWorkoutsModal. - Updated AdminWorkoutsModal to include loading state and improved event creation/updating feedback. - Refactored event querying to use new map-specific endpoints, enhancing filtering capabilities. - Introduced a new map event router to handle event-related operations with improved structure and filtering options. * Updated the event router to include pagination and sorting capabilities for the `all` endpoint. * Enhance Google Map component by adding draggable marker and improving center handling logic (#2) * fix typecheck * fix format * fix test issues * fix format * resolve 168 --------- Co-authored-by: elsiedp <141648006+elsiedp@users.noreply.github.com>
* Update dependencies to use @acme/api version 0.2.0 and introduce social URL validation schema in the validators package. (#23) * [MOUNT-57] Update modals and add mobile filter sheet (#21) * Update modals and add mobile filter sheet - Updated various modal components to improve layout and responsiveness, including adjustments to class names for better styling. - Introduced a new MobileFilterSheet component for mobile devices to manage filters more effectively. - Integrated MobileFilterSheet into AOsTable, AreasTable, and other relevant components to enhance user experience on smaller screens. - Adjusted filter handling logic to accommodate the new mobile filter interface. * Enhance admin layout with titles and z-index adjustments - Added a title prop to the Layout component for better page identification across various admin pages. - Updated the z-index for the header to ensure proper stacking context. - Adjusted padding for content areas to improve layout consistency. - Modified several admin pages to utilize the new title feature, enhancing user experience and accessibility. * Add scrollbars in the admin sidebar. (#19) * Update event category handling in forms and modals (#18) - Introduced EVENT_CATEGORY_OPTIONS and EVENT_CATEGORY_LABEL_MAP constants for better management of event categories. - Updated LocationEventForm, AdminEventTypesModal, and AdminWorkoutsModal to utilize the new constants for displaying event category labels. - Improved label formatting to include category descriptions where applicable. * [MOUNT-46] Enhance event handling and introduce map event router (#12) * Enhance event handling and introduce map event router - Added support for invalidating map queries in AdminDeleteModal and AdminWorkoutsModal. - Updated AdminWorkoutsModal to include loading state and improved event creation/updating feedback. - Refactored event querying to use new map-specific endpoints, enhancing filtering capabilities. - Introduced a new map event router to handle event-related operations with improved structure and filtering options. * Updated the event router to include pagination and sorting capabilities for the `all` endpoint. * Enhance Google Map component by adding draggable marker and improving center handling logic (#2) * - Updated user router to allow role changes while preventing profile modifications for users outside the admin's managed home region. - Refactored user update logic to streamline authorization checks and ensure existing user data is preserved when unauthorized edits are attempted. - Enhanced tests to validate the new behavior, ensuring that profile fields remain unchanged while roles can still be updated. --------- Co-authored-by: elsiedp <141648006+elsiedp@users.noreply.github.com> Co-authored-by: elsiedp <elsie@mountaindev.com>
3.9.1 to Staging
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.