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

Added frontend logic to handle the endorsement feature #15

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

Conversation

Steve0012345
Copy link
Collaborator

@Steve0012345 Steve0012345 commented Sep 18, 2023

I edited the front-end template files and also defined an event handler to listen for a click event on the endorse button. This fires a hook that manages these independently from the component and I set up the logic on the front end necessary to update the endorsed_by_Instructor field in the backend. This logic is caught by the backend and in turn updates the respective field on the backend.

@Steve0012345 Steve0012345 changed the title Added frontend logic to handle the endorsement. Added frontend logic to handle the endorsement feature Sep 18, 2023
@Steve0012345 Steve0012345 added the Front-end Deals with front-end devlopment label Sep 18, 2023
@Steve0012345 Steve0012345 self-assigned this Sep 18, 2023
@Steve0012345 Steve0012345 added the enhancement New feature or request label Sep 18, 2023
@mrahmatu mrahmatu linked an issue Sep 19, 2023 that may be closed by this pull request
Copy link
Collaborator

@mrahmatu mrahmatu left a comment

Choose a reason for hiding this comment

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

I think you should continue working. The changes are not completed yet. But good job on adding the link and detecting its click!

@mrahmatu mrahmatu added Sprint 1 These issues must be completed by sprint 1 at least (19th Sep 2023). In-progress Not completed yet, progress ongoing. labels Sep 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Front-end Deals with front-end devlopment In-progress Not completed yet, progress ongoing. Sprint 1 These issues must be completed by sprint 1 at least (19th Sep 2023).
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Displaying Endorsement Label for Authoritative Responses
2 participants