Skip to content

paginate users - #2076

Open
dczulada wants to merge 11 commits into
masterfrom
paging_users
Open

paginate users#2076
dczulada wants to merge 11 commits into
masterfrom
paging_users

Conversation

@dczulada

Copy link
Copy Markdown
Contributor

Pull requests into Cypress require the following. Submitter and reviewer should ✅ when done. For items that are not-applicable, note it's not-applicable ("N/A") and ✅.

Submitter:

  • This pull request describes why these changes were made.
  • Internal ticket for this PR:
  • Internal ticket links to this PR
  • Code diff has been done and been reviewed
  • Tests are included and test edge cases
  • Tests have been run locally and pass

Reviewer 1:

Name:

  • Code is maintainable and reusable, reuses existing code and infrastructure where appropriate, and accomplishes the task’s purpose
  • The tests appropriately test the new code, including edge cases
  • You have tried to break the code

Reviewer 2:

Name:

  • Code is maintainable and reusable, reuses existing code and infrastructure where appropriate, and accomplishes the task’s purpose
  • The tests appropriately test the new code, including edge cases
  • You have tried to break the code

@codecov

codecov Bot commented Aug 21, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 91.58%. Comparing base (c80ee4b) to head (a9417a1).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #2076   +/-   ##
=======================================
  Coverage   91.58%   91.58%           
=======================================
  Files         159      159           
  Lines        7378     7378           
=======================================
  Hits         6757     6757           
  Misses        621      621           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@elsaperelli elsaperelli left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's looking good! I just noticed some minor formatting errors with the product table.

Comment on lines +10 to +49
@@ -46,6 +46,7 @@ export default class extends Controller {
});
}

// TODO: Remove when finished

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Assuming these just need to be removed before merging?

this.$(this.element).DataTable(options);

this.handleShown = this.handleShown.bind(this);
document.addEventListener("shown.bs.tab", this.handleShown);

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Codex helped me identify this, but it looks like only handling the bootstrap tab is causing some formatting issues for the product tabs that use jQuery UI.

Comment on lines -14 to -19

this._boundBeforeStreamRender = this.onBeforeStreamRender.bind(this);
document.addEventListener(
"turbo:before-stream-render",
this._boundBeforeStreamRender,
);

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this code that was removed here should be included in the new datatable_controller in some capacity...don't have time today to finish investigating this, but wanted to put this up to see what you think!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants