Add export extension test pages and batch show/hide column example#576
Merged
Add export extension test pages and batch show/hide column example#576
Conversation
b2c9371 to
a64f883
Compare
There was a problem hiding this comment.
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.htmlwith 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.
There was a problem hiding this comment.
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
methods/show-hide-column.htmlexampledev.bootstrap-table.comtotest.examples.wenzhixin.net.cnTest plan