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

"Projects" and "Home Page" Edits | pins project filter to top of project list, un-sticky's the Filters on scroll, & centers components #4694

Merged
merged 5 commits into from
May 21, 2023

Conversation

agosmou
Copy link
Member

@agosmou agosmou commented May 18, 2023

Fixes #4593

What changes did you make and why did you make them ?

  • Pinned the projects filters to the top of the projects list to mimic the REI website
    • UX/UI best practice to facilitate user navigation along the page
  • Removed the "sticky" styling for the filters side pane
    • This caused unnecessary scrolling through all project cards to release the filters pane so the user can see the filters at the bottom of the pane
  • Centered the components to the center to mimic the REI website
    • having the components centered can be considered good UX/UI since the user can quickly navigate because there is less distance between components
  • Refactored where needed

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

Visuals before changes are applied

image

Visuals after changes are applied

image

image

@HackforLABot HackforLABot added this to PR Needs review (Automated Column, do not place items here manually) in Project Board May 18, 2023
@github-actions
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 agosmou-test-branch-agomez gh-pages
git pull https://github.com/agosmou/website.git test-branch-agomez

@github-actions github-actions bot added Bug Something isn't working role: front end Tasks for front end developers Complexity: Large time sensitive Needs to be worked on by a particular timeframe P-Feature: Home page https://www.hackforla.org/ P-Feature: Projects page https://www.hackforla.org/projects/ size: 1pt Can be done in 4-6 hours labels May 18, 2023
@t-will-gillis t-will-gillis self-requested a review May 18, 2023 21:58
@t-will-gillis
Copy link
Member

Availability: 5/18 evening, 5/19
ETA: 5/19

@mademarc mademarc self-requested a review May 19, 2023 02:00
@mademarc
Copy link
Member

Review ETA: 5/18/2023
Availability: 7:05 PM

mademarc
mademarc previously approved these changes May 19, 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 @agosmou great adding the filter on the div class to keep the code very well read.

Project Board automation moved this from PR Needs review (Automated Column, do not place items here manually) to test-approved-by-reviewer (Automated Column, do not place items here manually) May 19, 2023
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 @agosmou great job adjusting the projects filter: removing the sticky styling, pinning to the top of the project list, and centering on the page for the Projects and homepages.

When I view in Docker, I am noticing the following:

  • In all views, the 'Applied Filters' notice no longer appears. I am not arguing whether or not the 'Applied Filter' notice is useful or worth keeping, only that removing this notice is beyond the scope of the issue.
  • In tablet and desktop views, the red applied filter tags have shifted from the Filters column and now are above the project cards. I believe that keeping the red applied filter tags in the current location is more intuitive for the user.
  • In the tablet/ 767 px view, the Filters column width compresses and looks 'smushed' in comparison to the way it looks currently in the same view. I feel that maintaining the width of the Filters column is preferable visually.
    comparison_767
  • Lastly, I am not entirely clear about how the /projects-check page is used currently or whether there is even a link to this page from the current website, however the edits made with the PR also change the layout of this page- both the 'Current Projects' header and the project cards themselves become off-center.
    comparison_projects-check
    Thanks for your work so far!

Project Board automation moved this from test-approved-by-reviewer (Automated Column, do not place items here manually) to test-pending-approval (Automated Column, do not place items here manually) May 20, 2023
@agosmou
Copy link
Member Author

agosmou commented May 21, 2023

Hey @t-will-gillis - Thank you for your thoroughness. See Below:


  • In all views, the 'Applied Filters' notice no longer appears. I am not arguing whether or not the 'Applied Filter' notice is useful or worth keeping, only that removing this notice is beyond the scope of the issue.

I feel like this was implied as I had to match REI's page (where their filter's don't have that text) per Bonnie's comment on the Emergent Request

  • In tablet and desktop views, the red applied filter tags have shifted from the Filters column and now are above the project cards. I believe that keeping the red applied filter tags in the current location is more intuitive for the user.

I had to match REI/Amazon's page per Bonnie's comment on the Emergent Request

  • In the tablet/ 767 px view, the Filters column width compresses and looks 'smushed' in comparison to the way it looks currently in the same view. I feel that maintaining the width of the Filters column is preferable visually.

Agreed! I adjusted this.
image

  • Lastly, I am not entirely clear about how the /projects-check page is used currently or whether there is even a link to this page from the current website, however the edits made with the PR also change the layout of this page- both the 'Current Projects' header and the project cards themselves become off-center.

Nice catch - Those properties are used in a lot of places throughout the whole website. I went ahead and fixed this in the CSS just in case (not sure this page is used).
image

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 @agosmou – Thanks for the clarification/ explanation about the placement of the red applied filter tags. I can see why you did what you did when I look at the REI page. Also, when the filter tags are at the top of the project cards, there is not really a good location for the ‘Applied Filters’ verbiage and since it does not add to clarity, I agree with you that the text can/should be removed.

rei_comp

Thanks also for changing the min width of the Filters column (I am just noticing the responsive design changes from 1 to 2 to 3 columns going from 766 to 767 to 768 on the current site) and for adjusting the /projects-check page. Both look good now.

Great job working through this issue!

Project Board automation moved this from test-pending-approval (Automated Column, do not place items here manually) to test-approved-by-reviewer (Automated Column, do not place items here manually) May 21, 2023
@t-will-gillis t-will-gillis merged commit 5eaf231 into hackforla:gh-pages May 21, 2023
1 check passed
@HackforLABot HackforLABot removed this from test-approved-by-reviewer (Automated Column, do not place items here manually) in Project Board May 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working Complexity: Large P-Feature: Home page https://www.hackforla.org/ P-Feature: Projects page https://www.hackforla.org/projects/ role: front end Tasks for front end developers size: 1pt Can be done in 4-6 hours time sensitive Needs to be worked on by a particular timeframe
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Projects and Home Pages: Pin Projects Filter to the Top of the Projects List
3 participants