Skip to content

Add export extension test pages and batch show/hide column example#576

Merged
wenzhixin merged 1 commit intodevelopfrom
feature/export-test-pages
Apr 18, 2026
Merged

Add export extension test pages and batch show/hide column example#576
wenzhixin merged 1 commit intodevelopfrom
feature/export-test-pages

Conversation

@wenzhixin
Copy link
Copy Markdown
Owner

@wenzhixin wenzhixin commented Apr 18, 2026

Summary

  • Add batch show/hide column buttons to methods/show-hide-column.html example
  • Update debug domain from dev.bootstrap-table.com to test.examples.wenzhixin.net.cn

Test plan

  • Verify batch show/hide column buttons work as expected
  • Verify debug mode activates on new test domain

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR expands the examples/test surface for the export extension (to support Cypress E2E coverage), enhances the show/hide column methods example with batch actions, and updates which hostnames automatically enable “debug” behavior (cache-busting + local src usage).

Changes:

  • Added export extension test pages under for-tests/extensions/export/ (export options/events/method coverage).
  • Extended methods/show-hide-column.html with batch show/hide buttons and updated description.
  • Updated debug hostname allowlist to include test.examples.wenzhixin.net.cn (and remove the previous dev domain in the template config).

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
methods/show-hide-column.html Adds UI + handlers for batch show/hide calls and documents multi-column usage.
assets/js/template.js Switches debug hostname allowlist to test.examples.wenzhixin.net.cn for template/iframe rendering.
assets/js/index.js Enables debug cache-busting on test.examples.wenzhixin.net.cn at the index (router) level.
for-tests/extensions/export/export-customTypes.html New export extension E2E page (multiple types).
for-tests/extensions/export/export-dataType-all.html New E2E page for exportDataType: 'all'.
for-tests/extensions/export/export-dataType-selected.html New E2E page for exportDataType: 'selected'.
for-tests/extensions/export/export-events.html New E2E page asserting export lifecycle events.
for-tests/extensions/export/export-fileName-function.html New E2E page for exportOptions.fileName function.
for-tests/extensions/export/export-footer.html New E2E page for footer export behavior.
for-tests/extensions/export/export-forceExport.html New E2E page for data-force-export.
for-tests/extensions/export/export-forceHide.html New E2E page for data-force-hide.
for-tests/extensions/export/export-method.html New E2E page for exportTable method.
for-tests/extensions/export/export-multipleTypes.html New E2E page for multiple export types.
for-tests/extensions/export/export-showExport.html New E2E page for showExport.
for-tests/extensions/export/export-singleType.html New E2E page validating single-type export UI behavior.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread assets/js/template.js
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 3 out of 3 changed files in this pull request and generated no new comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@wenzhixin wenzhixin merged commit f3a11a5 into develop Apr 18, 2026
9 checks passed
@wenzhixin wenzhixin deleted the feature/export-test-pages branch April 18, 2026 04:50
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