mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2026-07-12 22:14:54 +10:00
3d1c2d1fb6
* feat: add useFormBlocker hook for dialog dirty state protection * feat: add useFormBlocker hook for dialog dirty state protection - Create useFormBlocker hook that blocks dialog closing when forms have unsaved changes - Use onPointerDownOutside and onEscapeKeyDown to intercept close attempts - Show confirmation dialog with Leave/Stay options using useConfirm - Integrate with CreateResumeDialog, UpdateResumeDialog, and DuplicateResumeDialog - All strings are translatable via Lingui * Feature: Create a new `useFormBlocker` hook to block the user from closing a dialog or navigating away from a page if the form is dirty.
36 lines
998 B
JSON
36 lines
998 B
JSON
{
|
|
"biome.enabled": true,
|
|
"editor.codeActionsOnSave": {
|
|
"source.biome": "explicit",
|
|
"source.fixAll.biome": "explicit",
|
|
"source.organizeImports.biome": "explicit"
|
|
},
|
|
"editor.defaultFormatter": "biomejs.biome",
|
|
"files.associations": {
|
|
"*.css": "tailwindcss"
|
|
},
|
|
"files.readonlyInclude": {
|
|
"pnpm-lock.yaml": true,
|
|
"**/routeTree.gen.ts": true
|
|
},
|
|
"files.watcherExclude": {
|
|
"pnpm-lock.yaml": true,
|
|
"**/routeTree.gen.ts": true
|
|
},
|
|
"i18n-ally.enabledParsers": ["po"],
|
|
"i18n-ally.localesPaths": ["locales"],
|
|
"i18n-ally.sourceLanguage": "en-US",
|
|
"search.exclude": {
|
|
"pnpm-lock.yaml": true,
|
|
"**/routeTree.gen.ts": true
|
|
},
|
|
"tailwindCSS.classFunctions": ["cn", "cva"],
|
|
"tailwindCSS.experimental.classRegex": [
|
|
["class:\\s*?[\"'`]([^\"'`]*).*?,"],
|
|
["cva\\(([^)]*)\\)", "[\"'`]([^\"'`]*).*?[\"'`]"],
|
|
["cn\\(([^)]*)\\)", "(?:'|\"|`)([^']*)(?:'|\"|`)"]
|
|
],
|
|
"tailwindCSS.experimental.configFile": "src/styles/globals.css",
|
|
"typescript.tsdk": "node_modules/typescript/lib"
|
|
}
|