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

feat(statutory,su): improve handling cancelled applications #2012

Open
wants to merge 2 commits into
base: stable
Choose a base branch
from

Conversation

LeonVreling
Copy link
Member

No description provided.

@LeonVreling LeonVreling requested a review from WikiRik January 14, 2024 09:14
@LeonVreling LeonVreling changed the title fix(statutory): Remove option to set cancelled application as delegate feat(all-events): update handeling cancelled applications on board views Jan 14, 2024
@WikiRik WikiRik changed the title feat(all-events): update handeling cancelled applications on board views feat(statutory,su): improve handling cancelled applications Jan 14, 2024
@@ -260,6 +260,9 @@ export default {
canEditSelectedBody () {
return this.can.set_board_comment_and_participant_type.global
|| this.can.set_board_comment_and_participant_type[this.selectedBody]
},
nonCancelledApplications () {
return this.applications.filter(app => !app.cancelled)
Copy link
Member

Choose a reason for hiding this comment

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

Not sure yet why, but it seems that cancelled applications are not sent to the BoardView. Even if you click the button in the view table.
At first sight it looks fine in the listBoardView function so it's being set somewhere else in statutory. https://github.com/AEGEE/statutory/blob/43ab951729e9d3580ec40f58775c069062c1322f/lib/applications.js#L193-L195

<span v-if="props.row.status === 'waiting_list'">Waiting list</span>
<span v-if="props.row.status === 'pending'">Pending</span>
<span v-if="props.row.cancelled">
<span class="tag is-danger" v-if="props.row.cancelled">
Copy link
Member

Choose a reason for hiding this comment

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

This looks strange for rejected applications. And it would be better if cancelled participants do not have a colored column (or colored grey)
image

@WikiRik
Copy link
Member

WikiRik commented Mar 9, 2024

@LeonVreling reminder that this one is still open

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.

2 participants