-
-
Notifications
You must be signed in to change notification settings - Fork 760
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
Refactor add-label.js
to use label-directory.json
#7538
base: gh-pages
Are you sure you want to change the base?
Refactor add-label.js
to use label-directory.json
#7538
Conversation
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.
|
Hey @tamara-snyder and @codyyjxn Before you get too far reviewing this issue, I want to provide instructions for reviewing the PR, hopefully in the next day or two. Thanks! |
Thanks I was going to reach out to you. I definitely need a bit more
information so I can fully understand the issue. Thanks!
…On Mon, Sep 30, 2024 at 8:56 PM Will Gillis ***@***.***> wrote:
Hey @tamara-snyder <https://github.com/tamara-snyder> and @codyyjxn
<https://github.com/codyyjxn> Before you get too far reviewing this
issue, I want to provide instructions for reviewing the PR, hopefully in
the next day or two. Thanks!
—
Reply to this email directly, view it on GitHub
<#7538 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BGV5I3BZLZGU4BGNPY24KW3ZZIMNRAVCNFSM6AAAAABPBG6BB6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOBUG4ZTENZUG4>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Hi @t-will-gillis, I hope you are well. Is it okay if I review this PR too? I can get you a review by EOD Wednesday, 10/2. |
Hey @mrodz Yes, definitely! Thank you |
Hey @tamara-snyder, @codyyjxn, and @mrodz: I believe this is ready for review now. I added review notes, and I had to make some last-minute edits because I omitted some labels. As I said in the review notes, let me know if you run into any problems that you can not figure out quickly- I might know what the problem is and could save you a lot of headaches. Thanks! |
changed note to `labelKeys` from `labelIds`
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @t-will-gillis Great Job refactoring the labels.
- After reviewing this the way you refactored the
label-directory.js
it seems like that was a great approach of retrieving the label names. - Also the
add-label.js
is returning the correct labels that you added. You also map through them correctly. - The branch is correctly named the issue is linked.
The only thing I recommend is changing the original issue from "New issue approval" to "Working in progress"
Also thank you for the notes on reviewing the issue. It definitely helped me understand how to go about it.
Keep it up!
Fixes #7537
What changes did you make?
retrieve-label-directory
module and new variable definitions to uselabelId
- Consolidating to.map(retrieve-label-directory)
retrieve-label-directory.js
module to remove the for loop since the labels are iterated using the spread syntax. Also, reformatted so thatlabelData
is generated with the first iteration only.Why did you make the changes (we will use this info to test)?
Screenshots of Proposed Changes To The Website (if any, please do not include screenshots of code changes)
Notes for Testing
When copying the Project Board, be sure to set yourself as the owner. You can rename the copy to "Project Board" or leave it.
After you make the copy, you will see an error message that says something to the effect that some workflows have failed to be created- you can safely ignore this message.
You will likely want to change the View to 'Board' to see that the status column names transferred correctly.
To match Hack for LA's Project Board's functionality, you may need to activate workflows by selecting the three dots in the upper right, then "Workflows". Set the "Workflows" as follows:
You will want to create the labels in your repo as explained in Tip 8.
add-label.js
, Please comment out Line 182minimizeComments(commentsToBeMinimized);