aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFiles
* vite configuration: aliases to absolute files.Guilhem Moulin3 days1
| | | | | | This avoids the following warning: [vite] warning: rewrote […] to node_modules/[…] but was not an abolute path and was not handled by other plugins. This will lead to duplicated modules for the same path. To avoid duplicating modules, you should resolve to an absolute path.
* Dispose popover/overlay when opening the age filter dialog.Guilhem Moulin3 days1
| | | | | We might filter away the feature currently selected so it makes sense to clear the feature list first.
* Move example files to a separate directory.Guilhem Moulin4 days2
|
* Improve comments.Guilhem Moulin4 days1
|
* Refactor popover field definitions.Guilhem Moulin4 days1
|
* Shuffle VBK vindkraftverk layers around.Guilhem Moulin4 days1
| | | | To match the ordering from https://vbk.lansstyrelsen.se/ .
* CSS: Improve style for maximized popovers.Guilhem Moulin4 days2
| | | | | In particular, fix a bug where not the entire height was used for the popover body.
* ESLint configuration: Fix source path globs.Guilhem Moulin4 days1
| | | | We don't want to lint anything under ./dist/, for instance.
* Refactor popover handling.Guilhem Moulin4 days2
| | | | | In particular, make the definition object hierarchical and rename its fields.
* Popover: Set 'grabbing-area-grabbed' class on the right element.Guilhem Moulin6 days1
|
* Factor out Popover handling into separate module.Guilhem Moulin6 days3
|
* ESLint: Prettify configuration file.Guilhem Moulin6 days1
|
* ESLint: Silence CSS warnings and errors.Guilhem Moulin6 days2
|
* ESLint: Fix no-loss-of-precision error.Guilhem Moulin6 days1
| | | | Fixes: https://eslint.org/docs/latest/rules/no-loss-of-precision
* ESLint: Remove unused variables.Guilhem Moulin6 days2
| | | | And also fix `isVisible()` along the way.
* ESLint: Remove useless escapes.Guilhem Moulin6 days1
|
* Move *.css files to ./src.Guilhem Moulin6 days3
|
* ESLint: Remove unused imports.Guilhem Moulin6 days1
|
* Add a `lint` script to npm's package.json.Guilhem Moulin6 days1
| | | | To be used with `npm run lint`.
* Install ESLint in dev mode.Guilhem Moulin6 days3
| | | | Using `npm init @eslint/config@latest`.
* Split `layers` object into separate file.Guilhem Moulin6 days2
| | | | | | This rather large commit merely moves the object declaration into the new file and adjusts the import declarations accordingly. This will serve as basis for a future refactoring commit.
* Run `npm update --save`.Guilhem Moulin6 days1
|
* Add comment/warning.Guilhem Moulin6 days1
|
* Ensure age filter only applies to layers which expose the feature.Guilhem Moulin7 days1
|
* Improve wording in layer list.Guilhem Moulin7 days1
|
* Style: Make text in <p> elements of the age filter dialog selectable.Guilhem Moulin7 days1
|
* Age filter dialog: Improve wording.Guilhem Moulin7 days2
|
* Rename “age” to “ts”.Guilhem Moulin7 days1
| | | | Cf. 231d64cbd14c2d1ccb6468dc9666d4433e39834c in tools.
* Add ability to filter over feature “age”.Guilhem Moulin7 days2
| | | | | Right now this is only implemented for avverk, mrr and vbk as other layers don't export the property.
* Use optional chaining operator (?.).Guilhem Moulin8 days1
| | | | | https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Optional_chaining That simplifies the logic slightly.
* info-modal: Show copyright years.Guilhem Moulin8 days1
|
* Rename #modal-info to #info-modal for consistency.Guilhem Moulin9 days3
|
* Info modal: improve CSS and move background stuff at the bottom.Guilhem Moulin9 days2
|
* Refactor button selection logic.Guilhem Moulin9 days1
| | | | Thereby making it easier to extend if needs be.
* CSS: Add 50px to the legend's max-width.Guilhem Moulin9 days1
|
* Popover Consolidate building of <a> tags for links.Guilhem Moulin9 days1
|
* Consolidate comparison with undefined/null.Guilhem Moulin9 days1
| | | | | | | | | | Replace `a === undefined || a === null` resp. `a !== undefined && a !== null` with `a == null` resp. `a != null`. See https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Equality . Relax also some `=== undefined` and `=== null` into `== null` when that makes sense.
* Feature fetch: Never pass “fid:undefined” when querying the CGI.Guilhem Moulin9 days1
|
* JS: Minor refactorining of the OL layer creation logic.Guilhem Moulin9 days1
| | | | | Also, don't define a projection for raster layers and let OL get it from the source's metadata instead.
* info-modal: Don't crash for layers with unknown sources or URLs.Guilhem Moulin9 days1
|
* Add a dynamic legend.Guilhem Moulin10 days2
| | | | (Long overdue…)
* typofixGuilhem Moulin10 days1
|
* Fix layer names.Guilhem Moulin11 days1
| | | | Regression from 8d03e7794dae3696b0a975477542a4db03136ab7.
* Add two more nature value layers.Guilhem Moulin11 days1
|
* JS: Refactor layer creation.Guilhem Moulin11 days1
|
* Rename layers for consistency with what's produced by the tooling.Guilhem Moulin11 days1
|
* Add (WIP) WebGL layer for kontinuitetsskog.Guilhem Moulin11 days1
| | | | | We rename “vectorLayers” to “mapLayers” as it now contains a raster layer.
* Add some nature value layers.Guilhem Moulin11 days1
|
* typofixGuilhem Moulin11 days1
|
* Make stroke thinner for layers where the typical geometry is small.Guilhem Moulin11 days1
|