diff --git a/CHANGELOG.md b/CHANGELOG.md index c2894a03c..568efd535 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -211,7 +211,7 @@ Update from Maintenance > Update — Queue Update hands the job to cron, which u - Starter Content and the demo data are in US spelling - license, authorized, organization, fiber and the like. Where you loaded them before, nothing is added twice: the Authorised Contacts Only vendor tag and the Licence assigned canned response you have count as loaded, and bringing the starter canned responses up to date gives the response its new name. Bringing the starter ticket templates up to date has New Hire Onboarding ask for the License. Loading the demo data again, or removing it, still finds what an earlier load made. - Maintenance > Starter Content is laid out like Backup and Update: how much of the library you don't have yet, with Add all, at the top; each pack with how many it would add and how many of it you have, Pick which, its Add and its Update; the demo data under them; and the totals, how adding works and what to know about the demo data at the side. Update and Remove demo data ask first in the usual window. - Maintenance > Starter Content: Clear out unused, beside a pack's counts, archives what you have from the pack that nothing uses yet - a category no ticket, invoice, expense or product has, a tag on nothing, a template nothing was made from, a canned response never put in a reply, a product on no invoice, quote or asset. A window lists them, all ticked, and says how many are in use and stay; Undo puts them back, and Add doesn't make them again. -- Lists: tabs that don't fit across the screen go into More at the end of the row, instead of running off the edge out of sight - on the tickets list at most screen sizes, and on any list on a phone. The tab you're on always stays out, and More shows a red or amber count when a tab in it needs attention, such as Overdue or Unassigned. +- Tabs that don't fit across the screen go into More at the end of the row, instead of running off the edge out of sight or wrapping onto more lines - a list's views (the tickets list at most screen sizes), a record page's tabs (a contact's, an asset's, a location's), a quick look's, a form's, and the kinds in Admin > Categories and Tags on a phone. The tab you're on always stays out, and More shows a red or amber count when a tab in it needs attention, such as Overdue, Unassigned or a contact's open tickets. ### Bug Fixes @@ -418,7 +418,7 @@ Update from Maintenance > Update — Queue Update hands the job to cron, which u - Starter content: `starterRenamed()` in `admin/post/starter_content_model.php` maps a starter item's old name, keyed as `starterExistingNames()` keys it, to its new one. Tags and canned responses here under the old name count as present (`starterExistingRenamed()`, `starterCannedResponseNames()`), `starterUpdateCannedResponses()` renames one before replacing it, and `demoAttachTags()` falls back to the old tag name. `demoDataRenamed()` holds the demo products' old name and description and the errand trip's old purpose; `demoProductId()` finds a demo product either way for load and removal, and a load renames an old one in place. - `admin/starter_content.php` is rebuilt on the Maintenance page layout (a hero card, then the packs as a `list-group` sharing Get started's `.itflow-gs-pack-icon` and `.itflow-gs-pack-about`, and an At a glance card); `.itflow-starter-pack-cell` is gone. Update and Remove demo data are `confirm-link` buttons in place of `onsubmit` confirms. - Starter content: `starterPackRecords()`, `starterPackHere()`, `starterPackUsed()`, `starterContentUnused()` and `starterClearUnused()` in `admin/post/starter_content_model.php`, `clear_starter_unused` in `admin/post/starter_content.php` (rechecked on post, with an Undo of the archive) and `admin/modals/starter_content/starter_clear.php`. A tag counts as used by any table with a `tag_id` or `*_tag_id` column (read from information_schema) or a seat count, a project template by its tickets' history line, and a category by `categoryUsage()` plus ticket templates, settings, RMM alerts, AI triage and child categories. `starterPickHtml()` takes `$open`; `js/starter_content.js` counts `data-starter-format="clear"` and sets up a pack in a window as it opens. -- Tab bars: `js/tab_fold.js` (loaded by `includes/footer.php`) folds the tabs of an `.itflow-asset-tabs` bar that scrolls (`.nav.flex-nowrap.overflow-auto`, or one inside an `.itflow-asset-tabs` card header) that don't fit into a More dropdown, from the end, never the `.active` one. Folded tabs stay in place with `.itflow-tab-folded`, so page scripts keep working on them; More's items are built on `show.bs.dropdown` - a link for a tab with an href, otherwise a button that clicks the tab - and More and its items aren't `.nav-link`. The bar gets `.itflow-tabs-fold` (overflow visible, min-width 0), and fits again on resize, font load and any change to its tabs (a MutationObserver - the counts `agent/js/tickets_live.js` updates). +- Tab rows: `js/tab_fold.js` (loaded by `includes/footer.php`) folds the tabs that don't fit into a More dropdown, from the end, never the `.active` one - in `.nav.itflow-asset-tabs` (or a `.nav` inside an `.itflow-asset-tabs` card header), `.nav.itflow-asset-pills`, `.nav.itflow-asset-form-tabs` and any `.nav.itflow-tabs-foldable` (added to the kinds in Admin > Categories and Tags and to the mail settings tabs). A tab is a `.nav-link` of the row or the `.nav-item` around one; rows in a window are set up on `shown.bs.modal`, and a row laid out as a column, or not on screen yet, is left as it is. Folded tabs stay in place with `.itflow-tab-folded`, so Bootstrap's tabs and page scripts keep working on them; More is a `.nav-link.dropdown-toggle` (left out by Bootstrap's tabs and by `agent/js/tickets_live.js`), and its items are built on `show.bs.dropdown` - a link for a tab with an href, otherwise a button that clicks the tab. The row gets `.itflow-tabs-fold` (one line, overflow visible, min-width 0, its tabs `nowrap`), and fits again on resize, font load and any change to its tabs (a MutationObserver - counts updated in place, the open tab changing). ## [26.11.8] diff --git a/admin/categories.php b/admin/categories.php index 5c87c143d..5a58368ff 100644 --- a/admin/categories.php +++ b/admin/categories.php @@ -107,7 +107,7 @@ $csrf = $_SESSION['csrf_token'];