Skip to content
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

Change the tab order of itineraries and the map #2325

Merged
merged 3 commits into from
Jan 13, 2025

Conversation

anthonyshull
Copy link
Contributor

https://app.asana.com/0/555089885850811/1209110864370903/f

I just changed the order of the elements in the DOM.

@anthonyshull anthonyshull requested a review from a team as a code owner January 13, 2025 15:46
Copy link
Contributor

@joshlarson joshlarson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This almost works, but makes the order wrong on mobile. I think replacing flex-col with flex-col-reverse on the parent div would do the trick.

Related: there's an md:order-last on the map component, which I think you could remove now, since it's now DOM-ordered-last 😅

Comment on lines 87 to 88
@results.itinerary_group_selection == nil && "hidden md:block",
@results.itinerary_group_selection != nil && "block"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm pretty sure we still want this logic, since we only want the map to show up if you're looking at a specific itinerary. (Unless that part of the design changed?)

Copy link
Contributor

@joshlarson joshlarson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor

@joshlarson joshlarson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🗺️

@anthonyshull anthonyshull merged commit ff3a464 into main Jan 13, 2025
23 checks passed
@anthonyshull anthonyshull deleted the ags/itinerary-tab-order branch January 13, 2025 17:18
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.

2 participants