Skip to content

Add instructions and a script for hosting Office Hours.#116

Closed
PoignardAzur wants to merge 3 commits into
mainfrom
issues_script
Closed

Add instructions and a script for hosting Office Hours.#116
PoignardAzur wants to merge 3 commits into
mainfrom
issues_script

Conversation

@PoignardAzur

Copy link
Copy Markdown
Contributor

No description provided.

@PoignardAzur
PoignardAzur requested a review from DJMcNab June 26, 2025 11:36

@DJMcNab DJMcNab left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I think having some docs here is helpful; I don't think they need to be as prominent as you've made them.

Comment thread content/wiki/preparing_office_hours.md Outdated
Comment thread content/wiki/preparing_office_hours.md Outdated
Comment thread content/wiki/preparing_office_hours.md Outdated

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

If it's possible under Zola, I'd probably put this page as a sub-page of Office Hours; it doesn't really make sense as a top-level thing

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I don't think it matters. The wiki folder is already very chaotic anyway. It's not valuable real estate.

Comment thread content/wiki/preparing_office_hours.md Outdated
Comment thread content/wiki/preparing_office_hours.md Outdated
}
}

return `[#${issue.number}](${issue.html_url}) (${label}) - ${issue.title}`;

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

For e.g. kurbo/peniko or android-view/accesskit or resvg/usvg/tiny-skia etc, we normally include which specific repository from that group the issue corresponds to. I see you've chosen not to do so this week - is there a reason? Maybe there's some indicator that I'm not spotting.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I've added the repo name to all issues for simplicity.

"linebender/linebender.github.io",
];

const since = new Date(Date.now() - 7 * 24 * 60 * 60 * 1000).toISOString();

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

It could be nice to use 8am PDT/PST on office hours day (maybe just on the given day?), so that stuff doesn't accidentally get included twice (especially when you're not manually looking at the times). Maybe 6:30am, which gives a 90 minute window to make this?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I'd rather avoid getting too clever here. This is supposed to be a simple-ish script. The user can just filter out older issues manually.

if (!isPR && createdRecently) {
label = "open issue";
} else if (isPR) {
// Fetch PR details to determine draft/merged status

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

It's very strange that GitHub's API doesn't include this info (it even includes the PR body!), but I agree that it seems like you have to do this.

Comment thread content/wiki/preparing_office_hours.md Outdated
Comment thread content/wiki/preparing_office_hours.md Outdated
@PoignardAzur

Copy link
Copy Markdown
Contributor Author

Something I'd like to note is, I think it's fine if the script doesn't perfectly sort issues or gives some redundant info, as long as it doesn't give outright false info.

The user should still be expected to do the work of sorting items and curating them for Office Hours.

@PoignardAzur

Copy link
Copy Markdown
Contributor Author

Do we still think this is valuable? Otherwise I'd rather close the PR.

@DJMcNab

DJMcNab commented Sep 19, 2025

Copy link
Copy Markdown
Member

I'm unlikely to make use of this resource, and I'm generally the only person who makes the document and fills out the agenda.

@DJMcNab
DJMcNab deleted the issues_script branch September 19, 2025 14:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants