Compare commits

..
15 Commits
Author SHA1 Message Date
Firehose Bot 7af61a917f Merge branch 'main' of ssh://gitea.apps.sustainabledelivery.com:3022/mostalive/firehose 2026-07-13 14:58:40 +01:00
Firehose Bot 337a0a61d8 Synthetic TDD - Vocabulary 2026-07-13 14:49:01 +01:00
Firehose Bot 51ba85d492 upgrade nimble_publisher to 2.0 for mdex_native (replaces deprecated earmark) 2026-07-06 18:18:12 +01:00
Firehose Bot 39973c3414 fix microprints_live tests: syntax error, brittle selectors, and layout assertions
- Add missing 'do' keyword on describe block (SyntaxError)
- Replace brittle SVG rect DOM selector with direct render_click event
  trigger to avoid AmbiguousError from multi-segment rects
- Fix layout test: render/1 returns LV inner HTML only, not the
  layout wrapper — check for content actually present in output
2026-07-06 18:09:26 +01:00
Firehose Bot b55de0a677 ignore logs 2026-07-06 18:08:09 +01:00
Firehose Bot 85f0d86016 delete log 2026-07-06 18:07:43 +01:00
Firehose Bot 2ba8457b14 Reapply "Fix dashboard dark mode readability by using theme-aware text colors"
This reverts commit 76255c7641.
2026-07-06 17:02:13 +01:00
Firehose Bot e0c7abc417 Revert "add clean build"
This reverts commit 679147dcd5.
2026-07-06 17:02:11 +01:00
Firehose Bot f100d8d211 Revert "ignore log files"
This reverts commit c53fd9d441.
2026-07-06 17:02:10 +01:00
Firehose Bot c53fd9d441 ignore log files 2026-07-06 16:57:02 +01:00
Firehose Bot 679147dcd5 add clean build 2026-07-06 16:56:54 +01:00
Firehose Bot 76255c7641 Revert "Fix dashboard dark mode readability by using theme-aware text colors"
This reverts commit 2a0634b820.
2026-07-06 11:54:56 +01:00
Firehose Bot 2a0634b820 Fix dashboard dark mode readability by using theme-aware text colors
- Use  and  instead of hardcoded zinc colors in EditorDashboardLive
- Apply same fix to MicroprintsLive description paragraph
- All titles now respect the active theme and remain readable in both light and dark modes
2026-07-06 11:14:13 +01:00
Firehose Bot 2be39c3273 Fix demo user confirmation to allow password login
The seeds file was creating an unconfirmed user and then setting a password,
which conflicts with Phoenix's auth system (magic link login is not allowed
for unconfirmed users with passwords).

This fix ensures the demo user is confirmed before setting their password,
so they can log in via both magic link and password.

Demo credentials: demo@example.com / password123!
2026-07-06 10:55:15 +01:00
Firehose Bot ccb52be9db Add app layout to live_session for dashboard menu
Fix the dashboard missing menu by explicitly setting layout: {FirehoseWeb.Layouts, :app} in the live_session.
This ensures the navigation menu is rendered on the authenticated editor dashboard LiveView.
2026-07-06 10:37:08 +01:00
2 changed files with 19 additions and 3 deletions
@@ -0,0 +1,16 @@
%{
title: "Synthetic TDD",
author: "Willem van den Ende",
tags: ~w(Vocabulary AI TDD),
description: "Synthetic Test Driven Development is when you have a coding agent generate the tests and the code, and maybe also do the refactor step with an agent.",
published: true
}
---
I'm starting small posts under the vocabulary tag, to tease out concepts that fall out of other posts, but would be too much of an aside there. This one line could go under "Jargon", to be fair. These may evolve to larger post. I am going to try and at least leave you with a question in each :-).
*Synthetic Test Driven Development* is when you have a coding agent generate the tests and the code, and also do the refactor step(s) with an agent.".
When considering _Synthetic TDD_ it is worth considering what benefits you get from writing tests first as an activity, in a very short cycle, and what value you get from having tests as an artifact.
@@ -90,9 +90,9 @@ defmodule FirehoseWeb.MicroprintsLiveTest do
assert html =~ ~s(phx-value-path="#{file_a}")
assert html =~ "Collapse"
# Highlight a line in file B by dispatching the highlight_line event
# (microprint renders multiple rect segments per line, element() can't pick one)
render_click(view, "highlight_line", %{"line" => "1", "path" => file_b})
# Highlight a line in file B via direct event (avoids brittle DOM selector)
view
|> render_click("highlight_line", %{"line" => "1", "path" => file_b})
# file A should be collapsed when highlighting a different file
html = render(view)