Monorepo for Tangled tangled.org

appview: add raw patch to compare params for client-side rendering #1083

closed opened by viruus.zip targeting master from viruus.zip/core: master
Labels

None yet.

assignee

None yet.

Participants 1
AT URI
at://did:web:www.viruus.zip/sh.tangled.repo.pull/3mff2vrpjgd22
+1 -1
Interdiff #0 โ†’ #1
appview/pages/pages.go

This file has not been changed.

+1 -1
appview/pages/templates/repo/fragments/diff.html
··· 18 18 {{ template "fragments/resizable" }} 19 19 20 20 <!-- Progressive enhancement: load Pierre Diffs to replace server rendering --> 21 - <script src="https://cdn.jsdelivr.net/npm/@pierre/diffs@1.0.10"></script> 21 + <script src="https://cdn.jsdelivr.net/npm/@pierre/diffs@1.0.10/dist/index.js"></script> 22 22 <script> 23 23 window.__diffData = { 24 24 patch: {{ .RawPatch | js }},
appview/repo/compare.go

This file has not been changed.

History

2 rounds 1 comment
sign up or login to add to the discussion
3 commits
expand
appview: add raw patch to compare params for client-side rendering
appview/repo/fragments: integrate pierre diffs with progressive enhancement
appview/repo/fragments: fix pierre diffs cdn url
expand 1 comment

I'm going to do a lot more work on this so I'm closing this for now

closed without merging
2 commits
expand
appview: add raw patch to compare params for client-side rendering
appview/repo/fragments: integrate pierre diffs with progressive enhancement
expand 0 comments