django-cms / djangocms-versioning

General purpose versioning package for Django CMS 4 and above.
Other
33 stars 29 forks source link

feat: Add a 'View Published' button for page edit or preview mode #282

Closed Aiky30 closed 2 years ago

Aiky30 commented 2 years ago

Description

Added a new button to the toolbar for pages that allows a user to navigate to the live url with ease.

Related resources

Checklist

lgtm-com[bot] commented 2 years ago

This pull request introduces 1 alert when merging 6568fdb0687493a05569df448c1990158392da6b into 0ba20b41196aa3336737b13ca5ee11ff173cae56 - view on LGTM.com

new alerts:

codecov[bot] commented 2 years ago

Codecov Report

Merging #282 (39baad7) into master (a18888f) will increase coverage by 0.14%. The diff coverage is 94.44%.

@@            Coverage Diff             @@
##           master     #282      +/-   ##
==========================================
+ Coverage   87.43%   87.57%   +0.14%     
==========================================
  Files          29       29              
  Lines        1568     1586      +18     
  Branches      256      260       +4     
==========================================
+ Hits         1371     1389      +18     
  Misses        141      141              
  Partials       56       56              
Impacted Files Coverage Δ
djangocms_versioning/cms_toolbars.py 95.71% <94.44%> (+0.63%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update a18888f...39baad7. Read the comment docs.