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

adding plan for the user #276

Open
wants to merge 14 commits into
base: main
Choose a base branch
from
Open

adding plan for the user #276

wants to merge 14 commits into from

Conversation

xvbilalvx
Copy link
Collaborator

@xvbilalvx xvbilalvx commented Jun 14, 2024

adding the vocab plan

@xvbilalvx
Copy link
Collaborator Author

now the lambda should add any type of plan not just vocab

Copy link
Collaborator

Choose a reason for hiding this comment

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

Your changes to this page conflict with the UI changes to the page #287, and I'm not comfortable with the current use of useEffect, but I'll look into that later.

For now, I think you can either try to resolve the conflicts, and if you need help in that, get in contact with the rest of the team.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Do we even need this page? Please confirm on me if we can just delete it or we still need it.

@saraisa12 @ThatIsHero

Comment on lines +85 to +87
ExpressionAttributeNames: {
'#planType': planType,
},
Copy link
Collaborator

Choose a reason for hiding this comment

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

Before this add a check to limit planType to only allowed values. Security 101: Don't trust user inputs!

'GET /startTest/{testType}': 'packages/functions/src/startTest.main',
'GET /Listening/audio': {
function: {
handler:
'packages/functions/src/sample-python-lambda/getListeningAudio.main',
handler: 'packages/functions/src/startTest.main',
Copy link
Collaborator

Choose a reason for hiding this comment

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

This is the line causing the build issue.

@mzhubail
Copy link
Collaborator

@Ma-hawaj Take a second look at the backend code.

@xvbilalvx xvbilalvx marked this pull request as ready for review June 21, 2024 18:24
@xvbilalvx
Copy link
Collaborator Author

@Ma-hawaj please review the new changes.

@Ma-hawaj
Copy link
Collaborator

@mzhubail I think everything is alright right now.

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.

3 participants