Skip to content

Instantly share code, notes, and snippets.

View thibaudcolas's full-sized avatar
😀

Thibaud Colas thibaudcolas

😀
View GitHub Profile
@thibaudcolas
thibaudcolas / wagtail-20260813.html
Created September 8, 2026 09:50
Agent session: wagtail - // The following is the list of other files changed in this update. <other_changed_files> </other_c...
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>wagtail - Agent Session</title>
<style>
:root {
--bg-primary: #f7f7fa;
--bg-surface: #ffffff;
@thibaudcolas
thibaudcolas / two_wagtail-20260825.html
Created September 8, 2026 09:43
Agent session: two_wagtail - Other files changed in this update (not in this review group): <other_changed_files> MODIFIED wagt...
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>two_wagtail - Agent Session</title>
<style>
:root {
--bg-primary: #f7f7fa;
--bg-surface: #ffffff;
{"cwd":"/Users/thibaudcolas/Dev/wagtail/wagtail","diffCommit":"eceeedd4e4","gitBranch":"doc/form-submissions-listing-recipe","model":"deepseek/deepseek-v4-flash-0731","parentUuid":null,"reviewMode":"commit","sessionId":"efb23cb0-2f65-4f32-9f9d-310b0614b737","timestamp":"2026-08-13T07:53:19Z","type":"session_start","uuid":"a3f83977-e34c-49f4-8484-220c7464e74e"}
{"filePath":"wagtail/test/testapp/models.py","messages":[{"role":"system","content":"## Role\nYou are a code review assistant developed by Alibaba. You are skilled at code review in the software development process and are responsible for providing professional review feedback for code changes that are about to be submitted. Your feedback perfectly combines detailed analysis with contextual explanations.\nYou are working in an IDE with editor concepts for open files and an integrated terminal. The user's developed code is stored in the IDE's staging area.\nBefore users commit staged code to remote repositories, they will send you tasks to help them comp
@thibaudcolas
thibaudcolas / api-session-guide.md
Created September 2, 2026 09:51
v3 API page creation session

Publish page via Wagtail v3 API

Session ID: ses_fc6f8a401ffevjq5KY1gdZo9FE Created: 8/25/2026, 2:06:18 PM Updated: 8/25/2026, 2:41:37 PM


User

@thibaudcolas
thibaudcolas / guide-20260825.html
Created August 27, 2026 06:45
Agent session: guide - Publish page via Wagtail v3 API
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>guide - Agent Session</title>
<style>
:root {
--bg-primary: #f7f7fa;
--bg-surface: #ffffff;
@thibaudcolas
thibaudcolas / raghad_dahi_translation_eval_report.html
Created August 26, 2026 12:47
Translation eval report by Raghad Dahi
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Machine Translation Model Evaluation Report</title>
<style>
:root {
--bg: #f6f7f9;
--card: #ffffff;
@thibaudcolas
thibaudcolas / plan.md
Created August 6, 2026 03:08
Markdown importer implementation plan (superpowers, excluded from repo)

Markdown Importer Implementation Plan

For agentic workers: REQUIRED SUB-SKILL: Use superpowers:subagent-driven-development (recommended) or superpowers:executing-plans to implement this plan task-by-task. Steps use checkbox (- [ ]) syntax for tracking.

Goal: Add a dependency-free Markdown-to-ContentState importer to draftjs_exporter, with a two-phase parse-then-filter architecture.

Architecture: MarkdownImporter wires together MarkdownParser (CommonMark core → valid ContentState) and ContentStateFilter (declarative rules → filtered ContentState). Entity creation for links/images goes through configurable resolver chains; a shipped scheme_resolver helper handles internal-URL syntaxes like wagtail://image?id=10. A configurable inline_html_styles whitelist maps paired HTML tags (<sup>) to inline styles. Spec: docs/superpowers/specs/2025-07-21-markdown-importer-design.md.

Tech Stack: Python 3.10+ stdlib only (re, urllib.parse), pytest + unittest-style test classes,

@thibaudcolas
thibaudcolas / spec.md
Created August 6, 2026 03:08
Markdown importer design spec (superpowers, excluded from repo)

Markdown Importer — Design Spec

Overview

Add a Markdown-to-ContentState importer to draftjs_exporter, complementing the existing ContentState-to-HTML/Markdown exporter. The design follows a two-phase architecture: parsing (Markdown text → valid ContentState) then filtering (ContentState → ContentState with content policy applied). A public MarkdownImporter class wires them together with a config shape that mirrors the exporter's pattern.

@thibaudcolas
thibaudcolas / analysis.md
Last active July 17, 2026 06:47
competitors analysis

Overview template

Category

Community Open Source / Commercial Open Source / Proprietary / Admin Framework

Website

One-line positioning

@thibaudcolas
thibaudcolas / triage-jpeg-xl-support.md
Created July 7, 2026 09:23
JPEG XL example of Wagtail roadmap triage

Triage: JPEG XL image support

Assessed against selection criteria + product strategy v1.0 on 2026-07-07.

🏔️ JPEG XL image support

Add JPEG XL (JXL) encoding/decoding to Willow, then expose the format in Wagtail core for image uploads and renditions, enabling ~15% smaller file sizes than AVIF, reducing bandwidth and carbon footprint with minimal user effort.

Classification: Pillar work