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

Peer review managers csv #12

Open
wants to merge 23 commits into
base: master
Choose a base branch
from

Conversation

micsucmed
Copy link

@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
indico_jacow/client/PeerReviewManagersFileInput.jsx Outdated Show resolved Hide resolved
indico_jacow/client/PeerReviewManagersFileInput.jsx Outdated Show resolved Hide resolved
indico_jacow/client/PeerReviewManagersFileInput.jsx Outdated Show resolved Hide resolved
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
Author

Choose a reason for hiding this comment

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

Looking into this

indico_jacow/client/index.js Outdated Show resolved Hide resolved
@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).

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