Skip to content

Comments

feat: Implemented Event Start & End Time with Optimized UI Tags#215

Open
VarshiniSuresh90 wants to merge 7 commits intoFOSSUChennai:mainfrom
VarshiniSuresh90:main
Open

feat: Implemented Event Start & End Time with Optimized UI Tags#215
VarshiniSuresh90 wants to merge 7 commits intoFOSSUChennai:mainfrom
VarshiniSuresh90:main

Conversation

@VarshiniSuresh90
Copy link

@VarshiniSuresh90 VarshiniSuresh90 commented Mar 29, 2025

Thank you for your valuable feedback @JustinBenito ! I have implemented the requested changes and ensured the UI remains consistent. And kindly check if the code has reflected the changes.
Below are the key updates in this PR:

  1. Restored Original Layout – Reverted the UI to match the original structure while keeping enhancements intact.
  2. Added a Time Tag – Introduced a dedicated event time tag, styled similarly to the "Chennai" green tag and the date blue tag.
  3. Applied Warning Color Scheme – Adjusted the color scheme of the time tag to align with the recommended warning style for better visibility.
  4. Ensured UI Consistency – Verified that all elements maintain proper alignment and responsiveness across different screen sizes.

I believe these updates fully align with the existing design while incorporating the requested improvements. Please review the PR, and if everything looks good, I would be grateful if you could procees and consider merging it.
New UI
newww
existing UI
ppp

@JustinBenito
Copy link
Contributor

Hey @VarshiniSuresh90 thanks a lot for your contribution, but the UI has changed a bit drastic compared to the UI in production

Screenshot 2025-03-29 at 11 33 15 PM

please do look into the card UI

and then the warning tag makes the text bold which is ideally not what we want and not consistent with our other tags.

Screenshot 2025-03-29 at 11 34 15 PM

also there are few other suggestions aswell in the UI design, I have not yet reviewed the code yet but will do that once all the UI part is finalised @VarshiniSuresh90
will add more into the review shortly.

Thanks a lot for the contribution tho,

Cheers :)

},
"dependencies": {
"@phosphor-icons/react": "^2.1.7",
"@radix-ui/react-tooltip": "^1.1.8",
Copy link
Contributor

Choose a reason for hiding this comment

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

curious to know the use case, we would love to not add more dependencies to the project @VarshiniSuresh90

Copy link
Contributor

Choose a reason for hiding this comment

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

incase you want to use a tooltip, we have a component for tooltip that we have built. You can use that

import { useState } from 'react';
import events from '../../../data/events.json';
import { MapPin } from '@phosphor-icons/react';
import { MapPin } from 'phosphor-react';
Copy link
Contributor

Choose a reason for hiding this comment

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

please update back to the newer version of @phophor-icons/react that we have added in as a dependency @VarshiniSuresh90

communityName: string;
title: string;
date: string;
startTime: string;
Copy link
Contributor

Choose a reason for hiding this comment

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

just the eventTime from the events.json should be more than enough @VarshiniSuresh90

lets keep the details as what we have already requested from users.

<section>
<h2 className='mb-3 text-lg font-normal'>
<span className='text-[30px] font-semibold text-black'>this month</span>
<span className='text-[30px] font-semibold text-black'>This Month</span>
Copy link
Contributor

Choose a reason for hiding this comment

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

please change back to this month and upcoming, it is part of the design system of tt.

"eventTime": "08:30",
"eventVenue": "Sathyabama University",
"eventLink": "https://community.cncf.io/kcd-chennai/",
"eventStartTime": "08:30",
Copy link
Contributor

Choose a reason for hiding this comment

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

just like I mentioned above, lets not complicate things with more information, we can display just the start time and that should be good

@VarshiniSuresh90
Copy link
Author

Sure ! @JustinBenito I will make the necessary changes and revert you back soon. Thanks for your feedback.

@JustinBenito
Copy link
Contributor

Thanks a lot @VarshiniSuresh90

@JustinBenito
Copy link
Contributor

@VarshiniSuresh90 can you please look into this and update it :)

@Sarveshmrao
Copy link
Collaborator

@VarshiniSuresh90, any update on this PR?

@Sarveshmrao Sarveshmrao added enhancement New feature or request question Further information is requested stale labels Aug 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request question Further information is requested stale

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants