Skip to content

Applied Title classes to heading elements on donate page#2723

Merged
JessicaLucindaCheng merged 10 commits intohackforla:gh-pagesfrom
pattshreds:apply-design-system-classes-donate-2084
May 28, 2022
Merged

Applied Title classes to heading elements on donate page#2723
JessicaLucindaCheng merged 10 commits intohackforla:gh-pagesfrom
pattshreds:apply-design-system-classes-donate-2084

Conversation

@pattshreds
Copy link
Contributor

@pattshreds pattshreds commented Jan 28, 2022

Fixes #2084

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

  • Applied Title classes to heading elements so that they don't relay on Hx styling rules.

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

Visuals before changes are applied

live

Visuals after changes are applied

localhost

…d first h1 element on page to align with paragraph.
@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 pattshreds-apply-design-system-classes-donate-2084 gh-pages
git pull https://github.com/pattshreds/website.git apply-design-system-classes-donate-2084

@github-actions github-actions bot added Feature: Design system P-Feature: Donate https://www.hackforla.org/donate/ role: front end Tasks for front end developers Complexity: Small Take this type of issues after the successful merge of your second good first issue status: Updated No blockers and update is ready for review labels Jan 28, 2022
@JessicaLucindaCheng

This comment has been minimized.

@JessicaLucindaCheng JessicaLucindaCheng removed the request for review from SAUMILDHANKAR January 30, 2022 21:06
@JessicaLucindaCheng

This comment has been minimized.

Copy link
Member

@JessicaLucindaCheng JessicaLucindaCheng left a comment

Choose a reason for hiding this comment

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

@pattshreds Good job noticing the header didn't align with the paragraph. I have some inline request for changes. Also, please do the following:

  1. Please add your pull request to the project board.

Add-to-project-board

  1. I noticed your changes impact more than just the portion in your screenshot. Please screenshot the whole page by using the GoFullPage Chrome extension: https://chrome.google.com/webstore/detail/gofullpage-full-page-scre/fdpohaocaechififmbbbbbknoalclacl?hl=en

  2. You don't need to define the title classes in _sass/components/_donate.scss because they already exist in our codebase. So, please remove the title classes you added in that file.

  3. When applying the title classes to the HTML, the class name should be lowercase. For example, <h1 class="title1">.

@JessicaLucindaCheng

This comment was marked as outdated.

@JessicaLucindaCheng

This comment was marked as outdated.

Copy link
Member

@JessicaLucindaCheng JessicaLucindaCheng left a comment

Choose a reason for hiding this comment

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

@pattshreds I wasn't sure if you were ready for me to review your pr again but I went ahead and did it anyway. (Sorry if it wasn't ready and you were still working on it.) In addition to my in-line comments for changes, please do the following:

  • Since changes to the _guide-pages/2FA.html is not part of your pr, to try to fix that, please update your forked gh-pages so that it is in sync with the hackforla/website gh-pages and then update your topic branch. Here are instructions for how to update your forked gh-pages and the how to update your topic branch.

  • When you are ready for me to re-review your pull request, please click the following in the Reviewers section on the right:

image

@JessicaLucindaCheng

This comment was marked as outdated.

Copy link
Member

@JessicaLucindaCheng JessicaLucindaCheng left a comment

Choose a reason for hiding this comment

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

@pattshreds Good job changing the headers tags to the correct hierarchy and merging updates from gh-pages.

  • When I compared the Donate page with the changes you made to the Donate page on the live website, the headers look different in terms of font size. The Donate page headers should still look the same as the ones on the live website. Since the font-size for the headers now should only depend on the title classes, the font-sizes for any headers should be removed from _sass/components/_donate.scss. (Note: In that SCSS file, there are font-sizes for other elements besides headers.)
  • Check your changes locally using Docker and make sure everything still looks the same as Donate page on the live website
  • When you are ready for me to re-review your pull request, please click the following in the Reviewers section on the right:
    image

@SAUMILDHANKAR
Copy link
Member

@pattshreds Hope you are doing well. Just wanted to share one of the decisions made during our team meeting. We are now requesting all website team members to attend at least one meeting in a week (Tuesday, Thursday or Sunday) as we strive to replicate a professional working environment within our team amongst other things. Therefore, request you to let us know which of the weekly meetings would be suitable for you based on availability. We have decided to make an exception for this requirement only on a case-by-case basis. I will leave a message for you on slack as well. Thank you.

