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

Rollout Plan: Refactor code with img HTML tags to end without a slash #4362

Open
4 of 9 tasks
JessicaLucindaCheng opened this issue Apr 1, 2023 · 56 comments
Open
4 of 9 tasks
Labels
Added to dev/pm agenda Complexity: See issue making label See the Issue Making label to understand the issue writing difficulty level epic Feature: Refactor HTML Issue Making: Level 5 Make a Rollout Plan that has >1 epics to achieve and timelines for interdependencies ready for merge team needs a senior review either to do some re writing or to approve it for ready for prioritization ready for product role: back end/devOps Tasks for back-end developers role: front end Tasks for front end developers size: 2pt Can be done in 7-12 hours

Comments

@JessicaLucindaCheng
Copy link
Member

JessicaLucindaCheng commented Apr 1, 2023

Dependency

Overview

We want to change img HTML tags ending with a slash (<img.../>) to an img tag without an ending slash (<img...>) so that the codebase is consistent with how we use img HTML tags.

Details

  • See the write-up for the DR: img tag documentation comment 1
  • Read the roll out plan 2
  • See the already started but not completed spreadsheet: HfLA-Website: img Tag Audit spreadsheet 3
  • To understand the Issue Making labels, see 4 in the Resources/Instructions section below 4

Action Items

  • Write epic 1 as outlined in the roll out plan
    • Add a link to the epic in the Dependency section above
  • Write epic 2 as outlined in the roll out plan
    • Add a link to the epic in the Dependency section above
  • Once all the issues are closed in the Dependency section, delete the following issue template(s):
    • .github/ISSUE_TEMPLATE/img-tag-refactor-on-website.md 5

Resources/Instructions

Footnotes

  1. DR: img tag documentation comment

  2. Roll out plan

  3. HfLA-Website: img Tag Audit spreadsheet

  4. To understand the Issue Making labels, refer to the Resources section of this ER: ER: Documentation for Issue Making Levels #4678

  5. Issue Template 1: img Tag Refactor on Website and its associated Markdown file .github/ISSUE_TEMPLATE/img-tag-refactor-on-website.md. This template works for any pages that are marked with Template 1 in the Template to use if <img.../> found column on the Page Audit tab. Template 1 works if the img tag is on the website.

@JessicaLucindaCheng JessicaLucindaCheng added Complexity: Large Feature: Refactor HTML size: 8pt Can be done in 31-48 hours epic role: dev leads Tasks for technical leads Draft Issue is still in the process of being created labels Apr 1, 2023
@github-actions github-actions bot removed the Draft Issue is still in the process of being created label Apr 1, 2023
@JessicaLucindaCheng JessicaLucindaCheng changed the title Refactor code with img HTML tags without an ending slash Refactor code with img HTML tags to end without a slash Apr 1, 2023
@JessicaLucindaCheng JessicaLucindaCheng added the Draft Issue is still in the process of being created label Apr 2, 2023
@JessicaLucindaCheng JessicaLucindaCheng self-assigned this Apr 2, 2023
@JessicaLucindaCheng

This comment was marked as resolved.

@JessicaLucindaCheng JessicaLucindaCheng added ready for dev lead Issues that tech leads or merge team members need to follow up on and removed Draft Issue is still in the process of being created labels Apr 9, 2023
@JessicaLucindaCheng JessicaLucindaCheng removed their assignment Apr 9, 2023
@JessicaLucindaCheng JessicaLucindaCheng added this to the x. Technical debt milestone Apr 9, 2023
@JessicaLucindaCheng

This comment was marked as resolved.

@JessicaLucindaCheng JessicaLucindaCheng self-assigned this Apr 9, 2023
@JessicaLucindaCheng JessicaLucindaCheng added Draft Issue is still in the process of being created Issue Making: Level 4 Create an Epic Issue, and it's Level 2 or 3 issues Complexity: Large Issue Making: Level 5 Make a Rollout Plan that has >1 epics to achieve and timelines for interdependencies good first issue Good for newcomers Complexity: Good second issue Complexity: Small Take this type of issues after the successful merge of your second good first issue role: front end Tasks for front end developers and removed ready for dev lead Issues that tech leads or merge team members need to follow up on Complexity: Large Issue Making: Level 4 Create an Epic Issue, and it's Level 2 or 3 issues labels Apr 9, 2023
@daras-cu
Copy link
Member

daras-cu commented Oct 1, 2024

@JessicaLucindaCheng @ExperimentsInHonesty all of the dependencies have been resolved for this issue so I believe the .github/ISSUE_TEMPLATE/img-tag-refactor-on-website.md template can be deleted. What is the procedure for deleting a file? Should I open a pull request?

