summaryrefslogtreecommitdiff
path: root/client/html/posts_header.tpl
AgeCommit message (Collapse)Author
2025-02-16client: hide "mass edit" buttons when no privilegeHunternif
2025-02-16client+server: permission posts:bulk-edit:relationsHunternif
2025-02-16client: hide safety buttons if user doesn't have privilegeHunternif
2025-02-15Merge branch 'master' into hunternifHunternif
2024-03-21client/css: stack bulk tagging toggles horizontally on mobileEva
2023-01-19client: add bulk delete feature (#459)Neo
This introduces a new privilege 'posts:bulk-edit:delete' which by default is given to power users.
2021-08-31client: add buttons to quickly search for liked and favorite postsHunternif
2019-05-03client: fix "Start sorting" button, so that it immediately updates the url ↵Hunternif
with selected metrics. Also fix non-focusable links.
2019-04-29client: re-open bulk edit and metrics blocks when returning to post list.Hunternif
+ select metrics on click; + improve header style
2019-04-27client,server: populate metrics menu on post list headerHunternif
2019-04-27client: Metrics menu on post list headerHunternif
2019-04-27client: Shorten post header text on mobileHunternif
2019-04-27client: bulk editors menu is opened via text buttonHunternif
2019-04-11Fix posts header markdownHunternif
2019-04-10The "Randomize" button updates the current cache number only once.Hunternif
2019-04-09Bulk relations editor, initial attemptHunternif
2019-04-09Fix alignment on random buttonHunternif
2019-04-07add randomize buttonHunternif
2017-03-30client/posts: add option to disable safety ratingsrr-
2017-02-11client/posts: add bulk safety editing (#122)rr-
2017-02-11client/posts: refactor bulk tag editorrr-
Extract the state that controls mass tag form in the posts list header to a separate class. It's not exactly a 100% reusable control (the .tpl is shared), but it should greatly simplify reading the JS.
2017-02-11client: rename 'mass tag' to 'bulk edit tags'rr-
That way other bulk operations will be easier to name. This also changes the privilege name.
2017-01-21client: refactor linking and routingrr-
Print all links through new uri.js component Refactor the router to use more predictable parsing Fix linking to entities with weird names (that contain slashes, + etc.)
2016-08-28client/paging: avoid redrawing header navigationrr-
2016-08-27client/css: improve appearance on small screensrr-
2016-08-22client/general: add empty href for link buttonsrr-
In e464e69 I removed href='#' but I noticed that it broke some things. Readding href serves two purposes: - it makes links reachable with Tab key - it makes links clickable with Enter key The alternative to this approach was to introduce [tabindex] and [role] attributes. But not only using tabindex=0 with <a/> is questionable, it'd require adding a keyboard handler that'd intercept space and return key presses and simulated link clicks. Since it's best to leave this kind of thing to the native UI, I went with readding hrefs instead. I believe that hash hrefs, even though being a common practice, are silly, so I decided to settle down with empty hrefs. As a bonus, I added a snippet that prevents middle mouse clicks from opening such links/buttons in new tabs, which was the motivation for e464e69.
2016-07-30client/general: remove faux href='#' from linksrr-
2016-07-08client/general: refactor URL parameter handlingrr-
2016-07-06client/posts: add mass tagrr-
2016-06-23client/views: escape HTMLrr-
This lets client use < > in tag names.
2016-06-08client/general: make search box seen by Vimperatorrr-
2016-06-03client/posts: bind 'p' keyrr-
2016-06-03client/posts: add safety buttonsrr-
2016-06-02client/posts: add proof of concept for post listrr-