See the userguide for futher detail.
Install via composer
"require": {
"signify-nz/te-reo-tooltips": "^1"
},
"repositories": [
{
"type": "vcs",
"url": "[email protected]:signify-nz/te-reo-tooltips.git"
}
]
Once installed, run dev/build?flush=1
As this is a private repository, you will need to authenticate in order to access it.
See License
This module allows a custom background colour for generated tooltips. This should be entered into the config.yml file as below. By entering a value here, the custom colour theme is enabled automatically. The default value for this field is 0, which disables the feature.
Signify\TeReoTooltips\SiteTreeExtension:
custom_hexcode:
'#D34324'
For development you will need Node.js and yarn installed.
Next, you need to install the required npm packages.
yarn install
You can compile assets using yarn watch
.
Produce minified (production) files using yarn package
.
Check over your JavaScript and SASS source code individually:
yarn lint-js
yarn lint-sass
You can also lint both in a single command:
yarn lint
To run tests, use the following command
vendor/bin/phpunit vendor/signify-nz/te-reo-tooltips/tests/
- Morgan Middleton [email protected]
Bugs are tracked in the issues section of this repository. Before submitting an issue please read over existing issues to ensure yours is unique.
If the issue does look like a new bug:
- Create a new issue
- Describe the steps required to reproduce your issue, and the expected outcome. Unit tests, screenshots and screencasts can help here.
- Describe your environment as detailed as possible: SilverStripe version, Browser, PHP version, Operating System, any installed SilverStripe modules.
Please report security issues to the module maintainers directly. Please don't file security issues in the bugtracker.
If you would like to make contributions to the module please ensure you raise a pull request and discuss with the module maintainers.