Closed vicb closed 4 months ago
The overall changes focus on updating ESLint configurations, enhancing gitignore rules, and refining project files for a better development experience. Notably, Google Analytics and Klaro consent management functionalities have been removed, replaced by Zaraz consent modal. Additionally, unnecessary dependencies and imports have been cleaned up, leading to a more streamlined and efficient codebase.
File path | Summary |
---|---|
.eslintrc.json | Updated ignore patterns to exclude .vite/, .cache/, node_modules/, and other directories. |
.gitignore | Added apps/fxc-front/dev-dist/registerSW.js to the ignore list. |
apps/fxc-front/.eslintrc.json | Updated ignore patterns to exclude .vite, node_modules, and .cache directories. |
apps/fxc-front/index.html | Removed script tags for Klaro consent management and Google Analytics setup. |
apps/fxc-front/pwa.config.ts | Adjusted regex pattern in dontCacheBustURLsMatching to remove escape character. |
apps/fxc-front/src/.../map-element.ts | Modified loadGMaps to exclude host parameter and removed gtag event tracking. |
apps/fxc-front/src/.../ui/about-modal.ts | Replaced Klaro consent modal call with Zaraz consent modal. |
apps/fxc-front/src/env.d.ts | Removed @types/gtag.js and added declaration for Zaraz with showConsentModal property. |
apps/fxc-front/src/sw.ts | Reordered imports to place googleFontsCache above other workbox imports. |
apps/fxc-front/tsconfig.json | Removed @types/gtag.js from types array. |
libs/optimizer/.eslintrc.json | Excluded *.spec.ts files from import/no-extraneous-dependencies rule. |
package.json | Removed @types/gtag.js package from dependencies. |
Amid the code, a change so bright,
ESLint patterns to fortify the night,
No more Klaro, Zaraz takes the stage,
Cleaned up paths, a developer's wage.
With every tweak, our spirits lift,
In code's embrace, we find our thrift.
πβ¨π
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
This pull request includes miscellaneous minor changes across several files. The most significant changes involve the removal of Google Analytics and Klaro scripts and references, as well as updates to ESLint configurations to exclude certain files and add new rules. Additionally, there are minor fixes and updates to regex patterns and import statements.
Files | Changes |
---|---|
apps/fxc-front/index.html apps/fxc-front/src/app/components/2d/map-element.ts apps/fxc-front/src/env.d.ts apps/fxc-front/tsconfig.json |
Removed Google Analytics and Klaro scripts and references. |
.eslintrc.json libs/optimizer/.eslintrc.json apps/fxc-front/.eslintrc.json |
Updated ESLint configurations to exclude certain files and add new rules. |
Latest commit: |
42a5aba
|
Status: | β Deploy successful! |
Preview URL: | https://4942a6df.flyxc.pages.dev |
Branch Preview URL: | https://misc.flyxc.pages.dev |
Summary by Sourcery
This pull request includes several minor enhancements and chore updates. Key changes involve the removal of Google Analytics and Klaro scripts, updates to ESLint configurations, and the replacement of Klaro with Zaraz for cookie management. Additionally, various ignore patterns and type definitions have been updated.
Summary by CodeRabbit
New Features
zaraz
consent management to replace Klaro.Improvements
.gitignore
to exclude specific development files.Removals
index.html
.gtag.js
).Bug Fixes
Documentation
zaraz
and itsshowConsentModal
property.