Skip to content

Add local user groups directory - #71

Open
psjamesp wants to merge 3 commits into
mainfrom
feat/user-groups
Open

Add local user groups directory#71
psjamesp wants to merge 3 commits into
mainfrom
feat/user-groups

Conversation

@psjamesp

Copy link
Copy Markdown
Contributor

Summary

Adds a User Groups section off the community page where local PowerShell user groups get their own page, plus a listing that shows all of them — modeled on how events and authors already work so groups can be added with a quick submission.

What's included

  • New /user-groups/ section with list + single layouts: card-grid directory, per-group pages with a meeting-details sidebar (location, format, schedule, organizers, links), logo support, and multiple organizers.
  • "User Groups" card added to the community menu — appears on the community page grid and in the Community nav dropdown.
  • Self-service submission (mirrors the community-event flow):
    • .github/ISSUE_TEMPLATE/user-group.yml — a web form; no git/markdown needed.
    • .github/workflows/add-user-group.yml — on the approved label, parses the issue, generates content/user-groups/<slug>.md, and opens a PR. Includes the same raw-HTML stripping XSS guard as add-event.yml.
    • archetypes/user-groups.md scaffold for the direct-PR path.
  • Seed groups:
    • PowerShell Ohio User Group — real details from their Meetup (online, first Thursday monthly at 7 PM ET, Meetup link) plus their badge logo, self-hosted at static/images/user-groups/ohio-powershell.webp (center-cropped to 512×512).
    • Research Triangle PowerShell User Group.
  • Calendar: Ohio's real upcoming session ("PowerShell MythBusters w/ Matthew Dowst", Sep 3 2026) added.
  • Regenerated the purged Tailwind CSS and Font Awesome icon subsets for the new classes/icons.

Verification

  • Parsing logic tested against a realistic issue body (correct slug, multiple organizers, links, <script> stripped).
  • Generated content renders through Hugo at the correct URL; clean production build passes.
  • Both new YAML files parse; directory, group pages, and calendar entry verified in the browser.

Notes / follow-ups

  • The workflow relies on an approved label existing in the repo (same as the event workflow).
  • Ohio organizer name(s) aren't listed on Meetup — left as a # TODO in the group's front matter.
  • Only the Sep 3 meeting was added to the calendar; the group meets monthly, so future dates can come in via the event form.

🤖 Generated with Claude Code

psjamesp and others added 2 commits August 11, 2026 13:58
Add a Goldmark heading render hook that renders each Markdown heading with
its auto-generated id plus a hover-revealed anchor link, so any article
section can be linked to and shared. IDs still come from .Anchor, so
existing in-page `#section` links keep working, and author `{.class}`
attributes (e.g. .wp-block-heading) are preserved.

- themes/.../_markup/render-heading.html — the render hook
- themes/.../static/css/heading-anchors.css — hover styling + scroll-margin
  to clear the sticky header; loaded async alongside the other theme CSS
- single.html — the in-article smooth-scroll handler now also updates the
  URL hash, so clicking a section link makes it copyable from the address bar

fa-link is already in the icon subset, so generated assets are unchanged.

Closes #52

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Add a User Groups section off the community page where local PowerShell
user groups get their own page, plus a listing that shows all groups.

- New /user-groups/ section with list + single layouts (logo support,
  meeting details sidebar, multiple organizers)
- "User Groups" card added to the community menu (also appears in the
  Community nav dropdown)
- Self-service submission: user-group.yml issue form + add-user-group.yml
  workflow that generates the content file and opens a PR on approval
  (mirrors the community-event flow)
- Seed groups: PowerShell Ohio User Group (real details + logo from their
  Meetup) and Research Triangle PowerShell User Group
- Ohio's upcoming meeting added to the community calendar
- Regenerated purged Tailwind CSS and Font Awesome icon subsets

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@netlify

netlify Bot commented Aug 13, 2026

Copy link
Copy Markdown

Deploy Preview for powershellorg ready!

Name Link
🔨 Latest commit a52771b
🔍 Latest deploy log https://app.netlify.com/projects/powershellorg/deploys/6a7e1659482e7e0007162c68
😎 Deploy Preview https://deploy-preview-71--powershellorg.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@psjamesp
psjamesp requested a review from HeyItsGilbert August 13, 2026 19:00
- List Stephen Valdinger as the Ohio PowerShell User Group organizer
- Regenerate assets/css/tailwind.css: earlier commit purged it before the
  content was final, dropping classes that only render once the calendar has
  an upcoming event (space-y-5, md:w-36, hover:border-purple-400, ...) and a
  group has a logo (max-w-full, max-h-full, p-1). Rebuilt with the pinned
  hugo-extended so the CI freshness check passes.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@HeyItsGilbert

Copy link
Copy Markdown
Member

Preview looks good.

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