-
-
Notifications
You must be signed in to change notification settings - Fork 778
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
Edit content field and remove type field from commofpract.yml credits file #2816
Comments
This comment was marked as outdated.
This comment was marked as outdated.
Hi @Mattre7, thank you for taking up this issue! Hfla appreciates you :) Do let fellow developers know about your:- You're awesome! P.S. - You may not take up another issue until this issue gets merged (or closed). Thanks again :) |
i. Available most of the time except for friday-sunday nights, as well as tuesday from 11-5 ii. Finished the issue fairly quickly, just added, committed, and pushed my changes. In the future I will be creating a new branch for the issue I am working on instead of just making the changes on my local master branch. I am hoping this can be reviewed so I can see if I pushed the changes correctly, and if not, what I did wrong and what I can do in the future to do it correctly. |
Please add update using the below template (even if you have a pull request). Afterwards, remove the 'To Update !' label and add the 'Status: Updated' label.
If you need help, be sure to either: 1) place your issue in the developer meeting discussion column and ask for help at your next meeting, 2) put a "Status: Help Wanted" label on your issue and pull request, or 3) put up a request for assistance on the #hfla-site channel. You are receiving this comment because your last comment was before Tuesday, July 19, 2022 at 12:21 AM PST. |
@Mattre7 the last update we had from you, you said
I am checking to see what happened. We don't see a PR |
Hi Bonnie! I am so sorry it has been a while since I tended to this issue. A little while ago I got some help from some leads in a meeting and they helped me create a branch specifically for the issue I was working on (I had just been working on my main branch from my fork). Originally I thought I had created a pull request but then realized I hadn't. Still refamiliarizing myself with this process, but I just created the pull request, so I am hoping you are able to see it now. |
Leaving an update on this page. Ended up closing my first pull request and starting from scratch due to quite a few merge conflicts due to an outdated fork/branch of the website. Recently opened a pull request where the only conflicts are the changes I was tasked with on the issue, has already been approved by one, waiting for further approval. |
Prerequisite
Overview
As a developer, I want to edit the content field and remove the type field from a credit's yml file so that redundant code is removed and the code is easier to understand.
Details
Currently, in each credit's yml file, there is a
content
field and atype
field, which contains similar information. Since the fields are redundant, we decided to remove thetype
field.Also, we changed the
content
field to thecontent-type
field to make it clearer what its purpose is. The possible values forcontent-type
field are image, video, or audio; other types of content can be added if necessary. In the future, this will allow developers a way to differentiate easily between different types of content in order to show each credit's media file correctly on the website.Action Items
For the file
_data/internal/credits/commofpract.yml
, do the following:Resources/Instructions
File and Code links you will need to work on this issue
Directory to find the page in once you have it in your IDE:
_data/internal/credits/commofpract.yml
Click on the links below to see the source file code:
website/_data/internal/credits/commofpract.yml
Line 4 in e980b70
website/_data/internal/credits/commofpract.yml
Line 11 in e980b70
The text was updated successfully, but these errors were encountered: