Skip to content

Instantly share code, notes, and snippets.

View thibaudcolas's full-sized avatar
😀

Thibaud Colas thibaudcolas

😀
View GitHub Profile
@thibaudcolas
thibaudcolas / [...slug].tsx
Created May 7, 2024 21:09
Next.js + GraphQL + Wagtail dynamic page type routing
import { gql } from 'graphql-tag';
// Generic `page` query, by site and URL path (unique per site).
export const pageQuery = gql`
query ($urlPath: String, $siteId: ID, $previewToken: String) {
site(id: $siteId) {
id
page(urlPath: $urlPath, token: $previewToken) {
...getBaseContentPageFields
}
@thibaudcolas
thibaudcolas / package-maintainers-dsf-wg.md
Last active April 11, 2024 09:36
Draft: Package maintainers DSF working group charter

Package Maintainers Working Group

Scope of responsibilities

This group supports package maintainers in the Django ecosystem. Packages are an important part of the experience of using Django, and their maintainers can benefit from different forms of support than Django contributors and users.

The goals of the group are:

  • To facilitate discussions and share knowledge about common issues or tasks in package maintenance.
@thibaudcolas
thibaudcolas / outlines.md
Last active April 9, 2024 23:54
HTTP Archive accessibility chapter outlines

HTTP Archive accessibility chapter outlines

Side by side

Chapter outlines as a spreadsheet

| 2022 | 2021 | 2020 | 2019 | | ---------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------

@thibaudcolas
thibaudcolas / README.md
Last active April 3, 2024 10:51
Django - Wagtail packages ecosystem on PyPI - 2024-03-04, 30 days, wheel packages only
@thibaudcolas
thibaudcolas / django-wagtail-2024-03-04-30days-wheels.csv
Created March 15, 2024 14:50
Django - Wagtail packages ecosystem on PyPI - 2024-03-04, 30 days, wheel packages only
We can't make this file beautiful and searchable because it's too large.
name,downloads_count,latest_release,author,license,home_page,requires_python,classifiers,requires_dist,upload_time,,,"Figures as of 2024-03-04, 30-days downloads"
django,12720908,,,,,,,,,,,Query:
djangorestframework,6783146,3.14.0,Tom Christie,BSD,https://www.django-rest-framework.org/,>=3.6,"[Development Status :: 5 - Production/Stable,Environment :: Web Environment,Framework :: Django,Framework :: Django :: 3.0,Framework :: Django :: 3.1,Framework :: Django :: 3.2,Framework :: Django :: 4.0,Framework :: Django :: 4.1,Intended Audience :: Developers,License :: OSI Approved :: BSD License,Operating System :: OS Independent,Programming Language :: Python,Programming Language :: Python :: 3,Programming Language :: Python :: 3.6,Programming Language :: Python :: 3.7,Programming Language :: Python :: 3.8,Programming Language :: Python :: 3.9,Programming Language :: Python :: 3.10,Programming Language :: Python :: 3 :: Only,Topic :: Internet :: WWW/HTTP]","[django (>=3.0),pytz]",2022-09-22 11:38:41.825785 UTC,,,ht
@thibaudcolas
thibaudcolas / content-checks.md
Created February 8, 2024 11:26
Content checks skipe notes

Content checks

Mapping accessibility errors to page fields

See wagtail/wagtail#10136.

Here is early R&D, rule-by-rule. At a high level, matching by element text feels possible in a wide number of cases but not all. An alternative would be to change the rendering of Wagtail content on sites to contain field marks (repurposing comments’ contentpath?)

empty-heading

@thibaudcolas
thibaudcolas / my-idea.md
Created January 18, 2024 07:09
My idea in a few words

My idea in a few words

Elevator pitch: My title should stand out and be understandable on its own, but here is a slightly longer description to clarify what this is about. Perhaps two sentences are ok, but really no more in here – if you have more to say then link to an external resource with more information (which you can write yourself if need be).

Why I think it’s great

Elevator pitch – but in a slow elevator! Or a full essay. It’s your doc, you decide.

Things that might be problems

@thibaudcolas
thibaudcolas / talks-id-like-to-see.md
Last active February 9, 2024 14:10
Django & Wagtail talks I’d like to see
@thibaudcolas
thibaudcolas / diversity-team-wagtail-proposal.md
Last active February 5, 2024 15:25
Draft Wagtail diversity team proposal

🚧 this is a draft for a team proposal. None of this exists yet. In particular, the team’s name is pending further feedback and all links are off.


Find us in #diversity on the Wagtail Slack.

Team charter

The team’s membership is open to all, introduce yourself in #diversity on Slack if you’re interested in joining. We currently operate with a membership term of 6 months, so people can commit for a short term, and then decide to proceed or stop.

@thibaudcolas
thibaudcolas / wsg-impact-effort-wagtail.md
Created January 10, 2024 22:03
WSG guidelines impact/effort review for open source CMS Wagtail

Draft – ideal format to share this more widely TBC

Evaluation of all Web Sustainability Guidelines success criteria, in the context of websites and CMS capabilities for projects built with Wagtail.

  • Impact: how impactful – XS, S, M, L, XL
  • Effort: how much work – XS, S, M, L, XL
  • Our progress: how much we’re doing this already – 0 to 100%
  • Steps: likely next steps to make improvement for specific SC

| Impact | Effort | Wagtail progress | Success Criterion | Steps |