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

fix: ticket section is being rendered #398

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

Aryan4884
Copy link

@Aryan4884 Aryan4884 commented Oct 1, 2024

#395 Issue:- This PR addresses the issue of displaying past events in the ticket section, providing users with a full history of available tickets for better transparency and context.

Changes Made:
TicketCards Component:

Adjusted the cardOpacity logic to ensure past events (ended === true) are still displayed with lower opacity.
Modified button text and styles to indicate if an event has ended or is upcoming.
Home Component:

Updated the ticket section to display both ended and upcoming events by removing the condition if(city.ended === false).
Ensured all events are listed in the ticket section, regardless of whether they have ended.

Preview:
Users can now see both upcoming and past events in the ticket section, allowing them to explore the full history of events and their respective ticket statuses.

Manually tested the ticket section to confirm that all events, both ended and upcoming, are displayed correctly.
Screenshot 2024-10-01 172335

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

Welcome to AsyncAPI. Thanks a lot for creating your first pull request. Please check out our contributors guide useful for opening a pull request.
Keep in mind there are also other channels you can use to interact with AsyncAPI community. For more details check out this issue.

Copy link

netlify bot commented Oct 1, 2024

Deploy Preview for peaceful-ramanujan-288045 ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 8c9510b
🔍 Latest deploy log https://app.netlify.com/sites/peaceful-ramanujan-288045/deploys/67116cb2c0aed800084ac787
😎 Deploy Preview https://deploy-preview-398--peaceful-ramanujan-288045.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@Aryan4884 Aryan4884 changed the title Fix the way the ticket section is being rendered #395 Fix the way the ticket section is being rendered Oct 1, 2024
@Aryan4884 Aryan4884 changed the title Fix the way the ticket section is being rendered pref: ticket section is being rendered Oct 1, 2024
@Aryan4884
Copy link
Author

Changed the issue name

@Aryan4884 Aryan4884 changed the title pref: ticket section is being rendered fix: ticket section is being rendered Oct 1, 2024
@ashmit-coder
Copy link
Contributor

Hey @AceTheCreator is this what is expected from the issue?

@ashmit-coder
Copy link
Contributor

Hey @AceTheCreator I feel like this design change looks way too elongated and kinda makes a bit of clutter, what do you think?

cc: @Aryan4884

@AceTheCreator
Copy link
Member

Hey @AceTheCreator I feel like this design change looks way too elongated and kinda makes a bit of clutter, what do you think?

cc: @Aryan4884

What would you suggest @ashmit-coder?

@ashmit-coder
Copy link
Contributor

Hey @AceTheCreator I feel like this design change looks way too elongated and kinda makes a bit of clutter, what do you think?

cc: @Aryan4884

What would you suggest @ashmit-coder?

I liked the ended on coming data being mentioned in the button of the card. It is some other pr but it was closed for some reason?

Copy link
Member

@AceTheCreator AceTheCreator left a comment

Choose a reason for hiding this comment

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

@Aryan4884 we shouldn't have two ticket sections. All tickets should be rendered in the same section. upcoming event should come first

@AceTheCreator
Copy link
Member

Also resolve the conflicts in your PR

@Aryan4884
Copy link
Author

@AceTheCreator
Screenshot 2024-10-18 011619
made a single ticket section

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.

3 participants