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

524 - initail changes, added Alumni tab, reusable components #536

Merged

Conversation

Sukritib13
Copy link
Contributor

@Sukritib13 Sukritib13 commented Aug 31, 2024

Changes -

  • Added Alumni tab, used lime colour (The 3rd color in techstart symbol) for LinkedIn icon, Executive tab is still default
  • Made code reusable by making it into 3 buttons and using switch statements
  • Cleaned up some CSS

@Sukritib13 Sukritib13 linked an issue Aug 31, 2024 that may be closed by this pull request
Copy link

vercel bot commented Aug 31, 2024

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

Name Status Preview Comments Updated (UTC)
tsu-website ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 25, 2024 11:34pm

Copy link
Contributor

@ParsaKargari ParsaKargari left a comment

Choose a reason for hiding this comment

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

I like the idea of turning it into a component, but I'd change the UI design back to the slider we had. Also watch out for the responsiveness of the component, it doesn't look like it's responsive for mobile users / small-screen users.
image
image

src/components/TeamSection/Team.tsx Outdated Show resolved Hide resolved
src/components/TeamSection/teamMembers.json Outdated Show resolved Hide resolved
Copy link
Collaborator

@Anidion Anidion left a comment

Choose a reason for hiding this comment

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

Great work, this is looking good. Mainly code style feedback to look at.
Could you also add a transition for the background color?
Just background-color ease-in-out 0.2s would be enough

And on mobile, text should be centered vertically and the slider should have even spacing on both sides:
image

src/components/TeamSection/Profile.tsx Outdated Show resolved Hide resolved
src/components/TeamSection/Team.tsx Outdated Show resolved Hide resolved
src/components/TeamSection/TeamSection.styles.ts Outdated Show resolved Hide resolved
src/components/TeamSection/TeamSection.styles.ts Outdated Show resolved Hide resolved
src/components/TeamSection/teamMembers.json Outdated Show resolved Hide resolved
src/utility/SharedStyles.tsx Outdated Show resolved Hide resolved
Signed-off-by: Sukritib13 <113867416+Sukritib13@users.noreply.github.com>
Signed-off-by: Sukritib13 <113867416+Sukritib13@users.noreply.github.com>
@brian-ngyn
Copy link
Member

Looks good, a few more comments + a rebase and should be good to go in

Signed-off-by: Sukritib13 <113867416+Sukritib13@users.noreply.github.com>
Signed-off-by: Sukritib13 <113867416+Sukritib13@users.noreply.github.com>
Copy link
Collaborator

@Anidion Anidion left a comment

Choose a reason for hiding this comment

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

Awesome work 🚢

@Sukritib13 Sukritib13 dismissed ParsaKargari’s stale review October 6, 2024 23:57

Approvals received from other members

@Sukritib13 Sukritib13 merged commit 889bb64 into main Oct 6, 2024
3 checks passed
IsaiahA21 pushed a commit that referenced this pull request Nov 14, 2024
* 524 - initail changes, added Alumni tab, reusable components

* 524-Adding back Slider to UI, addressing comments. Signed-off-by: Sukriti, Website Developer

* Addressing comments - creating helper functions, fixing styles

Signed-off-by: Sukritib13 <113867416+Sukritib13@users.noreply.github.com>

* addressing comments - using var for bg color, using type for readability

Signed-off-by: Sukritib13 <113867416+Sukritib13@users.noreply.github.com>

* using types and correcting case

Signed-off-by: Sukritib13 <113867416+Sukritib13@users.noreply.github.com>

* using memoization

Signed-off-by: Sukritib13 <113867416+Sukritib13@users.noreply.github.com>

---------

Signed-off-by: Sukritib13 <113867416+Sukritib13@users.noreply.github.com>
Co-authored-by: brian nguyen <brian.nguy1en@gmail.com>
Signed-off-by: IsaiahA21 <76446914+IsaiahA21@users.noreply.github.com>
IsaiahA21 pushed a commit that referenced this pull request Nov 14, 2024
* 524 - initail changes, added Alumni tab, reusable components

