Commit Graph

671 Commits

Author SHA1 Message Date
Martin Raifer
ac59197632 simplify raw tag editor ui and logic (#10889)
* always show empty line at bottom of the tag list to allow adding more tags (replaces `+` button and tab logic)
* disable delete and info buttons on empty tag
* replace deferring of tag change events and re-rendering with a simpler logic (to fix issues like #10871):
  only set input field values if the rendering event was triggered by an external event, or by a change of the respective field in the raw tag editor itself
* skip delete and tag info buttons while navigating using tab: makes it more quick to get to where one typically needs to, deleting a key using the keyboard only is possible by emptying the tag's key, and advanced users are not typically using the `i` button anyway
2025-05-12 18:21:55 +02:00
Martin Raifer
ab007dbbb8 restore highlighting of empty changeset comment field
restores behaviour from #4624/#4624, but switch to a neutral emphasis instead of the red color (which might be misinterpreted that the user already made a mistake)
2025-02-25 17:55:21 +01:00
Martin Raifer
5d62126530 add dummy transition to overlay layers
fixes overlay tiles from not being removed while zooming out and back in

addendum to #10785
2025-02-19 18:31:42 +01:00
Martin Raifer
9e110cfda4 make background map tile edges opaque
Replaces the workaround of the tile rendering issues on Chrome at odd zoom levels.

The svg filter `#alpha-slope5` alters the alpha channel of background tiles such that everything but (almost) transparent pixels are rendered fully opaque.

closes #10747
2025-02-10 13:50:23 +01:00
Martin Raifer
057af4d352 fix briefly disappearing data layer during background layer transition
(fixes part of #10748)
2025-02-09 19:36:16 +01:00
Martin Raifer
b389feb4ac fix flickering when switching background layers or zooming
closes #10738

fixes a regression in 98d29e908f, overriding the original fix from 460a9efce1
2025-02-06 13:14:31 +01:00
Martin Raifer
98d29e908f fix grid lines between tiles also in minimap
see #10594
2025-01-22 16:49:30 +01:00
dragoon
5ea5a6f861 Fix mouse cursor on textarea scrollbars (#10630) 2025-01-08 14:01:03 +01:00
Martin Raifer
460a9efce1 fix brief flickering during tile switching when zooming, fixes #10660 2025-01-08 12:17:52 +01:00
Martin Raifer
1a7cf41ed0 Merge branch 'fix-grid' into develop 2024-12-18 15:31:45 +01:00
Martin Raifer
4dc8f981bd Link to PR in inline comments 2024-12-18 15:21:50 +01:00
Louis Demange
28e7faa13b Apply plus-lighter only at specific zoom levels 2024-12-17 07:01:21 +01:00
Nekzuris
dcfcf222e2 Dynamic epsilon for specific pixel ratios on Chrome 2024-12-13 19:47:40 +01:00
Nekzuris
874c1f5d73 Improve CSS comments 2024-12-13 07:36:45 +01:00
Nekzuris
4aac70f719 Improve tiles rendering in Chrome with specific zoom value 2024-12-11 21:27:45 +01:00
Martin Raifer
341eb4fb8d prevent brief flickering of "broken image" on tile loading errors 2024-12-11 12:35:38 +01:00
Nekzuris
b2c51929c6 Fix visible grid around tiles 2024-12-11 02:30:38 +01:00
ForgottenHero
04fd2ba6f4 Update help panel navigation buttons (#10581)
Fixes #105073 where the empty nav button for 'next' was overlapping the keyboard shortcuts button when the user was currently view the Quality Assurance page.
2024-12-06 14:51:11 +01:00
Martin Raifer
18de00a7bf fix scrollbars showing up in hovered state of inspector, fixes #10511
also closes #9912, closes #10552
2024-12-03 18:45:04 +01:00
Nekzuris
d04c3cdb73 Remove invalid scrollbar css 2024-11-25 19:14:38 +01:00
Nekzuris
e0083e093f Thin scrollbars for Firefox 2024-11-24 16:28:19 +01:00
Martin Raifer
5024feafe8 Fix flickering when switching between background imagery layers
and make switching backgrounds snappier
2024-10-21 18:31:07 +02:00
Nathan Hadley
b6cdfbfeb1 Add border-radius to minimap (#10210) 2024-04-25 15:29:57 +02:00
Minh Nguyễn
a38d7a1b8d Fix roadheight field width (#10175)
Recent versions of Firefox give input fields a greater intrinsic width that causes roadheight fields to overflow the container. Constrain these input fields to an initial width of zero; they’ll grow proportionally as part of the flexbox.
2024-03-27 14:30:42 +01:00
Martin Raifer
d7111e20f5 add button to load a feature's relations fully (if incomplete), fixes #5420 2024-03-05 14:25:16 +01:00
Tobias
ce51b33cf2 Improve combobox dropdown styling to give labels more room and readability (#10127)
* Fields: Break long lines in combo dropdown instead of ellipsis

Longer translations keys are not readable with ellipsis and the tooltip only shows the description (or fallback), not the title.

This change makes long use line breaks with small line height to make the whole text visible.

* Fields: Use table styles for rows to maximize available space

The flex box solution gave a lot of space to the label. This solution minimizes that space to give more space to the values dropdown.
2024-02-26 14:02:22 +01:00
Martin Raifer
96e6dc124f Show message about how to support OSM after a successful save, closes #10054
for example in form of a donation

this can be disabled by setting an env variable (`ID_SHOW_DONATION_MESSAGE=false`)

the icon is from https://uxwing.com/charity-donation-hand-love-icon/
2024-02-24 12:48:35 +01:00
Martin Raifer
0d69c3c9e8 style "(empty)" option differently to distinguish from regular tag values 2023-12-06 13:56:45 +01:00
Martin Raifer
beea585251 Merge branch 'develop' into relation-colours 2023-11-14 10:02:55 +01:00
Martin Raifer
d1ccc7349f show "x" button on the left on rtl scripts 2023-11-14 09:47:54 +01:00
Le_Futuriste
100d94955f feat(fields/combo): add navigate button to web links in "chip" fields (#9974)
The common use case is for the `sources` key, often you have multiple URLs separated with semicolon.

This allow to navigate to URL and check them more easily instead of
doing manual work to select the URL copy and paste.

Created with the help of Martin Raifer at the sotmeu2023!
2023-11-13 23:06:05 +01:00
Dimitar
e5efddb216 Hide horizontal scrollbar in upload dialog (#9911)
Resolves #9901
2023-11-08 15:17:15 +01:00
Martin Raifer
471354af4f add list of loaded local photos 2023-08-08 17:12:35 +02:00
Martin Raifer
68c0bd7d46 fix margins of tag reference info 2023-07-21 10:11:46 +02:00
Martin Raifer
eb30c2e80a drop icon from "regular" addr:street suggestions in dropdown 2023-05-26 20:45:51 +02:00
Martin Raifer
9595e997e9 Merge branch 'develop' into addr_place 2023-05-26 20:37:54 +02:00
Martin Raifer
f19a55fa13 Add support for icons on multiCombo/semiCombo fields (#9433) 2023-05-26 20:35:12 +02:00
Martin Raifer
805becfe3b support no and "other" states of options of multiCombo/manyCombo fields
closes https://github.com/openstreetmap/id-tagging-schema/issues/895 and #7427
2023-05-25 18:17:00 +02:00
Martin Raifer
026737909f implement special address field for addr:street/addr:place 2023-04-28 16:36:05 +02:00
Martin Raifer
adcbdae6e8 implement date field, for #9477 2023-01-27 17:03:28 +01:00
Martin Raifer
deb2b15cf4 load value icons in combo fields, increase their size slightly
as specified in the tagging schema [v6](https://github.com/ideditor/schema-builder/blob/main/CHANGELOG.md#600)

for #9477
2023-01-24 15:10:50 +01:00
Martin Raifer
4e3e942127 show (route) relation colours in lists and comboboxes 2022-12-12 22:49:50 +01:00
Martin Raifer
80d3e767cc rename to "directional combo" field 2022-12-09 13:52:57 +01:00
Martin Raifer
d5872cca73 show prettier maxChars warning for changeset comments
from #9392
2022-11-28 19:08:37 +01:00
Martin Raifer
59b10b7974 add length indicator for semicombo fields as well 2022-11-25 18:52:13 +01:00
Martin Raifer
2c0ca277bf add max-length-indicator to combo fields 2022-11-25 18:18:51 +01:00
Martin Raifer
f931d447af add length indicator to regular text (and localized) fields 2022-11-25 18:10:14 +01:00
Martin Raifer
5091966056 [WIP] add string length indicator and max-length message 2022-11-25 17:48:33 +01:00
Martin Raifer
9f428a9908 match spacing in right-to-left layout 2022-11-09 12:22:54 +01:00
Martin Raifer
62113dcf74 improve icons in comboboxes: update while typing, fix spacings
also makes sure checkbox & radio are aligned with the left padding of the respective input fields
2022-11-08 18:48:06 +01:00