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

Ensure hidden settings return falsy when used with the @custom helper #17920

Merged

Conversation

mike182uk
Copy link
Member

no refs

When a theme setting is hidden, it should return a falsy value when used

@codecov
Copy link

codecov bot commented Sep 1, 2023

Codecov Report

Patch coverage: 30.76% and project coverage change: -0.01% ⚠️

Comparison is base (73aca83) 66.79% compared to head (f67321d) 66.79%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #17920      +/-   ##
==========================================
- Coverage   66.79%   66.79%   -0.01%     
==========================================
  Files        1470     1470              
  Lines       83096    83099       +3     
  Branches    11201    11203       +2     
==========================================
+ Hits        55503    55504       +1     
- Misses      26459    26462       +3     
+ Partials     1134     1133       -1     
Flag Coverage Δ
admin-tests 36.57% <30.76%> (+0.01%) ⬆️
e2e-tests 81.47% <ø> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Changed Coverage Δ
ghost/admin/app/components/gh-nav-menu/design.js 60.52% <0.00%> (ø)
ghost/admin/app/services/custom-theme-settings.js 41.66% <33.33%> (+4.82%) ⬆️

... and 2 files with indirect coverage changes

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

@mike182uk mike182uk force-pushed the theme-settings-dependency-custom-helper branch 7 times, most recently from 08b7055 to 1d6da63 Compare September 6, 2023 14:50
@mike182uk mike182uk force-pushed the theme-settings-dependency-custom-helper branch from 1d6da63 to f67321d Compare September 11, 2023 07:43
@mike182uk mike182uk merged commit 46897bd into TryGhost:main Sep 13, 2023
20 checks passed
@mike182uk mike182uk deleted the theme-settings-dependency-custom-helper branch September 13, 2023 07:38
mike182uk added a commit to mike182uk/Ghost that referenced this pull request Sep 26, 2023
refs TryGhost/Product#3962

Port custom theme setting visibility to admin-x based on previous implementation
in the Ghost admin: TryGhost#17920
mike182uk added a commit to mike182uk/Ghost that referenced this pull request Sep 26, 2023
refs TryGhost/Product#3962

Port custom theme setting visibility to admin-x based on previous implementation
in the Ghost admin: TryGhost#17920
mike182uk added a commit to mike182uk/Ghost that referenced this pull request Sep 26, 2023
refs TryGhost/Product#3962

Port custom theme setting visibility to admin-x based on previous implementation
in the Ghost admin: TryGhost#17920
mike182uk added a commit to mike182uk/Ghost that referenced this pull request Sep 26, 2023
refs TryGhost/Product#3962

Port custom theme setting visibility to admin-x based on previous implementation
in the Ghost admin: TryGhost#17920
mike182uk added a commit to mike182uk/Ghost that referenced this pull request Sep 26, 2023
refs TryGhost/Product#3962

Port custom theme setting visibility to admin-x based on previous implementation
in the Ghost admin: TryGhost#17920
mike182uk added a commit to mike182uk/Ghost that referenced this pull request Sep 28, 2023
refs TryGhost/Product#3962

Port custom theme setting visibility to admin-x based on previous implementation
in the Ghost admin: TryGhost#17920
mike182uk added a commit to mike182uk/Ghost that referenced this pull request Sep 28, 2023
refs TryGhost/Product#3962

Port custom theme setting visibility to admin-x based on previous implementation
in the Ghost admin: TryGhost#17920
mike182uk added a commit to mike182uk/Ghost that referenced this pull request Oct 2, 2023
refs TryGhost/Product#3962

Port custom theme setting visibility to admin-x based on previous implementation
in the Ghost admin: TryGhost#17920
mike182uk added a commit that referenced this pull request Oct 2, 2023
refs TryGhost/Product#3962

Port custom theme setting visibility to admin-x based on previous
implementation in the Ghost admin:
#17920
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.

1 participant