* 524-Adding back Slider to UI, addressing comments. Signed-off-by: Sukriti, Website Developer

* Addressing comments - creating helper functions, fixing styles

Signed-off-by: Sukritib13 <113867416+Sukritib13@users.noreply.github.com>

* addressing comments - using var for bg color, using type for readability

Signed-off-by: Sukritib13 <113867416+Sukritib13@users.noreply.github.com>

* using types and correcting case

Signed-off-by: Sukritib13 <113867416+Sukritib13@users.noreply.github.com>

* using memoization

Signed-off-by: Sukritib13 <113867416+Sukritib13@users.noreply.github.com>

---------

Signed-off-by: Sukritib13 <113867416+Sukritib13@users.noreply.github.com>
Co-authored-by: brian nguyen <brian.nguy1en@gmail.com>
Signed-off-by: IsaiahA21 <76446914+IsaiahA21@users.noreply.github.com>
IsaiahA21 pushed a commit that referenced this pull request Nov 14, 2024
* 524 - initail changes, added Alumni tab, reusable components

* 524-Adding back Slider to UI, addressing comments. Signed-off-by: Sukriti, Website Developer

* Addressing comments - creating helper functions, fixing styles

Signed-off-by: Sukritib13 <113867416+Sukritib13@users.noreply.github.com>

* addressing comments - using var for bg color, using type for readability

Signed-off-by: Sukritib13 <113867416+Sukritib13@users.noreply.github.com>

* using types and correcting case

Signed-off-by: Sukritib13 <113867416+Sukritib13@users.noreply.github.com>

* using memoization

Signed-off-by: Sukritib13 <113867416+Sukritib13@users.noreply.github.com>

---------

Signed-off-by: Sukritib13 <113867416+Sukritib13@users.noreply.github.com>
Co-authored-by: brian nguyen <brian.nguy1en@gmail.com>
IsaiahA21 added a commit that referenced this pull request Nov 15, 2024
* setup PlayWright tests

* Included more test cases

* refactor: Updated documentation to include how to run Playwright tests

* additonal updates to documentation

* Added test coverage for navigation bar and project page

* updated PlayWright config for a larger viewport size. And updated content-updates to include Playwright Recorder

Signed-off-by: IsaiahA21 <76446914+IsaiahA21@users.noreply.github.com>

* Tests that had to find image elements were based on style-components which will regenerated each time. \n Hence, added data-testid to PhotoGallery.tsx, Profile.tsx, FounderSection.styles.ts to images could be uniquely identified based on an id.

Signed-off-by: IsaiahA21 <76446914+IsaiahA21@users.noreply.github.com>

* memorized the testdataId for the profile image.

Signed-off-by: IsaiahA21 <76446914+IsaiahA21@users.noreply.github.com>

* Inside useMemo, forgot to include return

* Add data-testid to ApplyButton component for unique identification

* Added an env variable for testing, and a globalSetup configuration file for running tests.

* modify playwright.config.ts to  take the value passed from the GitHub Actions

* Add Playwright test workflow for Vercel deployment

Signed-off-by: IsaiahA21 <76446914+IsaiahA21@users.noreply.github.com>

* Fix Playwright installation command in Vercel workflow

* Add workers to playwright test commands and uploaded the test-reports

Signed-off-by: IsaiahA21 <76446914+IsaiahA21@users.noreply.github.com>

* Update Playwright test report upload action to use version 4 because v2 was deprecated

* Refactor Apply Now button in ProjectsPage.tsx and test.ts files

* Refactor Playwright test workflow for Vercel deployment

* revert homepage test back

* Update content-updates.md

Co-authored-by: Ben Schmidt <ben@schmidtfam.us>
Signed-off-by: IsaiahA21 <76446914+IsaiahA21@users.noreply.github.com>

* run playwright test after merging main

* ran playwright test after merging main

