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

Add CSV import/export for Peer Review teams #12

Merged
merged 23 commits into from
Dec 9, 2024

Conversation

micsucmed
Copy link
Contributor

@micsucmed micsucmed commented Jun 20, 2024

closes #11

depends on indico/indico#6408

@micsucmed micsucmed force-pushed the peer-review-managers-csv branch 2 times, most recently from e7d48d1 to ebd3c4f Compare August 20, 2024 09:12
@micsucmed micsucmed marked this pull request as ready for review August 20, 2024 09:28
@micsucmed micsucmed force-pushed the peer-review-managers-csv branch 2 times, most recently from 2baf11c to b4d0971 Compare August 20, 2024 09:48
@micsucmed micsucmed force-pushed the peer-review-managers-csv branch from 5095bb1 to 84f36b6 Compare August 20, 2024 14:39
@ThiefMaster ThiefMaster force-pushed the peer-review-managers-csv branch from 84f36b6 to 86a327a Compare November 6, 2024 11:56
const [loading, setLoading] = useState(false)

const handleSubmit = async () => {
onChange(userIdentifiers)
Copy link
Member

Choose a reason for hiding this comment

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

When you import the same twice you end up with duplicates, and combined with duplicate key that's causing all kinds of issues (try removing the duplicates).

Copy link
Member

@ThiefMaster ThiefMaster Nov 6, 2024

Choose a reason for hiding this comment

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

I fixed this by overwriting the list instead of appending to it. Could generate a merged list as well since we have access to entries. Not sure if that's needed though.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Looking into this

@ThiefMaster ThiefMaster force-pushed the peer-review-managers-csv branch from 86a327a to 4e911a3 Compare November 6, 2024 14:00
@ThiefMaster
Copy link
Member

FYI I fixed ESLint and reformatted the files, but there are still a bunch of linter errors that need to be fixed manually (mostly proptypes).

@micsucmed micsucmed force-pushed the peer-review-managers-csv branch from 8195a9f to 1c248c3 Compare November 21, 2024 09:53
@ThiefMaster ThiefMaster force-pushed the peer-review-managers-csv branch from 83f4df0 to dfd00d7 Compare December 9, 2024 11:36
@ThiefMaster ThiefMaster changed the title Peer review managers csv Add CSV import/export for Peer Review teams Dec 9, 2024
@ThiefMaster ThiefMaster merged commit f979354 into indico:master Dec 9, 2024
5 checks passed
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.

20230930 - CSV Import/export for peer review (content and judges)
2 participants