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

IQSS/10137-2 Add flag to remove Return To Author Reason #10655

Conversation

qqmyers
Copy link
Member

@qqmyers qqmyers commented Jun 25, 2024

What this PR does / why we need it: Per discussion in #10137, this PR adds a FeatureFlag to be able to disable the recent addition (in v6.2) of a required reason field in the Publish/Return To Author dialog. It also applies the same flag to the api, making the submission of a reason optional in it.

Without the flag set, the PR doesn't change anything.

Which issue(s) this PR closes:

Closes

Special notes for your reviewer: Note the PR includes the changes from #10654 that should be merged soon. I can create a clean branch is needed. Otherwise, I'll wait and merge.

Suggestions on how to test this:

Does this PR introduce a user interface change? If mockups are available, please link/include them here: removes the reason field when the flag is set, going back to the pre v6.2 look:
image

Is there a release notes update needed for this change?: included

Additional documentation: docs updated

@qqmyers qqmyers added this to the 6.3 milestone Jun 25, 2024
@coveralls
Copy link

Coverage Status

coverage: 20.664% (+0.005%) from 20.659%
when pulling 43a50f8 on GlobalDataverseCommunityConsortium:IQSS/10137-2-add_flag_to_make_reason_optional
into 9fc757f on IQSS:develop.

@philippconzett
Copy link
Contributor

Thanks, @qqmyers! Very much appreciated!

@qqmyers qqmyers marked this pull request as ready for review June 26, 2024 13:19
@qqmyers qqmyers added the Size: 3 A percentage of a sprint. 2.1 hours. label Jun 26, 2024
@sekmiller sekmiller self-assigned this Jun 26, 2024
Copy link
Contributor

@sekmiller sekmiller 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 didn't look at the "COMMIT_WITHIN" changes

@sekmiller sekmiller removed their assignment Jun 26, 2024
IQSS/10137-2-add_flag_to_make_reason_optional
@qqmyers
Copy link
Member Author

qqmyers commented Jun 26, 2024

FYI: I merged with develop which removes the commit within changes and I've resolved the conflict w.r.t. feature flag order.

@coveralls
Copy link

Coverage Status

coverage: 20.641% (+0.004%) from 20.637%
when pulling d946b06 on GlobalDataverseCommunityConsortium:IQSS/10137-2-add_flag_to_make_reason_optional
into 94b15e2 on IQSS:develop.

@stevenwinship stevenwinship self-assigned this Jun 28, 2024
@stevenwinship
Copy link
Contributor

With feature flag true(disable):
image

Default disable=false:
image

IQSS/10137-2-add_flag_to_make_reason_optional
@coveralls
Copy link

Coverage Status

coverage: 20.639% (+0.004%) from 20.635%
when pulling a061559 on GlobalDataverseCommunityConsortium:IQSS/10137-2-add_flag_to_make_reason_optional
into 43ee260 on IQSS:develop.

@stevenwinship stevenwinship merged commit 9985378 into IQSS:develop Jun 28, 2024
11 of 12 checks passed
@stevenwinship stevenwinship removed their assignment Jun 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Size: 3 A percentage of a sprint. 2.1 hours.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants