Commit Graph

52 Commits

Author SHA1 Message Date
Harel M 3c3fcadbb6 Added back errors panel (#1384)
## Launch Checklist

This PR adds back the error panel which was under the map for some
reason.
It also highlights problematic layers in the layers list (which already
worked).
It also highlights the field that has an error related to it.
It fixes the error types throughout the code.

Before:
<img width="1141" height="665" alt="image"
src="https://github.com/user-attachments/assets/c0593d6c-8f14-41b3-8a51-bc359446656d"
/>


After:
<img width="1141" height="665" alt="image"
src="https://github.com/user-attachments/assets/1ffeebb7-31ea-4ed5-97f4-fc5f907a6aea"
/>


 - [x] Briefly describe the changes in this PR.
- [x] Include before/after visuals or gifs if this PR includes visual
changes.
 - [x] Write tests for all new functionality.
 - [x] Add an entry to `CHANGELOG.md` under the `## main` section.

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-09-16 15:42:07 +02:00
Yuri Astrakhan 9540686b40 Add precommit check (#1080)
Keeps the repo clean, same as several other of our repos

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-02-25 05:01:15 -05:00
Birk Skyum 87cd79e86f Use new scss syntax (#1015) 2025-01-21 22:38:05 +01:00
Keitaroh Kobayashi 58edd262b0 Add react-i18next for multi-language support (#917)
This is a rough start on adding react-i18next. I'll be working on adding
more translatable strings and translations in the coming days. I'm going
to need to wrap class components in HOCs, so let me know if there's
something I should be fixing before doing that. I'm thinking now to keep
the exported class names exactly the same, and rename the existing
classes by prefixing an `I` (for internal). For example:

```
export default class AppToolbar ...
```

becomes

```
class IAppToolbar ...
const AppToolbar = withTranslation()(IAppToolbar);
export default AppToolbar;
```

I'll be able to contribute Japanese strings (I've talked to a couple
people on my team and they'll be happy to help as well), so that's the
language I decided to go with in this PR.

Closes #746

---------

Co-authored-by: Ko Nagase <nagase@georepublic.co.jp>
Co-authored-by: Harel M <harel.mazor@gmail.com>
2024-08-19 12:43:04 +03:00
Harel M a22476cab2 Add lint to CI and fix errors (#853)
Adds lint to CI and fixes errors.
I'm not sure I'm fully proud of all the solutions there.
But there's no lint issues and the lint is being checked as part of the
CI.

---------

Co-authored-by: Yuri Astrakhan <yuriastrakhan@gmail.com>
2023-12-26 23:13:22 +02:00
orangemug 8441abe907 Added padding to 'maputnik-doc-button' and removed cursor from doc label. 2020-06-30 10:30:26 +01:00
orangemug 5981151b27 Added cursor pointer to SDK docs button 2020-06-30 09:43:24 +01:00
orangemug 67bdea1827 Re-added info button and SDK docs to fields after refactor. 2020-06-29 16:03:59 +01:00
orangemug b83c9a1ad9 Fix block styling issues. 2020-06-10 19:20:18 +01:00
orangemug 34299c94ee Fixed some 'axe' accessibility checker issues. 2020-06-10 16:22:13 +01:00
orangemug 40579c3e0c Added back in action buttons to input label/fieldset 2020-06-10 10:59:44 +01:00
orangemug 2cc179acc1 Fixed more input accessibility issues, also
- Added searchParams based router for easier testing
 - Added more stories to the storybook
2020-06-09 19:11:07 +01:00
orangemug f23f60807a Tidy 2020-03-16 10:17:04 +00:00
orangemug 0705522a24 Fixed width issue with expression error UI. 2020-02-17 13:44:05 +00:00
orangemug adea3d0f13 Added ability to switch to layer from global error panel. 2020-02-17 13:19:26 +00:00
orangemug 029eff9317 Added margin-left to function errors to line up with values. 2020-02-16 22:02:05 +00:00
orangemug 26907f7014 Fix button style in disabled state as reported by @pathmapper 2020-02-16 17:34:23 +00:00
orangemug 3ac06c7cb1 Merge remote-tracking branch 'upstream/master' into feature/ui-errors-and-expressions 2020-02-10 15:57:25 +00:00
orangemug f4c18fd91b Fixed error bar from overflowing. 2020-02-09 17:23:50 +00:00
orangemug c770b440c2 Make background map container white to match html page default. 2020-02-02 11:47:37 +00:00
orangemug f09cc25a3b Merge remote-tracking branch 'upstream/master' into feature/ui-errors-and-expressions 2020-02-01 17:36:59 +00:00
Orange Mug bc4706de83 Merge pull request #607 from orangemug/fix/issue-567-better-solution-for-tooltips
Inline property documentation and SDK docs
2020-01-30 09:21:10 +00:00
orangemug 725b752e35 Added initial expression work and UI errors. 2020-01-29 08:22:03 +00:00
orangemug 30facc885f Tidy inline docs and added sdk support table. 2020-01-23 08:33:12 +00:00
orangemug 33e04b3527 Added ability to add/edit image and video sources 2020-01-19 14:40:35 +00:00
orangemug a44e757e31 Initial work for new help text implementation. 2019-10-19 14:43:27 +01:00
Orange Mug 44fad76d45 Merge pull request #392 from orangemug/feature/color-accessibility-ui
Color accessibility UI
2018-10-06 16:58:32 +01:00
orangemug 004d135d93 Show error if style fails to load and disabled button if input is empty 2018-09-24 14:41:09 +01:00
orangemug 8f07a79a49 Merge remote-tracking branch 'upstream/master' into feature/color-accessibility-ui
Conflicts:
	src/components/App.jsx
	src/styles/_components.scss
2018-09-23 11:39:15 +01:00
orangemug 6207416b32 Added no WebGL error message to MapboxGL map component 2018-08-22 22:05:46 +01:00
orangemug 960b2022ed Fixed map width (fixes #260) 2018-07-15 22:08:06 +01:00
Gregory Wolanski a88ca031d0 Survey (#328)
Elements promoting the survey inside Maputnik after feedback
2018-07-08 14:34:46 +02:00
Gregory Wolanski b7a97cf8ee Survey (#328)
Elements promoting the survey inside Maputnik
2018-06-25 19:52:48 +02:00
orangemug 85a28999fb Initial color accessibility UI 2018-06-18 20:28:24 +01:00
orangemug 558f3d649d Added dialog styling. 2018-06-18 18:17:33 +01:00
orangemug 11d73595fc Made buttons keyboard accessible. 2018-05-10 16:50:37 +01:00
orangemug 9bf3046d4c Public/private gists added. Fixes #238
Gists are now private by default with a option for public.
2018-02-02 17:23:21 +00:00
orangemug f464f997d1 Added 'pointer-events: none' to prevent tooltips from overlapping the UI. 2017-11-07 18:29:55 +00:00
pjsier 148f64c261 Restrict data function types, reorder buttons
Checking the Mapbox style spec properties to see whether or not
exponential should be allowed as the property type, defaulting to
categorical which appears to work for either type. Also re-orders zoom
and data function buttons, aligning zoom right if data not supplied.
2017-10-10 10:30:06 -05:00
pjsier e057fcaea1 Add data-driven styling to editor
Builds off of the ZoomSpecField component with separate options for
handling data-driven properties. Reuses most of the zoom field
functionality with tweaks that I tried to keep as small as possible, and
the layout is based off of comments on the existing issue.
2017-10-01 18:20:57 -05:00
Yuri Astrakhan 87acc3362d Increase popup Z-index
Per https://github.com/maputnik/editor/issues/118
2017-03-28 23:03:13 -04:00
Alberto Valverde 32b18e9141 Configurable toolbar top offset.
For facilitate embeding in other apps.
2017-01-26 20:43:06 +01:00
jirik 6be6db8f5e Fix hidden map attributions (CSS issue) 2017-01-12 15:34:38 +01:00
Lukas Martinelli 69f2e12ea0 Add stylelint and fix lint issues 2017-01-12 11:23:06 +01:00
Lukas Martinelli cbe2a4c180 Fix GeoJSON and default source issue in Sources modal 2017-01-12 10:28:03 +01:00
Lukas Martinelli bcab165f97 Select highlighted multibutton 2017-01-11 20:43:40 +01:00
Lukas Martinelli cb752c0343 Add layer button and increase contrast 2017-01-11 15:48:15 +01:00
Lukas Martinelli fed1f09434 Remove last style configs in JS 2017-01-11 14:11:45 +01:00
Lukas Martinelli 840778b64f Remove JS input config 2017-01-11 14:03:48 +01:00
Lukas Martinelli 0908856b4f Restructure CSS more 2017-01-11 13:34:38 +01:00