Conversation
5692d2b to
a829940
Compare
|
Nice work! Thank you for the PR; I will take a look this week! |
|
@cursor review |
|
|
||
| getSpeakers() { | ||
| return this.getJsonData().then((data) => data.speakers) | ||
| } |
| type="text" | ||
| name={t('settingsSetup.json.fieldJson')} | ||
| fieldName="json" | ||
| type="textarea" |
There was a problem hiding this comment.
| component="p" | ||
| variant="subtitle1"> | ||
| detail | ||
| </TranslatedTypography> |
There was a problem hiding this comment.
Bug: JSON Project Type Uses Incorrect Translation Keys
The new JSON project type radio button incorrectly uses translation keys newEvent.step2.projectTypeJsonurl and newEvent.step2.projectTypeJsonurlDetail. It should use newEvent.step2.projectTypeJson and newEvent.step2.projectTypeJsonDetail, which are available in the translation files, to display the correct text.
| stepTitle={stepTitle} | ||
| title={t('newEvent.step3.jsonurl')} | ||
| onCancel={onCancel}> | ||
| <SetupJSON |
| }, | ||
| "json": { | ||
| "fieldJson": "JSON", | ||
| "jsonUrlRequired": "Le JSON est obligatoire", |
There was a problem hiding this comment.
Bug: Incorrect JSON Translation Key Name
The French translation key settingsSetup.json.jsonUrlRequired is incorrectly named. It refers to a JSON content requirement, not a URL, which conflicts with its message "Le JSON est obligatoire" and how it's used in the code. It should be settingsSetup.json.jsonRequired.
|
@keabard hey, did you have time to look at the Cursor review? |
|
No sorry, didn't have the occasion to go through it yet. Yes a simple JSON import would do :) |
It would be cool to avoid hosting our JSON or giving public access to an endpoint, and just paste a JSON object to configure a new OpenFeedback event.
This PR is meant to do that.
Could not manage to make the Firebase install step work tho, so this feature is not tested at all. I hope not much more is needed and that you will be able to complete it 🙏