@Carlos-A-P Carlos-A-P self-requested a review March 9, 2022 02:36
@Carlos-A-P
Copy link
Member

@pattshreds Great job adding the classes and changing the header tags to have a proper header structure. As Jessica mentioned, all you need to do is remove any header styling in the _donate.scss file to resolve the issue

@SAUMILDHANKAR

This comment was marked as outdated.

@SAUMILDHANKAR
Copy link
Member

Heard back from Patrick on slack. Would be updating progress this week.

@pattshreds
Copy link
Contributor Author

Progress: Title classes are assigned in HTML.
Blockers: The title 4 element and the first title7 element don't seem to be the correct sizes. Need to figure out where to define their sizes.
Availability: This week 6pm - 8pm
ETA: Thursday 3/24/22

@JessicaLucindaCheng
Copy link
Member

JessicaLucindaCheng commented Apr 23, 2022

  • Availability: 3 hours
  • Review ETA: Sat, April 30, 2022

Started reviewing but didn't finish. Will finish Saturday.

Copy link
Member

@JessicaLucindaCheng JessicaLucindaCheng left a comment

Choose a reason for hiding this comment

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

@pattshreds Thanks for updating your topic branch with the lastest updates. In addition to my in-line request for changes, please do the following:

  • Please update your first post as follows:
    • Update what you did by removing the following (since you are no longer doing the following):

      • "Repositioned the first H1 element on the page to align with the P below it according to the donate page Figma."
      • "Defined the used Title classes in the _donate.scss file."
    • Update the screenshots for the visuals for the before and after. Since you are changing the headers for the whole Donate page, you may want to use GoFullPage - Full Page Screen Capture Chrome Extension in order to screenshot the whole page in desktop and mobile views.

  • When you are ready for me to re-review your pull request, please click the following in the Reviewers section on the top right:
    request re-review

@github-actions github-actions bot added the size: 1pt Can be done in 4-6 hours label May 15, 2022
@Sparky-code
Copy link
Member

Avail: 1-2hrs
ETA: 5/18-19 EOD

@trishajjohnson
Copy link
Member

Availability: 2 hrs
ETA: EOD 5/19/22

@trishajjohnson
Copy link
Member

trishajjohnson commented May 20, 2022

@SAUMILDHANKAR needing clarification, it appears this issue dates back quite a ways. I'm assuming you just want me to review the most recent changes dating back to the last PR review done by Katherine on April 5, or am I mistaken?

Copy link
Member

@Sparky-code Sparky-code left a comment

Choose a reason for hiding this comment

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

At first pass it looks like everything has been updated properly according to the comments made. I do see noted that the misalignment of the title1 header will be addressed as another issue.

I may be mistaken and I know the images are addressed specifically but I don't see any visual changes made in this issue and am wondering if the images are necessary.

I noticed that there are still some unresolved comments in the issue. I believe that they have all been addressed in your more recent commits but would ask that they be marked as 'resolved' before this issue is merged. You can find the relevant conversations at the bottom of the page:
image

Copy link
Member

@trishajjohnson trishajjohnson left a comment

Choose a reason for hiding this comment

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

@pattshreds I took a look at your pull request and all the requested changes. You effectively added the heading classes, the hierarchy of heading tags have been done properly and upon inspection, it appears in the window everything lines up with the figma design, except the already previously mentioned discrepancies: the h1 at the top in desktop view not being in line with the following paragraph.

I noticed that you also resolved the issue with the h3 from line 26 being improperly indented in mobile view, and it is now in line with the figma design. I wonder, though, not that this is part of your issue, but the h3 on line 26, as it is now, seems awkwardly jetted out significantly and might look better more in line with the following paragraph like the rest of the headings and paragraphs. I also noticed in mobile view that the two paragraphs on lines 11 and 27 have different text-align styles and it might benefit from design continuity (one is centered, the other aligned to the left).

You updated the before/after images, per Jessica's request. I, too, noticed they don't seem different at all and wonder if they are redundant, as Devin did. I also saw that you updated heading styles in _sass/components/_donate.scss.

