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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update required fields for submission #10140

Merged
merged 5 commits into from May 3, 2024

Conversation

MounirDhahri
Copy link
Member

@MounirDhahri MounirDhahri commented Apr 24, 2024

This PR resolves ONYX-903

Description

This PR updates the required fields for submissions in-app to be (artist, title and category)

PR Checklist

  • I have tested my changes on iOS and Android.
  • I hid my changes behind a feature flag, or they don't need one.
  • I have included screenshots or videos, or I have not changed the UI.
  • I have added tests, or my changes don't require any.
  • I added an app state migration, or my changes do not require one.
  • I have documented any follow-up work that this PR will require, or it does not require any.
  • I have added a changelog entry below, or my changes do not require one.

To the reviewers 馃憖

  • I would like at least one of the reviewers to run this PR on the simulator or device.
Changelog updates

Changelog updates

Cross-platform user-facing changes

  • update required fields for submissions - mounir

iOS user-facing changes

Android user-facing changes

Dev changes

Need help with something? Have a look at our docs, or get in touch with us.

@MounirDhahri MounirDhahri self-assigned this Apr 24, 2024
@ArtsyOpenSource
Copy link
Contributor

ArtsyOpenSource commented Apr 24, 2024

This PR contains the following changes:

  • Cross-platform user-facing changes (update required fields for submissions - mounir)

Generated by 馃毇 dangerJS against 09a3f17

@MounirDhahri MounirDhahri force-pushed the chore/update-required-fields-for-submissions branch 2 times, most recently from 04797e7 to ba22930 Compare April 25, 2024 13:32
@MounirDhahri MounirDhahri changed the title chore: update required fields for submission [draft] chore: update required fields for submission Apr 25, 2024
Copy link
Contributor

@olerichter00 olerichter00 left a comment

Choose a reason for hiding this comment

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

Looks good! I'm just not sure about this omitBy(input, isEmpty),....

@@ -56,6 +56,13 @@ export const ArtworkDetailsForm: React.FC = () => {
accessibilityLabel="Title"
/>
<StandardSpace />
<CategoryPicker<AcceptableCategoryValue | null>
Copy link
Contributor

Choose a reason for hiding this comment

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

nitpick: Would it make sense to add null as a possible value to AcceptableCategoryValue?

Copy link
Member Author

Choose a reason for hiding this comment

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

I wanted to keep my changes to a minimum since this was there already and I only moved it down - I will see if it's a quick change

Copy link
Contributor

Choose a reason for hiding this comment

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

Leaving it here sounds like a good idea then 馃憤

Copy link
Member

@dblandin dblandin left a comment

Choose a reason for hiding this comment

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

Looking good! Also agree that the omitBy filtering might not be needed and I added a note about the dimensions fields specifically.

@MounirDhahri MounirDhahri marked this pull request as draft April 29, 2024 14:23
@MounirDhahri MounirDhahri force-pushed the chore/update-required-fields-for-submissions branch from ba22930 to eb9792f Compare May 2, 2024 16:26
@MounirDhahri MounirDhahri marked this pull request as ready for review May 2, 2024 16:26
@MounirDhahri MounirDhahri force-pushed the chore/update-required-fields-for-submissions branch from 3e0a94c to 41fc71d Compare May 2, 2024 18:51
@MounirDhahri MounirDhahri force-pushed the chore/update-required-fields-for-submissions branch 3 times, most recently from 9e3bc20 to e4a9ba0 Compare May 3, 2024 15:11
@MounirDhahri MounirDhahri force-pushed the chore/update-required-fields-for-submissions branch from e4a9ba0 to 09a3f17 Compare May 3, 2024 15:16
@MounirDhahri MounirDhahri merged commit 5707ad6 into main May 3, 2024
7 checks passed
@MounirDhahri MounirDhahri deleted the chore/update-required-fields-for-submissions branch May 3, 2024 16:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants