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

Automatic generation of trip titles #295

Merged
merged 7 commits into from
Oct 12, 2023
Merged

Automatic generation of trip titles #295

merged 7 commits into from
Oct 12, 2023

Conversation

JF-Cozy
Copy link
Contributor

@JF-Cozy JF-Cozy commented Oct 11, 2023

On souhaite créer un titre au déplacement selon les noms des points de départ et d'arrivée des déplacements

voir issue #296 et question que cela a généré.

Info au reviewers : nous n'avons plus tellement le temps de changer l'approche...

### ✨ Features

* Automatic creation of trip titles

@bundlemon
Copy link

bundlemon bot commented Oct 11, 2023

BundleMon

Files updated (1)
Status Path Size Limits
app/coachco2.(hash).js
65.14KB (+1.14KB +1.78%) -
Unchanged files (3)
Status Path Size Limits
vendors/coachco2.(hash).js
1.78MB -
vendors-coachco2.(hash).(hash).min.css
34.84KB -
app-coachco2.(hash).min.css
355B -

Total files change +1.14KB +0.06%

Final result: ✅

View report in BundleMon website ➡️


Current branch size history | Target branch size history

@JF-Cozy JF-Cozy requested a review from paultranvan October 11, 2023 12:25
src/lib/timeseries.js Show resolved Hide resolved
src/lib/recurringPurposes.js Show resolved Hide resolved
"triggers": {
"description": "Required to display additional information in the viewer and for the notification service",
"type": "io.cozy.triggers"
},
Copy link
Contributor

Choose a reason for hiding this comment

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

I think this will break the capacity to execute services: you need to add the "POST" verb to the remaining triggers entry

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ne mettre aucun verbs c'est pas comme tous les avoir ?

Copy link
Contributor

Choose a reason for hiding this comment

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

Si, je n'avais pas vu que avais enlevé le verbs pour les triggers. Ce serait bien de remettre "verbs": ["GET", "POST"] comme avant, vu que coachco2 n'a aucune raison d'avoir les droits de suppression sur les jobs/triggers

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ok je corrige

Copy link
Contributor

Choose a reason for hiding this comment

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

Est-ce que CoachCO2 est considéré comme une app de plateforme ? Parce que là on retire des permissions (on passe de ALL à juste GET / POST) et donc la stack va bloquer l'update automatique.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Copy link
Contributor

Choose a reason for hiding this comment

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

Bah non, si Coach est considéré comme app de plateforme autant faire le changement.

Et vu que ça l'est : https://github.com/cozy/cozy-stack/blob/afe48f05046eeca18f89d58b8dad759441fff3d9/pkg/consts/consts.go#L96C1-L108

gardons les changements.

Je voulais juste vous rappeler cette problématique, et que chercher l'info de savoir si app de plateforme ou pas est facile à trouver : soit stack soit vous demandez à l'infra la config.

src/lib/services.js Show resolved Hide resolved
@JF-Cozy JF-Cozy merged commit 0324be2 into master Oct 12, 2023
@JF-Cozy JF-Cozy deleted the feat/trips branch October 12, 2023 09:42
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