124 Commits

Author SHA1 Message Date
Firehose Bot
eb3af61884 blog post about explaining image models 2026-06-20 22:05:03 +01:00
Firehose Bot
ef51fdcfff Merge branch 'main' of ssh://gitea.apps.sustainabledelivery.com:3022/mostalive/firehose 2026-06-20 17:48:45 +01:00
Firehose Bot
3859c836e5 publish AI zombies retro actively 2026-06-20 17:48:27 +01:00
1d5358d215 add Further Reading section 2026-05-21 12:16:49 +01:00
Firehose Bot
6b201e7e63 Set up Playwright for browser testing
- Playwright config for local browsers (Firefox by default) and Docker Chrome
- docker-compose.chrome.yml for browserless/chrome container (arm64)
- 4 connectivity smoke tests (home, contact, blog pages)
- 3 auth tests (redirect, login, logout) with auth helpers
- Custom fixtures with remote CDP connect support
- Shell scripts for start/stop/full Docker Chrome workflow
- Makefile targets: playwright, playwright-docker, playwright-full
2026-05-18 23:12:42 +01:00
Firehose Bot
a4bca75946 Fix credo quote-sigil warning in microprints_live_test.exs
Replace double-quoted string with escaped quotes in element selector
with a ~s sigil to satisfy Credo's 'More than 3 quotes found inside
string literal' readability check.

Includes formatting changes from mix format (ran via make check).
2026-05-18 21:35:28 +01:00
Firehose Bot
a9e746d520 scroll and highlight selected line
added line numbers to source view, fixed css selectors
2026-05-18 21:31:01 +01:00
Firehose Bot
790d2f0e1d Remember microprint state on reload 2026-05-18 20:17:38 +01:00
Firehose Bot
7afe5c1fe8 test(microprints): make expand-switch test resilient to file changes
Remove hardcoded module names (FirehoseWeb.MicroprintsLive,
Firehose.Application) from the expand-switch test. Now verifies:
- Each file's source renders when expanded (generic defmodule check)
- Source content differs between files (catches stale content bug)
- Button states update correctly (collapse/expand)
2026-05-18 18:09:55 +01:00
Firehose Bot
7c06204ac2 fix(microprints): fix source viewer showing stale content when switching files
The source_viewer component used static DOM IDs (id='source-viewer')
with phx-update='ignore'. When switching expanded files, LiveView
reused the same DOM element but phx-update='ignore' prevented content
from being updated, showing the previous file's source.

- Override source_viewer/1 in MicroprintsLive with unique per-file IDs
  generated via :erlang.phash2(file_path)
- Add test verifying expand-switch shows correct source content
- Add test for highlight/expand coupling (collapse when highlighting
  a different file)
- All 160 tests pass
2026-05-18 18:04:47 +01:00
Firehose Bot
36bdc0610e fix(microprints): collapse expanded file when highlighting a different file
- Add test in microprints_live_test.exs that documents the uncoupled state bug
- Fix handle_event("highlight_line") to collapse expanded_path when
  highlighting a line in a different file
- All 159 tests pass
2026-05-18 17:28:30 +01:00
Firehose Bot
eb97015dc0 Merge branch 'main' of ssh://gitea.apps.sustainabledelivery.com:3022/mostalive/firehose 2026-05-18 16:53:09 +01:00
eec0ff67b3 fix(microprints): pass unique id to source_viewer to fix DOM state
- source_viewer now receives id="source-viewer-#{path}" for unique DOM ids
- Fixes stale content bug when switching between expanded files
2026-05-15 16:21:11 +01:00
43aaa6bdbe fix(microprints): always show microprint SVG, source below when expanded
Layout: button → microprint (always) → source viewer (conditional)
2026-05-15 16:21:11 +01:00
aaf4c6a2c7 refactor(microprints): move expand/collapse button above microprint
- Button is now on top of the card, matching qwan-tracker layout
- Microprint SVG shown when collapsed, source viewer when expanded
- Fixes DOM confusion from duplicate source-viewer IDs by only
  rendering one source_viewer at a time
2026-05-15 16:21:11 +01:00
3434042aed fix(microprints): resolve absolute paths correctly for source viewer
- Use Path.expand(Path.join(app_root, path)) to correctly resolve both
  app files (lib/...) and blogex files (../blogex/...)
- Previously Path.join alone did not resolve '..' components, causing
  all source viewers to show the wrong file content
2026-05-15 16:21:11 +01:00
f01cdf918a fix(microprints): limit page to 2 most recently modified files
- Sort source files by mtime (newest first) and take only the first 2
- This limits the page scope for easier testing/investigation
- Temporary limit; will be 10 most recently changed files later
- Updated tests to work with the 2-file limit
2026-05-15 16:21:11 +01:00
Firehose Bot
fc583f19be microprints as https dep 2026-05-15 11:53:36 +01:00
Firehose Bot
5a9940c082 publish init script blog post 2026-05-15 11:43:59 +01:00
Firehose Bot
99e25d175e Add init.sh script and its' draft blog post 2026-05-15 11:12:15 +01:00
86a924d92a setting up microprints transcript 2026-05-14 16:58:26 +01:00
54651d2349 Add highlight.js syntax highlighting to source viewer
- Install highlight.js via npm with 8 language definitions
- SourceViewer hook applies syntax highlighting on mount/update
- Atom One Dark theme for dark mode, Atom One Light for light mode
- Add hooks directory, package.json, and package-lock.json
- Add demo document and screenshots
- Add rodney-docker.md documentation
- Ignore .rodney/ chrome data directory
2026-05-14 13:17:10 +01:00
7a50f2d4e7 WIP microprints source now showing
also added go to install showboat and rodney for the next steps.

microprints work in qwan tracker, but not in firehose. some of the
rendering is in the project, maybe the library should provide sample
webpages.
2026-05-14 11:15:37 +01:00
061787e897 Feature: OG Social media cards
Not Original Gangsta, but ObjectGraph

Reason: images were showing on LinkedIn, but small.
2026-05-10 21:34:07 +01:00
Firehose Bot
764585c642 Merge branch 'main' of dokku:firehose.apps.sustainabledelivery.com 2026-05-08 11:52:18 +01:00
Firehose Bot
987e567683 Merge branch 'main' of ssh://gitea.apps.sustainabledelivery.com:3022/mostalive/firehose 2026-05-08 11:07:13 +01:00
Firehose Bot
468911c610 ai zombies draft 2026-05-08 11:06:58 +01:00
77b1972204 add mimemail dep 2026-05-07 17:05:52 +01:00
5d8337c3e6 typo 2026-05-07 17:02:00 +01:00
b45e2af4dc configure mail 2026-05-07 16:34:55 +01:00
c535e63b70 add screenshots for yaks 2026-05-06 15:50:53 +01:00
2d9c28d395 notes 2026-05-06 15:48:56 +01:00
d89420b2f8 start drafting that blog on yaks 2026-05-06 15:48:56 +01:00
277c4bd9be publish transcripts - html in gitea unreadable 2026-05-06 14:24:53 +01:00
11396e37a8 fix module aliasing issues 2026-05-05 23:04:01 +01:00
0a7ad6af8a docs: add @moduledoc to UserAuth and UserNotifier
Resolves credo readability warnings for missing module documentation.
2026-05-05 22:14:44 +01:00
0513154b01 Fix remaining 12 multi-line conn shadowing issues
Manually refactor multi-line conn = post/put(conn, ...) patterns
across user_session, user_settings, and user_registration controller
tests. Rename shadowed conn to response using pipeline operator.

Also add plans/multi-line-conn-refactoring.md spec for future
Elixir-based tooling to handle these patterns automatically.
2026-05-05 22:03:06 +01:00
a89d09e432 fixed 11 out or 34 conn shadowing cases
11 are multi-line, script does not do that
2026-05-05 21:26:00 +01:00
73f6ca5049 remove integration test that was too specific 2026-05-05 19:46:18 +01:00
Firehose Bot
22029492d8 Add acknowledgement for Barney Dellar 2026-05-02 09:42:12 +01:00
Firehose Bot
4e0ad82681 Fix broken links 2026-05-02 09:40:11 +01:00
Firehose Bot
ec16342249 publish post 2026-04-30 09:16:59 +01:00
Firehose Bot
cfc26cf377 final editing on my local agentic dev setup 2026-04-30 09:10:51 +01:00
Firehose Bot
33da823668 draft: local dev setup today 2026-04-29 22:41:16 +01:00
Firehose Bot
9c769959ad Add pi.dev tag to Pi-related engineering posts 2026-04-29 21:34:00 +01:00
Firehose Bot
54344fc75e now really the spelling changes 2026-04-29 16:02:08 +01:00
Firehose Bot
c02cebdd05 spelling errors 2026-04-29 16:01:29 +01:00
Firehose Bot
b3011a6bd6 Contact page 2026-04-27 10:54:10 +01:00
Firehose Bot
2ec9d3ea89 Revert "show 'blog' instead of 'engineering'"
This reverts commit fe8409427ae190cdd645e9acbcf0372d6b1ecfe8.
2026-04-27 09:21:44 +01:00
Firehose Bot
fe8409427a show 'blog' instead of 'engineering' 2026-04-26 23:00:13 +01:00