mirror of
https://github.com/discourse/discourse.git
synced 2026-08-09 21:45:25 +08:00
Wires `followOnAppend` so `@anchor="bottom"` follows appends as documented, and exposes `@scrollEndThreshold` for the band that counts as resting at the end. Edge latches re-arm per edge on a boundary key change rather than on a range retreat, so answering `onReachEnd` with a page smaller than the hysteresis band no longer stalls pagination after one page. The modifier becomes the single writer of the sizer height: Glimmer runs a parent modifier's update before its child's, so the component's own write was landing second with the previous flush's total and reverting the raise the engine's anchored offset depends on. `#flush` now publishes the window before any consumer callback and contains each one, so a throwing `onReachEnd` or `@pinnedIndices` cannot leave the list blank or poison the engine's range memo, and both the range and window are handed out as frozen projections. Adds regression coverage for each of these and moves the styleguide example onto `examples/molecules` with owned `<li>` rows. |
||
|---|---|---|
| .. | ||
| assets | ||
| controllers | ||
| helpers | ||
| jobs | ||
| mailers | ||
| models | ||
| queries/reports | ||
| serializers | ||
| services | ||
| views | ||