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

Accomplishments edit by year 4188 #5932

Conversation

Thinking-Panda
Copy link
Member

@Thinking-Panda Thinking-Panda commented Nov 22, 2023

Fixes #4188

What changes did you make?

  • Added years, program-area or project-file to accomplishments.yml
  • added function to about.js to retrieve data, sort accomplishments and filter by year
  • added some css to _about.scss

Why did you make the changes (we will use this info to test)?

  • accomplishments.yml- added project-file if existed and program-area if project file does not exist
  • about.js- added functions to display years for accomplshments, retrieve data from YAML file, handle click events and display accomplishments by year
  • about.html- to pass the variable {{accomplishments}} through a <script> tag

Screenshots of Proposed Changes Of The Website (if any, please do not screen shot code changes)

Visuals before changes are applied

Before_Change_Mobile
Before_Change_Tablet
Before_Change_Desktop

Visuals after changes are applied

After_Change_Mobile
After_Change_Tablet
After_Change_Desktop

Copy link

Want to review this pull request? Take a look at this documentation for a step by step guide!

From your project repository, check out a new branch and test the changes.

git checkout -b Thinking-Panda-accomplishments-edit-by-year-4188 gh-pages
git pull https://github.com/Thinking-Panda/website.git accomplishments-edit-by-year-4188

Note that CONTRIBUTING.md cannot previewed locally; rather it should be previewed at this URL:

https://github.com/Thinking-Panda/website/blob/accomplishments-edit-by-year-4188/CONTRIBUTING.md  

@Thinking-Panda Thinking-Panda added role: front end Tasks for front end developers Complexity: Large P-Feature: About Us https://www.hackforla.org/about/ P-Feature: Program Area https://www.hackforla.org/program-areas size: 5pt Can be done in 19-30 hours labels Nov 22, 2023
Copy link

Want to review this pull request? Take a look at this documentation for a step by step guide!

From your project repository, check out a new branch and test the changes.

git checkout -b Thinking-Panda-accomplishments-edit-by-year-4188 gh-pages
git pull https://github.com/Thinking-Panda/website.git accomplishments-edit-by-year-4188

Note that CONTRIBUTING.md cannot previewed locally; rather it should be previewed at this URL:

https://github.com/Thinking-Panda/website/blob/accomplishments-edit-by-year-4188/CONTRIBUTING.md  

@Thinking-Panda
Copy link
Member Author

NOTE TO REVIEWERS & MERGE TEAM: I have added sample accomplishments to test for different years. After the PR is reviewed, I can clean up the sample accomplishments before merging.

@kwangric kwangric self-requested a review November 22, 2023 21:27
@kwangric
Copy link
Member

ETA: 11/28
Availability: 11/26 - 11/28 evenings

@blulady blulady requested a review from mademarc November 29, 2023 03:13
@LRenDO
Copy link
Member

LRenDO commented Nov 29, 2023

Hi @mademarc! Thanks for volunteering to review this issue! When you have a minute, please add your ETA and Availability. Thanks!

Copy link
Member

@kwangric kwangric left a comment

Choose a reason for hiding this comment

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

Hey @Thinking-Panda, great job tackling this large issue!

  • Year & Program Area/Project Files fields have been added to all the accomplishments.
  • Accomplishment section on the About page has been changed to include an option to view accomplishments from different years.
  • Accomplishments are listed by program area.

I have a few requested changes. Both these findings don't break the functionality of the new design, but if they can be fixed that would be great!

  • When the window is resized from desktop to mobile view, or vice versa, the selected year doesn't stay consistent. For example: if you select "2022" in desktop view, then resize to mobile view, it shows "All" in the dropdown menu even though the 2022 results are still displayed.
  • The cursor changes to the text-select icon when hovering over the years. This might be confusing since they are links.

@Thinking-Panda
Copy link
Member Author

Thank you @kwangric for the review. I will work on it and push the changes soon.

@mademarc
Copy link
Member

mademarc commented Dec 1, 2023

Review ETA: 11/30/2023
Availability: 7:08PM

mademarc
mademarc previously approved these changes Dec 1, 2023
Copy link
Member

@mademarc mademarc left a comment

Choose a reason for hiding this comment

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

Hey @Thinking-Panda good call on the yml, js & scss file changes and @LRenDO the ETA and Availability is there.

kwangric
kwangric previously approved these changes Dec 2, 2023
Copy link
Member

@kwangric kwangric left a comment

Choose a reason for hiding this comment

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

Thanks for making the changes!

  • Selected year stays consistent when switching between desktop and mobile view.
  • The cursor now turns into a link icon when hovering over the years.

Great work!

@Thinking-Panda
Copy link
Member Author

@kwangric , @mademarc Thank you for your review. After your approval , the sample accomplishments for 2023, 2022, 2021 are removed. Please review again and then it will be ready to be merged. Thanks!

Copy link
Member

@kwangric kwangric left a comment

Choose a reason for hiding this comment

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

Everything still looks good!

@t-will-gillis t-will-gillis self-requested a review December 7, 2023 19:46
Copy link
Member

@t-will-gillis t-will-gillis left a comment

Choose a reason for hiding this comment

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

Hey @Thinking-Panda Excellent work on this issue and great back and forth with @kwangric addressing comments! In mobile, tablet, and desktop in Docker, the code edits appear to satisfy the requirements of 4188 and the intent shown on Figma with the minor edits to the subheaders for the program areas as noted.

Super work again and thanks for taking on this issue

@t-will-gillis t-will-gillis merged commit 91ed308 into hackforla:gh-pages Dec 7, 2023
2 of 3 checks passed
@Thinking-Panda Thinking-Panda deleted the accomplishments-edit-by-year-4188 branch April 29, 2024 21:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Complexity: Large P-Feature: About Us https://www.hackforla.org/about/ P-Feature: Program Area https://www.hackforla.org/program-areas role: front end Tasks for front end developers size: 5pt Can be done in 19-30 hours
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Edit Accomplishments in About Page to show different years
5 participants