Skip to content
This repository has been archived by the owner on Jul 2, 2024. It is now read-only.

Update locations page to be auto-generated #1745

Open
marybelzer opened this issue Jan 10, 2022 · 1 comment
Open

Update locations page to be auto-generated #1745

marybelzer opened this issue Jan 10, 2022 · 1 comment
Assignees
Labels
📝 Handbook content An edit that should be made to a page, a new page that should be created, a reorganization, etc. team/content-platform

Comments

@marybelzer
Copy link
Contributor

marybelzer commented Jan 10, 2022

Slack thread for context.

The locations page in the Handbook is much loved, but cumbersome to maintain and as such is quite out of date.

Input from that slack thread:

I think most of the concerns you listed could be addressed by moving location into an alternate representation similar to what we did with the org chart. We could convert the team page to be generated from a YAML file with an optional location field. I don't think the team page as a whole is intended to be a source of truth anyways, since not all teammates are listed. And then removing a teammate is just deleting a YAML block.

Ideally, we would generate the locations page + map from the information listed on the team page. See here for a proof of concept.

@katjuell katjuell self-assigned this Jan 11, 2022
@katjuell katjuell moved this from Ready for Development to In Progress in Content Platform Work Jan 11, 2022
@katjuell katjuell moved this from In Progress to Ready for Development in Content Platform Work Jan 13, 2022
@marybelzer marybelzer added the 📝 Handbook content An edit that should be made to a page, a new page that should be created, a reorganization, etc. label Feb 10, 2022
@elzannewentzel elzannewentzel moved this from Ready for Development 🚦 to Backlog 📓 in Content Platform Work Jun 27, 2022
@StefanAvra
Copy link

I was browsing the team locations page and saw that the map view is broken.
I guess the issue is caused by this trailing comma in the geojson: https://github.com/sourcegraph/handbook/blob/1e7a3ebe035ff195baca24b071b5155c996cb2be/content/team/locations.geojson#L912C11-L912C11

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
📝 Handbook content An edit that should be made to a page, a new page that should be created, a reorganization, etc. team/content-platform
Projects
No open projects
Status: Backlog 📓
Development

No branches or pull requests

3 participants