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

Switch seeddb filter forms to new way of uncrispifying #3126

Merged
merged 2 commits into from
Oct 11, 2024

Conversation

johannaengland
Copy link
Contributor

@johannaengland johannaengland commented Oct 9, 2024

Closes #2995.
Reverts things done in #2981 and #3092 (ManagementProfileForm will also be changed to use get_single_layout again).

Copy link

github-actions bot commented Oct 9, 2024

🦙 MegaLinter status: ✅ SUCCESS

Descriptor Linter Files Fixed Errors Elapsed time
✅ PYTHON black 992 0 11.43s
✅ PYTHON ruff 987 0 0.1s

See detailed report in MegaLinter reports

MegaLinter is graciously provided by OX Security

Copy link

github-actions bot commented Oct 9, 2024

Test results

    8 files      8 suites   8m 14s ⏱️
2 046 tests 2 046 ✅  0 💤 0 ❌
3 918 runs  3 908 ✅ 10 💤 0 ❌

Results for commit d037671.

♻️ This comment has been updated with latest results.

Copy link

codecov bot commented Oct 9, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 60.44%. Comparing base (d96d73b) to head (d037671).
Report is 2 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3126      +/-   ##
==========================================
- Coverage   60.44%   60.44%   -0.01%     
==========================================
  Files         605      605              
  Lines       43757    43749       -8     
  Branches       48       48              
==========================================
- Hits        26451    26443       -8     
  Misses      17294    17294              
  Partials       12       12              

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

Copy link
Contributor

@stveit stveit left a comment

Choose a reason for hiding this comment

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

not 100% sure I understand everything, but it seems reasonable and Room filtering and Type filtering seems to work same as before so 👍

Copy link
Contributor

@podliashanyk podliashanyk left a comment

Choose a reason for hiding this comment

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

Nice! Some suggestions for simplification sake below

python/nav/web/seeddb/forms/__init__.py Outdated Show resolved Hide resolved
python/nav/web/seeddb/forms/__init__.py Outdated Show resolved Hide resolved
python/nav/web/seeddb/forms/__init__.py Outdated Show resolved Hide resolved
@johannaengland johannaengland force-pushed the refactor/switch-seeddb-filter-form-to-new-way branch from ef20131 to c383bb7 Compare October 11, 2024 09:43
This was removed when uncrispifying seedDB
This adds a new uncrispified version of this method
@johannaengland johannaengland force-pushed the refactor/switch-seeddb-filter-form-to-new-way branch from c383bb7 to d037671 Compare October 11, 2024 09:44
Copy link

sonarcloud bot commented Oct 11, 2024

@johannaengland johannaengland merged commit cc77c82 into master Oct 11, 2024
11 of 14 checks passed
@johannaengland johannaengland deleted the refactor/switch-seeddb-filter-form-to-new-way branch October 11, 2024 09:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Merge filter form templates
3 participants