* chore: Update team member LinkedIn profile link (#519)

Signed-off-by: IsaiahA21 <76446914+IsaiahA21@users.noreply.github.com>

* setup PlayWright tests

Signed-off-by: IsaiahA21 <76446914+IsaiahA21@users.noreply.github.com>

* Included more test cases

Signed-off-by: IsaiahA21 <76446914+IsaiahA21@users.noreply.github.com>

* refactor: Updated documentation to include how to run Playwright tests

Signed-off-by: IsaiahA21 <76446914+IsaiahA21@users.noreply.github.com>

* additonal updates to documentation

Signed-off-by: IsaiahA21 <76446914+IsaiahA21@users.noreply.github.com>

* Added test coverage for navigation bar and project page

Signed-off-by: IsaiahA21 <76446914+IsaiahA21@users.noreply.github.com>

* updated PlayWright config for a larger viewport size. And updated content-updates to include Playwright Recorder

Signed-off-by: IsaiahA21 <76446914+IsaiahA21@users.noreply.github.com>

* Tests that had to find image elements were based on style-components which will regenerated each time. \n Hence, added data-testid to PhotoGallery.tsx, Profile.tsx, FounderSection.styles.ts to images could be uniquely identified based on an id.

Signed-off-by: IsaiahA21 <76446914+IsaiahA21@users.noreply.github.com>

* memorized the testdataId for the profile image.

Signed-off-by: IsaiahA21 <76446914+IsaiahA21@users.noreply.github.com>

* Inside useMemo, forgot to include return

Signed-off-by: IsaiahA21 <76446914+IsaiahA21@users.noreply.github.com>

* Add data-testid to ApplyButton component for unique identification

Signed-off-by: IsaiahA21 <76446914+IsaiahA21@users.noreply.github.com>

* Added an env variable for testing, and a globalSetup configuration file for running tests.

Signed-off-by: IsaiahA21 <76446914+IsaiahA21@users.noreply.github.com>

* modify playwright.config.ts to  take the value passed from the GitHub Actions

Signed-off-by: IsaiahA21 <76446914+IsaiahA21@users.noreply.github.com>

* Add Playwright test workflow for Vercel deployment

Signed-off-by: IsaiahA21 <76446914+IsaiahA21@users.noreply.github.com>

* Fix Playwright installation command in Vercel workflow

Signed-off-by: IsaiahA21 <76446914+IsaiahA21@users.noreply.github.com>

* Add workers to playwright test commands and uploaded the test-reports

Signed-off-by: IsaiahA21 <76446914+IsaiahA21@users.noreply.github.com>

* Update Playwright test report upload action to use version 4 because v2 was deprecated

Signed-off-by: IsaiahA21 <76446914+IsaiahA21@users.noreply.github.com>

* Refactor Apply Now button in ProjectsPage.tsx and test.ts files

Signed-off-by: IsaiahA21 <76446914+IsaiahA21@users.noreply.github.com>

* Refactor Playwright test workflow for Vercel deployment

Signed-off-by: IsaiahA21 <76446914+IsaiahA21@users.noreply.github.com>

* revert homepage test back

Signed-off-by: IsaiahA21 <76446914+IsaiahA21@users.noreply.github.com>

* Updated sponsor package link (#538)

Signed-off-by: s-akella04 <sakella@cestatech.com>
Co-authored-by: s-akella04 <sakella@cestatech.com>
Signed-off-by: IsaiahA21 <76446914+IsaiahA21@users.noreply.github.com>

* Open Project Member applicaions for 24-25 year (#539)

Signed-off-by: brian-ngyn <brian.nguy1en@gmail.com>
Signed-off-by: IsaiahA21 <76446914+IsaiahA21@users.noreply.github.com>

* handling empty PM list (#533)

* handling empty PM list

* Update src/components/TeamSection/TeamInformation.ts

Co-authored-by: Ben Schmidt <ben@schmidtfam.us>
Signed-off-by: Morteza Faraji <111158753+mortezafa@users.noreply.github.com>

---------

Signed-off-by: Morteza Faraji <111158753+mortezafa@users.noreply.github.com>
Co-authored-by: Ben Schmidt <ben@schmidtfam.us>

* Labib Co-VP Finance (#542)

Signed-off-by: IsaiahA21 <76446914+IsaiahA21@users.noreply.github.com>

* updating link to executive application (#544)

Signed-off-by: IsaiahA21 <76446914+IsaiahA21@users.noreply.github.com>

* 524 - initail changes, added Alumni tab, reusable components (#536)

* 524 - initail changes, added Alumni tab, reusable components

* 524-Adding back Slider to UI, addressing comments. Signed-off-by: Sukriti, Website Developer

* Addressing comments - creating helper functions, fixing styles

Signed-off-by: Sukritib13 <113867416+Sukritib13@users.noreply.github.com>

* addressing comments - using var for bg color, using type for readability

Signed-off-by: Sukritib13 <113867416+Sukritib13@users.noreply.github.com>

* using types and correcting case

Signed-off-by: Sukritib13 <113867416+Sukritib13@users.noreply.github.com>

* using memoization

Signed-off-by: Sukritib13 <113867416+Sukritib13@users.noreply.github.com>

---------

Signed-off-by: Sukritib13 <113867416+Sukritib13@users.noreply.github.com>
Co-authored-by: brian nguyen <brian.nguy1en@gmail.com>
Signed-off-by: IsaiahA21 <76446914+IsaiahA21@users.noreply.github.com>

* 2024-2025 PMs (#546)

Signed-off-by: s-akella04 <sakella@cestatech.com>
Co-authored-by: s-akella04 <sakella@cestatech.com>
Signed-off-by: IsaiahA21 <76446914+IsaiahA21@users.noreply.github.com>

* updating team execs 2024-2025 (#547)

Signed-off-by: Sukritib13 <113867416+Sukritib13@users.noreply.github.com>
Signed-off-by: IsaiahA21 <76446914+IsaiahA21@users.noreply.github.com>

* run playwright test after merging main

Signed-off-by: IsaiahA21 <76446914+IsaiahA21@users.noreply.github.com>

* Update content-updates.md

Co-authored-by: Ben Schmidt <ben@schmidtfam.us>
Signed-off-by: IsaiahA21 <76446914+IsaiahA21@users.noreply.github.com>

* ran playwright test after merging main

Signed-off-by: IsaiahA21 <76446914+IsaiahA21@users.noreply.github.com>

* memorized the testdataId for the profile image.

Signed-off-by: IsaiahA21 <76446914+IsaiahA21@users.noreply.github.com>

* Inside useMemo, forgot to include return

Signed-off-by: IsaiahA21 <76446914+IsaiahA21@users.noreply.github.com>

* Add data-testid to ApplyButton component for unique identification

Signed-off-by: IsaiahA21 <76446914+IsaiahA21@users.noreply.github.com>

* Added an env variable for testing, and a globalSetup configuration file for running tests.

Signed-off-by: IsaiahA21 <76446914+IsaiahA21@users.noreply.github.com>

* modify playwright.config.ts to  take the value passed from the GitHub Actions

Signed-off-by: IsaiahA21 <76446914+IsaiahA21@users.noreply.github.com>

* Add Playwright test workflow for Vercel deployment

Signed-off-by: IsaiahA21 <76446914+IsaiahA21@users.noreply.github.com>

* Fix Playwright installation command in Vercel workflow

Signed-off-by: IsaiahA21 <76446914+IsaiahA21@users.noreply.github.com>

* Add workers to playwright test commands and uploaded the test-reports

Signed-off-by: IsaiahA21 <76446914+IsaiahA21@users.noreply.github.com>

* Update Playwright test report upload action to use version 4 because v2 was deprecated

Signed-off-by: IsaiahA21 <76446914+IsaiahA21@users.noreply.github.com>

* Refactor Apply Now button in ProjectsPage.tsx and test.ts files

Signed-off-by: IsaiahA21 <76446914+IsaiahA21@users.noreply.github.com>

* Refactor Playwright test workflow for Vercel deployment

Signed-off-by: IsaiahA21 <76446914+IsaiahA21@users.noreply.github.com>

* revert homepage test back

Signed-off-by: IsaiahA21 <76446914+IsaiahA21@users.noreply.github.com>

* Updated sponsor package link (#538)

Signed-off-by: s-akella04 <sakella@cestatech.com>
Co-authored-by: s-akella04 <sakella@cestatech.com>
Signed-off-by: IsaiahA21 <76446914+IsaiahA21@users.noreply.github.com>

* Open Project Member applicaions for 24-25 year (#539)

Signed-off-by: brian-ngyn <brian.nguy1en@gmail.com>
Signed-off-by: IsaiahA21 <76446914+IsaiahA21@users.noreply.github.com>

* handling empty PM list (#533)

* handling empty PM list

* Update src/components/TeamSection/TeamInformation.ts

Co-authored-by: Ben Schmidt <ben@schmidtfam.us>
Signed-off-by: Morteza Faraji <111158753+mortezafa@users.noreply.github.com>

---------

Signed-off-by: Morteza Faraji <111158753+mortezafa@users.noreply.github.com>
Co-authored-by: Ben Schmidt <ben@schmidtfam.us>
Signed-off-by: IsaiahA21 <76446914+IsaiahA21@users.noreply.github.com>

* Labib Co-VP Finance (#542)

Signed-off-by: IsaiahA21 <76446914+IsaiahA21@users.noreply.github.com>

* updating link to executive application (#544)

Signed-off-by: IsaiahA21 <76446914+IsaiahA21@users.noreply.github.com>

* 524 - initail changes, added Alumni tab, reusable components (#536)

* 524 - initail changes, added Alumni tab, reusable components

* 524-Adding back Slider to UI, addressing comments. Signed-off-by: Sukriti, Website Developer

* Addressing comments - creating helper functions, fixing styles

Signed-off-by: Sukritib13 <113867416+Sukritib13@users.noreply.github.com>

* addressing comments - using var for bg color, using type for readability

Signed-off-by: Sukritib13 <113867416+Sukritib13@users.noreply.github.com>

* using types and correcting case

Signed-off-by: Sukritib13 <113867416+Sukritib13@users.noreply.github.com>

* using memoization

Signed-off-by: Sukritib13 <113867416+Sukritib13@users.noreply.github.com>

---------

Signed-off-by: Sukritib13 <113867416+Sukritib13@users.noreply.github.com>
Co-authored-by: brian nguyen <brian.nguy1en@gmail.com>
Signed-off-by: IsaiahA21 <76446914+IsaiahA21@users.noreply.github.com>

* 2024-2025 PMs (#546)

Signed-off-by: s-akella04 <sakella@cestatech.com>
Co-authored-by: s-akella04 <sakella@cestatech.com>
Signed-off-by: IsaiahA21 <76446914+IsaiahA21@users.noreply.github.com>

* updating team execs 2024-2025 (#547)

Signed-off-by: Sukritib13 <113867416+Sukritib13@users.noreply.github.com>
Signed-off-by: IsaiahA21 <76446914+IsaiahA21@users.noreply.github.com>

* run playwright test after merging main

Signed-off-by: IsaiahA21 <76446914+IsaiahA21@users.noreply.github.com>

* Update content-updates.md

Co-authored-by: Ben Schmidt <ben@schmidtfam.us>
Signed-off-by: IsaiahA21 <76446914+IsaiahA21@users.noreply.github.com>

* ran playwright test after merging main

Signed-off-by: IsaiahA21 <76446914+IsaiahA21@users.noreply.github.com>

* setup PlayWright tests

* refactor: Updated documentation to include how to run Playwright tests

* additonal updates to documentation

* Added test coverage for navigation bar and project page

* updated PlayWright config for a larger viewport size. And updated content-updates to include Playwright Recorder

Signed-off-by: IsaiahA21 <76446914+IsaiahA21@users.noreply.github.com>

* Tests that had to find image elements were based on style-components which will regenerated each time. \n Hence, added data-testid to PhotoGallery.tsx, Profile.tsx, FounderSection.styles.ts to images could be uniquely identified based on an id.

Signed-off-by: IsaiahA21 <76446914+IsaiahA21@users.noreply.github.com>

* Refactor Apply Now button in ProjectsPage.tsx and test.ts files

* Refactor Playwright test workflow for Vercel deployment

* revert homepage test back

Signed-off-by: IsaiahA21 <76446914+IsaiahA21@users.noreply.github.com>

* Open Project Member applicaions for 24-25 year (#539)

Signed-off-by: brian-ngyn <brian.nguy1en@gmail.com>
Signed-off-by: IsaiahA21 <76446914+IsaiahA21@users.noreply.github.com>

* handling empty PM list (#533)

* handling empty PM list

* Update src/components/TeamSection/TeamInformation.ts

Co-authored-by: Ben Schmidt <ben@schmidtfam.us>
Signed-off-by: Morteza Faraji <111158753+mortezafa@users.noreply.github.com>

---------

Signed-off-by: Morteza Faraji <111158753+mortezafa@users.noreply.github.com>
Co-authored-by: Ben Schmidt <ben@schmidtfam.us>

* Labib Co-VP Finance (#542)

Signed-off-by: IsaiahA21 <76446914+IsaiahA21@users.noreply.github.com>

* updating link to executive application (#544)

Signed-off-by: IsaiahA21 <76446914+IsaiahA21@users.noreply.github.com>

* 524 - initail changes, added Alumni tab, reusable components (#536)

* 524 - initail changes, added Alumni tab, reusable components

* 524-Adding back Slider to UI, addressing comments. Signed-off-by: Sukriti, Website Developer

* Addressing comments - creating helper functions, fixing styles

Signed-off-by: Sukritib13 <113867416+Sukritib13@users.noreply.github.com>

* addressing comments - using var for bg color, using type for readability

Signed-off-by: Sukritib13 <113867416+Sukritib13@users.noreply.github.com>

* using types and correcting case

Signed-off-by: Sukritib13 <113867416+Sukritib13@users.noreply.github.com>

* using memoization

Signed-off-by: Sukritib13 <113867416+Sukritib13@users.noreply.github.com>

---------

Signed-off-by: Sukritib13 <113867416+Sukritib13@users.noreply.github.com>
Co-authored-by: brian nguyen <brian.nguy1en@gmail.com>

* run playwright test after merging main

* ran playwright test after merging main

Signed-off-by: IsaiahA21 <76446914+IsaiahA21@users.noreply.github.com>

* Nov7PlaywrightChanges

* Everything working as expected

---------

Signed-off-by: IsaiahA21 <76446914+IsaiahA21@users.noreply.github.com>
Signed-off-by: s-akella04 <sakella@cestatech.com>
Signed-off-by: brian-ngyn <brian.nguy1en@gmail.com>
Signed-off-by: Morteza Faraji <111158753+mortezafa@users.noreply.github.com>
Signed-off-by: Sukritib13 <113867416+Sukritib13@users.noreply.github.com>
Co-authored-by: Ben Schmidt <ben@schmidtfam.us>
Co-authored-by: Sahiti Akella <63627104+Sahitiakella@users.noreply.github.com>
Co-authored-by: s-akella04 <sakella@cestatech.com>
Co-authored-by: brian nguyen <brian.nguy1en@gmail.com>
Co-authored-by: Morteza Faraji <111158753+mortezafa@users.noreply.github.com>
Co-authored-by: Sukritib13 <113867416+Sukritib13@users.noreply.github.com>
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.

Add Alumni Section on our Team Page for Janita and Sajwal
4 participants