Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add the possibility to configure the offline capabilities #1700

Merged
merged 1 commit into from
Nov 11, 2024

Conversation

alecarn
Copy link
Collaborator

@alecarn alecarn commented Oct 31, 2024

Certaine application n'utilise pas les capacités de offline et on a aucun moyen de désactiver l'instanciation de la base de donnée IndexedDB. Cela nous causait des erreurs dans nos applications alors on propose une manière de désactiver via les fichiers d'environnement applicative (environment.ts).

En lien avec:
infra-geo-ouverte/igo2#1167

Copy link
Member

@pelord pelord left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

J'ai encore des erreurs, je ne vois pas comment la reproduire.....

packages/core/package.json Show resolved Hide resolved
packages/geo/src/lib/environment/environment.interface.ts Outdated Show resolved Hide resolved
@pelord
Copy link
Member

pelord commented Nov 8, 2024

image

Copy link
Member

@pelord pelord left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Voir les commentaires. Plus particulièrement pour l'emplacement de la config du offline: enabled: true/false.

@alecarn alecarn force-pushed the fix/configure-dynamically-offline branch from 613d6a5 to 99881ff Compare November 11, 2024 15:40
(cherry picked from commit 7f63a56aa3256c660d77c0d5cbd8649e54415195)

fix: update deps

fix: update deps

fix(geo): offline revert change for undefined param

fix: types

fix(geo): offline - ngx-indexed-db take an mapped object

refactor(geo): move the offline configuration in integration options

fix: resync lock file
@alecarn alecarn force-pushed the fix/configure-dynamically-offline branch from dbef038 to 217d506 Compare November 11, 2024 15:43
@alecarn alecarn merged commit 4d7e630 into next Nov 11, 2024
1 of 2 checks passed
@alecarn alecarn deleted the fix/configure-dynamically-offline branch November 11, 2024 15:43
@alecarn
Copy link
Collaborator Author

alecarn commented Nov 11, 2024

🎉 This PR is included in version 18.0.0-next.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants