Andreas Hocevar
f018f4d5e8
Merge pull request #11313 from MoonE/examples-add-tag-count
...
Add direct link to other examples to tags
2020-07-26 12:20:20 +02:00
Maximilian Krög
9093478016
Add modal to tag count with direct links to other examples
2020-07-25 20:40:20 +02:00
Maximilian Krög
50404ca409
Add number of occurence to tags
...
It can be a bit frustrating to click on a tag only to realise it was the
only example with that tag.
2020-07-25 14:00:53 +02:00
Andreas Hocevar
aa0a895212
Merge pull request #11310 from ahocevar/bootstrap-update
...
Update bootstrap, cleanup css, make pages more responsive
2020-07-23 12:46:27 +02:00
Andreas Hocevar
db3af0d503
Merge pull request #11304 from ahocevar/reuse-empty-canvas
...
Reuse empty canvas
2020-07-23 12:35:16 +02:00
Andreas Hocevar
0dafe6adbd
Remove unused fonts
2020-07-23 12:32:27 +02:00
jeanpierre
9616dee9f7
Update bootstrap, cleanup css, make pages more responsive
2020-07-23 12:32:27 +02:00
Andreas Hocevar
4eab8ecd40
Merge pull request #11309 from ahocevar/fix-example-build
...
Do not extract comments to avoid asset name conflicts
2020-07-23 12:31:53 +02:00
Andreas Hocevar
3a269045f2
Do not extract comments to avoid asset name conflicts
2020-07-22 21:53:38 +02:00
Andreas Hocevar
8231ac42f3
Merge pull request #11306 from petrsloup/replace-tileserver.maptiler.com
...
Replace/remove usage of tileserver.maptiler.com
2020-07-22 14:45:07 +02:00
Petr Sloup
84ae3d16a6
Replace/remove usage of tileserver.maptiler.com
2020-07-22 09:55:27 +02:00
Andreas Hocevar
2de96d5c84
Merge pull request #11270 from ahocevar/control-events
...
Fix handling of events originating from overlayContainerStopEvent children
2020-07-22 09:48:26 +02:00
Andreas Hocevar
00c928f1f5
Merge pull request #11269 from ahocevar/settarget-events
...
Register and unregister events in set target handler
2020-07-22 09:47:22 +02:00
Andreas Hocevar
8efb1eea43
Reuse empty canvas
2020-07-21 22:35:48 +02:00
Andreas Hocevar
f763df8c0a
Merge pull request #11300 from mike-000/patch-2
...
Drag and Drop to update source and fire event only if features added
2020-07-21 11:56:07 +02:00
mike-000
926d740a8e
fix syntax of return with typecast
2020-07-20 19:24:56 +01:00
mike-000
f9f90ea766
move type cast to tryReadFeatures_
2020-07-20 19:16:49 +01:00
mike-000
9fb45aa2d2
fix prettier
2020-07-20 17:06:52 +01:00
mike-000
21f4d4998b
type casting
2020-07-20 17:02:38 +01:00
mike-000
1812ce8b28
update source and fire event only if features added
2020-07-20 16:08:00 +01:00
Andreas Hocevar
c2376455ad
Merge pull request #11298 from openlayers/dependabot/npm_and_yarn/babel/core-7.10.5
...
Bump @babel/core from 7.10.4 to 7.10.5
2020-07-20 11:47:18 +02:00
Andreas Hocevar
121cc0d827
Merge pull request #11297 from openlayers/dependabot/npm_and_yarn/puppeteer-5.2.0
...
Bump puppeteer from 5.1.0 to 5.2.0
2020-07-20 11:46:52 +02:00
Andreas Hocevar
eab628e7aa
Merge pull request #11296 from openlayers/dependabot/npm_and_yarn/typescript-3.9.7
...
Bump typescript from 3.9.6 to 3.9.7
2020-07-20 11:46:28 +02:00
Andreas Hocevar
57fb401512
Merge pull request #11295 from openlayers/dependabot/npm_and_yarn/eslint-7.5.0
...
Bump eslint from 7.4.0 to 7.5.0
2020-07-20 11:46:01 +02:00
Andreas Hocevar
c2cddc1289
Merge pull request #11294 from openlayers/dependabot/npm_and_yarn/rollup-2.22.1
...
Bump rollup from 2.21.0 to 2.22.1
2020-07-20 11:45:30 +02:00
Andreas Hocevar
6310377e0d
Merge pull request #11293 from openlayers/dependabot/npm_and_yarn/terser-webpack-plugin-3.0.7
...
Bump terser-webpack-plugin from 3.0.6 to 3.0.7
2020-07-20 11:44:59 +02:00
Andreas Hocevar
a784b8e207
Merge pull request #11292 from openlayers/dependabot/npm_and_yarn/url-polyfill-1.1.10
...
Bump url-polyfill from 1.1.9 to 1.1.10
2020-07-20 11:44:22 +02:00
Andreas Hocevar
dacf6fd281
Merge pull request #11291 from openlayers/dependabot/npm_and_yarn/marked-1.1.1
...
Bump marked from 1.1.0 to 1.1.1
2020-07-20 11:43:53 +02:00
dependabot-preview[bot]
3d68d5ca0a
Bump @babel/core from 7.10.4 to 7.10.5
...
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core ) from 7.10.4 to 7.10.5.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.10.5/packages/babel-core )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-07-20 09:22:23 +00:00
dependabot-preview[bot]
d3ba7e9cfe
Bump puppeteer from 5.1.0 to 5.2.0
...
Bumps [puppeteer](https://github.com/puppeteer/puppeteer ) from 5.1.0 to 5.2.0.
- [Release notes](https://github.com/puppeteer/puppeteer/releases )
- [Commits](https://github.com/puppeteer/puppeteer/compare/v5.1.0...v5.2.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-07-20 09:20:54 +00:00
dependabot-preview[bot]
55ed134216
Bump typescript from 3.9.6 to 3.9.7
...
Bumps [typescript](https://github.com/Microsoft/TypeScript ) from 3.9.6 to 3.9.7.
- [Release notes](https://github.com/Microsoft/TypeScript/releases )
- [Commits](https://github.com/Microsoft/TypeScript/compare/v3.9.6...v3.9.7 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-07-20 09:19:46 +00:00
dependabot-preview[bot]
ef785c342a
Bump eslint from 7.4.0 to 7.5.0
...
Bumps [eslint](https://github.com/eslint/eslint ) from 7.4.0 to 7.5.0.
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/compare/v7.4.0...v7.5.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-07-20 09:18:54 +00:00
dependabot-preview[bot]
1f6e2a6b92
Bump rollup from 2.21.0 to 2.22.1
...
Bumps [rollup](https://github.com/rollup/rollup ) from 2.21.0 to 2.22.1.
- [Release notes](https://github.com/rollup/rollup/releases )
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rollup/rollup/compare/v2.21.0...v2.22.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-07-20 09:17:32 +00:00
dependabot-preview[bot]
3344b71511
Bump terser-webpack-plugin from 3.0.6 to 3.0.7
...
Bumps [terser-webpack-plugin](https://github.com/webpack-contrib/terser-webpack-plugin ) from 3.0.6 to 3.0.7.
- [Release notes](https://github.com/webpack-contrib/terser-webpack-plugin/releases )
- [Changelog](https://github.com/webpack-contrib/terser-webpack-plugin/blob/master/CHANGELOG.md )
- [Commits](https://github.com/webpack-contrib/terser-webpack-plugin/compare/v3.0.6...v3.0.7 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-07-20 09:16:42 +00:00
dependabot-preview[bot]
0b86747ee1
Bump url-polyfill from 1.1.9 to 1.1.10
...
Bumps [url-polyfill](https://github.com/lifaon74/url-polyfill ) from 1.1.9 to 1.1.10.
- [Release notes](https://github.com/lifaon74/url-polyfill/releases )
- [Commits](https://github.com/lifaon74/url-polyfill/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-07-20 09:15:40 +00:00
dependabot-preview[bot]
ca3e9f3a74
Bump marked from 1.1.0 to 1.1.1
...
Bumps [marked](https://github.com/markedjs/marked ) from 1.1.0 to 1.1.1.
- [Release notes](https://github.com/markedjs/marked/releases )
- [Commits](https://github.com/markedjs/marked/compare/v1.1.0...v1.1.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com >
2020-07-20 09:14:56 +00:00
Andreas Hocevar
56db05772c
Register and unregister events in set target handler
2020-07-19 19:24:51 +02:00
Andreas Hocevar
57f4867aba
Merge pull request #11286 from MoonE/apidoc-navigation-split-at-slash
...
Allow line breaks before slashes in apidoc navigation
2020-07-18 09:41:47 +02:00
Andreas Hocevar
4d8613644e
Merge pull request #11287 from MoonE/examples-search2
...
Examples index page fixes
2020-07-18 09:33:36 +02:00
Andreas Hocevar
dc548fe8b8
Merge pull request #11288 from openlayers/dependabot/npm_and_yarn/lodash-4.17.19
...
Bump lodash from 4.17.15 to 4.17.19
2020-07-18 09:31:23 +02:00
dependabot[bot]
b5e03cd270
Bump lodash from 4.17.15 to 4.17.19
...
Bumps [lodash](https://github.com/lodash/lodash ) from 4.17.15 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases )
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.19 )
Signed-off-by: dependabot[bot] <support@github.com >
2020-07-18 00:11:02 +00:00
Maximilian Krög
217f648608
Fix quotes in tags yaml
2020-07-17 21:52:35 +02:00
Maximilian Krög
557563f331
Update scoring / indexing code
...
Add dict / word as parameters to updateScore function so it
does not need to be created in each loop, and shorten it a bit.
2020-07-17 21:52:35 +02:00
Maximilian Krög
b6404fb766
Remove unnecessary space at end of bing key
2020-07-17 21:52:35 +02:00
Maximilian Krög
856830b834
No empty string words / allow 1 character search
...
If a space character is at either end of the input string splitting it
procuces an empty string that matches everything.
Allow single character words as there are is a single character tag: `x`
2020-07-17 21:52:34 +02:00
Maximilian Krög
b41a43cb7f
Simplify sorting of the examples by precalculating the score / words
2020-07-17 21:52:34 +02:00
Maximilian Krög
687795ba24
Skip listing all examples if query param is set.
...
Also use the `input` event instead of `keyup` and addEventlistener instead
of setting the onload / onchange properties.
And handle space character encoded as `+` in query string correctly.
2020-07-17 21:52:34 +02:00
Maximilian Krög
84463c3030
Make example builds repeatable
2020-07-17 21:52:27 +02:00
Maximilian Krög
292ff812fe
Split searching and listing
2020-07-17 21:18:53 +02:00
Maximilian Krög
dc05cacefa
Prettier code
...
This also fixes two undeclared variables and the regex is only created once per word
2020-07-17 21:18:53 +02:00