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

Data Cleaning: add UI placeholders for Filters, Columns, and Edit + some reorg #35805

Merged
merged 3 commits into from
Feb 19, 2025

Conversation

biyeun
Copy link
Member

@biyeun biyeun commented Feb 19, 2025

Technical Summary

This adds UI placeholders to the session view for filters, columns, and edit columns
Also some minor reorg and renaming for more forms and form views (with different logical grouping) to come.
Screenshot 2025-02-19 at 1 40 55 PM
Screenshot 2025-02-19 at 1 41 19 PM
Screenshot 2025-02-19 at 1 41 10 PM
Screenshot 2025-02-19 at 1 41 01 PM

Feature Flag

DATA_CLEANING_CASES

Safety Assurance

Safety story

Everything here is behind a feature flag. Tests ensure access is correct.

Automated test coverage

Yes

QA Plan

Not needed

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

@biyeun biyeun added the product/feature-flag Change will only affect users who have a specific feature flag enabled label Feb 19, 2025
@@ -11,6 +11,9 @@
<h1 class="fs-3 pe-3 py-3 m-0">
{{ current_page.page_name }}
</h1>
<div>
{% include "data_cleaning/partials/button_bar.html" %}
Copy link
Contributor

Choose a reason for hiding this comment

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

Nitpick: Is the div necessary? I'd move it inside the include.

Copy link
Member Author

Choose a reason for hiding this comment

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

yes, it is for the flexbox styling in the parent div. It's easier to understand the layout if it's there, rather than the button bar.

@@ -5,7 +5,7 @@
from django.views.generic import TemplateView

from corehq import toggles
from corehq.apps.data_cleaning.forms import SelectCaseTypeForm
from corehq.apps.data_cleaning.forms.setup import SelectCaseTypeForm
Copy link
Contributor

Choose a reason for hiding this comment

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

Curious just how many forms you're expecting to create. More than ten? More than twenty? I wasn't thinking of this as a forms-heavy django app, but I don't have a sense of, like, if every filter is going to require its own form.

Copy link
Member Author

Choose a reason for hiding this comment

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

quite a few. i want to separate them into columns, filters, etc. also keeping room for Form Data Cleaning

@biyeun biyeun merged commit 498409c into master Feb 19, 2025
14 checks passed
@biyeun biyeun deleted the bmb/dc/placeholder-offcanvas branch February 19, 2025 23:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
product/feature-flag Change will only affect users who have a specific feature flag enabled
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants