Skip to content

merge by name and social urls #2027

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

Merged
merged 7 commits into from
Jun 17, 2025
Merged

merge by name and social urls #2027

merged 7 commits into from
Jun 17, 2025

Conversation

hasparus
Copy link
Contributor

Description

As the speakers sometimes have multiple user accounts in Sessionize (or Sched) and we can't expect the username across years will be the same, we now merge the speakers during site build (not during sync, during sync we just find equal full names but this is editable by a human, we never remove items from that list).

image

Copy link

vercel bot commented Jun 17, 2025

@hasparus is attempting to deploy a commit to the The GraphQL Foundation Team on Vercel.

A member of the Team first needs to authorize it.

// we prefer the data from the most recent years
.sort((a, b) => Math.max(...a._years) - Math.max(...b._years))
// and the `year` of the conference we're fetching data for
.concat([speaker])
Copy link
Contributor Author

Choose a reason for hiding this comment

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

We merge speaker data starting from oldest to newest and then correct year. (So building 2025 site next year it will effectively Object.assign(s2023, s2024, s2025, s2026, s2025)

Copy link

vercel bot commented Jun 17, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
graphql-github-io ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 17, 2025 7:06pm

@saihaj saihaj merged commit 16eda84 into graphql:source Jun 17, 2025
4 checks passed
@saihaj saihaj deleted the merge-by-name branch June 17, 2025 20:13
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