-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
143 changed files
with
3,386 additions
and
1,522 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,59 +1,60 @@ | ||
> **HAVE YOU ALREADY SEARCHED FOR SIMILAR ISSUES? PLEASE HELP US OUT AND DOUBLE-CHECK FIRST!** | ||
- Have you already searched for similar issues? Please help us out and double-check first! | ||
|
||
> **ALSO, PLEASE DON'T BE THAT PERSON WHO DELETES THIS TEMPLATE. IT'S HERE FOR A REASON.** | ||
- Also, please don't be that person who deletes this template. It's here for a reason. | ||
|
||
> **THANKS!** | ||
- Thanks! | ||
|
||
**WHICH VERSION OF REACT ARE YOU USING?** | ||
``` | ||
Officially Supported: | ||
[ ] v0.14.x | ||
``` | ||
--- | ||
|
||
``` | ||
Community Supported: | ||
[ ] v15.0.x | ||
``` | ||
### Which version of React JS are you using? | ||
|
||
**WHICH BROWSER ARE YOU USING?** | ||
✅ Officially supported ✅ | ||
- [ ] v15.4.x | ||
|
||
``` | ||
Officially Supported: | ||
[ ] IE 9 / IE 10 / IE 11 | ||
[ ] Edge | ||
[ ] Chrome | ||
``` | ||
⚠️ Not officially supported, expect warnings ⚠️ | ||
- [ ] v15.5.x | ||
- [ ] v15.6.x | ||
|
||
``` | ||
Should work: | ||
[ ] Firefox | ||
[ ] Safari | ||
``` | ||
|
||
-------- | ||
☣️ Not officially supported, expect warnings and errors ☣️ | ||
- [ ] v16.x.x | ||
|
||
**I'm submitting a ...** (check one with "x") | ||
``` | ||
[ ] bug report | ||
[ ] feature request | ||
[ ] support request => Please do not submit support request here, instead see https://github.com/adazzle/react-data-grid/blob/master/CONTRIBUTING.md | ||
``` | ||
--- | ||
|
||
**Current behavior** | ||
### Which browser are you using? | ||
|
||
✅ Officially supported ✅ | ||
- [ ] IE 9 / IE 10 / IE 11 | ||
- [ ] Edge | ||
- [ ] Chrome | ||
|
||
**Expected/desired behavior** | ||
⚠️ Not officially supported, but "should work" ⚠️ | ||
- [ ] Firefox | ||
- [ ] Safari | ||
|
||
--- | ||
|
||
**Reproduction of the problem** | ||
If the current behavior is a bug or you can illustrate your feature request better with an example, please provide the steps to reproduce and if possible a minimal demo of the problem. | ||
### I'm submitting a ... | ||
|
||
- [ ] 🐛 Bug Report | ||
- [ ] 💡 Feature Request | ||
|
||
**What is the expected behavior?** | ||
> 👋 Need general support? Not sure about how to use React itself, or how to get started with the Grid? | ||
> Please do not submit support request here. Instead see | ||
> https://github.com/adazzle/react-data-grid/blob/master/CONTRIBUTING.md | ||
--- | ||
|
||
**What is the motivation / use case for changing the behavior?** | ||
### Issue Details | ||
|
||
``` | ||
Please include: | ||
- What the current behavior is | ||
- What the desired behvaior is | ||
- (If Bug) Steps to reproduce the issue | ||
- (If Feature) The motivation / use case for the feature | ||
We especially love screenshots / videos of problems, and remember | ||
The Best Issue Is A Pull Request™ | ||
``` | ||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,4 +7,5 @@ test/coverage | |
dist | ||
.npmrc | ||
npm-debug.log | ||
**.orig | ||
**.orig | ||
.vscode |
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
/* | ||
* In local config, only run tests using phantom js. No code coverage reports applied | ||
*/ | ||
const webpack = require('webpack'); | ||
const path = require('path'); | ||
const karma = require('karma'); | ||
const argv = require('minimist')(process.argv.slice(2)); | ||
|
||
// load our current karma config file | ||
const { preprocessors: defaultPreprocessors, | ||
files: defaultFiles, | ||
basePath, | ||
webpack: defaultWebpack, | ||
webpackServer } = karma.config.parseConfig(path.resolve('config/karma.js')); | ||
|
||
let files = defaultFiles; | ||
let preprocessors = defaultPreprocessors; | ||
// if "--file" present, run only tests for that file and enable sourcemaps | ||
if (argv.file) { | ||
const testFile = path.resolve(argv.file); | ||
files = [...defaultFiles.slice(0, defaultFiles.length - 1), testFile]; | ||
preprocessors = Object.keys(defaultPreprocessors).reduce( (res, key) => { | ||
if (key === defaultFiles[defaultFiles.length - 1].pattern) { | ||
res[testFile] = [...defaultPreprocessors[key], 'sourcemap']; | ||
} else { | ||
res[key] = defaultPreprocessors[key]; | ||
} | ||
return res; | ||
}, {}); | ||
console.log(`Running just the tests in ${testFile}`); | ||
} else { | ||
console.log('Running all tests.'); | ||
} | ||
|
||
// Setup webpack file | ||
const webpackCfg = Object.keys(defaultWebpack).reduce((res, key) => { | ||
let value = defaultWebpack[key]; | ||
if (key === 'module') { | ||
value = Object.assign({}, value, { postLoaders: null}); | ||
} else if (key === 'plugins') { | ||
value = [...value, new webpack.SourceMapDevToolPlugin({ | ||
filename: null, | ||
test: /\.(ts|jsx|tsx)($|\?)/i | ||
})]; | ||
} | ||
res[key] = value; | ||
return res; | ||
}, {}); | ||
webpackCfg.devtool = argv.file ? 'inline-source-map' : undefined; | ||
|
||
module.exports = function(config) { | ||
config.set({ | ||
basePath, | ||
// test files & preprocessing | ||
files, | ||
preprocessors, | ||
// webpack | ||
webpack: webpackCfg, | ||
webpackServer, | ||
|
||
browserNoActivityTimeout: 1000000, | ||
// reporting | ||
reporters: ['mocha'], | ||
mochaReporter: { | ||
ignoreSkipped: true, | ||
output: !!argv.file ? 'full' : 'minimal' | ||
}, | ||
// runs & watch | ||
autoWatch: true, | ||
singleRun: false, | ||
|
||
// test framework & browser setup | ||
frameworks: ['jasmine'], | ||
browsers: ['ChromeDebugging'], | ||
port: 9876, | ||
customLaunchers: { | ||
ChromeDebugging: { | ||
base: 'Chrome', | ||
flags: [ '--remote-debugging-port=9333' ], | ||
debug: true | ||
} | ||
} | ||
}); | ||
}; |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{ | ||
"lerna": "2.0.0-beta.34", | ||
"version": "2.0.32" | ||
"version": "2.0.73" | ||
} |
This file contains 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
Oops, something went wrong.