Skip to content

Pods#488

Open
v-craigjzgh wants to merge 2 commits into
mainfrom
pods
Open

Pods#488
v-craigjzgh wants to merge 2 commits into
mainfrom
pods

Conversation

@v-craigjzgh

@v-craigjzgh v-craigjzgh commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

Recreation of #487

Copilot AI review requested due to automatic review settings June 9, 2026 03:00
GitHub Advanced Security started work on behalf of v-craigjzgh June 9, 2026 03:00 View session
@v-craigjzgh v-craigjzgh requested a review from csmlo June 9, 2026 03:01
GitHub Advanced Security finished work on behalf of v-craigjzgh June 9, 2026 03:01

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Adds a new “For Teams” experience to the site, including organization data generation and UI to browse nonprofits/projects suitable for team volunteering, while also applying broad formatting/style cleanups across existing components and config files.

Changes:

  • Adds a new /teams page with a hero section and an OrganizationList UI to browse/filter nonprofit organizations.
  • Introduces generate-organizations.ts and wires it into the build pipeline to produce organizations.json from the GitHub for Nonprofits team requests API.
  • Updates global styles and the header to support the new Teams experience (navigation tabs, badges/CTA styles), plus assorted formatting updates.

Reviewed changes

Copilot reviewed 28 out of 33 changed files in this pull request and generated 7 comments.

Show a summary per file
File Description
types.ts Adds Organization type to support the new teams/nonprofit data model.
pages/teams.tsx New Teams page that renders the organizations list from organizations.json.
generate-organizations.ts New data generator for organizations.json using the nonprofits team requests endpoint.
package.json Runs organization generation during prebuild.
components/OrganizationList.tsx New list UI with filtering + infinite scroll for organizations.
components/OrganizationItem.tsx New expandable organization card with metadata and “Join this Project” CTA.
components/TeamsHeroContainer.tsx New hero content for the Teams landing page.
styles/globals.scss Adds styles for organization badges/CTA and issue-list paragraph styling.
components/Header/Header.tsx + Header.module.scss Adds “For Individuals / For Teams” tabs and active state styling.
eslint.config.mjs Adds an additional ESLint config file (currently duplicates existing eslint.config.js).
generated.json Updates generated repository data payload.
tailwind.config.js, next.config.js, various components Mostly formatting/consistency updates.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread pages/teams.tsx

const organizations: Organization[] = organizationsData as Organization[];

export default function Teams() {
return (
<div className="repo-item">
<div id={`org-${organization.id}`}>
<div onClick={handleToggle}>
Comment on lines +65 to +68
<Grid.Column
className="org-list-wrap"
span={{ xsmall: 12, small: 12, medium: 12, large: 7, xlarge: 9 }}
>
Comment on lines +52 to +57
<GeneralFilter
filter={filter}
setFilter={
setFilter as (filter: string | number | readonly string[] | undefined) => void
}
/>

);
};
};
Comment thread eslint.config.mjs
Comment on lines +1 to +5
import next from "eslint-config-next";
import prettier from "eslint-plugin-prettier/recommended";

const eslintConfig = [...next, prettier];

Comment thread pages/teams.tsx
Comment on lines +8 to +12
import organizationsData from "../organizations.json";
import { Organization } from "../types";

const organizations: Organization[] = organizationsData as Organization[];

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants