super-productivity/src
John Costa e25e10bbc3
fix(tasks): escape task IDs in querySelector to handle special characters (#7222)
* fix(tasks): escape task IDs in querySelector to handle special characters

Task IDs from Dropbox sync can contain special characters like curly
braces that are invalid in CSS selectors, causing querySelector to
throw. Use CSS.escape() on the task ID before passing it to
querySelector, matching the existing pattern in planner-plan-view.

Fixes #7219

* fix(tasks): use getElementById for single-element lookups, add CSS.escape to querySelectorAll

Switch querySelector to getElementById for task ID lookups that only
need a single element — getElementById does not parse CSS selectors so
special characters in task IDs are handled natively. Add CSS.escape to
the querySelectorAll call in task.component.ts which needs to find
multiple elements with the same task ID.
2026-04-16 18:03:45 +02:00
..
app fix(tasks): escape task IDs in querySelector to handle special characters (#7222) 2026-04-16 18:03:45 +02:00
assets fix(plugins): use asset-specific size errors (#7210) 2026-04-16 18:02:39 +02:00
environments 18.1.3 2026-04-01 21:27:44 +02:00
static feat: add open sans as default font 2025-09-04 18:30:09 +02:00
styles feat: change very small container to 356px 2026-04-01 20:23:45 +02:00
test-helpers build: improve testing setup to give indication about which test hangs 2025-07-18 12:11:05 +02:00
typings refactor: improve typing 2025-09-16 18:04:40 +02:00
_common.scss refactor: modernize scss syntax and get rid of most of the warnings 2025-09-04 20:29:24 +02:00
favicon.ico
hammer-config.class.ts feat: replace hammerjs with custom swipe and pan directives 2025-08-10 12:56:11 +02:00
index.html fix: show black logo on loading screen for light system theme 2026-03-20 21:36:30 +01:00
karma.conf.js build: fix windows build 2025-12-06 13:41:04 +01:00
main.ts fix(sync): scope interval timer to file-based providers and drop unneeded migration 2026-04-14 22:09:02 +02:00
manifest.json
polyfills.ts perf: reduce initial bundle size via lazy-loading 2026-03-10 15:58:22 +01:00
styles.scss fix(styles): use package imports for fontsource instead of relative paths 2026-03-18 13:14:10 +01:00
test.ts test: fix 2025-12-05 17:10:37 +01:00
tsconfig.app.json fix(build): exclude test helpers from production build 2026-02-25 16:46:51 +01:00
tsconfig.spec.json fix(shared-schema): fix module resolution for bundler compatibility 2026-01-11 13:20:16 +01:00
tsconfig.worker.json build: update configuration files 2025-06-27 10:25:00 +02:00