super-productivity/src/app
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
..
core fix(sync): make SnackService optional in ClientIdService to restore unit tests 2026-04-16 17:41:39 +02:00
core-ui fix(sync): handle data validation errors and improve client ID management 2026-04-16 17:41:39 +02:00
features fix(tasks): escape task IDs in querySelector to handle special characters (#7222) 2026-04-16 18:03:45 +02:00
imex style(sync): fix prettier formatting in snapshot-upload spec 2026-04-16 17:41:39 +02:00
op-log fix(sync): add Nextcloud to file-based provider IDs to enable sync 2026-04-16 17:41:39 +02:00
pages fix(search): prevent overlapping search results on narrow screens (#7237) 2026-04-16 15:16:55 +02:00
pfapi fix: apply code review fixes across sync, electron, and issue panel 2026-01-30 17:45:33 +01:00
plugins fix(plugins): use asset-specific size errors (#7210) 2026-04-16 18:02:39 +02:00
root-store chore(test): remove unnecessary eslint-disable directives from spec files 2026-03-30 16:56:40 +02:00
routes perf: consolidate lazy route chunks (251 → 151) 2026-03-12 12:25:52 +01:00
ui fix(sync): handle data validation errors and improve client ID management 2026-04-16 17:41:39 +02:00
util fix(sync): handle data validation errors and improve client ID management 2026-04-16 17:41:39 +02:00
app.component.html style: fix prettier multiline string formatting errors 2026-03-24 18:22:31 +01:00
app.component.scss feat: improve initial render 2026-03-26 17:43:04 +01:00
app.component.spec.ts feat: add some defensive programming 2025-09-03 15:16:35 +02:00
app.component.ts feat: improve initial render 2026-03-26 17:43:04 +01:00
app.constants.ts feat: improve initial render 2026-03-26 17:43:04 +01:00
app.guard.ts fix: add canActivateChild to FocusOverlayOpenGuard 2026-03-12 12:40:55 +01:00
app.routes.ts perf: consolidate lazy route chunks (251 → 151) 2026-03-12 12:25:52 +01:00
package.json build: update links to match our new organization 2026-01-05 14:45:06 +01:00
rxjs-to-promise.polyfill.ts chore(deps): upgrade ESLint to v9 with flat config 2026-01-10 16:08:11 +01:00
t.const.ts fix(plugins): use asset-specific size errors (#7210) 2026-04-16 18:02:39 +02:00