@daras-cu daras-cu moved this from Ice box to Questions / In Review in P: HfLA Website: Project Board Oct 1, 2024
@ExperimentsInHonesty ExperimentsInHonesty added Complexity: Small Take this type of issues after the successful merge of your second good first issue size: 0.5pt Can be done in 3 hours or less size: 2pt Can be done in 7-12 hours Issue Making: Level 5 Make a Rollout Plan that has >1 epics to achieve and timelines for interdependencies Complexity: See issue making label See the Issue Making label to understand the issue writing difficulty level and removed Complexity: See issue making label See the Issue Making label to understand the issue writing difficulty level Issue Making: Level 5 Make a Rollout Plan that has >1 epics to achieve and timelines for interdependencies size: 2pt Can be done in 7-12 hours Complexity: Small Take this type of issues after the successful merge of your second good first issue size: 0.5pt Can be done in 3 hours or less labels Oct 15, 2024
@ExperimentsInHonesty
Copy link
Member

ExperimentsInHonesty commented Oct 15, 2024

I see a bunch of files in the code base that have references to issues with /> in them. Here is the search I used. Below are all the files I found on the results that seemed relevant. Some of them are in the HfLA-Website: img Tag Audit (Roll out plan #4362), img with Ending Slash tab and some are not on the sheet at all (could have been added after sheet was made). So I think there are probably issues left to make for this. Either we reopen the following issues, or make new ones. Thoughts?

Examples

<img src={{ page.image | absolute_url }} class='project-tmb-img project-start-guide-img' alt='project'/>

<img class="header-hero-image"src="/assets/images/about/about-us-header.svg" alt="" />

<img src='${window.location.origin}${project.image}' class="project-tmb-img" alt='${project.alt}'/>

<img class="icon-left-image" src={{ item[1].image-url | absolute_url }} alt=""/>

<div class="grid-center"><img src="/assets/images/sdg/sdg-la.svg" alt="" /><br />

<img src="/assets/images/about/section-header-elements/letter.svg" alt="" /></span><span id="letterBR">Letter from the Executive Director</span>

<img class="step-img-icon-git" src="assets/images/getting-started/join-2.png" alt="" />

Example not on sheet

- If your images are too big, use the <img src="" width="" length="" /> syntax instead of ![image](link) to format the images

<img class="header-hero-image" src="/assets/images/communities-of-practice/comm-prac-header.svg" alt="community of practice header" />

<a href="https://donate.stripe.com/bIY9Cpcg8dihfIc5kl" target="_blank" rel="noopener noreferrer"><img class="donation-png" src="/assets/images/about/donate-form.png" alt=""/></a>

<a target="_blank" class="wins-card-linkedin-icon"><img class="linkedin-icon" alt="" /></a>

<div class="metrics-vrms-title"><img src="/assets/images/about/vrms-logo.svg" alt="VRMS logo" /></div>

<div class="about-us-section-header" data-hash="accomplishments"><span class="sec-head-img"><img src="/assets/images/about/section-header-elements/accomplishments.svg" alt="" /></span>Accomplishments</div>

- If your images are too big, use the <img src="" width="" length="" /> syntax instead of ![image](link) to format the images

@ExperimentsInHonesty
Copy link
Member

@daras-cu In answer to your question below. No, don't create a PR just yet. We should always re-audit after a role out (audit + change issues). That way, we catch anything that we missed during each of those stages. See my comment above for what I found when I re-audited the code base. I ended up finding 14 issues to review for possible changes, if they all need changes, that ends up being 17.5% of the changes missed if we had considered this closed without checking.

@JessicaLucindaCheng @ExperimentsInHonesty all of the dependencies have been resolved for this issue so I believe the .github/ISSUE_TEMPLATE/img-tag-refactor-on-website.md template can be deleted. What is the procedure for deleting a file? Should I open a pull request?

@ExperimentsInHonesty ExperimentsInHonesty added Added to dev/pm agenda ready for merge team needs a senior review either to do some re writing or to approve it for ready for prioritization labels Oct 15, 2024
@ExperimentsInHonesty
Copy link
Member

ExperimentsInHonesty commented Oct 29, 2024

We will make a new issue to create issues using this template and the results I found above

labels:
issue making: level 1
feature: refactor HTML

Make a note that leads back here to check to see if its all done and then remove the template.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Added to dev/pm agenda Complexity: See issue making label See the Issue Making label to understand the issue writing difficulty level epic Feature: Refactor HTML Issue Making: Level 5 Make a Rollout Plan that has >1 epics to achieve and timelines for interdependencies ready for merge team needs a senior review either to do some re writing or to approve it for ready for prioritization ready for product role: back end/devOps Tasks for back-end developers role: front end Tasks for front end developers size: 2pt Can be done in 7-12 hours
Projects
Status: Questions / In Review
Development

No branches or pull requests

7 participants