Skip to content

Commit

Permalink
Merge pull request #5930 from wenzhixin/develop
Browse files Browse the repository at this point in the history
v1.19.0
  • Loading branch information
wenzhixin authored Nov 8, 2021
2 parents d43c88c + 0fe785a commit e159b1d
Show file tree
Hide file tree
Showing 269 changed files with 4,532 additions and 2,242 deletions.
26 changes: 0 additions & 26 deletions .github/ISSUE_TEMPLATE/1_Bug_report.md

This file was deleted.

41 changes: 41 additions & 0 deletions .github/ISSUE_TEMPLATE/1_Bug_report.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: 🐛 Bug Report
description: Report errors and problems
labels: Bug

body:
- type: input
id: affected-versions
attributes:
label: Bootstraptable version(s) affected
placeholder: 1.18.0
validations:
required: true
- type: textarea
id: description
attributes:
label: Description
description: What kind of error/problem you are affected by
validations:
required: true
- type: textarea
id: examples
attributes:
label: Example(s)
description: |
Please use our online Editor (https://live.bootstrap-table.com/) to create a example.
On our Wiki (https://github.com/wenzhixin/bootstrap-table/wiki/Online-Editor-Explanation) you can read how to use the editor.
- type: textarea
id: possible-solution
attributes:
label: Possible Solutions
description: "Optional: only if you have suggestions on a fix/reason for the bug"
- type: textarea
id: additional-contex
attributes:
label: Additional Context
description: "Optional: any other context about the problem: browser version, operation system, etc."
- type: markdown
attributes:
value: |
Love bootstrap-table? Please consider supporting our collective:
👉 https://opencollective.com/bootstrap-table/donate
12 changes: 0 additions & 12 deletions .github/ISSUE_TEMPLATE/2_Feature_request.md

This file was deleted.

17 changes: 17 additions & 0 deletions .github/ISSUE_TEMPLATE/2_Feature_request.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: 🚀 Feature Request/Improvement
description: Ideas for new features and improvements
labels: feature-request

body:
- type: textarea
id: description
attributes:
label: Description
description: Description of the desired new feature
validations:
required: true
- type: markdown
attributes:
value: |
Love bootstrap-table? Please consider supporting our collective:
👉 https://opencollective.com/bootstrap-table/donate
18 changes: 0 additions & 18 deletions .github/ISSUE_TEMPLATE/3_Support_question.md

This file was deleted.

27 changes: 27 additions & 0 deletions .github/ISSUE_TEMPLATE/3_Support_question.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: ❓ Support Question
description: Here you can ask questions about the features
labels: help-wanted

body:
- type: markdown
attributes:
value: Before you ask please check if you can find a similar issue and/or a solution on a issue or on stackoverflow
- type: textarea
id: description
attributes:
label: Description
description: Description of your support question.
validations:
required: true
- type: textarea
id: examples
attributes:
label: Example(s)
description: |
Please use our online Editor (https://live.bootstrap-table.com/) to create a example.
On our Wiki (https://github.com/wenzhixin/bootstrap-table/wiki/Online-Editor-Explanation) you can read how to use the editor.
- type: markdown
attributes:
value: |
Love bootstrap-table? Please consider supporting our collective:
👉 https://opencollective.com/bootstrap-table/donate
19 changes: 0 additions & 19 deletions .github/ISSUE_TEMPLATE/4_Documentation.md

This file was deleted.

22 changes: 22 additions & 0 deletions .github/ISSUE_TEMPLATE/4_Documentation.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: ⛔ Documentation & Examples
description: Issues with the Documentation and/or the Examples
labels: docs

body:
- type: markdown
attributes:
value: |
We have our own dedicated repository for the examples. Please open your
documentation-related issue at https://github.com/wenzhixin/bootstrap-table-examples
- type: textarea
id: description
attributes:
label: Description
description: Description of your support question.
validations:
required: true
- type: markdown
attributes:
value: |
Love bootstrap-table? Please consider supporting our collective:
👉 https://opencollective.com/bootstrap-table/donate
25 changes: 20 additions & 5 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,32 @@
**Type of Request**
**🤔Type of Request**
- [ ] **Bug fix**
- [ ] **New feature**
- [ ] **Improvement**
- [ ] **Documentation**
- [ ] **Other**

**Resolves an issue?**
**🔗Resolves an issue?**
<!-- Please prefix each issue number with "Fix #" (e.g. Fix #200) -->

**Example(s)?**
**📝Changelog**

<!-- The type of the change. --->
- [ ] **Core**
- [ ] **Extensions**

<!-- Describe changes from the user side. -->

**💡Example(s)?**
<!-- Please use our online Editor (https://live.bootstrap-table.com/) to create example(s) (Before and after your changes).
On our Wiki (https://github.com/wenzhixin/bootstrap-table/wiki/Online-Editor-Explanation) you can read how to use the editor.-->

**☑️Self Check before Merge**

⚠️ Please check all items below before review. ⚠️

- [ ] Doc is updated/provided or not needed
- [ ] Demo is updated/provided or not needed
- [ ] Changelog is provided or not needed

<!-- Love bootstrap-table? Please consider supporting our collective:
👉 https://opencollective.com/bootstrap-table/donate -->
👉 https://opencollective.com/bootstrap-table/donate -->
15 changes: 15 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
version: 2
updates:
- package-ecosystem: npm
directory: "/"
schedule:
interval: daily
time: "21:00"
open-pull-requests-limit: 10
ignore:
- dependency-name: rollup-plugin-vue
versions:
- ">= 6.a, < 7"
- dependency-name: clean-css-cli
versions:
- 5.0.0
18 changes: 9 additions & 9 deletions .stylelintrc
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
'extends': 'stylelint-config-standard',
'rules': {
'indentation': null,
'selector-pseudo-element-colon-notation': null,
'function-comma-space-after': null,
'no-descending-specificity': null,
'declaration-bang-space-before': null,
'number-leading-zero': null,
'rule-empty-line-before': null
"extends": "stylelint-config-standard",
"rules": {
"indentation": null,
"selector-pseudo-element-colon-notation": null,
"function-comma-space-after": null,
"no-descending-specificity": null,
"declaration-bang-space-before": null,
"number-leading-zero": null,
"rule-empty-line-before": null
}
}
19 changes: 19 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,31 @@ jobs:
node_js:
- 12
name: "Lint src and check docs"
cache:
npm: true
directories:
- ~/.cache
script:
- cd tools
- git clone --depth=1 https://github.com/wenzhixin/bootstrap-table-examples
- npm run pre-commit
if: branch != master AND type = pull_request

- stage: test
language: node_js
node_js:
- 12
name: "Cypress Test"
cache:
npm: true
directories:
- ~/.cache
script:
- git clone --depth=1 https://github.com/wenzhixin/bootstrap-table-examples cypress/html
- npm run css:build:src
- npm run test
if: branch != master AND type = pull_request

- stage: deploy
name: "Deploy docs"
language: ruby
Expand Down
46 changes: 46 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,52 @@
ChangeLog
---------

### 1.19.0

#### Core

- **New:** Added `onlyCurrentPage` param for `checkBy/uncheckBy` methods.
- **New:** Used `bootstrap icons` as default icons for bootstrap v5.
- **New:** Added `regexSearch` option which allows to filter the table using regex.
- **New:** Added support for allow importing stylesheets.
- **New:** Added `toggle-pagination` event.
- **New:** Added `virtual-scroll` event.
- **Update:** Fixed `vue` component cannot work.
- **Update:** Fixed infinite loop error with wrong server-side pagination metadata.
- **Update:** Improved the behavior of `ajax` abort.
- **Update:** Fixed click bug when paginationLoop is false.
- **Update:** Fixed the highlighting bug when using radio/checkboxes.
- **Update:** Fixed width bug caused by loading css.
- **Update:** Removed the `input-group-append` class for bootstrap v5.
- **Update:** Fixed duplicate definition `id` bug.
- **Update:** Fixed the comparison of search inputs.
- **Update:** Fixed broken page-list selector.
- **Update:** Fixed overwrite custom locale function bug.
- **Update:** Fixed bug with server side pagination and the page size `all`.
- **Update:** Fixed all checkbox not auto check after pagination changed.
- **Update:** Updated the `es-MX` locate.

#### Extensions

- **New(cookie):** Added `Multiple Sort order` stored in cookie extension.
- **New(cookie):** Added `Card view state` stored in cookie extension.
- **New(copy):** Added `ignoreCopy` column option to prevent copying the column data.
- **New(copy):** Added `rawCopy` column option to copy the raw value instead of the formatted value.
- **Update(cookie):** Fixed `switchable` column bug with the cookie extension.
- **Update(export):** Fixed the export dropdown cannot be closed bug.
- **Update(filter-control):** Updated `filterMultipleSelectOptions` to `filterControlMultipleSelectOptions` option.
- **Update(filter-control):** Fixed bug with cookie deletion of none filter cookies.
- **Update(filter-control):** Fixed bug when using the `load` method.
- **Update(group-by):** Fixed overwriting the column classes bug on group collapsed rows.
- **Update(multiple-sort):** Fixed hide/show column error with no sortPriority defined.
- **Update(page-jump-to):** Fixed jump-to display bug in bootstrap v3.
- **Update(print):** Fixed print formatter bug.
- **Update(reorder-rows):** Fixed `reorder-rows` not work property.
- **Update(reorder-rows):** Fixed the drag selector to prevent a checkbox bug on mobile.
- **Update(resizable):** Fixed the reinitialization after the table changed.
- **Update(sticky-header):** Fixed sticky-header not work property with group header.
- **Update(treegrid):** Fixed bug of treegrid from html.

### 1.18.3

#### Core
Expand Down
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,22 @@ This project exists thanks to all the people who contribute. [[Contribute](CONTR

Look at the [Change Log](https://github.com/wenzhixin/bootstrap-table/blob/master/CHANGELOG.md)

## Local develop

To develop bootstrap-table locally please run:

```bash
mkdir bootstrap-table-dev
cd bootstrap-table-dev
git clone https://github.com/wenzhixin/bootstrap-table
git clone https://github.com/wenzhixin/bootstrap-table-examples

yarn add http-server
npx http-server
```

And then open: http://localhost:8081/bootstrap-table-examples

## Local build

To build bootstrap-table locally please run:
Expand Down
2 changes: 1 addition & 1 deletion _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ algolia:
index_name: bootstrap-table

# Custom variables
current_version: 1.18.3
current_version: 1.19.0
title: "Bootstrap Table"
description: "An extended table to the integration with some of the most widely used CSS frameworks. (Supports Bootstrap, Semantic UI, Bulma, Material Design, Foundation)"
authors: "Zhixin Wen, and Bootstrap Table contributors"
Expand Down
2 changes: 1 addition & 1 deletion bootstrap-table.jquery.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bootstrap-table",
"version": "1.18.3",
"version": "1.19.0",
"title": "Bootstrap Table",
"description": "An extended table to integration with some of the most widely used CSS frameworks. (Supports Bootstrap, Semantic UI, Bulma, Material Design, Foundation)",
"author": {
Expand Down
Loading

0 comments on commit e159b1d

Please sign in to comment.