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

CORE-2017: multi-year and future subscriptions #623

Merged
merged 5 commits into from
Mar 7, 2025
Merged

Conversation

slr71
Copy link
Member

@slr71 slr71 commented Mar 7, 2025

This change adds support for the following fields to the subscription edit form.

  • start date - allows the subscription start date to be specified
  • end date - allows the subscription end date to be specified
  • periods - indicates the number of subscription periods, which determines the size of the allocation for consumable resources.

@psarando
Copy link
Member

psarando commented Mar 7, 2025

I don't see a Chromatic build associated with this PR. Is it enabled in your fork?

@slr71
Copy link
Member Author

slr71 commented Mar 7, 2025

Hmm, I thought it was. 🤔

@slr71
Copy link
Member Author

slr71 commented Mar 7, 2025

Ah, never mind. I had actions disabled on my fork to prevent the build actions from running.

@slr71
Copy link
Member Author

slr71 commented Mar 7, 2025

I just pushed a change to force a chromatic build.

Copy link
Member

@psarando psarando left a comment

Choose a reason for hiding this comment

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

Ah, yeah, I sometimes disable only the Chromatic action, so commits to my fork don't create unnecessary builds (using up some of our monthly snapshot quota), until I'm ready to open a PR.

This looks good so far, but I think I caught a bug for editing subscriptions with existing start and end dates.

: undefined,
end_date: end_date
? formatDateObject(new Date(end_date), dateConstants.ISO_8601)
: undefined,
Copy link
Member

Choose a reason for hiding this comment

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

👍

@slr71 slr71 requested a review from psarando March 7, 2025 21:59
Copy link
Member

@psarando psarando left a comment

Choose a reason for hiding this comment

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

LGTM 👍 🎉

@slr71
Copy link
Member Author

slr71 commented Mar 7, 2025

Thanks for the review! 👍

@slr71 slr71 merged commit 00d48af into cyverse-de:main Mar 7, 2025
6 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.

2 participants