statamic-rad-pack / runway

Eloquently manage your database models in Statamic.
https://statamic.com/addons/rad-pack/runway
MIT License
112 stars 47 forks source link

Revisions button isn't quite right #539

Closed edalzell closed 3 months ago

edalzell commented 3 months ago

Description

When there's a published model with no changes, why does the button say Save & Publish and why is the Publish button active??

I wouldn't expect to see any s&p button and the publish one inactive.

Steps to reproduce

  1. View a published model

Environment

Environment Application Name: Zakat Foundation of America Laravel Version: 11.13.0 PHP Version: 8.3.8 Composer Version: 2.7.6 Environment: local Debug Mode: ENABLED URL: zakat.test Maintenance Mode: OFF Timezone: America/Los_Angeles Locale: en

Cache Config: NOT CACHED Events: NOT CACHED Routes: NOT CACHED Views: CACHED

Drivers Broadcasting: null Cache: file Database: mysql Logs: stack / daily Mail: smtp Queue: sync Session: file

Livewire Livewire: v3.5.1

Statamic Addons: 13 Sites: 3 (zakat.org (EN), zakat.org (AR), zfinstitute.com (ZFI)) Stache Watcher: Disabled Static Caching: Disabled Version: 5.11.0 PRO

Statamic Addons aryehraber/statamic-captcha: 1.12.0 edalzell/forma: 3.0.1 jacksleight/statamic-bard-mutator: 2.3.1 jacksleight/statamic-distill: 0.7.1 jonassiewertsen/statamic-livewire: 3.6.0 statamic-rad-pack/runway: 7.5.1 statamic/seo-pro: 6.0.3 transformstudios/events: 5.4.3 transformstudios/front: 3.0.1 transformstudios/github: dev-main transformstudios/neon: dev-feature/enable-revisions transformstudios/review: 5.0 transformstudios/simple: 5.1.7

edalzell commented 3 months ago

This is the way Statamic does it.