Commit 665b6c8
fix(shiny): pass image_path to SNIC renderer and add default sample image
The rendered_svg() reactive was calling render_puzzle_svg() without
image_path, so uploaded images never displayed. Now passes
pos$parameters$image_path through to the renderer.
Also ships a default sample image (purple asters, 400x600, 146KB)
so SNIC puzzles work out of the box without requiring an upload.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 42d7247 commit 665b6c8
3 files changed
Lines changed: 34 additions & 4 deletions
Loading
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1272 | 1272 | | |
1273 | 1273 | | |
1274 | 1274 | | |
1275 | | - | |
1276 | | - | |
| 1275 | + | |
| 1276 | + | |
| 1277 | + | |
| 1278 | + | |
| 1279 | + | |
| 1280 | + | |
| 1281 | + | |
1277 | 1282 | | |
1278 | 1283 | | |
1279 | 1284 | | |
| |||
1850 | 1855 | | |
1851 | 1856 | | |
1852 | 1857 | | |
1853 | | - | |
| 1858 | + | |
1854 | 1859 | | |
1855 | 1860 | | |
1856 | 1861 | | |
| |||
1927 | 1932 | | |
1928 | 1933 | | |
1929 | 1934 | | |
1930 | | - | |
| 1935 | + | |
| 1936 | + | |
1931 | 1937 | | |
1932 | 1938 | | |
1933 | 1939 | | |
| |||
0 commit comments