Журнал изменений
Introduce round dial action buttons on the left module list, a shared chip vocabulary aligned with the lite theme, and a borderless module-head icon. Template and CSS layer only.
Core changes:
- Sidebar dial (templates/admin/fragments/*.html):
- Extract the dial markup into a shared fragments/dial.html
- Reuse it from menu-grid-item and menu-list-item
- Unified chips (templates/admin/assets/css/theme.css, fragments/inline-badge.html):
- Add .sl-chip base with .sl-chip-success and .sl-chip-warn tones
- Add chip_tone support to the inline-badge fragment
- Drop the legacy sidebar count-value pill styling
- Module-head icon (assets/css/base.css, theme.css):
- Add the --sl-size-icon-lg token (28px)
- Render the head icon as a bare 28px glyph without frame or background
Benefits:
- One chip vocabulary shared with the lite theme
- Quicker access to module actions from the sidebar
- Less bespoke CSS
Technical notes:
- No PHP or storage changes
- Backward compatibility is preserved
Rename lite theme size variables to semantic icon, chip, control, navigation, display, and forum tokens. The update keeps demo and error pages aligned with the theme token names.
Core changes:
- Lite design tokens (templates/lite/assets/css/base.css, templates/lite/assets/css/theme.css):
Replaced generic numeric size variables with semantic token names
- Icon sizes now use sl-size-icon-* tokens
- Navigation and control sizes now use sl-size-nav-control and sl-size-control
- Display and forum dimensions use dedicated semantic tokens
- Demo and error surfaces (demo/*.html, error.html):
- Updated embedded CSS references to the renamed semantic tokens
- Kept layout dimensions and visual behavior equivalent
Benefits:
- Improves token readability and maintainability
- Aligns lite and demo surfaces with the admin token naming direction
- Reduces reliance on generic numeric CSS custom properties
Technical notes:
- No storage changes
- HTML structure and runtime contracts are unchanged
- Backward compatibility is preserved for rendered behavior
Refresh shared admin control styling for dashboard panels, sidebars, popovers, and icon picker interactions. The update aligns compact icon buttons and panel toggle affordances with the admin design tokens.
Core changes:
- Admin design tokens and controls (templates/admin/assets/css/base.css, templates/admin/assets/css/theme.css):
Split icon and chip sizes into explicit reusable tokens
- Added a dark-surface foreground token
- Added shared mini chip button styling for compact actions
- Refined dial action transitions, sidebar spacing, panel header controls, pager chips, and icon modal scrolling
- Admin templates (templates/admin/fragments/.html, templates/admin/partials/.html):
- Reused the mini chip button class for dashboard dials and popover triggers
- Added open and closed panel toggle icons to dashboard and sidebar headers
- Marked icon picker grid content as non-translatable
Benefits:
- Improves visual consistency for compact admin controls
- Makes dashboard and sidebar collapsed state clearer
- Prevents icon names from being altered by translation tools
Technical notes:
- No PHP or storage changes
- Template data contracts are preserved except for optional icon_name consumption already supplied by callers
- Backward compatibility is preserved
Expand admin dashboard module cards with direct actions for configuration, categories, site view, documentation, and status changes. The update also separates dashboard section labels and reuses a shared category module list.
Core changes:
- Admin dashboard actions (admin/index.php):
Added config, categories, site view, info, edit, and status action links where applicable
- Configuration links are shown only when a module config file and admin config route exist
- Site links are shown only for active frontend modules
- Added distinct dashboard panel labels and icons for admin and site module groups
- Shared module metadata (core/helpers.php, config/modules.php):
- Added getCategoryModules() for shared category-capable module detection
- Reused the helper in category module selects
- Updated the account module icon to match the dashboard visual language
- Admin language constants (admin/lang/*.php):
- Added localized labels for dashboard sections and site view actions across all supported admin locales
Benefits:
- Reduces navigation steps from the module dashboard
- Centralizes category-capable module names for reuse
- Keeps admin labels synchronized across locales
Technical notes:
- No storage changes
- Existing module routes and permission checks are preserved
- Backward compatibility is preserved
Qualify edit query identifiers with module table aliases to avoid ambiguous id resolution when joining user records. This keeps admin edit forms stable for category-based content modules.
Core changes:
- Admin edit queries (modules/faq/admin/index.php, modules/files/admin/index.php, modules/media/admin/index.php, modules/news/admin/index.php):
Replaced bare id filters with explicit module table aliases
- faq uses s.id
- files uses f.id
- media uses m.id
- news uses s.id
Benefits:
- Prevents ambiguous column errors in joined admin edit queries
- Keeps query intent unchanged while improving SQL reliability
Technical notes:
- Storage format is unchanged
- SQL placeholders and admin form contracts are unchanged
- Backward compatibility is preserved
Add the admin icon picker workflow, move shared icon assets into the admin icon namespace, and keep frontend category rendering aligned with the new asset lookup. The change also fixes SQL debug trace collection so early database queries are buffered and rendered consistently in the debug panel.
Core changes:
- Admin icon management (admin/index.php, admin/modules/categories.php, templates/admin):
Add icon picker UI assets, template fragments, and admin styling
- Support centralized icon browsing from the admin interface
- Update admin menu and category/module controls to use the new icon paths
- Move legacy admin and category images into the shared admin icon directory
- Module and category icon references (config/modules.php, modules/*/index.php, core/system.php):
- Normalize icon references to the icons namespace
- Keep category image rendering aligned with the migrated assets
- SQL debug tracing (core/classes/pdo.php, core/system.php):
Buffer raw SQL trace entries before template rendering is available
- Flush buffered entries through the debug visibility gate
- Preserve query counts and detailed SQL rows in the debug panel
- Render SQL trace output through a dedicated Database method
Benefits:
- More consistent admin icon handling
- Reliable database query diagnostics
- Cleaner asset ownership between admin icons and frontend templates
Technical notes:
- Category icon assets are moved from lite categories into the shared icon path
- SQL debug output remains gated by checkDebugView()
- Backward compatibility is preserved for the existing qtime debug HTML consumer
Normalize lightweight directory index redirects in the lite template image folders. This keeps direct directory access pointed at the canonical HTTPS project URL.
Core changes:
- Lite category images (templates/lite/images/categories/index.html):
- Update the redirect URL from the legacy HTTP www host to https://slaed.net
- Lite flag images (templates/lite/images/flags/index.html):
- Add the same minimal redirect index file used by the image directories
Benefits:
- Uses the canonical secure project URL
- Keeps image directory access behavior consistent
Technical notes:
- Static HTML redirect files only
- No runtime API, database, or routing changes
- Backward compatibility preserved
Add standalone HTML demo prototypes for SLAED admin interface experiments. These files document layout, icon, dashboard, category, module, and row variant concepts without changing runtime PHP behavior.
Core changes:
- Admin UI demos (demo/*.html):
Add standalone admin experience prototypes
- Cover command dashboards, live controls, module radar, block operations, category icon selectors, and Bootstrap row variants
- Reuse existing admin theme and Bootstrap icon assets where applicable
- Keep demos isolated under the demo directory
Benefits:
- Provides visual references for future admin interface work
- Keeps experimental UI exploration outside production entry points
Technical notes:
- Static HTML assets only
- No runtime API, database, or routing changes
- Backward compatibility preserved
Consolidate the current performance and rendering cleanup batch across template, parser, debug metrics, scheduler, and breadcrumb handling. The changes remove repeated runtime probes, tighten debug metric timing, and move category breadcrumb context into module view data.
Core changes:
- Template and parser hot paths:
- Add request-local caching and reduce repeated filesystem and parser work
- Cover parser behavior with updated fixture tests
- Debug metrics and scheduler:
- Report final debug panel metrics through the same timing snapshot as the footer
- Gate scheduler pseudo-trigger work earlier and cache planned run state
- Breadcrumb context:
- Remove frontend schema probing for item breadcrumbs
- Pass category ids from category-backed module view handlers
- Build lite theme breadcrumbs from prepared head context
Benefits:
- Fewer database metadata probes and repeated runtime checks
- More accurate debug performance output
- Cleaner module-owned breadcrumb data flow
Technical notes:
- The setHead payload now exposes head_cid/head_item from cid/title
- getItemCrumb is removed because schema detection no longer belongs in frontend rendering
Site-side user content now uses the Toast UI markdown editor instead of the plain textarea, matching the comment and voting flows this branch polishes.