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

Redesign Event Modal #196

Merged
merged 4 commits into from
Mar 30, 2024
Merged

Redesign Event Modal #196

merged 4 commits into from
Mar 30, 2024

Conversation

alexzhang1618
Copy link
Contributor

Info

Closes #173
Closes #127

Changes

  • Update EventModal design
  • Switching to a grid layout, moving EventBadges into its own component

Type of Change

  • Bug Fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as
    expected)
  • Logistics Change (A change to a README, description, or dev workflow setup like
    linting/formatting)
  • Continuous Integration Change (Related to deployment steps or continuous integration
    workflows)
  • Other: (Fill In)

Testing

I have tested that my changes fully resolve the linked issue ...

  • locally on Desktop.
  • on the live deployment preview on Desktop.
  • on the live deployment preview on Mobile.
  • I have added new Cypress tests that are passing.

Checklist

  • I have performed a self-review of my own code.
  • I have followed the style guidelines of this project.
  • I have documented any new functions in /src/lib/* and commented hard to understand areas
    anywhere else.
  • My changes produce no new warnings.

Screenshots

Desktop
Screenshot 2024-03-29 at 3 51 22 PM
Tablet
Screenshot 2024-03-29 at 3 51 43 PM
Mobile
Screenshot 2024-03-29 at 3 52 08 PM

Copy link

vercel bot commented Mar 29, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
membership-portal-ui-v2 ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 30, 2024 5:22am

Copy link
Member

@SheepTester SheepTester left a comment

Choose a reason for hiding this comment

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

image

i dont see the add to calendar buttons anymore

src/components/events/EventDetail/index.tsx Show resolved Hide resolved
@alexzhang1618
Copy link
Contributor Author

i dont see the add to calendar buttons anymore

It's because live events aren't considered upcoming, so the calendar buttons are removed. Should we keep them if the event is live?

@SheepTester
Copy link
Member

why are the image sizes different

image

image

@alexzhang1618
Copy link
Contributor Author

why are the image sizes different

erm I was playing around with grid sizes to see what fits best and I have a 1fr thingy with a minmax of 20 or so rem on the image area. should it be like 50vw or something else?

@SheepTester
Copy link
Member

I think you should keep the right side at least 30rem so the "add to calendar" buttons don't wrap. grid-template-columns: 1fr 30rem; or grid-template-columns: 1fr minmax(30rem, 1fr); both seem fine

image

image

I would also recommend adding white-space: pre-wrap; for the description to support line breaks

Copy link
Member

@SheepTester SheepTester left a comment

Choose a reason for hiding this comment

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

looks good! 🎉

@alexzhang1618 alexzhang1618 merged commit 7778dd9 into main Mar 30, 2024
5 checks passed
@alexzhang1618 alexzhang1618 deleted the event-modal branch March 30, 2024 05:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

better mobile event modal EventModal Improvements
2 participants