Skip to content

Conversation

@SpliiT
Copy link
Member

@SpliiT SpliiT commented Jan 9, 2026

No description provided.

const margin = 60
const radius = 80
if (isRightish) {
Copy link
Member

Choose a reason for hiding this comment

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

ne faudrait-il pas faire la meme chose en Y si la carte sort du viewport en haut ou en bas ?

export const useDataStore = defineStore("data", () => {
const viewerStore = useViewerStore()

const itemCache = new Map()
Copy link
Member

Choose a reason for hiding this comment

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

pk tu as besoin d'ajouter ca ?

const geodeStore = this
const feedbackStore = useFeedbackStore()
return useFetch(back_schemas.opengeodeweb_back.ping.$id, {
return $fetch(back_schemas.opengeodeweb_back.ping.$id, {
Copy link
Member

Choose a reason for hiding this comment

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

pk ce changement ?
@JulienChampagnol tu mentionnais des trucs sur useFetch vs $fetch

Copy link
Member

Choose a reason for hiding this comment

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

Y a un warning de nuxt quand on utilise useFetch et que le composant est mounted, il dit 'use $fetch instead', car useFetch est un composable

feedbackStore.$patch({ server_error: true })
geodeStore.status = Status.NOT_CONNECTED
},
}).catch((error) => {
Copy link
Member

Choose a reason for hiding this comment

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

@JulienChampagnol un avis sur le changement de gestion d'erreur ?

Copy link
Member

Choose a reason for hiding this comment

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

Y a pas de onRequestError dans $fetch ? Ce serait mieux si on garde ça

{ immediate: true },
)
} else {
meta_data.value = {}
Copy link
Member

Choose a reason for hiding this comment

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

Déjà le cas ?

}
</script>

<style scoped>
Copy link
Member

Choose a reason for hiding this comment

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

Baeucoup de chose là dedans, je ne doute pas que ça fonctionne mais c'est assez difficile à lire

const geodeStore = this
const feedbackStore = useFeedbackStore()
return useFetch(back_schemas.opengeodeweb_back.ping.$id, {
return $fetch(back_schemas.opengeodeweb_back.ping.$id, {
Copy link
Member

Choose a reason for hiding this comment

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

Y a un warning de nuxt quand on utilise useFetch et que le composant est mounted, il dit 'use $fetch instead', car useFetch est un composable

feedbackStore.$patch({ server_error: true })
geodeStore.status = Status.NOT_CONNECTED
},
}).catch((error) => {
Copy link
Member

Choose a reason for hiding this comment

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

Y a pas de onRequestError dans $fetch ? Ce serait mieux si on garde ça

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants