Skip to content

3.9.1 to main#198

Merged
taterhead247 merged 17 commits intomainfrom
staging
Mar 26, 2026
Merged

3.9.1 to main#198
taterhead247 merged 17 commits intomainfrom
staging

Conversation

@taterhead247
Copy link
Copy Markdown
Contributor

No description provided.

taterhead247 and others added 16 commits March 13, 2026 22:28
* 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>
@taterhead247 taterhead247 merged commit b7eb3c9 into main Mar 26, 2026
9 checks passed
@taterhead247 taterhead247 deleted the staging branch March 26, 2026 12:20
@taterhead247 taterhead247 restored the staging branch March 26, 2026 12:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Merged

Development

Successfully merging this pull request may close these issues.

3 participants