aboutsummaryrefslogtreecommitdiffstats
path: root/android/app/src/main/java/io
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-09-26 23:21:27 -0700
committerAdam Soltys <[email protected]>2026-09-26 23:21:27 -0700
commitb9226f695c827a4b16719fd0c752801f4e768e6c (patch)
tree85b42fa9e7e135063af1fbfdfb4f0eabb5c0879a /android/app/src/main/java/io
parentdbf755968827b0d75f5e30d35a6c90da3cdc1aa2 (diff)
downloadcoinosv3-b9226f695c827a4b16719fd0c752801f4e768e6c.tar.gz
coinosv3-b9226f695c827a4b16719fd0c752801f4e768e6c.zip
Keyed morph: drop stale nodes before placing survivors, so a repaint moves nothing.
With stale nodes still in front, every kept row's position was off by the stale count and each one was pulled out and re-inserted — a remove and an add per row per repaint. The feed's window evicting rows at the top did this to every mounted row on every scroll step; a moved <video> leaves the document and comes back, restarting its loading (one clip was fetched 61 times in 40 seconds), and images were refetched. Measured with a MutationObserver on the live tab: 160 of 179 row additions during a 20-second scroll were the same key going out and back in. Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01VhUKyXKtsJ67QAFfb7QR9D
Diffstat (limited to 'android/app/src/main/java/io')
0 files changed, 0 insertions, 0 deletions
kground-color: #F0FFF0 } /* Literal.String.Other */ .highlight .sr { color: #080; background-color: #FFF0FF } /* Literal.String.Regex */ .highlight .s1 { color: #D20; background-color: #FFF0F0 } /* Literal.String.Single */ .highlight .ss { color: #A60; background-color: #FFF0F0 } /* Literal.String.Symbol */ .highlight .bp { color: #038 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #06B; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #369 } /* Name.Variable.Class */ .highlight .vg { color: #D70 } /* Name.Variable.Global */ .highlight .vi { color: #33B } /* Name.Variable.Instance */ .highlight .vm { color: #369 } /* Name.Variable.Magic */ .highlight .il { color: #00D; font-weight: bold } /* Literal.Number.Integer.Long */
// Android TWA wrapper for v3.coinos.io — exists so the app can register OS
// intent filters for lightning:/bitcoin:/nostr:/lnurl: URIs, which a plain
// PWA cannot (Chrome's protocol_handlers safelist has no nostr). The web
// app itself stays the live site; this shell just forwards intents into it.
buildscript {
  repositories { google(); mavenCentral() }
  dependencies { classpath 'com.android.tools.build:gradle:8.7.3' }
}
allprojects { repositories { google(); mavenCentral() } }