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: creating change requests in private cloud UI #2953

Merged
merged 1 commit into from
Nov 10, 2023

Conversation

matthewelwell
Copy link
Contributor

@matthewelwell matthewelwell commented Nov 10, 2023

Changes

This PR came from a bug identified when trying to create change requests / scheduled changes when using the UI directly in the flagsmith-private-cloud image.

Investigation into showed that it was using a template that hadn't been updated and that there were in fact 3 different index files (1 handlebars and 2 index.html).

I've consolidated this to 2 (since handlebars doesn't work in all situations) and improved the webpack processes (removed a lot of the unnecessary bash statements to rely on webpack only).

How did you test this code?

Built the image locally with the workflows logic also included and verified that I can create a change request / schedule a change to a feature.

@matthewelwell matthewelwell requested review from a team, kyle-ssg and khvn26 and removed request for a team November 10, 2023 11:40
Copy link

vercel bot commented Nov 10, 2023

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

Name Status Preview Updated (UTC)
docs ✅ Ready (Inspect) Visit Preview Nov 10, 2023 11:41am
flagsmith-frontend-preview ✅ Ready (Inspect) Visit Preview Nov 10, 2023 11:41am
flagsmith-frontend-staging ✅ Ready (Inspect) Visit Preview Nov 10, 2023 11:41am

@github-actions github-actions bot added front-end Issue related to the React Front End Dashboard api Issue related to the REST API labels Nov 10, 2023
Copy link
Contributor

github-actions bot commented Nov 10, 2023

Uffizzi Preview deployment-40497 was deleted.

@codecov-commenter
Copy link

codecov-commenter commented Nov 10, 2023

Codecov Report

Attention: 1 lines in your changes are missing coverage. Please review.

Comparison is base (6f830e2) 95.64% compared to head (f9f186a) 95.64%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2953   +/-   ##
=======================================
  Coverage   95.64%   95.64%           
=======================================
  Files        1012     1012           
  Lines       29182    29181    -1     
=======================================
  Hits        27911    27911           
+ Misses       1271     1270    -1     
Files Coverage Δ
api/app/views.py 63.63% <0.00%> (+2.76%) ⬆️

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

@matthewelwell matthewelwell added this pull request to the merge queue Nov 10, 2023
Merged via the queue into main with commit 8eedf55 Nov 10, 2023
@matthewelwell matthewelwell deleted the fix/private-cloud-index-issues branch November 10, 2023 12:27
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 front-end Issue related to the React Front End Dashboard
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants