-
Notifications
You must be signed in to change notification settings - Fork 18
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
Add Grant to profile dashboard #3993
base: main
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
1 Skipped Deployment
|
d375b89
to
2ae6af4
Compare
2ae6af4
to
867df62
Compare
867df62
to
3362999
Compare
3362999
to
83ea6f8
Compare
"If you're facing financial difficulties and wish to attend PyCon Italia, our grant application form is currently open. Submit your grant request today!", | ||
"profile.myGrant.noGrant.submitGrant": "Request a grant", | ||
"profile.myGrant.noGrant.body.closed": | ||
"The grant application form is currently closed. Stay tuned for future opportunities.", |
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.
Stay tuned for future opportunities
? what does this mean?
The grant application form is now closed. Unfortunately we can't accept new applications after our deadline.
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.
I still see the old text here @estyxx
)} | ||
|
||
<Grid cols={3} gap="small" fullWidth> | ||
<GridColumn> |
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.
do you need the GridColumn
in all those rows?
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.
mm no apparently works also with div
year: "numeric", | ||
}); | ||
|
||
return ( |
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.
can we split this into some sub-components? it is quite a big component
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.
I moved the table in a separate component. Do you think it's enough? or should I split also the "next steps" section maybe? 🤔
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.
this component is still a bit hard to read but can't think of anything specific now without cloning the code locally and changing it a bit
frontend/src/components/my-grant-profile-page-handler/index.tsx
Outdated
Show resolved
Hide resolved
frontend/src/components/my-grant-profile-page-handler/no-grant.tsx
Outdated
Show resolved
Hide resolved
frontend/src/components/my-grant-profile-page-handler/my-grant.tsx
Outdated
Show resolved
Hide resolved
frontend/src/components/my-grant-profile-page-handler/sidebar.tsx
Outdated
Show resolved
Hide resolved
frontend/src/components/my-grant-profile-page-handler/my-grant.tsx
Outdated
Show resolved
Hide resolved
frontend/src/components/my-grant-profile-page-handler/no-grant.tsx
Outdated
Show resolved
Hide resolved
frontend/src/components/my-grant-profile-page-handler/profile-with-my-grant.graphql
Show resolved
Hide resolved
1bddff4
to
af9b496
Compare
af9b496
to
0889156
Compare
"Your application is under review. No further action is needed from you at this moment.", | ||
"profile.myGrant.status.rejected": "Rejected", | ||
"profile.myGrant.status.rejected.nextSteps": | ||
"Unfortunately, your grant request has been rejected due to limited funds and a high number of applications. For details, check the email we sent you.", |
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.
does the email contain information?
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.
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.
then can we remove that phrase from the text? maybe something like:
Unfortunately, your grant request has been rejected due to limited funds and a high number of applications. We hope you will be able to join us regardless!
Not sure I understand what you meant. I had two Grids, I "merged" them... |
Co-authored-by: Alessia Marcolini <98marcolini@gmail.com>
@alessiamarcolini and @marcoacierno I applied your suggestions, do you think we can merge this? can you have a final look, please? thanks |
@@ -0,0 +1,7 @@ | |||
import { Text } from "@python-italia/pycon-styleguide"; | |||
|
|||
export const Title = ({ children }: { children: React.ReactNode }) => ( |
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.
this component name is way too generic
"Unfortunately, your grant request has been rejected due to limited funds and a high number of applications. For details, check the email we sent you.", | ||
"profile.myGrant.status.approved": "Approved", | ||
"profile.myGrant.status.approved.nextSteps": | ||
"Your grant request is approved. We will send you an email very soon with further instructions. Check your email regularly.", |
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.
Your grant request has been approved! We will send you an email very soon with further instructions, please check your email regularly.
"profile.myGrant.editInfo": | ||
"Ensure all the information provided are correct. You have until {editDeadline} to edit your information.", | ||
"profile.myGrant.manage": "Manage", | ||
"profile.myGrant.manage.warning": `If your plans change or you cannot attend the conference anymore, please let us know by clicking the 'Manage' button to refuse your grant or email us at {grantsEmail} as soon as possible. |
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.
"If your plans change or you cannot attend the conference anymore" reads weird to me, as if plans changing and cannot attend the conference are two separate things that can happen?
Also if we can avoid them contacting us via email is better, so I would advertise the path we want them to take, i.e. they should use the manage button.
I would just say:
If you cannot attend the conference anymore please let us know by using the 'Manage' button to refuse your grant as soon as possible.
Failing to notify us may impact your eligibility for financial aid in the future.
Failing to notify us may impact your eligibility for financial aid at future events.`, | ||
"profile.myGrant.noGrant.heading": "You haven't requested a grant", | ||
"profile.myGrant.noGrant.body.canSubmit": `If you're facing financial difficulties and wish to attend PyCon Italia, our grant application form is currently open! | ||
Find our more information {grantInfoLink} and submit your application below.`, |
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.
Why do we have a link to grant info here? The button below should redirect them to grant info, I don't see a point in having a link both in the text and the button below?
Find out more on our website below
We could even just remove this line, as we have the button that could say "Find out more"
"profile.myGrant.noGrant.body.closed": | ||
"The grant application form is currently closed. Stay tuned for future opportunities.", | ||
"profile.myGrant.noGrant.body.openingSoon": | ||
"Our grant application form will open soon! Check our {grantInfoLink} for more details.", |
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.
why we have a link in the text here?
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.
why not? to the info page, Alessia suggested
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.
The button below already links to it?
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.
ah I didn't know
"profile.myGrant.editInfo": | ||
"Assicurati che tutte le informazioni fornite siano corrette. Hai tempo fino al {editDeadline} per modificare il tuo grant.", | ||
"profile.myGrant.manage": "Gestisci", | ||
"profile.myGrant.manage.warning": `Se i tuoi piani cambiano o non puoi più partecipare alla conferenza, per favore faccelo sapere cliccando sul pulsante 'Gestisci' per rifiutare il tuo grant o inviaci un'e-mail a {grantsEmail} il prima possibile. |
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.
same as above, "Se i tuoi piani cambiano o non puoi più partecipare alla conferenza" doesn't make sense to me
maybe let's rewrite the english one and then translate it with chatgpt?
"profile.myGrant.noGrant.body.closed": | ||
"Il modulo per la richiesta di grant è al momento chiuso. Purtroppo non possiamo accettare nuove richieste dopo la scadenza.", | ||
"profile.myGrant.noGrant.body.openingSoon": | ||
"Il nostro modulo per la richiesta di grant aprirà presto! Visita la nostra {grantInfoLink} per ulteriori dettagli.", |
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.
"Il nostro modulo" is weird "Il form per la richiesta grant"?
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.
left some more feedback on the texts
Why
How to test it
#3931