Журнал изменений

Фильтр и поиск

Всего: 948 Доступных коммитов | Отфильтровано: 948 Коммиты | Страница: 1 / 95
Сегодня (26.06.2026)
Perf: set bootstrap-icons font-display to swap
Автор: Eduard Laas | Дата: 13:03 26.06.2026

Patch the vendored bootstrap-icons @font-face (lite and admin) to drop the FOIT: font-display block delays icon paint until the font loads, which Lighthouse flags (~60ms FCP). swap paints immediately and swaps in the glyphs once ready.

Core changes:

  1. Icon font face (templates/{lite,admin}/assets/vendor/bootstrap/css/bootstrap-icons.min.css):
  2. font-display: block -> swap
  3. drop the dead .woff src (no .woff file is shipped; only woff2 exists)

Technical notes:

  • Vendor file edit; re-apply on a bootstrap-icons upgrade
Docs: add buttons lab sandbox with modern variants
Автор: Eduard Laas | Дата: 12:35 26.06.2026

Review sandbox for button styles, on lite design tokens, isolated under slb- (does not touch production sl-but-). Stays within the lite theme's clean, light look.

Core changes:

  1. Demo (demo/buttons-lab.html):
  2. flat families: solid / soft / outline / ghost / gradient / elevated
  3. frame shapes, sizes, icons, states (loading/disabled), groups, split, FAB
  4. clip-path/mask/skew shapes (chamfer, arrows, tag, hex, ticket, parallelogram)
  5. faithful repros: pillow (old frontend pill) and admin (admin-panel recipe)
  6. proposed theme families: rect / pill / elevated / elevated-shadow

Technical notes:

  • token-driven channels (--c / --cd / --ct, --slb-h/px/r) for combinable color x style x shape x size without CSS duplication

  • :focus-visible rings, prefers-reduced-motion, color-mix edge derivation
Style: tab markup classes and admin field-value row
Автор: Eduard Laas | Дата: 09:04 26.06.2026

Align theme CSS with the unified tab markup and the new admin field-value atom.

Core changes:

  1. lite theme.css:
  2. restyle tabs for the class-based markup (sl-tabs-nav, sl-tabs-item, sl-tabs-link, sl-is-active, sl-tabs-content, sl-tab-panel)

  3. drop the legacy anchor-based tab selectors
  4. admin theme.css:
  5. add sl-form-row / sl-form-label / sl-form-value for field-value

Benefits:

  • Consistent tab styling on the shared markup in both themes
Refactor: consolidate tabs and alert auto-hide into slaed.js
Автор: Eduard Laas | Дата: 09:04 26.06.2026

Move the tab engine and flash-alert auto-hide into the global system plugin (loaded in both themes via script_f), replacing the per-theme copies. One source of truth, one htmx re-init path.

Core changes:

  1. System plugin (plugins/system/slaed.js):
  2. add setTabs/initTabGroup (data-sl-tabs-init contract, keyboard nav, session restore, admin sync/tab-show/info-link, nav wheel-scroll)

  3. add setAlerts (data-sl-autohide flash dismissal)
  4. register both in setSlaedUi() and the htmx:afterSwap hook
  5. Removed per-theme scripts:
  6. templates/admin/assets/js/tabs.js
  7. templates/lite/assets/js/tabs.js
  8. templates/admin/assets/js/alerts.js

Benefits:

  • No tabs.js duplication; ~228 fewer duplicated lines
  • Frontend gains flash auto-hide for free once it emits data-sl-autohide
  • Single htmx lifecycle hook for all UI widgets

Technical notes:

  • editor-robots.js stays admin-only (CodeMirror CM6 config editor)
Templates: unify tab fragments across themes and add admin field-value
Автор: Eduard Laas | Дата: 09:04 26.06.2026

Mirror the admin tab templates into the lite theme so the shared tab contract resolves in both themes, and give the admin theme the field-value atom it was missing. Removes the obsolete lite navi-tabs-wrap.

Core changes:

  1. Tab templates:
  2. tabs-link.html (admin): optional raw label_html for HTML tab titles
  3. lite: add partials/tabs.html, fragments/tabs-link.html, tabs-panel.html matching the admin data-attr contract

  4. remove lite fragments/navi-tabs-wrap.html (no longer referenced)
  5. field-value atom:
  6. add admin fragments/field-value.html
  7. align lite field-value to the same inline label markup (byte-identical across themes), dropping the divergent label.html include

