Uninett / Argus

Argus is an alert aggregator for monitoring systems
GNU General Public License v3.0
18 stars 13 forks source link

Mock app: illustrates how to override templates #787

Closed hmpf closed 5 months ago

hmpf commented 5 months ago

Closes #781 (well, shows how to close)

Branches off of #782 which depends on #786

github-actions[bot] commented 5 months ago

Test results

0 tests   0 :heavy_check_mark:  0s :stopwatch: 0 suites  0 :zzz: 0 files    0 :x:

Results for commit 64e90d97.

:recycle: This comment has been updated with latest results.

hmpf commented 5 months ago

I had forgotten (it's been a while) that it is necessary to update both INSTALLED_APPS and argus.site.urls for this to work so I will make an issue and code for doing this with a single setting, also thinking of adding a separate setting for themes since they need to go first.

codecov-commenter commented 5 months ago

Codecov Report

Attention: Patch coverage is 58.82353% with 7 lines in your changes are missing coverage. Please review.

Project coverage is 84.27%. Comparing base (d8fe2f9) to head (d18dbba).

Files Patch % Lines
src/argus/mock/views.py 40.00% 6 Missing :warning:
src/argus/mock/models.py 0.00% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## htmx #787 +/- ## ========================================== - Coverage 84.39% 84.27% -0.12% ========================================== Files 78 81 +3 Lines 3787 3804 +17 ========================================== + Hits 3196 3206 +10 - Misses 591 598 +7 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

sonarcloud[bot] commented 5 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

hmpf commented 5 months ago

This code will live on in my fork of the repo but since we have had the demo I am cleaning it away from upstream.