Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
921b850
underline links in the task editor and open them with Ctrl+click
dwilding Oct 22, 2026
3d4f096
show hand cursor over links while holding the modifier key
dwilding Oct 22, 2026
764a1d5
clarify the link overlay implementation
dwilding Oct 22, 2026
1ab0776
add zero-dependency browser tests for the link overlay
dwilding Oct 22, 2026
393d00e
move the link tests to app-test and add a just recipe to run them
dwilding Oct 22, 2026
ef6a85a
run the app tests in CI
dwilding Oct 22, 2026
3875979
match the gimmegit workflow style
dwilding Oct 22, 2026
7167c7b
put the CI logic in the workflow
dwilding Oct 22, 2026
bcb75f4
add pre-commit config with generic hygiene hooks
dwilding Oct 22, 2026
6c9c247
paint the action menus above the link overlay
dwilding Oct 22, 2026
63ffa82
test scrolled links in the app tests
dwilding Oct 22, 2026
4434728
document opening a URL in the keyboard shortcuts table
dwilding Oct 22, 2026
03dcc9b
update simple.min.css from the cdn
dwilding Oct 22, 2026
c922c47
end the vendored files with a newline in the app recipe
dwilding Oct 22, 2026
af2aa1c
use set -e in every sh recipe
dwilding Oct 22, 2026
5e84e5a
show a tooltip over links with the modifier held
dwilding Oct 22, 2026
9cf55b2
show the tooltip on hover without the modifier
dwilding Oct 22, 2026
51e24f9
test the mac modifier branches with a spoofed platform
dwilding Oct 23, 2026
8152da8
use a dash in the link tooltip
dwilding Oct 23, 2026
fb220cc
disable the editor scroll bounce
dwilding Oct 23, 2026
8bd06a6
handle stale cursor state after scrolling or losing focus
dwilding Oct 23, 2026
25e3b44
render links from the editor's final state after every mutation
dwilding Oct 23, 2026
38b9f81
render links as clickable html on the achievements page
dwilding Oct 23, 2026
1b61d98
test the scroll bounce fix on every editor page
dwilding Oct 23, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 40 additions & 0 deletions .github/workflows/app-test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Browser-side app tests

on:
pull_request:
push:
branches:
- main

permissions: {}

jobs:
app-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
persist-credentials: false
- name: Run the app tests
run: |
set -euo pipefail
dom="$(mktemp)"
python3 -m http.server 8124 --bind 127.0.0.1 &
server_pid=$!
trap 'kill "$server_pid" 2>/dev/null; rm -f "$dom"' EXIT
for _ in $(seq 1 50); do
wget -q --spider http://127.0.0.1:8124/ && break
sleep 0.1
done
for url in \
"http://127.0.0.1:8124/app-test/test_links.html" \
"http://127.0.0.1:8124/app-test/test_links.html?platform=mac" \
"http://127.0.0.1:8124/app-test/test_achievements_links.html"; do
echo "Running $url"
google-chrome --headless=new --virtual-time-budget=20000 \
--dump-dom "$url" > "$dom"
grep -q "<title>Link tests: all passed</title>\|<title>Achievements link tests: all passed</title>" "$dom" || {
sed -n '/<pre id="output">/,/<\/pre>/p' "$dom"
exit 1
}
done
10 changes: 10 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v6.0.0
hooks:
- id: check-merge-conflict
- id: trailing-whitespace
- id: mixed-line-ending
- id: end-of-file-fixer
- id: check-yaml
- id: check-toml
Loading
Loading