Overall, great job and kudos to you for sticking with it. Looks like this was a bit of winded issue. Now, you're in the home stretch. Like Devin mentioned, some conversations need to be resolved and then you should be able to merge and close this issue.

@JessicaLucindaCheng

This comment was marked as outdated.

Copy link
Member

@JessicaLucindaCheng JessicaLucindaCheng left a comment

Choose a reason for hiding this comment

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

@pattshreds Sorry for the delay in reviewing your pr as I was on vacation for over a week. You made all the requested changes and everything looks good to me now. Great job!

@JessicaLucindaCheng
Copy link
Member

JessicaLucindaCheng commented May 28, 2022

@Sparky-code There actually are visual changes to the font sizes for some of the headers but the changes don't vary much so it may be hard to see by just looking at the webpage.

Also, I am going to go ahead and resolve the conversations since I did not expicitly ask Patrick to "Resolve Conversations" originally in any of my previous reviews and had been resolving them when I reviewed. However, going forward, if you think we should have pr creators Resolve Conversations (if they fixed the problem and there is no more need for conversation) as a standard practice in our team, we can discuss it further.

@JessicaLucindaCheng JessicaLucindaCheng merged commit 69c6dcf into hackforla:gh-pages May 28, 2022
@pattshreds
Copy link
Contributor Author

@JessicaLucindaCheng Thanks Jessica, I usually do resolve the conversations, but for some reason 2 of the most recent requests didn't have the resolve button on them and I couldn't figure out why.

@pattshreds pattshreds deleted the apply-design-system-classes-donate-2084 branch May 29, 2022 22:25
JessicaLucindaCheng added a commit to JessicaLucindaCheng/website that referenced this pull request Jun 29, 2022
Used a squash and merge for this



