-
Notifications
You must be signed in to change notification settings - Fork 38
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 crispy-forms from VlanFilterForm (again) #3065
base: master
Are you sure you want to change the base?
Remove crispy-forms from VlanFilterForm (again) #3065
Conversation
This builds an alternate display of all search/info forms based on `nav.web.info.forms.SearchForm`, by moving form layout hints into a non-crispy-forms based structure. All forms are displayed twice in a row in order to be able to compare them "side-by-side" (i.e. this is just an intermediate commit)
The prefix search form tries to explicitly set a form element id using crispy-forms. Unsure of why. This adds support for this in the new template based implementation and moves the form id from the crispy version to the non-crispy version.
This removes the crispy version of all info/search forms, and leaves only the new versions.
This updates flat forms to enable the caller to override the form element's id and class tags.
This uses the form mechanisms that were introduced in #3034 to replace crispy-forms.
This reverts commit 0d222f6.
This uses the updated way of removing crispyforms by partially reimplementing it
🦙 MegaLinter status: ✅ SUCCESS
See detailed report in MegaLinter reports |
Test results 9 files 9 suites 8m 41s ⏱️ Results for commit 703df5a. ♻️ This comment has been updated with latest results. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## refactor/add-optional-label-to-submit-field #3065 +/- ##
===============================================================================
- Coverage 60.48% 60.47% -0.01%
===============================================================================
Files 605 605
Lines 43823 43817 -6
Branches 48 48
===============================================================================
- Hits 26506 26500 -6
Misses 17305 17305
Partials 12 12 ☔ View full report in Codecov by Sentry. |
1d53ff8
to
703df5a
Compare
Quality Gate passedIssues Measures |
96b83c3
to
83b2058
Compare
Depends on #3064 and #3036 to be merged first.
This reverts #2993 and removes crispyforms again using the new way of basically reimplementing crispyforms partially.
Closes #2991.
Url: http://localhost/seeddb/vlan/
Completely removing crispy is only possible after #3062 since it uses the same part of the template.