Benefits:

  • Content tabs and extra-field rows render in both themes
  • field-value identical across themes; one less cross-theme divergence

Technical notes:

  • No caller passes label_html to field-value; inline label is safe
Refactor: getNaviTabs renders on the shared tabs contract
Автор: Eduard Laas | Дата: 09:04 26.06.2026

Content [tabs][tab] blocks and account tabs now emit the same data-attr tab contract as admin modules (data-sl-tabs-init / data-sl-tab-target / data-sl-tab-panel) instead of the legacy navi-tabs-wrap + anchor markup. This makes content tabs render and switch correctly under any theme, including the admin content preview that previously logged missing templates.

Core changes:

  1. Tab builder (core/system.php):
  2. getNaviTabs() builds links via tabs-link and panels via tabs-panel, wrapped by the shared tabs partial with is_runtime

  3. Stable unique group id via a static counter, sanitized prefix/id
  4. Plain titles escaped, HTML titles passed as raw label_html (behavior preserved from the old anchor builder)

Benefits:

  • One tab contract across themes; admin preview no longer errors
  • Robust against duplicate/empty ids
Вчера (25.06.2026)
Docs: editors help reflects per-admin admin editor
Автор: Eduard Laas | Дата: 23:28 25.06.2026

Update config and admins help to match the removed global admin-editor setting: the admin content editor is configured per-admin, not in the main config.

Core changes:

  1. Config help (admin/info/config/ru.md):
  2. Editors section: main config holds only the user editor; admin editor is per-admin
  3. Drop references to the removed global admin-editor field
  4. Admins help (admin/info/admins/ru.md):
  5. Expand the editor field description (only place to choose the admin editor; auto-default)
  6. Add a detailed "Редактор содержимого: какой выбрать" subsection: editor table, processing model, [usehtml], auto-default and on-the-fly switch

Technical notes:

  • Only opening/standalone BB tokens are shown; the parser would consume complete BB pairs
Refactor: drop global admin content-editor config
Автор: Eduard Laas | Дата: 23:28 25.06.2026

Remove the duplicate global "editor.admin" setting. The admin content editor is chosen per-admin (Administrators module); the main config keeps only the user editor. New or unset admins fall back to plain.

Core changes:

  1. Config form (admin/modules/config.php):
  2. Remove the admin content-editor select and its save handling
  3. Saved editor config now holds only user + code
  4. Default config (config/global.php):
  5. Remove editor.admin (readers fall back to 'plain' via ?? 'plain')
  6. Constants (admin/lang/*.php):
  7. Remove the now-unused _EDITORADMIN constant across all six locales (keep _EDITORUSER)

Benefits:

  • No duplicated admin-editor setting; single source is the per-admin profile
  • Cleaner config surface

Technical notes:

  • editor.admin readers keep the ?? 'plain' fallback; no behavior change beyond default = plain
  • Generated config/local.php cache regenerates from global.php on next request
Style: widen .sl-gallery min column to 250px
Автор: Eduard Laas | Дата: 22:59 25.06.2026

Increase the responsive .sl-gallery grid minimum column width from 180px to 250px for larger content download thumbnails.

Core changes:

  1. Theme (templates/lite/assets/css/theme.css):
  2. .sl-gallery grid-template-columns minmax 180px -> 250px
Docs: document content editors in config help
Автор: Eduard Laas | Дата: 22:59 25.06.2026

Add a dedicated "Редакторы содержимого" section to the config admin help describing the separate user/admin editor configs and how each editor stores and renders content.

Core changes:

  1. Config help (admin/info/config/ru.md):
  2. Explain separate editor.user / editor.admin configs and the per-admin override
  3. Table of content editors (plain, toastui, tinymce, ckeditor) with roles and storage format
  4. Describe processing model (escaping + parser vs trusted HTML) and [usehtml]/[usephp]
  5. Note that TOAST UI has Markdown and HTML WYSIWYG modes, both saving Markdown
  6. Clarify the code editor (CodeMirror) is separate, used for admin code/markup fields
  7. Align label references with the new "Редактор пользователя" / "Редактор администратора"

Technical notes:

  • Only opening/standalone BB tokens are shown; the parser would consume complete BB pairs

Всего: 948 на 95 страницах по 10 на каждой странице

1 2 3 4 5 6 7 8 9 10 95

Хотите опробовать SLAED CMS в действии?

Идеи и предложения
Обратная связь