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: add data subvention source #1263

Merged
merged 8 commits into from
Oct 15, 2024
Merged

feat: add data subvention source #1263

merged 8 commits into from
Oct 15, 2024

Conversation

rmonnier9
Copy link
Contributor

@rmonnier9 rmonnier9 commented Oct 10, 2024

  • Ajout d'une source de données
  • Zones impactées : multiple.
  • Détails :
    • Ajout de Data Subvention pour les associations

references #1241

image

@XavierJp
Copy link
Contributor

J'aime beaucoup !

Quelques feedbacks UX :

  • texte descriptif a revoir mais je peux m'en charger
  • la double colonne Status/label peut etre fusionnée
  • si pas de statut/pas de label, mettre un null ou <NonRenseigne />
  • cette données doit etre dans une section agent (protected)

Comment on lines 1 to 14
slug: data-subvention
short: Data.Subvention
site: https://datasubvention.beta.gouv.fr/
long: Data.Subvention
logoType: portrait
dataSources:
- label: Data.Subvention
apiSlug: data-subvention
data:
- label: Data.Subvention
targets:
- agent
contact: https://datasubvention.beta.gouv.fr/contact/
description: Un outil de consultation pour les agents de l'Etat porté par la DJEPVA et la DINUM pour éclaircir vos décisions et mieux connaître les associations
Copy link
Contributor

Choose a reason for hiding this comment

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

I am wondering wether we create an administration or we use the existing DJEPVA one

Copy link
Contributor Author

@rmonnier9 rmonnier9 Oct 11, 2024

Choose a reason for hiding this comment

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

Let's see with the Data.Subvention team ?

Comment on lines 22 to 23
if (!subventions) return null;

Copy link
Contributor

Choose a reason for hiding this comment

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

Not sure about this. Either the user has the rights to see it and he/she prefer an explanation like : Aucune demande de subvention n’a été trouvée pour cette association.. Or h/she is not agent connected and we could display the <AgentWall /> component

@rmonnier9
Copy link
Contributor Author

J'aime beaucoup !

Quelques feedbacks UX :

  • texte descriptif a revoir mais je peux m'en charger
  • la double colonne Status/label peut etre fusionnée
  • si pas de statut/pas de label, mettre un null ou <NonRenseigne />
  • cette données doit etre dans une section agent (protected)
image

@XavierJp
Copy link
Contributor

Il faudra penser a provisionner DATA_SUBVENTION_API_KEY @MKCG

@XavierJp
Copy link
Contributor

XavierJp commented Oct 14, 2024

Todo

  • provisionner DATA_SUBVENTION_API_KEY

@rmonnier9
Copy link
Contributor Author

Il faudra penser a provisionner DATA_SUBVENTION_API_KEY @MKCG

We will do it together @MKCG

@XavierJp
Copy link
Contributor

@rmonnier9 attendons demain pour voir, vu l'incident de prod actuel.

@rmonnier9 rmonnier9 changed the title WIP feat: add data subvention source feat: add data subvention source Oct 14, 2024
@XavierJp XavierJp merged commit a1d7890 into main Oct 15, 2024
9 checks passed
@XavierJp XavierJp deleted the 1241-data-subvention branch October 15, 2024 13:45
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.

2 participants