Repository navigation
Commit 087bdf1
authored
feat: add search, density toggle, and sticky controls to gallery index (#113)
* feat: add search, density toggle, and sticky controls to gallery index
At 40 examples the index was a 13003px two-column scroll with only a tag
row to narrow it. The generator now emits a sticky controls bar (search,
tag chips, compact/detailed density toggle, match count) plus hash-based
shareable state, back-to-top, and '/'/Escape keyboard affordances.
Compact density (the default with JS) collapses each card to hero + name +
one-line teaser for a 67% page-height reduction; the description and
WITNESSES text stay in the DOM via visual clipping, so search, screen
readers, and no-JS rendering are unaffected. Everything is gated on
JS-added classes: with JavaScript disabled all 40 cards render expanded
and the controls are simply inert. No external dependencies; vanilla
CSS/JS emitted by scripts/build_gallery.py.
Signed-off-by: fOuttaMyPaint <TMhospitalitystrategies@gmail.com>
* chore: regenerate gallery pages from updated generator
Output of python scripts/build_gallery.py. Index gains the controls bar
markup; detail pages differ only in the shared stylesheet block (index-only
rules that match nothing on those pages) - markup and behavior unchanged.
Signed-off-by: fOuttaMyPaint <TMhospitalitystrategies@gmail.com>
---------
Signed-off-by: fOuttaMyPaint <TMhospitalitystrategies@gmail.com>1 parent 1684a81 commit 087bdf1
42 files changed
Lines changed: 3781 additions & 234 deletions
File tree
- docs/gallery
- armature-bend
- attribute-domain-shear
- bmesh-gear
- car-mirror-symmetry
- collision-hull-proxy
- color-attribute-wheel
- compositor-glare
- curve-bevel-arc
- custom-normals-shade
- damped-track-aim
- degenerate-bevel-weld
- depsgraph-export
- driver-wave
- gltf-export-roundtrip
- gltf-skin-roundtrip
- gn-instance-grid
- gn-sdf-remesh
- gp-lineart-contour
- grease-pencil-rosette
- image-pixels-testcard
- light-link-studio
- lod-decimate-chain
- mesh-hygiene-audit
- parent-inverse-orrery
- png-exr-alpha
- prop-origin-transform
- shader-node-group
- shape-key-blend
- sky-texture-sun-elevation
- soccer-ball-goldberg
- swatch-grid
- temp-override-join
- text-version-stamp
- triangulate-tangents
- turntable
- uv-layer-grid
- vertex-weight-limit
- vse-cut-list
- vse-gamma-cross
- wave-displace
- scripts
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | | - | |
72 | | - | |
73 | | - | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
74 | 113 | | |
75 | 114 | | |
76 | | - | |
| 115 | + | |
| 116 | + | |
77 | 117 | | |
78 | 118 | | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
79 | 147 | | |
80 | 148 | | |
81 | 149 | | |
| |||
153 | 221 | | |
154 | 222 | | |
155 | 223 | | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
156 | 231 | | |
157 | 232 | | |
158 | 233 | | |
159 | 234 | | |
| 235 | + | |
160 | 236 | | |
161 | 237 | | |
162 | 238 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | | - | |
72 | | - | |
73 | | - | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
74 | 113 | | |
75 | 114 | | |
76 | | - | |
| 115 | + | |
| 116 | + | |
77 | 117 | | |
78 | 118 | | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
79 | 147 | | |
80 | 148 | | |
81 | 149 | | |
| |||
153 | 221 | | |
154 | 222 | | |
155 | 223 | | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
156 | 231 | | |
157 | 232 | | |
158 | 233 | | |
159 | 234 | | |
| 235 | + | |
160 | 236 | | |
161 | 237 | | |
162 | 238 | | |
| |||
0 commit comments