История коммитов

simba77
fix(guestbook): keep the entry answered when the form comes back with an error
A form sent without the script and refused by the validation lost the entry it answered, and the answer then went out without the link and the notification.
simba77
feat(guestbook): lay the actions of an entry out as under a comment
Editing and deleting are buttons of the row rather than a menu, and the address and the browser of an entry are behind the shield of the staff (components/moderator-meta.twig) instead of a line under it.
simba77
feat(guestbook): turn the replies of the staff into answering entries
A stored reply becomes an entry of its own that answers the entry it was written under, with its time and guestbook; it goes to the account of the name it carries when exactly one account has it. Its pictures follow it, as a copy when the entry shows them too. The reply screen /guestbook/otvet, its permission guestbook.entry.reply and the columns admin, otvet and otime are gone.
simba77
feat(guestbook): answer an entry and notify its author
An entry keeps the one it answers in guest.reply_to_id and recalls it with a link to its lasting address; the author of the entry answered is notified, a guest answering included, and the notification goes with the answer. The guestbook reuses the reply and quote script of the comments, which now reads the id of a comment from data-comment-id.
simba77
feat(guestbook): give every entry a lasting link
/guestbook/entry/{id} finds the page the entry is on when it is opened and switches to the admin club for an entry of it; the date of an entry is that link. Entries of the same second are ordered by id, so the count and the feed agree.
simba77
fix: make tooltips opaque
A border of a highlighted post showed through a translucent tooltip.
simba77
feat(comments): show who edited a comment in a tooltip by its date
simba77
feat(guestbook): show who edited an entry in a tooltip
Tooltips are set up by their own module and again after the live list swaps a region, so they survive a post or a page turn. In the dark theme a tooltip is a raised dark surface with a border, its arrow outlined the way a popover's is.
simba77
fix(comments): keep the avatars on phones and lead to a guestbook entry by its date
On a phone the avatar stands beside a header of two lines: the name, then the date with the number. The guestbook shows no id: the date of an entry is its link.
simba77
feat(comments): lead back to the subject and count the comments under the heading
A discussion page shows, under its heading, a link back to what is discussed and the number of comments, which the live list keeps up to date; the count above the feed is only read out. A long name of the subject, like a long name of the section of a file, takes two lines at most.