REST views: Add pagination information and total count result
Problem/MotivationCurrently Views Rest Export does not add pagination information such as current page, total items, total pages and items per page.A custom serializer could be easily created, but...
View ArticlePager should show the total number of pages available
Drupal's pagination style is pretty good, but it doesn't show you what number the last page in the results is. Some sites, including Flickr, have a pagination style that I think is preferable, and...
View ArticlePager with AJAX and path alias sets Views argument incorrectly
Problem/MotivationI think the approach that the views AJAX system takes to determine views arguments is incorrect. Right now when doing AJAX pagination, the view attempts to get all of the contextual...
View ArticlePager pagination with ajax always points to first page for comment fields...
Problem/MotivationPagination does not work correctly for comment fields that are rendered using #lazy_builder. So, for the content type, a comments field has been added, for which a custom...
View Article[Plan] Gradually replace Drupal's AJAX system with HTMX
What is the problem to solve?Drupal's AJAX system has served us well for over a decade. For over 15 years if you count its predecessors in CTools and AHAH. At the time of its creation, we had to create...
View ArticlePagination broken for Vocabulary consisting of set amount of parents and a...
Hello, first and foremost, I did search around the issue queue for my specific problem, but could not find something related to my problem, (except one, which I'll link to in a minute).Problem : I have...
View ArticleAdd an alphabetical pager to core
There are many instances where having an alphabetical pager (A, B, C) makes more sense than a numeric one (1, 2, 3).. for example, when browsing users or terms.There are a couple places in contrib...
View ArticlePager redundant "first" and "last" links.
The Drupal pager should remove redundant "first" and "last" links when displaying pagers that have fewer pages than the quantity limit (default: 9).Current pager*:first, previous, 1 2, 3, next, last...
View ArticlePager pagination with AJAX incorrect when rendered through layout builder
Problem/MotivationWhen rendering a view with an AJAX pager through layout builder, either directly or through other means (e.g. Views Reference Field on a content block), the pager does not receive the...
View ArticleOlivero Full pager theming problem wrong on layout builder
I recreated the whole views and the layout builder page and I found out the problem which is from the views pager, when I am using the pagers except the full pager, the problem gone, when I am using...
View Article[meta] Remove usage of t() in tests not testing translation
Problem/MotivationThere is no need to use t() in tests, unless we're testing translations, however in core we do not follow this consistently, which does not set a good example for new contributions.A...
View ArticlePager pagination only goes to first page for comment fields when using Layout...
Problem/MotivationPagination does not work correctly for comment fields that are rendered using Layout Builder.Everything is displayed correctly, but the links to pages in the pager are not formed...
View ArticleExperiment: package PHP libraries in a single Phar file
Following up on my idea from #2908394-37: Use Composer to build sites without forcing users to learn Composer, I thought it would be interesting to find out if what I proposed there would actually...
View ArticleNot able to add to List field with 0 as the first machine name.
Problem/MotivationI have a List (text) field that I ended up, for migration reasons, using the number 0 as the machine name of the first Allowed value. Migration went great. Now, months later, I need...
View ArticleAdd return type to hook_file_download implementations
Problem/MotivationSee #3483037: [META] Add return types to hook implementationsThis is the last group of hooks in Hook classes to be updated.Steps to reproducegrep "fileDownload\\\\.* has no return"...
View ArticleNavigation Top Bar should Edit button as the primary action when viewing a...
Problem/MotivationAs part of #3484575: Move the Edit button outside the more actions drop down, the edit button was declared as primary page action for node edit page.If Content Moderation is enabled...
View ArticlePager pagination failure on Media library (HTTP 400) when editing after...
Problem/MotivationTrying to use the pager in the media library modal fails (400), if editing an already-saved node, then used preview and then clicked on "Back to content editing".Steps to...
View ArticlePagerPluginBase properties to be renamed according to core standards
Problem/MotivationThere are class properties in \Drupal\views\Plugin\views\pager\PagerPluginBasethat violate the Drupal Coding standards. These properties are preceded by a phpcs ignore line, //...
View ArticleMove the Edit button outside the more actions drop down
Problem/MotivationWe moved the local tasks into the "More actions" drops-down as they are. The problem is that the main action to edit the content is hidden behind a the More actions drop down.Proposed...
View ArticleDisplay content moderation state in the Navigation Top Bar
Problem/Motivation#3484600: Show entity information on the Top Bar added information about publishing status to the Navigation Top Bar. When content moderation is in use, we could display the user more...
View Article