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

[#1938] Added theme stylesheet field to SiteConfiguration #911

Merged
merged 2 commits into from
Dec 19, 2023

Conversation

Bartvaderkin
Copy link
Contributor

No description provided.

@Bartvaderkin Bartvaderkin force-pushed the feature/1938-theme-stylesheet-field branch from 6f7133e to 92d3b49 Compare December 19, 2023 09:28
@Bartvaderkin Bartvaderkin marked this pull request as ready for review December 19, 2023 09:56
@@ -136,6 +136,7 @@ class SiteConfigurarionAdmin(OrderedInlineModelAdminMixin, SingletonModelAdmin):
"primary_font_color",
"secondary_font_color",
"accent_font_color",
"theme_stylesheet",
Copy link
Contributor

Choose a reason for hiding this comment

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

Works really nice! I do wonder if it is wise to put this button in this section here? We decided to 'hide' the other CSS field much lower in the Admin config at 'Geavanceerde opties' - and I guess that's the one that overrides everything as a final last load? So this uploaded file is not the last one loaded? (which is fine actually)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@jiromaykin Good point, I moved it in the admin to the same part as the extra CSS.

And you are correct this uploaded file is placed before the extra CSS field, seems most sensible but we can change it if necessary.

@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (c14479b) 92.92% compared to head (d02073e) 92.93%.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop     #911   +/-   ##
========================================
  Coverage    92.92%   92.93%           
========================================
  Files          818      819    +1     
  Lines        28212    28233   +21     
========================================
+ Hits         26217    26238   +21     
  Misses        1995     1995           

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

Copy link
Contributor

@jiromaykin jiromaykin left a comment

Choose a reason for hiding this comment

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

Works well!

@alextreme alextreme merged commit 4cff65f into develop Dec 19, 2023
14 checks passed
@alextreme alextreme deleted the feature/1938-theme-stylesheet-field branch December 19, 2023 13:10
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.

4 participants