Yohan Boniface
2fa1d42ee7
i18n
2024-02-20 12:27:36 +01:00
Yohan Boniface
e72bc3fb8e
i18n
2024-02-17 22:27:15 +01:00
Yohan Boniface
2b196ab614
Merge pull request #1614 from umap-project/fix-send-edit-link
...
fix: send edit link was using old post method
2024-02-16 16:55:36 +01:00
Yohan Boniface
4c224fccbc
fix: send edit link was using old post method
2024-02-16 11:43:29 +01:00
Yohan Boniface
b3ce523ba2
fix: star control was using old post method
...
Also, only display it if the user is already logged in, given
we do not deal anymore with login during ajax calls.
2024-02-16 10:59:25 +01:00
Yohan Boniface
c2853e289f
i18n
2024-02-15 14:56:39 +01:00
Yohan Boniface
a8e37500dd
fix: reset table editor properties after creating a new one
2024-02-15 11:50:44 +01:00
Yohan Boniface
2dd7266d21
feat: show recent picto in a separate tab
2024-02-15 10:56:07 +01:00
Yohan Boniface
126e47eef9
feat: show last used pictograms in list
...
This feature was planned in the initial rework of the pictogram
form UI, but not yet done. Some recent discussion in the OSM French
forum reactivated the need for it.
cf https://forum.openstreetmap.fr/t/marker-and-marker-colors/21051
2024-02-15 10:54:59 +01:00
Yohan Boniface
9e805ea8da
fix: make default picto always white for now
...
fix #1594
2024-02-14 18:41:07 +01:00
Yohan Boniface
34608f55c1
Merge pull request #1592 from umap-project/zoomto-from-qs
...
feat: allow to set zoomTo from query string
2024-02-14 18:34:04 +01:00
Yohan Boniface
709674b7d9
Merge pull request #1607 from umap-project/osm-oauth2
...
chore: migrate to OAuth 2 for OpenStreetMap backend
2024-02-14 18:31:57 +01:00
Yohan Boniface
0dc49d2de3
fix: do not try to animate the panel
...
The panel inherits from the classic Popup, but given it's fixed on
the UI, it does not make sense to try to move it, and it some
situation there is a race condition that make Leaflet try to animate
but this fails
2024-02-14 17:54:48 +01:00
Yohan Boniface
a99ee90e15
chore: migrate to OAuth 2 for OpenStreetMap backend
...
fix #1279
2024-02-14 11:30:16 +01:00
Yohan Boniface
c378d5dc60
feat: allow to set zoomTo from query string
...
When using data/dataUrl querystring, uMap will import data at load,
and will set view using this data bounds. In some situation (Deveco),
the user wants to control the max zoom of the final view.
Also add labelKey and showLabel to be parsed from query string, still
for Deveco needs.
2024-02-13 18:00:23 +01:00
Yohan Boniface
e1e255f709
Merge pull request #1593 from umap-project/icon-img-breakpoint
...
feat: change breakpoint to switch black SVG img to white
2024-02-13 14:16:25 +01:00
David Larlet
44a254725f
Merge pull request #1604 from umap-project/fix-dashboard-style
...
fix: improve dashboard styles
2024-02-13 07:52:10 -05:00
Yohan Boniface
59cb10342b
chore: prettier
2024-02-13 12:10:47 +01:00
Yohan Boniface
6c38a063fd
i18n
2024-02-13 11:57:09 +01:00
Yohan Boniface
9ba8adbd85
feat: use a WCAG algo to define contrast colour
...
I've decided for a basic home made util, because:
- I'm not sure color is still maintained
- colorjs.io sounds very cool and maintained, but is 105k
- there is no custom bundle yet
- it uses proper modules, but for just the contrast util we need
to pull all the class logic, and it's a lot
2024-02-13 11:29:56 +01:00
David Larlet
4f469ced47
fix: improve dashboard styles
2024-02-12 20:59:35 -05:00
Yohan Boniface
a239633fae
feat: change threshold to switch black SVG img to white
2024-02-12 17:54:53 +01:00
Yohan Boniface
f3d1a3995c
fix: add pointer cursor to buttons in dashboard
2024-02-09 19:08:43 +01:00
Yohan Boniface
06d5af2a84
i18n
2024-02-09 18:19:20 +01:00
Yohan Boniface
a0634e5f55
Merge pull request #1587 from umap-project/use-global-l
...
chore: do not introduce a new global, use L and L.U already there
2024-02-09 18:04:48 +01:00
Yohan Boniface
074bf675c4
chore: replace window.L.U by window.U
2024-02-09 18:01:05 +01:00
David Larlet
285b9337ad
fix: consistency in logos colors and links
2024-02-09 11:54:37 -05:00
Yohan Boniface
68f2de7f44
chore: do not introduce a new global, use L and L.U already there
2024-02-09 17:10:19 +01:00
Yohan Boniface
1f5bfcb567
Merge pull request #1586 from umap-project/fix-browser-inbbox
...
fix: browser inBbox setting not persistent and features click not opening popup
2024-02-09 17:09:11 +01:00
David Larlet
81a1367696
fix: color consistency between buttons and icons
2024-02-09 10:47:04 -05:00
Yohan Boniface
e8a9c68dde
fix: fix dashboard buttons height and alignment in Firefox Linux
2024-02-09 16:35:20 +01:00
David Larlet
96acd710dc
fix: improve responsiveness of dashboard header
2024-02-09 10:30:48 -05:00
David Larlet
63a213a95f
fix: dashboard title alignments and links
2024-02-09 10:15:14 -05:00
David Larlet
5827a4cab0
fix: make dashboard table scrollable
2024-02-09 10:14:44 -05:00
Yohan Boniface
275c012e4e
i18n
2024-02-09 11:58:44 +01:00
David Larlet
afdc732204
Merge pull request #1430 from umap-project/download-all-from-dashboard
...
Ability to clone, delete and download all maps from user’s dashboard
2024-02-08 09:51:01 -05:00
Yohan Boniface
4cec24797e
chore: move Browser to a module
2024-02-08 13:09:18 +01:00
Yohan Boniface
355cdd9f07
fix: browser inBbox setting not persistent and features click not opening popup
...
Refactor the way it updates itself in the process.
2024-02-08 12:57:08 +01:00
David Larlet
1acadc746a
fix: use the regular delete view instead of ajax
2024-02-07 17:38:39 -05:00
Yohan Boniface
009f2c916f
fix: use variable for color in browser if any
2024-02-07 19:38:46 +01:00
Yohan Boniface
10efc5d103
Merge pull request #1573 from umap-project/map-preview
...
feat: add experimental "map preview" in /map/ endpoint
2024-02-07 19:14:37 +01:00
Yohan Boniface
7943c61b3e
chore: do not consume style query string now that we handle keys separatly
2024-02-07 18:47:00 +01:00
David Larlet
d4b380aa5f
feat: add icons to the dashboard actions
2024-02-07 12:32:00 -05:00
David Larlet
8a6e992b9c
Ability to clone a map and overall UI improvements
2024-02-07 12:32:00 -05:00
David Larlet
46cf432eb4
Paginate user’s maps combined downloads
2024-02-07 12:32:00 -05:00
Yohan Boniface
f09e399b3c
chore: refactor setting Map options from querystring
2024-02-07 17:53:45 +01:00
Yohan Boniface
bd626690ef
fix: non loaded layers should still be visible in legend and data browser
...
Also rework the browsable/browse methods to try to make them more
understandable…
fix #1554
2024-02-07 16:32:51 +01:00
Yohan Boniface
c334f7554e
feat: add experimental "map preview"
...
This is the same as "map new", but it is not in edit mode. This
allow to click on the elements and see the popups instead of editing
it when using a `dataUrl` query string.
This way of using uMap is not documented, but it's used by some
partners (Deveco recently, data.gouv.fr historicaly).
In the same time, this PR adds two things:
- possibility to pass data direclty in querystring (instead of an URL):
in the case of Deveco, they have pages where only point is shown (for
each company)
- possibility to pass style options directly from query string: may
allow for example to control the `popupTemplate`, eg. to use a table
one that will display all properties of the clicked feature
Note: dataUrl and such also works in normal "map new" view. There are
two use cases around those parameters, from external sites:
- see this data on uMap (should point on map preview)
- create a map with those data (should point on map new)
2024-02-07 13:57:20 +01:00
Yohan Boniface
0ebb7615aa
chore: make Request and ServerRequest pure JS class
...
And use UI for dealing with dataloading/dataload events (used
for progress bar).
2024-02-05 07:23:16 +01:00
Yohan Boniface
325880f86f
chore: make all request errors inherit the same parent class
2024-02-05 07:23:16 +01:00