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

fix(versioning): send live from when creating versions for change requests #4116

Merged
merged 2 commits into from
Jun 5, 2024

Conversation

matthewelwell
Copy link
Contributor

@matthewelwell matthewelwell commented Jun 5, 2024

Thanks for submitting a PR! Please check the boxes below:

  • I have run pre-commit to check linting
  • I have added information to docs/ if required so people know about the feature!
  • I have filled in the "Changes" section below?
  • I have filled in the "How did you test this code" section below?
  • I have used a Conventional Commit title for this Pull Request

Changes

This PR updates the FE code to send the live_from attribute when creating a new version for a change request. It also updates the property on the ChangeRequest from _live_from to live_from so that we can use it in the flagsmith-workflows module.

How did you test this code?

Ran the FE locally and confirmed that the live_from attribute is correctly sent when creating a version for a change request. I also regression tested it to confirm that it's not sent when creating a new version that should not be scheduled.

Copy link

vercel bot commented Jun 5, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 5, 2024 9:59pm
flagsmith-frontend-preview ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 5, 2024 9:59pm
flagsmith-frontend-staging ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 5, 2024 9:59pm

Copy link
Contributor

github-actions bot commented Jun 5, 2024

Uffizzi Preview deployment-52695 was deleted.

@github-actions github-actions bot added api Issue related to the REST API fix and removed fix labels Jun 5, 2024
@matthewelwell matthewelwell changed the title fix(versioning): WIP - try setting live_from fix(versioning): send live from when creating versions for change requests Jun 5, 2024
Copy link

codecov bot commented Jun 5, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.44%. Comparing base (1852d94) to head (9aca573).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #4116   +/-   ##
=======================================
  Coverage   96.44%   96.44%           
=======================================
  Files        1149     1149           
  Lines       37596    37596           
=======================================
  Hits        36259    36259           
  Misses       1337     1337           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@matthewelwell matthewelwell marked this pull request as ready for review June 5, 2024 22:07
@github-actions github-actions bot added fix and removed fix labels Jun 5, 2024
@matthewelwell matthewelwell added this pull request to the merge queue Jun 5, 2024
Merged via the queue into main with commit 765b12a Jun 5, 2024
28 checks passed
@matthewelwell matthewelwell deleted the fix(versioning)/use-live-from branch June 5, 2024 22:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api Issue related to the REST API fix front-end Issue related to the React Front End Dashboard
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants