tablefilter 0.7.5 → 0.7.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/starter.html +2 -2
- package/dist/tablefilter/tablefilter.js +1 -1
- package/dist/tablefilter/tf-1-2aa33b10e0e549020c12.js +1 -0
- package/dist/tablefilter/tf-1-bc5a8b07e0d66035b05b.js +1 -0
- package/dist/tablefilter/{tf-2-3a936d22b849361acff5.js → tf-2-025e1e774794d5827df8.js} +2 -2
- package/dist/tablefilter.cjs.js +17614 -4
- package/dist/tablefilter.esm.js +15736 -5397
- package/dist/tablefilter.umd.js +17620 -4
- package/index.js +16 -1
- package/package.json +10 -1
- package/src/components/attributes.js +59 -0
- package/src/components/table-filter.js +193 -45
- package/src/components/tf-rows-counter.js +3 -6
- package/src/components/tf-status.js +6 -11
- package/src/extensions/sort/sort.js +8 -1
- package/src/tablefilter.js +39 -6
- package/.editorconfig +0 -15
- package/.esdoc.json +0 -14
- package/.eslintrc +0 -37
- package/.gitattributes +0 -16
- package/.github/ISSUE_TEMPLATE/bug_report.md +0 -38
- package/.github/ISSUE_TEMPLATE/feature_request.md +0 -36
- package/.github/ISSUE_TEMPLATE/support.md +0 -17
- package/.github/dependabot.yml +0 -10
- package/.github/workflows/build-deploy.yml +0 -141
- package/.github/workflows/opencode-review.yml +0 -104
- package/.github/workflows/opencode.yml +0 -34
- package/AGENTS.md +0 -36
- package/CONTRIBUTING.md +0 -128
- package/Gruntfile.js +0 -252
- package/PULL_REQUEST_TEMPLATE.md +0 -24
- package/ROADMAP/README.md +0 -34
- package/ROADMAP/content-projection-parity.md +0 -162
- package/ROADMAP/hybrid-migration-strategy.md +0 -275
- package/ROADMAP/key-decisions-review.md +0 -215
- package/ROADMAP/preliminary-and-milestone-0.8.0-plan.md +0 -307
- package/ROADMAP/v1-webcomponents-investigation.md +0 -521
- package/dist/tablefilter/tablefilter.vite.js +0 -4
- package/dist/tablefilter/tf-1-a5c3a73bd559e47dd5a2.js +0 -1
- package/playwright.config.js +0 -25
- package/scripts/check-css-tokens.js +0 -65
- package/static/demos-assets/img_best-price.png +0 -0
- package/static/demos-assets/img_great-deal.png +0 -0
- package/static/demos-assets/img_maintenance.jpg +0 -0
- package/static/demos-assets/img_new-edition.png +0 -0
- package/static/demos-assets/img_sold-out.png +0 -0
- package/static/partials/books-table-with-images.html +0 -328
- package/static/partials/books.html +0 -273
- package/static/partials/countries-by-continent.html +0 -2592
- package/static/partials/countries-table-tiny.html +0 -436
- package/static/partials/countries-table.html +0 -12954
- package/static/partials/dummy-table-with-totals-footer.html +0 -353
- package/static/partials/dummy-table.html +0 -503
- package/static/partials/pre-inline-script.html +0 -17
- package/static/partials/pre.html +0 -1
- package/static/partials/style.html +0 -23
- package/static/partials/table-with-grouped-headers.html +0 -9258
- package/static/partials/tablefilter-script.html +0 -1
- package/static/style/active-header.styl +0 -10
- package/static/style/alternating-rows.styl +0 -8
- package/static/style/config.styl +0 -44
- package/static/style/custom-properties.styl +0 -43
- package/static/style/extensions/colsVisibility.styl +0 -71
- package/static/style/extensions/filtersVisibility.styl +0 -18
- package/static/style/ezedittable.styl +0 -93
- package/static/style/filter-checklist.styl +0 -52
- package/static/style/filters.styl +0 -111
- package/static/style/grid-layout.styl +0 -130
- package/static/style/help.styl +0 -57
- package/static/style/keyword.styl +0 -8
- package/static/style/loader.styl +0 -16
- package/static/style/mixins/arrow.styl +0 -63
- package/static/style/mixins/box-shadow.styl +0 -8
- package/static/style/mixins/empty-content.styl +0 -7
- package/static/style/noresults.styl +0 -14
- package/static/style/paging.styl +0 -73
- package/static/style/reset-button.styl +0 -21
- package/static/style/rows-counter.styl +0 -17
- package/static/style/sort.styl +0 -20
- package/static/style/status-bar.styl +0 -13
- package/static/style/table.styl +0 -44
- package/static/style/tablefilter.styl +0 -19
- package/static/style/themes/blank.png +0 -0
- package/static/style/themes/btn_clear_filters.png +0 -0
- package/static/style/themes/btn_filter.png +0 -0
- package/static/style/themes/btn_first_page.gif +0 -0
- package/static/style/themes/btn_last_page.gif +0 -0
- package/static/style/themes/btn_next_page.gif +0 -0
- package/static/style/themes/btn_previous_page.gif +0 -0
- package/static/style/themes/default/default.styl +0 -137
- package/static/style/themes/default/images/bg_infDiv.jpg +0 -0
- package/static/style/themes/default/images/bg_th.jpg +0 -0
- package/static/style/themes/default/images/btn_eraser.gif +0 -0
- package/static/style/themes/default/images/btn_first_page.gif +0 -0
- package/static/style/themes/default/images/btn_last_page.gif +0 -0
- package/static/style/themes/default/images/btn_next_page.gif +0 -0
- package/static/style/themes/default/images/btn_over_eraser.gif +0 -0
- package/static/style/themes/default/images/btn_over_first_page.gif +0 -0
- package/static/style/themes/default/images/btn_over_last_page.gif +0 -0
- package/static/style/themes/default/images/btn_over_next_page.gif +0 -0
- package/static/style/themes/default/images/btn_over_previous_page.gif +0 -0
- package/static/style/themes/default/images/btn_previous_page.gif +0 -0
- package/static/style/themes/default/images/img_loading.gif +0 -0
- package/static/style/themes/downsimple.png +0 -0
- package/static/style/themes/icn_clp.png +0 -0
- package/static/style/themes/icn_exp.png +0 -0
- package/static/style/themes/icn_filter.gif +0 -0
- package/static/style/themes/icn_filterActive.gif +0 -0
- package/static/style/themes/mytheme/images/bg_headers.jpg +0 -0
- package/static/style/themes/mytheme/images/bg_infDiv.jpg +0 -0
- package/static/style/themes/mytheme/images/btn_filter.png +0 -0
- package/static/style/themes/mytheme/images/btn_first_page.gif +0 -0
- package/static/style/themes/mytheme/images/btn_last_page.gif +0 -0
- package/static/style/themes/mytheme/images/btn_next_page.gif +0 -0
- package/static/style/themes/mytheme/images/btn_previous_page.gif +0 -0
- package/static/style/themes/mytheme/images/img_loading.gif +0 -0
- package/static/style/themes/mytheme/mytheme.styl +0 -152
- package/static/style/themes/skyblue/images/bg_skyblue.gif +0 -0
- package/static/style/themes/skyblue/images/btn_first_page.gif +0 -0
- package/static/style/themes/skyblue/images/btn_last_page.gif +0 -0
- package/static/style/themes/skyblue/images/btn_next_page.gif +0 -0
- package/static/style/themes/skyblue/images/btn_prev_page.gif +0 -0
- package/static/style/themes/skyblue/images/icn_clear_filters.png +0 -0
- package/static/style/themes/skyblue/images/img_loading.gif +0 -0
- package/static/style/themes/skyblue/skyblue.styl +0 -195
- package/static/style/themes/transparent/images/btn_first_page.gif +0 -0
- package/static/style/themes/transparent/images/btn_last_page.gif +0 -0
- package/static/style/themes/transparent/images/btn_next_page.gif +0 -0
- package/static/style/themes/transparent/images/btn_prev_page.gif +0 -0
- package/static/style/themes/transparent/images/icn_clear_filters.png +0 -0
- package/static/style/themes/transparent/images/img_loading.gif +0 -0
- package/static/style/themes/transparent/transparent.styl +0 -205
- package/static/style/themes/upsimple.png +0 -0
- package/static/style/toolbar.styl +0 -58
- package/static/templates/advanced-grid-editable.html +0 -140
- package/static/templates/advanced-grid-selection.html +0 -93
- package/static/templates/auto-filter.html +0 -46
- package/static/templates/columns-visibility.html +0 -67
- package/static/templates/data-types.html +0 -123
- package/static/templates/demo.html +0 -62
- package/static/templates/external-filters-visibility-commad.html +0 -49
- package/static/templates/external-filters.html +0 -125
- package/static/templates/filter-images.html +0 -91
- package/static/templates/filters-visibility.html +0 -45
- package/static/templates/grid-layout.html +0 -51
- package/static/templates/grouped-headers.html +0 -78
- package/static/templates/linked-filters-disabled.html +0 -56
- package/static/templates/linked-filters.html +0 -45
- package/static/templates/load-filters-on-demand.html +0 -42
- package/static/templates/pagination.html +0 -78
- package/static/templates/requirejs.html +0 -53
- package/static/templates/starter.html +0 -61
- package/static/templates/table-filter.html +0 -40
- package/static/templates/theme-roller.html +0 -106
- package/test/libs/polyfill.js +0 -359
- package/test/libs/qunit/qunit.css +0 -237
- package/test/libs/qunit/qunit.js +0 -2495
- package/test/playwright/axe.baseline.spec.js +0 -34
- package/test/playwright/axe.statusbar.spec.js +0 -35
- package/test/playwright/axeScan.js +0 -42
- package/test/playwright/ce-bridge.spec.js +0 -167
- package/test/playwright/qunit.all.spec.js +0 -10
- package/test/playwright/qunit.single.spec.js +0 -14
- package/test/playwright/qunitSuite.js +0 -56
- package/test/playwright/table-filter.config.spec.js +0 -265
- package/test/playwright/table-filter.demo.spec.js +0 -60
- package/test/playwright/table-filter.element.spec.js +0 -477
- package/test/playwright/tf-clear-button.spec.js +0 -135
- package/test/playwright/tf-rows-counter.spec.js +0 -172
- package/test/playwright/tf-status.spec.js +0 -258
- package/test/test-active-columns.html +0 -80
- package/test/test-active-columns.js +0 -318
- package/test/test-alternate-rows.html +0 -80
- package/test/test-alternate-rows.js +0 -335
- package/test/test-api.html +0 -141
- package/test/test-api.js +0 -795
- package/test/test-auto-filter.html +0 -80
- package/test/test-auto-filter.js +0 -43
- package/test/test-callbacks.html +0 -78
- package/test/test-callbacks.js +0 -58
- package/test/test-case-sensitive-query.html +0 -78
- package/test/test-case-sensitive-query.js +0 -39
- package/test/test-cell-parser.html +0 -109
- package/test/test-cell-parser.js +0 -80
- package/test/test-checklist.html +0 -78
- package/test/test-checklist.js +0 -267
- package/test/test-clear-button.html +0 -79
- package/test/test-clear-button.js +0 -183
- package/test/test-col-ops-grid-layout.html +0 -129
- package/test/test-col-ops-grid-layout.js +0 -134
- package/test/test-col-ops-paging.html +0 -129
- package/test/test-col-ops-paging.js +0 -154
- package/test/test-col-ops.html +0 -129
- package/test/test-col-ops.js +0 -337
- package/test/test-col-widths.html +0 -80
- package/test/test-col-widths.js +0 -40
- package/test/test-cols-visibility-grid-layout.html +0 -80
- package/test/test-cols-visibility-grid-layout.js +0 -165
- package/test/test-cols-visibility.html +0 -80
- package/test/test-cols-visibility.js +0 -121
- package/test/test-custom-options.html +0 -80
- package/test/test-custom-options.js +0 -139
- package/test/test-data-types.html +0 -377
- package/test/test-data-types.js +0 -392
- package/test/test-date-type.html +0 -356
- package/test/test-date-type.js +0 -159
- package/test/test-disable-enter-key.html +0 -78
- package/test/test-disable-enter-key.js +0 -29
- package/test/test-disable-filter-onchange.html +0 -78
- package/test/test-disable-filter-onchange.js +0 -40
- package/test/test-dom-changes.html +0 -78
- package/test/test-dom-changes.js +0 -166
- package/test/test-dropdown.html +0 -78
- package/test/test-dropdown.js +0 -246
- package/test/test-emitter.html +0 -78
- package/test/test-emitter.js +0 -57
- package/test/test-empty-cells-filtering.html +0 -8696
- package/test/test-empty-cells-filtering.js +0 -45
- package/test/test-exact-query-match.html +0 -78
- package/test/test-exact-query-match.js +0 -56
- package/test/test-excluded-rows.html +0 -92
- package/test/test-excluded-rows.js +0 -129
- package/test/test-external-filters.html +0 -100
- package/test/test-external-filters.js +0 -219
- package/test/test-filter-html-elements.html +0 -88
- package/test/test-filter-html-elements.js +0 -63
- package/test/test-filter-operators.html +0 -80
- package/test/test-filter-operators.js +0 -264
- package/test/test-filtering.html +0 -53
- package/test/test-filtering.js +0 -293
- package/test/test-filters-visibility-grid-layout.html +0 -80
- package/test/test-filters-visibility-grid-layout.js +0 -50
- package/test/test-filters-visibility-with-button.html +0 -80
- package/test/test-filters-visibility-with-button.js +0 -48
- package/test/test-filters-visibility.html +0 -80
- package/test/test-filters-visibility.js +0 -48
- package/test/test-grid-layout.html +0 -7736
- package/test/test-grid-layout.js +0 -39
- package/test/test-grouped-headers.html +0 -154
- package/test/test-grouped-headers.js +0 -107
- package/test/test-hash.html +0 -78
- package/test/test-hash.js +0 -88
- package/test/test-help-responsive.html +0 -79
- package/test/test-help-responsive.js +0 -70
- package/test/test-help.html +0 -78
- package/test/test-help.js +0 -217
- package/test/test-highlight-keywords.html +0 -78
- package/test/test-highlight-keywords.js +0 -94
- package/test/test-ignore-diacritics.html +0 -67
- package/test/test-ignore-diacritics.js +0 -117
- package/test/test-integration-paging-sort.html +0 -80
- package/test/test-integration-paging-sort.js +0 -60
- package/test/test-linked-filters-disabled-options-grid-layout.html +0 -80
- package/test/test-linked-filters-disabled-options-grid-layout.js +0 -73
- package/test/test-linked-filters-grid-layout.html +0 -80
- package/test/test-linked-filters-grid-layout.js +0 -72
- package/test/test-linked-filters-load-filters-on-demand.html +0 -80
- package/test/test-linked-filters-load-filters-on-demand.js +0 -99
- package/test/test-linked-filters-paging.html +0 -80
- package/test/test-linked-filters-paging.js +0 -99
- package/test/test-linked-filters.html +0 -80
- package/test/test-linked-filters.js +0 -138
- package/test/test-load-filters-on-demand.html +0 -78
- package/test/test-load-filters-on-demand.js +0 -124
- package/test/test-loader.html +0 -79
- package/test/test-loader.js +0 -159
- package/test/test-no-config.html +0 -80
- package/test/test-no-config.js +0 -63
- package/test/test-no-filters.html +0 -80
- package/test/test-no-filters.js +0 -172
- package/test/test-no-headers.html +0 -71
- package/test/test-no-headers.js +0 -99
- package/test/test-no-results-message.html +0 -262
- package/test/test-no-results-message.js +0 -222
- package/test/test-no-rows.html +0 -19
- package/test/test-no-rows.js +0 -10
- package/test/test-one-row.html +0 -29
- package/test/test-one-row.js +0 -18
- package/test/test-paging.html +0 -78
- package/test/test-paging.js +0 -273
- package/test/test-popup-filter-one-row.html +0 -38
- package/test/test-popup-filter-one-row.js +0 -138
- package/test/test-popup-filter.html +0 -78
- package/test/test-popup-filter.js +0 -384
- package/test/test-popup-filters-grouped-headers.html +0 -104
- package/test/test-popup-filters-grouped-headers.js +0 -206
- package/test/test-rows-counter.html +0 -78
- package/test/test-rows-counter.js +0 -114
- package/test/test-single-filter.html +0 -79
- package/test/test-single-filter.js +0 -138
- package/test/test-sort-custom-sorter.html +0 -244
- package/test/test-sort-custom-sorter.js +0 -74
- package/test/test-sort-grid-layout.html +0 -143
- package/test/test-sort-grid-layout.js +0 -86
- package/test/test-sort-key.html +0 -244
- package/test/test-sort-key.js +0 -67
- package/test/test-sort.html +0 -143
- package/test/test-sort.js +0 -126
- package/test/test-state.html +0 -78
- package/test/test-state.js +0 -369
- package/test/test-status-bar.html +0 -79
- package/test/test-status-bar.js +0 -149
- package/test/test-storage-cookie.html +0 -78
- package/test/test-storage-cookie.js +0 -82
- package/test/test-storage-local.html +0 -78
- package/test/test-storage-local.js +0 -82
- package/test/test-tfoot.html +0 -96
- package/test/test-tfoot.js +0 -123
- package/test/test-thead.html +0 -80
- package/test/test-thead.js +0 -69
- package/test/test-toolbar.html +0 -81
- package/test/test-toolbar.js +0 -218
- package/test/test-uneven-rows.html +0 -95
- package/test/test-uneven-rows.js +0 -61
- package/test/test-watermark.html +0 -80
- package/test/test-watermark.js +0 -103
- package/test/test.html +0 -141
- package/test/test.js +0 -162
- package/vite.config.js +0 -71
- package/webpack.config.js +0 -99
- package/webpack.dev.config.js +0 -25
- package/webpack.test.config.js +0 -44
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: Bug report
|
|
3
|
-
about: Create a report to help us improve
|
|
4
|
-
title: ''
|
|
5
|
-
labels: bug
|
|
6
|
-
assignees: ''
|
|
7
|
-
|
|
8
|
-
---
|
|
9
|
-
|
|
10
|
-
**Describe the bug**
|
|
11
|
-
A clear and concise description of what the bug is.
|
|
12
|
-
|
|
13
|
-
**Reproduction steps:**
|
|
14
|
-
Steps to reproduce the behavior:
|
|
15
|
-
1. [First Step]
|
|
16
|
-
2. [Second Step]
|
|
17
|
-
3. [Other Steps...]
|
|
18
|
-
|
|
19
|
-
**Expected behavior**
|
|
20
|
-
A clear and concise description of what you expected to happen.
|
|
21
|
-
|
|
22
|
-
**Observed behavior:**
|
|
23
|
-
A clear and concise description of observed behavior.
|
|
24
|
-
|
|
25
|
-
**Screenshots**
|
|
26
|
-
If applicable, add screenshots to help explain your problem.
|
|
27
|
-

|
|
28
|
-
|
|
29
|
-
**TableFilter version:** [Enter TableFilter version here]
|
|
30
|
-
**Browser and version:** [Enter Browser name and version here]
|
|
31
|
-
**OS and version:** [Enter OS name and version here]
|
|
32
|
-
**Device:** [e.g. iPhone6]
|
|
33
|
-
|
|
34
|
-
**Additional information/context:**
|
|
35
|
-
Add any other context about the problem here.
|
|
36
|
-
|
|
37
|
-
* Problem started happening recently, didn't happen in an older version of TableFilter: [Yes/No] if yes [version here]
|
|
38
|
-
* Problem can be reliably reproduced, doesn't happen randomly: [Yes/No]
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: Feature request
|
|
3
|
-
about: Suggest an idea for this project
|
|
4
|
-
title: ''
|
|
5
|
-
labels: ''
|
|
6
|
-
assignees: ''
|
|
7
|
-
|
|
8
|
-
---
|
|
9
|
-
|
|
10
|
-
**Enhancement/feature description**
|
|
11
|
-
[A clear and concise description of what the problem is. Ex. I'm always frustrated when ...]
|
|
12
|
-
|
|
13
|
-
**Steps which explain the enhancement/feature**
|
|
14
|
-
1. [First Step]
|
|
15
|
-
2. [Second Step]
|
|
16
|
-
3. [Other Steps...]
|
|
17
|
-
|
|
18
|
-
**Current and suggested behavior**
|
|
19
|
-
[Describe current and suggested behavior here]
|
|
20
|
-
|
|
21
|
-
**Why would the enhancement be useful to most users**
|
|
22
|
-
[Explain why the enhancement would be useful to most users]
|
|
23
|
-
|
|
24
|
-
**Screenshots and GIFs**
|
|
25
|
-

|
|
26
|
-
|
|
27
|
-
**Additional context**
|
|
28
|
-
[Add any other context or screenshots about the feature request here.]
|
|
29
|
-
|
|
30
|
-
**Describe alternatives you've considered**
|
|
31
|
-
A clear and concise description of any alternative solutions or features you've considered.
|
|
32
|
-
|
|
33
|
-
**TableFilter Version:** [Enter TableFilter version here]
|
|
34
|
-
**Browser and version:** [Enter Browser name and version here]
|
|
35
|
-
**OS and version:** [Enter OS name and version here]
|
|
36
|
-
**Device:** [e.g. iPhone6]
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: Support
|
|
3
|
-
about: I need support with TableFilter
|
|
4
|
-
title: ''
|
|
5
|
-
labels: ''
|
|
6
|
-
assignees: ''
|
|
7
|
-
|
|
8
|
-
---
|
|
9
|
-
|
|
10
|
-
For usage and support questions, please check out resources below, you might find an answer:
|
|
11
|
-
|
|
12
|
-
- https://www.tablefilter.com/
|
|
13
|
-
- https://www.tablefilter.com/docs/
|
|
14
|
-
- https://www.tablefilter.com/examples.html
|
|
15
|
-
- https://github.com/koalyptus/TableFilter/wiki/
|
|
16
|
-
- https://github.com/koalyptus/TableFilter/issues?q=is%3Aissue+is%3Aclosed
|
|
17
|
-
- https://codepen.io/koalyptus/pens/public/
|
package/.github/dependabot.yml
DELETED
|
@@ -1,141 +0,0 @@
|
|
|
1
|
-
name: Build and deploy
|
|
2
|
-
|
|
3
|
-
on:
|
|
4
|
-
push:
|
|
5
|
-
branches:
|
|
6
|
-
- master
|
|
7
|
-
pull_request:
|
|
8
|
-
branches:
|
|
9
|
-
- master
|
|
10
|
-
|
|
11
|
-
permissions:
|
|
12
|
-
contents: read
|
|
13
|
-
|
|
14
|
-
jobs:
|
|
15
|
-
build:
|
|
16
|
-
runs-on: ubuntu-latest
|
|
17
|
-
steps:
|
|
18
|
-
- uses: actions/checkout@v4
|
|
19
|
-
with:
|
|
20
|
-
fetch-depth: 0
|
|
21
|
-
|
|
22
|
-
- uses: actions/setup-node@v4
|
|
23
|
-
with:
|
|
24
|
-
node-version: 24
|
|
25
|
-
|
|
26
|
-
- name: Pin npm version
|
|
27
|
-
run: |
|
|
28
|
-
npm install --global npm@12.0.1
|
|
29
|
-
npm --version
|
|
30
|
-
|
|
31
|
-
- name: Install dependencies
|
|
32
|
-
run: npm install --no-audit --no-fund
|
|
33
|
-
|
|
34
|
-
- name: Check CSS token fallbacks
|
|
35
|
-
run: npm run lint:css-tokens
|
|
36
|
-
|
|
37
|
-
- uses: actions/setup-node@v4
|
|
38
|
-
with:
|
|
39
|
-
node-version: 8.9.4
|
|
40
|
-
|
|
41
|
-
# Legacy PhantomJS gate retired: it lacks Intl, so qunit:all can
|
|
42
|
-
# no longer validate the suites. This keeps its eslint +
|
|
43
|
-
# webpack + CSS signal; Playwright runs the suites below.
|
|
44
|
-
- name: Build test bundles
|
|
45
|
-
run: npx grunt build-test
|
|
46
|
-
|
|
47
|
-
# Demos are build output (gitignored); the axe baseline spec
|
|
48
|
-
# scans demos/demo.html, so build them before Playwright runs.
|
|
49
|
-
- name: Build demo pages
|
|
50
|
-
run: npx grunt build-demos
|
|
51
|
-
|
|
52
|
-
- name: Upload coverage
|
|
53
|
-
run: npm run codecov
|
|
54
|
-
|
|
55
|
-
- uses: actions/setup-node@v4
|
|
56
|
-
with:
|
|
57
|
-
node-version: 24
|
|
58
|
-
|
|
59
|
-
- name: Install Playwright browsers
|
|
60
|
-
run: npx playwright install --with-deps chromium
|
|
61
|
-
|
|
62
|
-
- name: Playwright QUnit suites
|
|
63
|
-
run: npm run test:playwright
|
|
64
|
-
|
|
65
|
-
- name: Build deployment files
|
|
66
|
-
run: npm run build:all
|
|
67
|
-
env:
|
|
68
|
-
NODE_OPTIONS: --openssl-legacy-provider
|
|
69
|
-
|
|
70
|
-
# After the webpack build: its CleanWebpackPlugin wipes dist/, so the
|
|
71
|
-
# Vite outputs (esm/cjs/umd + staged legacy copy) would not survive
|
|
72
|
-
# otherwise.
|
|
73
|
-
- name: Build Vite bundles
|
|
74
|
-
run: npm run build:vite
|
|
75
|
-
|
|
76
|
-
# Guard: the published legacy bundle must stay the webpack flat-global
|
|
77
|
-
# build until #965 migrates consumers to the Vite namespace.
|
|
78
|
-
- name: Check legacy bundle is the webpack build
|
|
79
|
-
run: grep -q webpackUniversalModuleDefinition dist/tablefilter/tablefilter.js
|
|
80
|
-
|
|
81
|
-
- name: Upload deployment files
|
|
82
|
-
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
|
|
83
|
-
uses: actions/upload-artifact@v4
|
|
84
|
-
with:
|
|
85
|
-
name: website-files
|
|
86
|
-
path: |
|
|
87
|
-
dist/
|
|
88
|
-
docs/
|
|
89
|
-
if-no-files-found: error
|
|
90
|
-
retention-days: 1
|
|
91
|
-
|
|
92
|
-
deploy:
|
|
93
|
-
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
|
|
94
|
-
needs: build
|
|
95
|
-
runs-on: ubuntu-latest
|
|
96
|
-
permissions:
|
|
97
|
-
contents: write
|
|
98
|
-
steps:
|
|
99
|
-
- uses: actions/checkout@v4
|
|
100
|
-
with:
|
|
101
|
-
fetch-depth: 0
|
|
102
|
-
|
|
103
|
-
- uses: actions/download-artifact@v4
|
|
104
|
-
with:
|
|
105
|
-
name: website-files
|
|
106
|
-
|
|
107
|
-
- name: Configure AWS credentials
|
|
108
|
-
uses: aws-actions/configure-aws-credentials@v4
|
|
109
|
-
with:
|
|
110
|
-
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
|
|
111
|
-
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
|
|
112
|
-
aws-region: ${{ vars.AWS_DEFAULT_REGION }}
|
|
113
|
-
|
|
114
|
-
- name: Publish version release
|
|
115
|
-
env:
|
|
116
|
-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
117
|
-
run: |
|
|
118
|
-
set -euo pipefail
|
|
119
|
-
version=$(node -p "require('./package.json').version")
|
|
120
|
-
if ! git show-ref --verify --quiet "refs/tags/$version"; then
|
|
121
|
-
latest_tag="$(git describe --tags --abbrev=0 2>/dev/null || true)"
|
|
122
|
-
if [ "$latest_tag" != "$version" ]; then
|
|
123
|
-
git config user.name "koalyptus"
|
|
124
|
-
git config user.email "maxgug@hotmail.com"
|
|
125
|
-
git tag -a "$version" -m "Generated tag from GitHub Actions run $GITHUB_RUN_NUMBER"
|
|
126
|
-
git push origin "refs/tags/$version"
|
|
127
|
-
fi
|
|
128
|
-
fi
|
|
129
|
-
|
|
130
|
-
if ! gh release view "$version" --repo "$GITHUB_REPOSITORY" >/dev/null 2>&1; then
|
|
131
|
-
gh release create "$version" \
|
|
132
|
-
--repo "$GITHUB_REPOSITORY" \
|
|
133
|
-
--title "$version" \
|
|
134
|
-
--notes ""
|
|
135
|
-
fi
|
|
136
|
-
|
|
137
|
-
- name: Deploy distribution to S3
|
|
138
|
-
run: aws s3 sync dist/ "s3://www.tablefilter.com/"
|
|
139
|
-
|
|
140
|
-
- name: Deploy documentation to S3
|
|
141
|
-
run: aws s3 sync docs/ "s3://www.tablefilter.com/"
|
|
@@ -1,104 +0,0 @@
|
|
|
1
|
-
name: opencode-review
|
|
2
|
-
|
|
3
|
-
# Automatic pull-request review. Runs the opencode CLI directly (v2 CI mode)
|
|
4
|
-
# instead of the anomalyco/opencode action: the action refuses runs triggered
|
|
5
|
-
# by app bots, while the CLI path has no actor gate, so bot-created PRs get
|
|
6
|
-
# reviewed too. The review is posted as github-actions[bot]. Same secret and
|
|
7
|
-
# model as opencode.yml.
|
|
8
|
-
on:
|
|
9
|
-
pull_request:
|
|
10
|
-
# When the PR first appears or becomes ready — not on every push. Later
|
|
11
|
-
# pushes are covered by the local agent's own checks, and re-reviewing
|
|
12
|
-
# each one stacks duplicate comments.
|
|
13
|
-
types: [opened, reopened, ready_for_review]
|
|
14
|
-
# Manual re-run for a failed review (no close/reopen dance required).
|
|
15
|
-
workflow_dispatch:
|
|
16
|
-
inputs:
|
|
17
|
-
pr:
|
|
18
|
-
description: 'PR number to review'
|
|
19
|
-
required: true
|
|
20
|
-
|
|
21
|
-
# One review per PR: a reopen cancels a superseded run instead of stacking
|
|
22
|
-
# duplicate reviews. Manual dispatches carry their PR in inputs (no
|
|
23
|
-
# pull_request context), so fall back to it to keep groups distinct.
|
|
24
|
-
concurrency:
|
|
25
|
-
group: opencode-review-${{ github.event.pull_request.number || github.event.inputs.pr }}
|
|
26
|
-
cancel-in-progress: true
|
|
27
|
-
|
|
28
|
-
jobs:
|
|
29
|
-
review:
|
|
30
|
-
# Drafts are skipped (ready_for_review picks them up when marked ready).
|
|
31
|
-
# Fork PRs are skipped too: secrets are not passed to the runner and
|
|
32
|
-
# GITHUB_TOKEN is forced read-only for them, so the review would only fail.
|
|
33
|
-
# Dependabot PRs are skipped: they run with a read-only token, so the
|
|
34
|
-
# comment step could never post. Manual dispatches always run (the clicker
|
|
35
|
-
# chose the PR explicitly).
|
|
36
|
-
if: >-
|
|
37
|
-
github.actor != 'dependabot[bot]' &&
|
|
38
|
-
(github.event_name == 'workflow_dispatch' ||
|
|
39
|
-
(github.event.pull_request.draft == false &&
|
|
40
|
-
github.event.pull_request.head.repo.full_name == github.repository))
|
|
41
|
-
runs-on: ubuntu-latest
|
|
42
|
-
# Reviews take ~10 minutes; bound a hung agent run instead of holding the
|
|
43
|
-
# concurrency group until the 6-hour default.
|
|
44
|
-
timeout-minutes: 30
|
|
45
|
-
permissions:
|
|
46
|
-
# Read-only on purpose: the reviewer must not commit. The local agent
|
|
47
|
-
# already pushed its edits, and a review-time push would fork history.
|
|
48
|
-
contents: read
|
|
49
|
-
pull-requests: write
|
|
50
|
-
issues: write
|
|
51
|
-
steps:
|
|
52
|
-
- name: Checkout repository
|
|
53
|
-
# Skipped on manual dispatch: the next step checks out the PR head.
|
|
54
|
-
if: github.event_name != 'workflow_dispatch'
|
|
55
|
-
uses: actions/checkout@v6
|
|
56
|
-
with:
|
|
57
|
-
persist-credentials: false
|
|
58
|
-
|
|
59
|
-
- name: Checkout PR head (manual dispatch only)
|
|
60
|
-
if: github.event_name == 'workflow_dispatch'
|
|
61
|
-
uses: actions/checkout@v6
|
|
62
|
-
with:
|
|
63
|
-
persist-credentials: false
|
|
64
|
-
ref: ${{ format('refs/pull/{0}/head', github.event.inputs.pr) }}
|
|
65
|
-
|
|
66
|
-
- name: Review with opencode CLI
|
|
67
|
-
env:
|
|
68
|
-
OPENCODE_API_KEY: ${{ secrets.OPENCODE_API_KEY }}
|
|
69
|
-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
70
|
-
PR_NUMBER: ${{ github.event.pull_request.number || github.event.inputs.pr }}
|
|
71
|
-
run: |
|
|
72
|
-
# The CLI prints the reply on stdout and its progress/errors on
|
|
73
|
-
# stderr, so the redirect alone is the comment body; a non-zero exit
|
|
74
|
-
# fails the step and trips "Report review failure" below.
|
|
75
|
-
npm install --global @opencode/cli@2.0.30
|
|
76
|
-
opencode run --standalone --model opencode/big-pickle \
|
|
77
|
-
"Review PR $PR_NUMBER in ${{ github.repository }}. Get the change
|
|
78
|
-
with 'gh pr diff $PR_NUMBER --repo ${{ github.repository }}'
|
|
79
|
-
(GH_TOKEN is set) and review the diff itself; do not run tests.
|
|
80
|
-
Start with a title: 'Review — Verdict: Approve / Changes requested
|
|
81
|
-
/ Flagged'. Be thorough - check the diff rather than trusting its
|
|
82
|
-
description - and apply the conventions in AGENTS.md. Flag dead
|
|
83
|
-
code or debug output left in the diff. Write only the findings,
|
|
84
|
-
each with file:line and a concrete fix. Skip the narration, the
|
|
85
|
-
restating and the thinking out loud. Keep it concise and focused;
|
|
86
|
-
one line is enough when it is sound." > /tmp/review.md
|
|
87
|
-
# Ceiling on a runaway reply: thorough is fine, unbounded is not.
|
|
88
|
-
head -c 20000 /tmp/review.md > /tmp/review.capped.md &&
|
|
89
|
-
mv /tmp/review.capped.md /tmp/review.md
|
|
90
|
-
# An empty reply would make the comment step fail obscurely.
|
|
91
|
-
[ -s /tmp/review.md ] || { echo "review empty: no stdout" >&2; exit 1; }
|
|
92
|
-
gh pr comment "$PR_NUMBER" \
|
|
93
|
-
--repo "${{ github.repository }}" --body-file /tmp/review.md
|
|
94
|
-
|
|
95
|
-
- name: Report review failure
|
|
96
|
-
# A silent failure is a missing review with no visible cause; link
|
|
97
|
-
# the failed run instead.
|
|
98
|
-
if: failure()
|
|
99
|
-
env:
|
|
100
|
-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
101
|
-
PR_NUMBER: ${{ github.event.pull_request.number || github.event.inputs.pr }}
|
|
102
|
-
run: |
|
|
103
|
-
gh pr comment "$PR_NUMBER" --repo "${{ github.repository }}" \
|
|
104
|
-
--body "Automated review failed: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}"
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
name: opencode
|
|
2
|
-
|
|
3
|
-
on:
|
|
4
|
-
issue_comment:
|
|
5
|
-
types: [created]
|
|
6
|
-
pull_request_review_comment:
|
|
7
|
-
types: [created]
|
|
8
|
-
|
|
9
|
-
jobs:
|
|
10
|
-
opencode:
|
|
11
|
-
if: |
|
|
12
|
-
contains(github.event.comment.body, ' /oc') ||
|
|
13
|
-
startsWith(github.event.comment.body, '/oc') ||
|
|
14
|
-
contains(github.event.comment.body, ' /opencode') ||
|
|
15
|
-
startsWith(github.event.comment.body, '/opencode')
|
|
16
|
-
runs-on: ubuntu-latest
|
|
17
|
-
permissions:
|
|
18
|
-
id-token: write
|
|
19
|
-
contents: read
|
|
20
|
-
pull-requests: read
|
|
21
|
-
issues: read
|
|
22
|
-
steps:
|
|
23
|
-
- name: Checkout repository
|
|
24
|
-
uses: actions/checkout@v6
|
|
25
|
-
with:
|
|
26
|
-
persist-credentials: false
|
|
27
|
-
|
|
28
|
-
- name: Run opencode
|
|
29
|
-
uses: anomalyco/opencode/github@latest
|
|
30
|
-
env:
|
|
31
|
-
OPENCODE_API_KEY: ${{ secrets.OPENCODE_API_KEY }}
|
|
32
|
-
with:
|
|
33
|
-
model: opencode/big-pickle
|
|
34
|
-
agent: plan
|
package/AGENTS.md
DELETED
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
# Agent guidelines
|
|
2
|
-
|
|
3
|
-
Work is tracked in the "TableFilter v1.0.0 Modernization" GitHub Project and
|
|
4
|
-
planned in [ROADMAP/](./ROADMAP/README.md). One issue = one small PR.
|
|
5
|
-
|
|
6
|
-
## Temporary code and follow-ups
|
|
7
|
-
|
|
8
|
-
When a change leaves temporary code behind (compat aliases, shims, duplicated
|
|
9
|
-
logic that a later task removes):
|
|
10
|
-
|
|
11
|
-
1. Mark it with a `TODO(#<issue>)` comment that links the issue that removes it:
|
|
12
|
-
`// TODO(#881): remove once contains() uses the native helper`
|
|
13
|
-
2. Add a checklist item to that issue naming the symbol to delete, plus a
|
|
14
|
-
check such as `grep "TODO(#881)" src` returning nothing.
|
|
15
|
-
3. The issue that removes the code must delete the TODO in the same PR.
|
|
16
|
-
|
|
17
|
-
Never leave a bare `TODO` without an issue number.
|
|
18
|
-
|
|
19
|
-
## Commits and PRs
|
|
20
|
-
|
|
21
|
-
- Commit and open PRs as the agent bot (see the `agent-git-setup` and
|
|
22
|
-
`agent-github-access` skills); work in a linked worktree, not the main checkout.
|
|
23
|
-
- Reference the issue in the PR body. Use `Refs #n` when the issue needs a
|
|
24
|
-
follow-up, `Closes #n` when the PR completes it (this closes the issue and
|
|
25
|
-
moves it to Done on the board).
|
|
26
|
-
|
|
27
|
-
## Running tests locally
|
|
28
|
-
|
|
29
|
-
The test toolchain (grunt-qunit, PhantomJS, Babel 6) is about ten years old and
|
|
30
|
-
breaks on current Node. CI runs `npm test` on Node 8.9.4 and builds on Node 24
|
|
31
|
-
with `NODE_OPTIONS=--openssl-legacy-provider`. Match that locally.
|
|
32
|
-
|
|
33
|
-
## Versioning
|
|
34
|
-
|
|
35
|
-
Do not bump the `package.json` version in feature PRs. Versions change only in
|
|
36
|
-
the milestone "Release vX.Y.Z" issue.
|
package/CONTRIBUTING.md
DELETED
|
@@ -1,128 +0,0 @@
|
|
|
1
|
-
# Contributing to TableFilter
|
|
2
|
-
:+1::tada: First off, thanks for taking the time to contribute! :tada::+1:
|
|
3
|
-
|
|
4
|
-
## Reporting bugs
|
|
5
|
-
Bugs are tracked as [GitHub issues](https://guides.github.com/features/issues/).
|
|
6
|
-
Create an issue and provide the following information.
|
|
7
|
-
|
|
8
|
-
Explain the problem and include additional details to help maintainers reproduce
|
|
9
|
-
the problem:
|
|
10
|
-
|
|
11
|
-
* **Use a clear, concise and descriptive title** for the issue to identify the
|
|
12
|
-
problem.
|
|
13
|
-
* **Describe the exact steps which reproduce the problem** in as many details
|
|
14
|
-
as possible.
|
|
15
|
-
* **Provide specific examples to demonstrate the steps**. Include links to
|
|
16
|
-
files or GitHub projects, or copy/pasteable snippets, which you use in those
|
|
17
|
-
examples. If you're providing snippets in the issue, use
|
|
18
|
-
[Markdown code blocks](https://guides.github.com/features/mastering-markdown/#GitHub-flavored-markdown).
|
|
19
|
-
Do not paste large snippets completely unrelated to the issue.
|
|
20
|
-
* **Describe the behavior you observed after following the steps** and point
|
|
21
|
-
out what exactly is the problem with that behavior.
|
|
22
|
-
* **Explain which behavior you expected to see instead and why.**
|
|
23
|
-
* Do not hesitate to **include screenshots and animated GIFs** which show you
|
|
24
|
-
following the described steps and clearly demonstrate the problem.
|
|
25
|
-
You can use [this tool](http://www.cockos.com/licecap/) to record GIFs on macOS
|
|
26
|
-
and Windows, and [this tool](https://github.com/colinkeenan/silentcast) or
|
|
27
|
-
[this tool](https://github.com/GNOME/byzanz) on Linux.
|
|
28
|
-
|
|
29
|
-
### Template for submitting bug reports
|
|
30
|
-
|
|
31
|
-
[Short description of problem here]
|
|
32
|
-
|
|
33
|
-
**Reproduction steps:**
|
|
34
|
-
|
|
35
|
-
1. [First Step]
|
|
36
|
-
2. [Second Step]
|
|
37
|
-
3. [Other Steps...]
|
|
38
|
-
|
|
39
|
-
**Expected behavior:**
|
|
40
|
-
|
|
41
|
-
[Describe expected behavior here]
|
|
42
|
-
|
|
43
|
-
**Observed behavior:**
|
|
44
|
-
|
|
45
|
-
[Describe observed behavior here]
|
|
46
|
-
|
|
47
|
-
**Screenshots and GIFs**
|
|
48
|
-
|
|
49
|
-

|
|
51
|
-
|
|
52
|
-
**TableFilter version:** [Enter TableFilter version here]
|
|
53
|
-
**Browser and version:** [Enter Browser name and version here]
|
|
54
|
-
**OS and version:** [Enter OS name and version here]
|
|
55
|
-
|
|
56
|
-
**Additional information:**
|
|
57
|
-
|
|
58
|
-
* Problem started happening recently, didn't happen in an older version of
|
|
59
|
-
TableFilter: [Yes/No]
|
|
60
|
-
* Problem can be reliably reproduced, doesn't happen randomly: [Yes/No]
|
|
61
|
-
|
|
62
|
-
## Suggesting enhancements and features
|
|
63
|
-
Enhancement and feature suggestions are tracked as
|
|
64
|
-
[GitHub issues](https://guides.github.com/features/issues/).
|
|
65
|
-
Create an issue and provide the following information:
|
|
66
|
-
|
|
67
|
-
* **Use a clear and descriptive title** for the issue to identify the
|
|
68
|
-
suggestion.
|
|
69
|
-
* **Provide a step-by-step description of the suggested enhancement/feature**
|
|
70
|
-
in as many details as possible.
|
|
71
|
-
* When applicable **describe the current behavior** and
|
|
72
|
-
**explain which behavior you expected to see instead** and why.
|
|
73
|
-
* **Include screenshots and animated GIFs** which help you demonstrate the
|
|
74
|
-
steps or point out the part of TableFilter which the suggestion is related to.
|
|
75
|
-
You can use [this tool](http://www.cockos.com/licecap/) to record GIFs on macOS
|
|
76
|
-
and Windows, and [this tool](https://github.com/colinkeenan/silentcast) or
|
|
77
|
-
[this tool](https://github.com/GNOME/byzanz) on Linux.
|
|
78
|
-
* **Explain why this enhancement would be useful** to most TableFilter users.
|
|
79
|
-
|
|
80
|
-
### Template for submitting enhancement and feature suggestions
|
|
81
|
-
|
|
82
|
-
[Short description of suggestion]
|
|
83
|
-
|
|
84
|
-
**Steps which explain the enhancement/feature**
|
|
85
|
-
|
|
86
|
-
1. [First Step]
|
|
87
|
-
2. [Second Step]
|
|
88
|
-
3. [Other Steps...]
|
|
89
|
-
|
|
90
|
-
**Current and suggested behavior**
|
|
91
|
-
|
|
92
|
-
[Describe current and suggested behavior here]
|
|
93
|
-
|
|
94
|
-
**Why would the enhancement be useful to most users**
|
|
95
|
-
|
|
96
|
-
[Explain why the enhancement would be useful to most users]
|
|
97
|
-
|
|
98
|
-
**Screenshots and GIFs**
|
|
99
|
-
|
|
100
|
-

|
|
102
|
-
|
|
103
|
-
**TableFilter Version:** [Enter TableFilter version here]
|
|
104
|
-
**Browser and version:** [Enter Browser name and version here]
|
|
105
|
-
**OS and version:** [Enter OS name and version here]
|
|
106
|
-
|
|
107
|
-
## Code contribution
|
|
108
|
-
TableFilter welcomes contributions from anyone and everyone. If you want to get
|
|
109
|
-
your hands dirty:
|
|
110
|
-
|
|
111
|
-
### Pull requests
|
|
112
|
-
In general, we follow the "fork-and-pull" Git workflow.
|
|
113
|
-
|
|
114
|
-
1. **Fork** the repo on GitHub
|
|
115
|
-
2. **Clone** the project to your own machine
|
|
116
|
-
3. **Commit** changes to your own branch
|
|
117
|
-
- 3.1. **Add** unit tests covering your change in the `test` folder
|
|
118
|
-
- 3.2. **Run** the tests with the `npm run eslint test` command
|
|
119
|
-
- 3.3. **Ensure** build is working with `npm run dist` command
|
|
120
|
-
4. **Push** your work back up to your fork
|
|
121
|
-
5. Submit a **Pull request** so that we can review your changes
|
|
122
|
-
|
|
123
|
-
NOTE: Be sure to merge the latest from "upstream" before making a pull request!
|
|
124
|
-
|
|
125
|
-
## Donations
|
|
126
|
-
Support this project by donating [here](http://www.tablefilter.com/donate.html).
|
|
127
|
-
Thanks to all those who supported this project in the past and those who will
|
|
128
|
-
in the future!
|