* Applied Title classes to heading elements on donate page (hackforla#2723)

* applied Title classes to heading elements on donate page, repositioned first h1 element on page to align with paragraph.

* changed Titlex classes to titlex, removed title classes from sass file.

* fixed requested errors

* Fixed the styling issues, localhost and hfla site match.

* made requested changes

* commiting changes so I can sync with upstream.

* made requested changes

* Removed Ready for milestone for Pre-work Template - Developers

Reason: Tech leads should manually check the preworks before adding ready for milestone label

* Update meeting data

* Update contributor and language data

* Update meeting data

* Update contributor and language data

* Update issue templates

* Update meeting data

* Update contributor and language data

* Edited the content field and removed the type field so that redundant code is removed and the code is easier to understand (hackforla#3182)

Merged hackforla#3182 into gh-pages.

* Remove alt-hero field from civic-opportunity-project.md project file hackforla#2923 (hackforla#3173)

* Update meeting data

* Update contributor and language data

* Update pre-work-template--dev.md (hackforla#3192)

* Update dev prework template

* Update pre-work-template---design.md (hackforla#3184)

Bonnie asked to update the design template

* Updated dev prework template

* Update dev prework template

* Update meeting data

* Update contributor and language data

* Update issue templates

Updated estimates, time spent so far and progress report items.

* Update CONTRIBUTING.md

Added a note about leaving issues (other than pre-work) in In progress column until merged.

* Fixed Project md file: Removing unused `alt-hero` field

* Fix Alt Text Audit - Design issue template

I did not make edits as part of commit fd642a4 to .github/ISSUE_TEMPLATE/alt-text-audit---design.md but for some reason changes were made. I fixed it here by editing the file to change it back.

* Update meeting data

* Update contributor and language data

* Edited content field and removed (hackforla#3193)

Merged hackforla#3193 into gh-pages.

* Update CONTRIBUTING.md

Added link of a filtered project board for back end good first issues.

* removed unused alt-hero field (hackforla#3178)

Co-authored-by: Olanrewaju-Ak <you@example.com>

* Update meeting data

* Update contributor and language data

* Updated Project Profile Card review and update template

Capitalized GitHub in the links section

* Updated Pre-work Template - Developers

Changed team lead to technical lead

* Update issue templates (hackforla#3219)

updated developer prework template

* edit content field and remove type field from _data/interal/credits/resume.yml (hackforla#3218)

* Update README.md

* Remove alt-text field in github-issues.html, responsible-use-of-images-on-opensource-projects.html, setting-up-1password-on-opensource-projects.html, all within the _guide-pages directory (hackforla#3176)

* Update meeting data

* Update contributor and language data

* Update meeting data

* Update contributor and language data

* removed unused filed (hackforla#3221)

* Removed type field 2878 (hackforla#3185)

* modified content field

* removed type field

* modified content field

* removed type field

* revert jekyll version

* Update meeting data

* Update contributor and language data

* Update developer pre-work issues

* Update meeting data

* Update contributor and language data

* Update image location sponsors 2458 (hackforla#2984)

* update image location for sponsors

* update image location for sponsors

* update class logo img

* update code in sponsors.hmtl

* add scss to cfa logo in citizen-engagement page

* Remove alt hero field 3215 (hackforla#3231)

* Docker-compose file update

* Reverted docker-compose file from '4.2.0' back to 'pages'

* alt-hero field deleted

* Update meeting data

* Update contributor and language data

* Update meeting data

* Update contributor and language data

* remove unused alt field from vrms.md project file (hackforla#3226)

* Update meeting data

* Update contributor and language data

* Update meeting data

* Update contributor and language data

* Lucky parking 2916 (hackforla#3086)

* changed the spelling from webapp to web app on line 56

* chnaged the double quotes around the links  to single quotes

* Update meeting data

* Update meeting data

* Update contributor and language data

* Update dev prework issue template

* Update meeting data

* Update contributor and language data

* Add h tags 2952 (hackforla#3237)

* add civic tech overview page to assets folder

* change link in markdown file

* Update merge conflict

* Change p tags to h tags

* Removed the alt text for the 311 project card image (hackforla#3241)

to adhere to WCAG.

* Update meeting data

* Update contributor and language data

* added a new note in section 2.2 before the existing one (hackforla#3235)

Co-authored-by: Olanrewaju-Ak <you@example.com>

* update project profile of home unite us page (hackforla#3162)

* removed Abiha Ali and added Ben Ross under leadership for home unite us page

* Update meeting data

* Update contributor and language data

* Update meeting data

* Update contributor and language data

* Update meeting data

* Update contributor and language data

* Update meeting data

* Update contributor and language data

* updated calendar-time.yml (hackforla#3258)

Co-authored-by: olivi <olivia.yin.wang8@gmail.com>

* Update meeting data

* Update contributor and language data

* Removed credits type field and renamed content to content-type in redo.yml (hackforla#3285)

* Update meeting data

* Update contributor and language data

* Updated how 'overview' link opens for Home Unite US (hackforla#3224)

* Updated how 'overview' link opens for Home Unite US

* Update meeting data

* Update contributor and language data

* removed unused filed (hackforla#3221)

* Removed type field 2878 (hackforla#3185)

* modified content field

* removed type field

* modified content field

* removed type field

* revert jekyll version

* Updated how 'overview' link opens for Home Unite US

Co-authored-by: GitHub Actions Bot <hackforla-bot@hackforla.org>
Co-authored-by: Arpita <66761308+arpitapandya@users.noreply.github.com>

* changed line 4 for the content field from content:icon to content-type:image. Also removed line 11 type:icon (hackforla#3264)

* Update meeting data

* Update contributor and language data

* Changed sdg image's alt text for access the data (hackforla#3288)

* Resolve issue 2155 to add a comment reminding new issue assignees to add their ETA and availability (hackforla#2962)

* changed content and type into one field: content-type (hackforla#3291)

Co-authored-by: tunglinn <tunglin@yahoo.com>

* update instructions template 2897 (hackforla#3262)

Co-authored-by: olivi <olivia.yin.wang8@gmail.com>

* Update meeting data

* Update contributor and language data

* Update meeting data

* Update contributor and language data

* Updated website team members (hackforla#3298)

* Changed from Content to Content-Type (hackforla#3297)

* changed from content to content type

* ignore

* Change content to content-type

* edited and removed words (hackforla#3287)

Co-authored-by: Lily Arjomand <lilyarjomand@Lilys-MacBook-Pro.local>

* Update meeting data

* Update contributor and language data

* Bump node-fetch from 2.6.1 to 2.6.7 in /github-actions/github-data (hackforla#3263)

Bumps [node-fetch](https://github.com/node-fetch/node-fetch) from 2.6.1 to 2.6.7.
- [Release notes](https://github.com/node-fetch/node-fetch/releases)
- [Commits](node-fetch/node-fetch@v2.6.1...v2.6.7)

---
updated-dependencies:
- dependency-name: node-fetch
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* changed line 4 and deleted line 11 (hackforla#3303)

Co-authored-by: Riya Aswani <riya@Riyas-MacBook-Air.local>

* Update meeting data

* Update contributor and language data

* Changed alt text for card image (hackforla#3304)

Co-authored-by: Lily Arjomand <lilyarjomand@Lilys-MacBook-Pro.local>

* Update issue templates

* Update meeting data

* Update contributor and language data

* changed image alt in lucky-parking.md (hackforla#3317)

Co-authored-by: tunglinn <tunglin@yahoo.com>

* Change alt text for citizen engagement html file (hackforla#3320)

* changed from content to content type

* change content to content-type

* change content to content-type

* change content to content-type

* change content to content-type

* change alt text line 52

* reset docker-compose

Co-authored-by: Patrick McGuigan <74014488+pattshreds@users.noreply.github.com>
Co-authored-by: GitHub Actions Bot <hackforla-bot@hackforla.org>
Co-authored-by: alan-zambrano <41409431+alan-zambrano@users.noreply.github.com>
Co-authored-by: mmogri <mmogri@users.noreply.github.com>
Co-authored-by: Ava Li <62368440+Aveline-art@users.noreply.github.com>
Co-authored-by: phuonguvan <100561599+phuonguvan@users.noreply.github.com>
Co-authored-by: Saumil Dhankar <saumil.dhankar@yahoo.com>
Co-authored-by: mchavezm <mchavezm451@gmail.com>
Co-authored-by: Akinola Olanrewaju <103976465+Olanrewaju-Ak@users.noreply.github.com>
Co-authored-by: Olanrewaju-Ak <you@example.com>
Co-authored-by: Bonnie Wolfe <37763229+ExperimentsInHonesty@users.noreply.github.com>
Co-authored-by: Don Brower <donald.brower1@gmail.com>
Co-authored-by: Julian Smith <arieljeansmith@gmail.com>
Co-authored-by: Arpita <66761308+arpitapandya@users.noreply.github.com>
Co-authored-by: Jason Yee <42814942+JasonY188@users.noreply.github.com>
Co-authored-by: Matthew Arofin <98365396+matt-arofin@users.noreply.github.com>
Co-authored-by: Erick Odero <84427589+eodero@users.noreply.github.com>
Co-authored-by: riddle015 <hiramriddle@gmail.com>
Co-authored-by: Trisha Johnson <66317088+trishajjohnson@users.noreply.github.com>
Co-authored-by: Olivia Wang <105330997+oliviaywangn@users.noreply.github.com>
Co-authored-by: olivi <olivia.yin.wang8@gmail.com>
Co-authored-by: Beckett OBrien <44044350+BeckettOBrien@users.noreply.github.com>
Co-authored-by: Utkarsh Saboo <44554270+usaboo@users.noreply.github.com>
Co-authored-by: Tung Lin <86996158+tunglinn@users.noreply.github.com>
Co-authored-by: tunglinn <tunglin@yahoo.com>
Co-authored-by: Clayton Brossia <107889868+clayton1111@users.noreply.github.com>
Co-authored-by: Lily Arjomand <103547011+lilyarj@users.noreply.github.com>
Co-authored-by: Lily Arjomand <lilyarjomand@Lilys-MacBook-Pro.local>
Co-authored-by: Sarah Sanger <ssanger2020@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Riya Aswani <107890343+raswani2023@users.noreply.github.com>
Co-authored-by: Riya Aswani <riya@Riyas-MacBook-Air.local>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Complexity: Small Take this type of issues after the successful merge of your second good first issue Feature: Design system P-Feature: Donate https://www.hackforla.org/donate/ role: front end Tasks for front end developers size: 1pt Can be done in 4-6 hours status: Updated No blockers and update is ready for review

Projects

Development

Successfully merging this pull request may close these issues.

Apply design system heading classes to Donate page

7 participants