nova-settings-tool

Laravel Nova tool to view and edit application settings.

MIT License

Downloads
166.4K
Stars
167
Committers
7
nova-settings-tool - v2.0.5 Latest Release

Published by bakerkretzmar 8 months ago

What's Changed

New Contributors

Full Changelog: https://github.com/bakerkretzmar/nova-settings-tool/compare/2.0.4...2.0.5

nova-settings-tool - 2.0.3

Published by bakerkretzmar over 1 year ago

What's Changed

New Contributors

Full Changelog: https://github.com/bakerkretzmar/nova-settings-tool/compare/2.0.2...2.0.3

nova-settings-tool - 2.0.2

Published by bakerkretzmar over 1 year ago

nova-settings-tool - 2.0.1

Published by bakerkretzmar over 1 year ago

What's Changed

New Contributors

Full Changelog: https://github.com/bakerkretzmar/nova-settings-tool/compare/2.0.0...2.0.1

nova-settings-tool - 2.0.0

Published by bakerkretzmar over 2 years ago

nova-settings-tool - v1.1.2

Published by bakerkretzmar over 3 years ago

  • Set (and allow configuring) the Settings tool page title (#42)
nova-settings-tool - v1.1.0

Published by bakerkretzmar almost 4 years ago

  • Added a SettingsChanged event that fires every time any settings are updated (#39)
nova-settings-tool - v1.0

Published by bakerkretzmar about 5 years ago

This is a major release. Upgrading will only take a few minutes and mostly just involves restructuring the config file, but this release is a major departure from previous versions of the package in a few ways, and therefore it is not backwards compatible.

Breaking changes

Completely restructure configuration file to reduce boilerplate and nesting

The top-level panels array containing panels, which in turn contained settings, has been replaced with a single settings array. The structure of each setting has remained mostly the same, and the panel that a setting belongs to is now specified directly in that setting. Panels are computed based on the unique values of all settings' panel keys.

Within individual settings:

  • the name key has been renamed to label
  • description has been renamed to help and now accepts any valid HTML
  • link has been removed because help accepts HTML
  • all keys are now optional except key

The top-level navigation key in the config file has been renamed to sidebar-label.

Rename config file from settings.php to nova-settings-tool.php

The package's config file has been renamed to avoid possible conflicts. Fixes #8.

Change package namespace from SettingsTool to NovaSettingsTool

In your NovaServiceProvider.php, and anywhere else you're importing the tool, update your imports:

- use Bakerkretzmar\SettingsTool\SettingsTool;
+ use Bakerkretzmar\NovaSettingsTool\SettingsTool;
Remove support for assigning default values to settings

This package doesn't affect the behaviour of your app, it just provide's a nice interface for managing settings in Nova—so setting something like 'default' => 'true' on a toggle, as was previously possible, wouldn't actually set a default value for the setting, it would just change the way the setting was initially displayed, which could be misleading. Reverts a4ad702 and closes #17.

Other changes and improvements

  • Add number and select setting types
  • Add support for settings file on a custom disk
  • Add ability to set a placeholder value on text and textarea settings
  • Simplify interface and consolidate save action
  • Adjust styles to more closely match Nova’s
  • Add bucketloads of tests
nova-settings-tool - v0.3.3

Published by bakerkretzmar over 5 years ago

  • Add support for setting Toggle to be on by default (#17)
  • Tweak styles to more closely match the rest of Nova
nova-settings-tool - v0.3.2

Published by bakerkretzmar over 5 years ago

  • Fix config path (#16)
nova-settings-tool - v0.3.1

Published by bakerkretzmar over 5 years ago

  • Add code setting type
nova-settings-tool - v0.3.0

Published by bakerkretzmar over 5 years ago

  • Add textarea setting type (#11)
  • Fix bug translating the "Settings saved!" message
Package Rankings
Top 6.11% on Packagist.org
Badges
Extracted from project README
Latest Version on Packagist Total Downloads Build License: MIT