[Koha-bugs] [Bug 35681] Add support for colored messages in the output of updatedatabase
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Jan 4 00:08:18 CET 2024
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35681
David Nind <david at davidnind.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |david at davidnind.com
Text to go in the| |This enhancement adds
release notes| |support for colored
| |messages for Koha database
| |updates, in both the
| |terminal and browser.
| |
| |These new CSS classes are
| |used:
| |.updatedatabase-report-red
| |for warnings
| |.updatedatabase-report-gree
| |n for ?
| |.updatedatabase-report-yell
| |ow where action is
| |required
| |.updatedatabase-report-blue
| | for information
--- Comment #17 from David Nind <david at davidnind.com> ---
Testing notes (using KTD):
1. To get the colours to show in the browser update after applying the patches:
yarn build
2. Not a biggy, or a showstopper, but maybe the class names could be more
semantic? Not sure if there are any rules/guidelines for this.
.updatedatabase-report-red -warning
.updatedatabase-report-green -? (not sure for this one)
.updatedatabase-report-yellow -action-required
.updatedatabase-report-blue -information
3. Also, there is no class .updatedatabase-report-white
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list