Skip to content

Commit

Permalink
Update Readme and Changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
bakerkretzmar committed Jun 17, 2019
1 parent 2c4cdc3 commit 192be22
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
/node_modules
/scratch
/vendor
.DS_Store
.phpunit.result.cache
notes.md
composer.lock
package-lock.json
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

All notable changes to `nova-settings-tool` will be documented in this file.

## 0.3.2 – 2019-06-17

- Add support for setting Toggle to be on by default
- Tweak styles to more closely match the rest of Nova

## 0.3.1 – 2019-05-09

- Add `code` setting type
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,14 @@ The [default config](config/settings.php) contains examples that should be prett

Each item in the `panels` array is rendered as its own 'group' of settings, like a panel on one of Nova's detail views. Each panel has a name and contains some settings. Each setting can optionally have a description and a link to more information (e.g. docs). Only the setting's key and value are actually stored in your `settings.json` file.

There are three available setting types:
There are four available setting types:

| Type... | ...displays |
| :--------- | :--------------------- |
| `toggle` | Boolean |
| `text` | Single-line text input |
| `textarea` | Multi-line text input |
| `code` | Code snippet editor |

All the strings hard-coded in this package (like in the "Save" button), as well as any you pass to it (like the `name` of any of your settings), can easily be translated using [Laravel's built-in localization features](https://laravel.com/docs/localization#using-translation-strings-as-keys).

Expand Down

0 comments on commit 192be22

Please sign in to comment.