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

Uncrispyfy NAV's custom crispy templates #3008

Merged
merged 3 commits into from
Sep 25, 2024
Merged

Conversation

podliashanyk
Copy link
Contributor

@podliashanyk podliashanyk commented Sep 23, 2024

Introduces reusable templates to #2794:

  • horizontal_checkbox.html for uncrispyfying CheckBox()
  • field_helptext_as_icon.html for uncrispyfying HelpField()

Depends on #3000. So only last two commits are original, the rest will be rebased once #3000 is merged

Used extensively in /alertprofiles/matchfields/ and /threshold/add
Used somewhere in /arnold/ (could not find where exactly though) and in "'My stuff' quick links" under /preferences/ if you have saved any quick links
Copy link

github-actions bot commented Sep 23, 2024

🦙 MegaLinter status: ✅ SUCCESS

Descriptor Linter Files Fixed Errors Elapsed time
✅ PYTHON black 988 0 24.18s
✅ PYTHON flake8 988 0 433.4s

See detailed report in MegaLinter reports

MegaLinter is graciously provided by OX Security

Copy link

github-actions bot commented Sep 23, 2024

Test results

    9 files      9 suites   8m 35s ⏱️
3 331 tests 3 331 ✅ 0 💤 0 ❌
6 401 runs  6 401 ✅ 0 💤 0 ❌

Results for commit 385d112.

♻️ This comment has been updated with latest results.

Copy link

codecov bot commented Sep 23, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 56.60%. Comparing base (e07a0a0) to head (385d112).
Report is 102 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3008      +/-   ##
==========================================
- Coverage   56.76%   56.60%   -0.16%     
==========================================
  Files         603      603              
  Lines       43720    43727       +7     
  Branches       48       48              
==========================================
- Hits        24816    24752      -64     
- Misses      18892    18963      +71     
  Partials       12       12              

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

@podliashanyk podliashanyk mentioned this pull request Sep 24, 2024
59 tasks
@lunkwill42 lunkwill42 self-requested a review September 24, 2024 09:12
@lunkwill42 lunkwill42 changed the base branch from master to uncrispyfy/foundation5-field September 24, 2024 09:12
@lunkwill42
Copy link
Member

I took the liberty of changing the base to uncrispyfy/foundation5-field, which makes the diff look more correct. GitHub will correctly rebase this on master when #3000 is merged and the uncrispyfy/foundation5-field branch is deleted.

Copy link
Member

@lunkwill42 lunkwill42 left a comment

Choose a reason for hiding this comment

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

Looks ok, just a tiny nitpick :)

Base automatically changed from uncrispyfy/foundation5-field to master September 25, 2024 08:32
@podliashanyk podliashanyk merged commit b0c52bd into master Sep 25, 2024
11 of 13 checks passed
@podliashanyk podliashanyk deleted the custom-crispy-templates branch September 25, 2024 08:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants