Skip to content
This repository has been archived by the owner on Jun 24, 2021. It is now read-only.

Export applicants with arbitrary tags #243

Merged
merged 7 commits into from Jan 21, 2019

Conversation

StanfordLin
Copy link
Contributor

🎟️ Ticket(s): Closes #


πŸ‘· Changes

Exporting selected applicants should include all fields and tags of each applicant

πŸ’­ Notes

πŸ”¦ Testing Instructions

Explain how to test your changes, if applicable.

  1. Go to http://localhost:8080/#/admin/applicants
  2. Select all applicants, export selected applicants
  3. Check the excel spreadsheet, should include all fields and tags of each applicant

screen shot 2019-01-20 at 4 56 15 pm

@@ -460,8 +460,28 @@ class GenericApplicantContainer extends React.Component {
}
});
const filteredApplicants = this.filterApplicants(checkedApplicants);
const fields = ['firstName', 'lastName', 'email', 'id', 'tags'];
const fields = ['firstName', 'lastName', 'email', 'id', 'tags.accepted', 'tags.abc'];
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we set fields to an empty array?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

we could, i think it's better if we keep firstName, lastName, email, and id so it keeps it nicely ordered, what do you think?

Copy link
Contributor

Choose a reason for hiding this comment

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

That's a good point, I'm fine with keeping firstName, lastName, email, and id, but can we get rid of tags.accepted, tags.abc?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yup sounds good

Copy link
Contributor

@chamkank chamkank left a comment

Choose a reason for hiding this comment

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

LGTM, great work!

@StanfordLin StanfordLin merged commit 6658cc1 into master Jan 21, 2019
@StanfordLin StanfordLin deleted the export-applicants-with-arbitrary-tags branch January 21, 2019 02:41
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants