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 UploadPackageForm form and separate form functionality from layout #932

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

Conversation

Oksamies
Copy link
Contributor

The following PRs have to be merged, before this can be rebased and went through:
#919
#928
#929
#930
#931

@Oksamies Oksamies force-pushed the upload-package-form-continuance branch from 9dedd6b to 133915f Compare November 27, 2023 18:06
@Oksamies Oksamies force-pushed the upload-package-form-continuance branch from 133915f to 64da761 Compare November 27, 2023 18:15
@Oksamies Oksamies marked this pull request as ready for review November 27, 2023 18:16
@Oksamies Oksamies force-pushed the upload-package-form-continuance branch from 64da761 to ba4e90c Compare November 27, 2023 20:22
Comment on lines +57 to +59
selected.map(
(x) => (communityCategories["community_identifier"] = [x.value])
);
Copy link

Choose a reason for hiding this comment

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

The communityCategories object is using a hardcoded key "community_identifier" which overwrites the same key on each iteration. The selected values should include both the community and category IDs, likely in a format like "communityId:categoryId", allowing the parser to split this into the correct community-to-categories mapping.

Spotted by Graphite Reviewer

Is this helpful? React 👍 or 👎 to let us know.

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.

1 participant