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

Feat/feedback store #133

Merged
merged 4 commits into from
Aug 21, 2024
Merged

Feat/feedback store #133

merged 4 commits into from
Aug 21, 2024

Conversation

JulienChampagnol
Copy link
Member

No description provided.

@JulienChampagnol JulienChampagnol requested a review from a team August 21, 2024 14:08
composables/upload_file.js Show resolved Hide resolved
composables/viewer_call.js Show resolved Hide resolved
stores/feedback.js Show resolved Hide resolved
stores/geode.js Show resolved Hide resolved
stores/infra.js Show resolved Hide resolved
test/composables/api_fetch.nuxt.test.js Show resolved Hide resolved
test/composables/upload_file.nuxt.test.js Show resolved Hide resolved
test/stores/Geode.test.js Show resolved Hide resolved
@JulienChampagnol JulienChampagnol merged commit 43891f9 into next Aug 21, 2024
5 checks passed
@JulienChampagnol JulienChampagnol deleted the feat/feedback_store branch August 21, 2024 14:38
@JulienChampagnol
Copy link
Member Author

🎉 This PR is included in version 9.0.0-rc.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

const geode_store = use_geode_store()

const body = params || {}

const { valid, error } = validate_schema(schema, body)

if (!valid) {
errors_store.add_error({
feedback_store.add_feedback({
type: "error",
Copy link
Member

Choose a reason for hiding this comment

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

J'ai un peu peur de ce "error", c'est sujet à typo et problème... Quid d'une méthode add_errror comme avant qui rajouterait le type error mais directement dans le store. Qu'au moins dans un usage classic d'une error, info ou autre actions on ait le paramétrage par défaut dns le store directement ?

@JulienChampagnol
Copy link
Member Author

🎉 This PR is included in version 9.0.0 🎉

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