Skip to content

Commit

Permalink
🕸️ Add pagination examples to regressions
Browse files Browse the repository at this point in the history
  • Loading branch information
asim-shrestha committed Sep 13, 2024
1 parent 9bb6123 commit 31795be
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
6 changes: 4 additions & 2 deletions static/examples.json
Original file line number Diff line number Diff line change
Expand Up @@ -39546,7 +39546,8 @@
"description": "Paginated data with only next and previous page buttons. The pagination occurs client side",
"tags": [
"synthetic",
"pagination"
"pagination",
"regression"
],
"evals": [
{
Expand Down Expand Up @@ -39653,7 +39654,8 @@
"description": "Paginated product data with numbered page buttons. The current page button is disabled and has an 'active' CSS class. The pagination occurs client side using JavaScript.",
"tags": [
"synthetic",
"pagination"
"pagination",
"regression"
],
"evals": [
{
Expand Down
6 changes: 3 additions & 3 deletions static/h7Kp2rNj9wLmCzFxVqTb4/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,9 @@
const productList = document.getElementById('productList');
productList.innerHTML = pageProducts.map(product => `
<div>
<h3>${product.name}</h3>
<p>ID: ${product.id}</p>
<p>${product.description}</p>
<h3 class="name">${product.name}</h3>
<strong>id:</strong><p class="product-id">${product.id}</p>
<p class="description">${product.description}</p>
</div>
`).join('');
}
Expand Down

0 comments on commit 31795be

Please sign in to comment.