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

Change to same favicon as used in frontend #772

Merged
merged 1 commit into from
Apr 23, 2024

Conversation

johannaengland
Copy link
Contributor

@johannaengland johannaengland commented Apr 19, 2024

Closes #767.

@johannaengland johannaengland changed the title Change to favicon Change to same favicon as used in frontend Apr 19, 2024
@johannaengland johannaengland self-assigned this Apr 19, 2024
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 78.99%. Comparing base (8854376) to head (272b5f1).
Report is 2 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #772   +/-   ##
=======================================
  Coverage   78.99%   78.99%           
=======================================
  Files          74       74           
  Lines        3637     3637           
=======================================
  Hits         2873     2873           
  Misses        764      764           

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

Copy link

github-actions bot commented Apr 19, 2024

Test results

       7 files     567 suites   21m 45s ⏱️
   455 tests    454 ✔️ 1 💤 0
3 185 runs  3 178 ✔️ 7 💤 0

Results for commit 66ceb53.

♻️ This comment has been updated with latest results.

@@ -33,7 +34,7 @@
]

urlpatterns = [
path("favicon.ico", RedirectView.as_view(url="/static/favicon.ico", permanent=True)),
path("favicon.ico", RedirectView.as_view(url="/static/favicon.svg", permanent=True)),
Copy link
Contributor

Choose a reason for hiding this comment

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

An .ico is not an .svg. I'll check if this works on Monday.

If not, we'll need to make an .ico out of the .svg. I looked at how when working on the index-page PR. Of course there is a zillion ways to do it.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It works in Firefox for me.
The only browsers that do not support SVGs as favicons are IE and Safari. But since we use it like that in the frontend we can accept that.

@hmpf hmpf self-requested a review April 23, 2024 06:31
Copy link
Contributor

@hmpf hmpf left a comment

Choose a reason for hiding this comment

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

Let's have "make a proper .ico" as a polish issue.

Nostalgia washes over me: what was the name of the iconmaker program I used back in the triassic...

@hmpf
Copy link
Contributor

hmpf commented Apr 23, 2024

Update branch via rebase before merge please.

@hmpf hmpf force-pushed the add-favicon-to-index branch from 66ceb53 to 64cc717 Compare April 23, 2024 09:18
@hmpf hmpf merged commit 4b19f18 into Uninett:master Apr 23, 2024
1 of 3 checks passed
Copy link

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

@johannaengland johannaengland deleted the add-favicon-to-index branch April 23, 2024 09:20
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.

Add correct favicon.ico to src/argus/site/static/
3 participants