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

fix: Submit Feedback button in interview #2412

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

Nihantra-Patel
Copy link
Member

@Nihantra-Patel Nihantra-Patel commented Nov 11, 2024

fixes: #2401

Before:

before_interview.webm

After:

after_interview.webm

@ruchamahabal
Copy link
Member

@Nihantra-Patel I think the before and after videos are same

@Nihantra-Patel
Copy link
Member Author

No, In "After" video, once you Submit Feedback then button will disappear.

frm.page.set_primary_action(__("Submit Feedback"), () => {
frm.trigger("submit_feedback");
});
frappe.db
Copy link
Member

@ruchamahabal ruchamahabal Dec 4, 2024

Choose a reason for hiding this comment

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

Interview Feedback can be submitted by multiple interviewers. This just checks for a single feedback. So even if 1 interviewer has submitted the feedback, the next one won't see a button at all. Should also check if submitted feedback's interviewer is the session user.

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.

The Submit Feedback button is not hidden or disabled after submitting feedback.
2 participants