-
Notifications
You must be signed in to change notification settings - Fork 56
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
[TECH] Migrer en GJS les composants organization-learners
de pixOrga (Pix 15749)
#10834
base: dev
Are you sure you want to change the base?
Conversation
Une fois les applications déployées, elles seront accessibles via les liens suivants :
Les variables d'environnement seront accessibles via les liens suivants : |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tech ok, rien de bloquant 👍 🐈⬛
import Component from '@glimmer/component'; | ||
import Date from '../../ui/date'; | ||
import ParticipationStatus from '../../ui/participation-status'; | ||
import Type from '../../campaign/detail/type'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nitpick: Appeler ce composant CampaignType
serait un peu plus explicite ?
<p>{{t | ||
"pages.organization-learner.activity.empty-state" | ||
organizationLearnerFirstName=this.firstName | ||
organizationLearnerLastName=this.lastName | ||
}}</p> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<p>{{t | |
"pages.organization-learner.activity.empty-state" | |
organizationLearnerFirstName=this.firstName | |
organizationLearnerLastName=this.lastName | |
}}</p> | |
<p>{{t | |
"pages.organization-learner.activity.empty-state" | |
organizationLearnerFirstName=(capitalize @firstName) | |
organizationLearnerLastName=(capitalize @lastName) | |
}}</p> |
Je pense que tu peux faire comme ça. Et du coup tu peux supprimer les deux getters et ne plus passer par une classe pour ce composant ci 😇
@@ -0,0 +1,37 @@ | |||
import ParticipationRow from './participation-row'; | |||
import Header from '../../table/header'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nitpick: Pareil que le commentaire précédent, appeler ce composant TableHeader
?
5a5e1b2
to
0307011
Compare
🎄 Problème
Le format GJS va devenir le format par défaut d'ici la fin de l'édition Polaris de Ember
🎁 Proposition
Faire la migration des composants du dossier
organizationLearner
de Pix Orga au format GJS🧦 Remarques
🎅 Pour tester