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

Remove FormplayerPreviewSingleApp view #34569

Merged
merged 3 commits into from May 14, 2024
Merged

Conversation

gherceg
Copy link
Contributor

@gherceg gherceg commented May 7, 2024

Product Description

Technical Summary

I can't say for sure, but I think it is the case that this page has been broken since at the very least this change, since _format_app assumed app was app json, not an Application object, and calling get on an Application object behaves very differently than on an app json obj. The point being, this view has likely not been working for nearly 4 years, and from what I can tell, is not referenced anywhere in HQ by view name or url name.

Therefore, I'm removing it!

Feature Flag

Safety Assurance

Safety story

View is not accessible and up until very recently, has had a bug that leads to a 500 when attempting to access it by typing in the url endpoint.

Automated test coverage

QA Plan

No

Rollback instructions

  • This PR can be reverted after deploy with no further considerations

Labels & Review

  • Risk label is set correctly
  • The set of people pinged as reviewers is appropriate for the level of risk of the change

This view is not referenced anywhere in code, either by name or urlname.
@dimagimon dimagimon added the Risk: Medium Change affects files that have been flagged as medium risk. label May 7, 2024
Copy link
Contributor

@orangejenny orangejenny left a comment

Choose a reason for hiding this comment

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

Thank you for sleuthing this out. Added one more bit of cleanup.

corehq/apps/cloudcare/views.py Show resolved Hide resolved
@gherceg gherceg requested a review from biyeun as a code owner May 8, 2024 18:10
Copy link
Contributor

@MartinRiese MartinRiese left a comment

Choose a reason for hiding this comment

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

Deleted code is the best code.

@gherceg gherceg merged commit 74ffbee into master May 14, 2024
13 checks passed
@gherceg gherceg deleted the gh/web-apps/remove-view branch May 14, 2024 15:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Risk: Medium Change affects files that have been flagged as medium risk.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants