Skip to content

History of commits

4473 commits

feat(news): open a page of comments at once

Switching pages of the discussion jumps to its start instead of scrolling smoothly through the article; the comment just added is still brought into view smoothly.
simba77 8 ნოე 2026 13:49 Branch: 10.x 62aa05b

feat(news): keep the comment count and the title in step with the discussion

The comment count in the header of the article is a region of the live list, and the fragment carries the title of the page of comments. The public live-list script looks regions up on the whole page and takes the title from the fragment; the text of the document title is a theme component shared by the layout and the fragment.
simba77 8 ნოე 2026 13:42 Branch: 10.x 8a51ae5

feat(news): send comment forms without reloading the article

Adding and deleting a comment go through the live list: the action keeps its redirect, fetch follows it and the article controller returns the fragment. The form error is a region beside the form, the comment just added is passed by a flash and brought into view, and the editor is cleared after a comment is taken.
simba77 8 ნოე 2026 13:39 Branch: 10.x 3156988

feat(news): page through comments without reloading the article

The discussion is a live list: its feed is a region the article controller returns as a fragment to XMLHttpRequest, without counting a view. The public site gets its own live-list script following the same protocol as the panel's. Comment actions are delegated so they work on swapped comments.
simba77 8 ნოე 2026 13:32 Branch: 10.x c351da7

feat(news): open comment pages on the discussion

Pagination takes an optional fragment appended to every page URL. Comment pages of an article link to #article-comments, so a new page opens on the discussion instead of the top of the article.
simba77 8 ნოე 2026 13:17 Branch: 10.x dd76fa3

feat(theme): add the btn-xs button size

Comment actions of the news use btn-outline-secondary btn-xs; the delete button is btn-icon and only retunes its hover to the danger colour. The style guide shows the new size.
simba77 8 ნოე 2026 12:59 Branch: 10.x 5c2597d

refactor(news): build list cards on bootstrap cards

Section and article cards use .card with modifiers that tune the card variables. The whole article card is clickable through a stretched title link; preview links, embeds and the comments link stay above it.
simba77 8 ნოე 2026 12:45 Branch: 10.x 6dfa9fe