style(ui): presets patterns and layout tweaks

Made-with: Cursor
This commit is contained in:
2026-04-19 23:28:08 +12:00
parent 35730b36f0
commit 5f9ff9bcc9
3 changed files with 25 additions and 12 deletions

View File

@@ -237,6 +237,7 @@ document.addEventListener('DOMContentLoaded', () => {
const norm = raw.endsWith('.py') ? raw.slice(0, -3).trim() : raw;
try {
const response = await fetch('/patterns/definitions', {
cache: 'no-store',
headers: { Accept: 'application/json' },
});
if (!response.ok) {
@@ -376,6 +377,7 @@ document.addEventListener('DOMContentLoaded', () => {
try {
const response = await fetch('/patterns', {
cache: 'no-store',
headers: { Accept: 'application/json' },
});
if (!response.ok) {