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

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

Всего: 977 Доступных коммитов | Отфильтровано: 977 Коммиты | Страница: 1 / 98
Сегодня (03.07.2026)
Perf: optimize rendering and parser hot paths
Автор: Eduard Laas | Дата: 12:56 03.07.2026

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:

  1. Template and parser hot paths:
  2. Add request-local caching and reduce repeated filesystem and parser work
  3. Cover parser behavior with updated fixture tests
  4. Debug metrics and scheduler:
  5. Report final debug panel metrics through the same timing snapshot as the footer
  6. Gate scheduler pseudo-trigger work earlier and cache planned run state
  7. Breadcrumb context:
  8. Remove frontend schema probing for item breadcrumbs
  9. Pass category ids from category-backed module view handlers
  10. 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
Chore: switch user content editor to Toast UI
Автор: Eduard Laas | Дата: 00:13 03.07.2026

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.

Style: normalize CSS structure across admin and lite themes
Автор: Eduard Laas | Дата: 00:13 03.07.2026

Formatting-only pass over the four theme stylesheets: one property per line, uniform 2-space indentation, one blank line above each comment and none below, single-line English section comments in the "Name: scope" format.

Core changes:

  1. Formatting (admin and lite base.css, theme.css):
  2. 48 compact one-line rules expanded (alert tone remaps, keyframe frames)

  3. One blank line between blocks at every nesting level, no doubles, no blanks inside declaration blocks

  4. Over-long values wrapped at list commas; quoted data URIs stay atomic

  5. Comments:
  6. 13 multi-line comment paragraphs condensed to single lines
  7. Around 45 bare section names received scope descriptions (Header, Footer, Buttons, Layout, ...)

  8. Stray comments hoisted out of foreign blocks: / Buttons / sat inside a media query, a leftover label inside @keyframes dropped

  9. Remaining Russian words in comments translated

Technical notes:

  • Zero behavior change proven per file: the normalized token stream (comments stripped, whitespace collapsed) is byte-identical before and after the pass

  • Two data-URI lines in the admin theme stay over 180 chars; the quoted string cannot wrap without changing the value

Feature: chip tone system, touch-safe floats and mobile layout fixes
Автор: Eduard Laas | Дата: 00:12 03.07.2026

One UI stream across the lite theme: chips become the single meta component with a tone vocabulary, floats get a touch-safe open/close model, voting and login reuse system components, and 2026 phone viewports get layout and input fixes.

Core changes:

  1. Chips (theme.css, link.html, core/system.php):
  2. Explicit sl-chip-* tone wins on links too; each tone rule pairs its resting tint with --sl-chip-hover-bg, consumed by one nested &:hover on clickable chips

    • favourite toggles and author wrapper chips (:has(> a)) deepen the
same way; transition lives on the base chip rule
  • New link.html params: chip_tone renders any link as a toned chip, icon_name reused for the chip glyph (space instead of   inside flex chips)

  • Voting widget: comments chip is info blue and links to the real #comm anchor; "other polls" becomes an accent chip in the votes row

  • Login dropdown: standard sl-but submit, danger/success chips for lost password and registration; dead sl-login-submit rules and tokens removed

  • Floats (plugins/system/slaed.js, theme.css):
  • mouseleave closes over a 300ms grace timer: a panel fading display to none is not hit-testable, so it must stay fully open while the cursor crosses the gap into it

  • placeFloat parks off-screen only before the first measure and cancels a pending close; re-placing never yanks the panel from under the cursor

  • pointerdown outside closes hover floats (touch has no mouseleave)
  • Tip panels force text-align left inside centered hosts (forum name plate); in-body comments condensed to single lines above functions

  • Editor autofocus (plugins/editors/toastui/driver.php):
  • Toast UI constructor now receives autofocus from the driver flag; pages with a comment editor no longer auto-scroll to it on load

  • Profile header (account-profile.html, theme.css):
  • User "..." menu before the admin gear, right-aligned like comments; .sl-com-edit pins to the third grid column

  • Mobile 2026 (theme.css):
  • Grid row-gap in percent never joins the auto height calc, so stacked footer rows overflowed under the bottom menu by the summed gaps; fixed token row-gap and block footer columns fix the overlap

  • 15px body text and 16px fields under 768px (stops iOS focus zoom)
  • 40px coarse-pointer hit zones on compact controls via ::after overlay, visual size unchanged

  • Profile info table stacks label/value cells; footer menu matches the 8px page gutter with compact dividers

Benefits:

  • One chip vocabulary instead of per-case styling
  • Touch users can open, reach and dismiss popovers reliably
  • Poll pages open at the top; phone footer renders without overlap

Technical notes:

  • Verified via Playwright against live pages at 390/430px mobile and 1400px desktop; token contracts unchanged, no console errors

Вчера (02.07.2026)
Style: display-driven float panels, list ellipsis column, layout fixes
Автор: Eduard Laas | Дата: 19:00 02.07.2026

Theme updates backing the unified float/tip/list work in both themes.

Core changes:

  1. Float panels (lite + admin theme.css):
  2. Closed panels use display none with an allow-discrete transition so hidden menus stop inflating scrollWidth (phantom scrollbar under every moderator list table); @starting-style keeps the fade-in

  3. One generic open rule (.sl-float:hover / :focus-within) replaces the menu- and tip-scoped variants; dead .sl-dropdown* blocks removed

  4. List tables (lite):
  5. td.sl-cell-ellipsis becomes the flexible truncating column (width 100% + max-width 0) instead of a fixed 450px link cap

  6. sl-table-col-num keeps the gear+number pair on one line
  7. Tip + name pairs are flex rows: exact 6px gap, centred icon
  8. Page layout (lite):
  9. 40px side gutters between 769-1400px keep the fixed idea/feedback tabs off the content column

  10. Login toggle styled as a span trigger; the dropdown arrow reuses the shared .sl-float-panel::after geometry instead of a custom pair

  11. Debug (lite + admin):
  12. min-inline-size 0 on .sl-debug-section stops unbreakable tokens from stretching the page on mobile

Benefits:

  • No horizontal scrollbars from invisible panels or wide titles
  • Consistent popover arrows and hover behaviour everywhere
Refactor: one hover model for user identity across comments, forum, PM
Автор: Eduard Laas | Дата: 19:00 02.07.2026

The legacy click dropdown on user names is gone. Everywhere the "i" tip shows profile facts on hover and a click on the name navigates to the profile; hover previews, click navigates.

Core changes:

  1. Shared helpers (core/helpers.php, core/system.php):
  2. getUserTip() builds the hover tip (group, points, regdate, gender, origin, warnings) once for comments, forum posts and PM; guests get "Status: Guest", orphaned uids without a name "Status: User deleted"

  3. user_info() takes an icon flag; name links next to the tip render without the person icon

  4. New _USERDEL constant in all six languages
  5. Call sites (setComShow, forum, PM in core/user.php):
  6. report + username_html replace the per-site dropdown data keys; guest names show as entered, empty ones fall back to _ANONYM

  7. Favorites list cells reordered to match its header
  8. Templates (comment, forum-post, account-profile, login-nav):
  9. Click dropdown markup removed; tip + bold name pair instead
  10. Profile: name is plain text (final point), Message/Back moved into the "..." user menu next to the admin actions menu

  11. Login is a hover/focus trigger; no toggle-control navigation stub
  12. Float behaviour (slaed.js):
  13. mouseleave keeps a panel open while focus is inside (login form), focusout ignores focus moves between inner fields

Benefits:

  • One mechanism instead of four ad-hoc dropdown variants
  • Login form no longer closes mid-typing
Refactor: unify list tables - gear in the number cell, date in the title tip
Автор: Eduard Laas | Дата: 18:59 02.07.2026

Every frontend list now renders the moderator gear menu before the number anchor in one cell and moves the date column into the info tip before the title, freeing ~120px for titles.

Core changes:

  1. Generic list row (table-row.html, table.html):
  2. Moderator popover merged into the sl-table-col-num cell, the separate "Functions" column and its col_func header removed

  3. Date cell replaced by a report tip before the title link; data-sort keeps tablesort clean; col_date header removed

  4. List modules (files, pages, news, links, media, faq, help, shop):
  5. time_text/time_iso/time_label replaced by one getTplTitleTip call
  6. col_func / col_date dropped from table_open
  7. Voting and content:
  8. voting-home.html: gear menu ordered before the number anchor
  9. content: cells reordered to match the header (title, number) fixing the header/body column misalignment

Benefits:

  • Identical gear+number pattern across all modules
  • Header and body columns always match for guests and moderators
Fix: Toast UI toolbar fits its column and folds extras into "..."
Автор: Eduard Laas | Дата: 18:59 02.07.2026

The toolbar classifier measured a mid-parse column width and never re-ran, so icons spilled over the sidebar; the editor mount div also shrink-wrapped to the toolbar instead of matching the other fields.

Core changes:

  1. Toolbar refit (slaed-tags.js):
  2. Pin the toolbar to the real remaining row width (minus md tabs) so the native ResizeObserver reclassifies against honest numbers

  3. Re-run on window load, window resize and editor changeMode
  4. Editor sizing and reflash (slaed-icons.css):
  5. Mount div gets flex basis / width 100% like every .sl-field input, in both markdown and wysiwyg modes

  6. overflow-x clip on the toolbar row keeps the brief all-icons re-render inside the frame; dropdown and popups stay visible

Benefits:

  • Icons never paint over the sidebar at any viewport width
  • Surplus icons land in the native "..." dropdown as designed
Chore: ignore local CLAUDE.md and AGENTS.md agent entry points
Автор: Eduard Laas | Дата: 18:59 02.07.2026
Fix: vote button includes its form token explicitly (hx-include)
Автор: Eduard Laas | Дата: 15:15 02.07.2026

The voting button relied on HTMX implicitly including the enclosing form's token; make it explicit like the other form-based ajax actions (addComment, addPrivateMessage).

Core changes:

  1. Voting widget (core/system.php):
  2. Pass hx_include => '#form'.$votid to the vote action so the form (token + answers) is included
  3. Action fragment (templates/{lite,admin}/fragments/comment-action-ajax.html):
  4. Render an optional hx-include attribute when provided (no-op for other callers)

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

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

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