Commit Graph
130 Commits
Author SHA1 Message Date
Timothy Jaeryang Baek 8c308e4e88 refac 2026-10-31 05:58:55 +09:00
Timothy Jaeryang Baek 9d1b4ef362 refac 2026-10-30 16:01:47 +09:00
G30 4cb37dd539 fix: a folder's item count leaves out hidden files while they are hidden (#33213) 2026-10-26 17:27:17 +09:00
G30 9f85c27be7 fix(a11y): the More button on file rows is 24 pixels square when Accessibility Mode is on (#33143) 2026-10-25 12:40:21 +09:00
Timothy Jaeryang Baek 93779e2451 refac 2026-10-21 12:41:25 +09:00
Timothy Jaeryang Baek fa50081e67 refac 2026-10-21 12:35:07 +09:00
Timothy Jaeryang Baek fefa31fae2 refac 2026-10-21 12:32:07 +09:00
Timothy Jaeryang Baek a5f9ec38a5 refac 2026-10-21 12:29:44 +09:00
Timothy Jaeryang Baek a76c02e58e refac 2026-10-21 12:27:06 +09:00
Timothy Jaeryang Baek fbeee59e99 refac 2026-10-21 11:47:14 +09:00
Timothy Jaeryang Baek b6b0fff5d6 refac 2026-10-21 11:45:33 +09:00
Timothy Jaeryang Baek 6acbfa7fee refac 2026-10-21 09:23:03 +09:00
Timothy Jaeryang Baek 7708ee851a refac 2026-10-21 09:19:18 +09:00
Timothy Jaeryang Baek 15ac5163ea refac 2026-10-16 15:11:59 +04:00
Timothy Jaeryang Baek 4ebdd4a75c refac 2026-10-16 15:02:13 +04:00
Timothy Jaeryang Baek d12da61e5a refac 2026-10-16 14:55:40 +04:00
Timothy Jaeryang Baek 7c3980338b refac 2026-10-16 14:34:35 +04:00
Timothy Jaeryang Baek af34515131 refac 2026-10-16 04:07:18 +04:00
Timothy Jaeryang Baek e9233a9542 refac 2026-10-16 03:21:22 +04:00
Timothy Jaeryang Baek ba0b2169e1 refac 2026-10-16 03:13:13 +04:00
Timothy Jaeryang Baek 6768f52aca refac 2026-10-16 02:15:09 +04:00
Timothy Jaeryang Baek c9a52208da refac 2026-10-15 23:02:47 +04:00
Timothy Jaeryang Baek 613eac51c5 refac 2026-10-15 15:53:18 +04:00
Timothy Jaeryang Baek 0d895443b4 refac 2026-10-14 18:02:58 +04:00
Timothy Jaeryang Baek 1711cdceee refac 2026-10-14 17:04:46 +04:00
Timothy Jaeryang Baek 3213dcc303 refac 2026-10-14 17:01:25 +04:00
Timothy Jaeryang Baek fe0e725997 refac 2026-10-14 16:57:58 +04:00
Timothy Jaeryang Baek b0ba137551 refac 2026-10-14 16:55:05 +04:00
Timothy Jaeryang BaekandClassic298 88ff2c65cf refac
Co-Authored-By: Classic298 <27028174+Classic298@users.noreply.github.com>
2026-10-10 22:19:50 +04:00
Timothy Jaeryang Baek 5ec6cf3205 refac 2026-10-10 22:16:39 +04:00
Timothy Jaeryang Baek ccc7174371 refac 2026-10-09 18:53:44 +04:00
Timothy Jaeryang Baek 186cd4bfa6 refac 2026-10-09 17:51:22 +04:00
Timothy Jaeryang Baek 33dd7dd224 refac 2026-10-09 16:17:11 +04:00
Timothy Jaeryang Baek 37138282fb refac 2026-10-09 15:54:44 +04:00
Timothy Jaeryang Baek 178de36662 refac 2026-10-09 15:09:56 +04:00
Timothy Jaeryang Baek 9bbb95048b refac 2026-10-09 15:07:43 +04:00
Classic298 46ea826e01 refac: keep rendered diagrams and SVG on same-origin resources (#30271)
Mermaid diagrams and the shared SVG sanitizer now accept only same-origin and data: references. Image URLs, class styles and directive config are checked on the parsed diagram before it renders, and the sanitizer drops attribute values and stylesheet rules that point at another origin. use elements keep local #id references only.

SVGPanZoom and the SVG file preview call the shared sanitizer instead of keeping their own configs, so SVG artifacts and uploaded SVG files follow the same rule. Uploaded SVGs that reference external sprites now render those parts blank, which is the point of the change.

A diagram that references an external resource now reports an error instead of rendering, and an SVG artifact keeps everything except the rules that reference one.
2026-09-21 15:15:28 -04:00
Timothy Jaeryang Baek 3808eace6c refac 2026-09-08 20:44:23 -04:00
Timothy Jaeryang Baek 8556033c6b refac 2026-09-08 20:34:42 -04:00
Timothy Jaeryang Baek 674760bfc1 refac 2026-09-08 16:54:15 -04:00
Timothy Jaeryang Baek 4cc0d48b4d refac 2026-09-08 16:49:54 -04:00
Timothy Jaeryang Baek f80ef8bd00 refac 2026-09-08 16:47:01 -04:00
Timothy Jaeryang Baek f677fdbf50 refac 2026-09-03 20:22:32 -04:00
Classic298 83556188f5 fix: hide file preview zoom buttons on touch devices (#29176)
On a phone the file preview zoom bar shows plus and minus buttons that duplicate pinch-to-zoom and sit on top of an already small preview. They are hidden on coarse pointers now, so touch users get the preview area back and still zoom the way they expect.

The check is the pointer type rather than the viewport width, because what matters is whether the person can pinch, not how narrow their window is. A narrow desktop window keeps the buttons, a tablet does not.

The zoom percentage doubles as the reset control and has no gesture equivalent, so it stays visible, along with all page and slide navigation. Keyboard zoom is unaffected. Word document previews are left alone: they have no pinch support at all, so hiding their buttons would remove zooming entirely.

Fixes #29152
2026-08-28 18:46:53 -04:00
Timothy Jaeryang Baek ae549d3e4a refac 2026-08-27 16:41:43 -04:00
Timothy Jaeryang Baek 9d95a0148b refac 2026-08-27 16:06:25 -04:00
Timothy Jaeryang Baek 061fb43432 refac 2026-08-27 15:34:20 -04:00
Timothy Jaeryang Baek f71e9570c0 refac 2026-08-25 16:52:31 -04:00
Timothy Jaeryang Baek 54d7a22370 refac 2026-08-25 16:34:49 -04:00
Timothy Jaeryang Baek aa3d569610 refac 2026-08-25 09:59:07 -04:00