Commit graph

1431 commits

Author SHA1 Message Date
95398ddce2 [ios] add tap on the grabber that opens the modal screen
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2025-04-01 08:29:06 +00:00
f82b83895b [ios] fix internal scroll scrolling to the top
When the user starts scrolling to the top from the halfscreen position the internal scroll continues scrolling the table even if the content offset is zero. This commit fixes it.

Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2025-04-01 08:29:06 +00:00
7e903ef605 [ios] add dim view to the search
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2025-04-01 08:29:06 +00:00
2231c68502 [ios] move presentation logic to the ModalPresentationStepsController
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2025-04-01 08:29:06 +00:00
f4ad59db80 [ios] fix PlacePage screen drop shadow
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2025-04-01 08:29:06 +00:00
0582fab602 [ios] add CornerRadius enum for easily setting up the property
1. new typed corner radius
2. updated styles where the corner radius is used

Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2025-04-01 08:29:06 +00:00
46a9abd8bb [ios] fix modal screen corner radius and shadows
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2025-04-01 08:29:06 +00:00
974a6a93d8 [ios] fix the side and traffic buttons animation according to search position
1. the available areas are added to the MapViewController. It add an ability to set the affeced view programmatically rather than only in the main storyboard
2. the search screen view now affects on the side button position by setting the affecting direction
3. fixed animation of the Traffic button when its covered by the other view (out of available area)
4. removed unused `getAvailableArea`

Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2025-04-01 08:29:06 +00:00
2bbc4bd567 [ios] fix pasting coords to the search
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2025-04-01 08:29:06 +00:00
24aebbce1a [ios] replace the modally presented search vc presentation with child
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2025-04-01 08:29:06 +00:00
3b3e063ef9 [ios] fix search header radius small for iphone
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2025-03-05 08:17:53 +00:00
55951a28be [ios] fix search result selection index after filtering the suggestions
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2025-02-28 13:56:02 +00:00
377d10de8c [ios] remove outdated code related to the search
the old MWMSearch... screen is not used anymore

Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2025-02-25 12:17:33 +00:00
f9fb0e8d7f [ios] replace MWMSearchManager with new SearchOnMapManager
- fix layout of the place page container (configure it programatiacally)
- use the new modal seearch VC everywhere
-

Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2025-02-25 12:17:33 +00:00
5db61f0498 [ios] implement modal search screen SearchOnMap
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2025-02-25 12:17:33 +00:00
db4371e2c3 [ios] refactor search screen cells and tab bar
- remove xibs where possible
- update cells style (fonts, colors, icons)

Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2025-02-25 10:53:35 +00:00
83994a247e [ios] rename finishShareCategory to finishSharing
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2025-02-25 10:18:51 +00:00
98ef2d61fb [ios] export single track from the place page as kml/gpx
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2025-02-25 10:18:51 +00:00
524f3fe358 [ios] show add stop button to the selected track point during the nav mode
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2025-02-25 09:42:48 +00:00
0687642095 [ios] fix memory leak in the PlacePageInfoViewController
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2025-02-25 09:38:42 +00:00
5ffd95a491 [ios] replace usage of cpp search::Result with objc SearchResult in UI
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2025-02-24 11:25:14 +04:00
69953c2b12 [ios] remove unused search::ProductInfo from the search
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2025-02-24 11:25:14 +04:00
1790a4dfca [ios] refactor ElevationProfileViewController
1. remove a stroryboard and implement VC and ElevationProfileDescriptionCell programmatically
2. move the description collection view over the chart
3. remove some unused code
4. add isChartViewInfoHidden to show/hide the info view and enable/disable user interation (will be used for the track recording)

Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2025-02-13 20:14:43 +04:00
d8a594855a [ios] fix UIDatePicker style in the Editor
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2025-02-11 08:36:42 +00:00
David Martinez
431cf357a3 [editor][ios] Add outdoor_seating to editor
Signed-off-by: David Martinez <47610359+dvdmrtnz@users.noreply.github.com>
2025-02-01 18:51:19 +03:00
David Martinez
3493538c56 [editor][ios] Add self_service to editor
Signed-off-by: David Martinez <47610359+dvdmrtnz@users.noreply.github.com>
2025-02-01 18:51:19 +03:00
9b93d66f3d [ios] refactor the BottomMenuLayerButton
The runtime attributes were removed from the xib. Because it is really hard to debug them and there is no reason to set the bunch of the same attrs to the multiple items. Such configurations should be done pogrammatically.

Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2025-01-30 15:02:57 -03:00
6ed297c62e [ios] fix bug when the layers menu doesn't layouted properly on appear
On some ios versions the `tableView.layoutIfNeeded()` is called but the view doesnt set as it should be relayouted. This bug is founded on the iPhone Xs Max 18.2.
https://github.com/organicmaps/organicmaps/issues/10143#issuecomment-2620913027

Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2025-01-30 15:02:57 -03:00
fb5f8fb902 [ios] Fix font color not updating with theme change on Wiki page
Signed-off-by: narwalayush4 <narwalayush4@gmail.com>
2025-01-25 21:09:54 +04:00
1516ea742c [ios] Add padding on Wikipedia description page
Signed-off-by: narwalayush4 <narwalayush4@gmail.com>
2025-01-25 21:09:54 +04:00
a1c6d532b5 [ios] refactor styles to make them type-safe using enums instead of string lit
1. for now the structure is SheetStyle.Global/PlacePage/Font/TestColor...
2. the styles are used by assessing the property
before:
lineView.setStyleAndApply("Divider")
headerTitleLabel.setStyleAndApply("semibold18:blackPrimaryText")

after:
lineView.setStyleAndApply(.global(.divider))
headerTitleLabel.setFontStyle(.semibold18, color: .blackPrimary)

Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2025-01-16 16:02:29 +04:00
b940009b0e [ios] replace UIWebView with the WKWebView on OpeningHoursEditorViewController
To silent compile time warning (the UIWebView is not supported since iOS 13.0)

Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-12-29 13:40:18 +04:00
d07d9d79fa [ios] remove the old code related to the Booking Search Filters
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-12-29 13:40:18 +04:00
31d940dceb [ios] fix some complie warnings
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-12-29 13:40:18 +04:00
d747702611 [ios] rename TrackRecordingInfo to the TrackInfo and remove unused dir
This entity will be used both for the tracks and _track recordings_ to store the current info.

Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-12-24 12:12:53 +00:00
3da20576e1 [ios] rename PlacePageBookmarkViewController to the ...BookmarkOrTrack...
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-12-24 12:12:53 +00:00
4082a783dc [ios] add track deletion confirmation alert
Also the issue for the PP VC in `traitCollectionDidChange` was fixed. It is needed to prevent PP reloading when the alert is presented over the screen. It happens because the new trait updates can be passed to the `traitCollectionDidChange` method on the every layout update and it cause the steps and layout recalculations. The PP should be reloaded only when the vertical size class is changed.

Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-12-24 12:12:53 +00:00
41979b1104 [ios] implement Track PlacePage UI
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-12-24 12:12:53 +00:00
d2310433d6 [ios] refactor PP dependencies to support UDF
View -> Interactor -> Presenter -> View

Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-12-24 12:12:53 +00:00
2ed11e18e8 [ios] [android] rename altitude to the elevation
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-12-23 18:43:35 +00:00
5e79069a84 [ios] implement ActivityWidget support to the TrackRecordingManager
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-12-23 18:43:35 +00:00
9347453d66 [ios] fix encoding for the empty category selection text view
NSUTF8StringEncoding works incorrectly with html data type in the UITextView

Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-12-23 14:35:09 +04:00
b03108318c [ios] add TrackRecording widget to the top-right
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-12-16 22:28:23 +00:00
b3d800ab4a [ios] Remove a separator from LayersVC
Separator should be visible only for the Layers + Menu and hidden for the Layers only.

Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-12-11 18:54:01 +04:00
165692657c [ios] add separators to the PlacePage views programmaticalay
The separators that was created in the storyboards and xibs is very hard to find/select/edit/change width and color. This is why they should be configured and added programmatically.

Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-12-11 18:54:01 +04:00
20aa24a74b EN as additional search language in the editor
Signed-off-by: map-per <map-per@gmx.de>
2024-12-04 08:47:22 -03:00
fe235e46b6 [ios] [editor] Add empty search result disclaimer to category selection screen
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-12-02 11:51:24 -03:00
Viktor Govako
0f2db025c4 [ios][editor] Do not show all categories list when the search gives nothing.
Signed-off-by: Viktor Govako <viktor.govako@gmail.com>
2024-12-02 11:51:24 -03:00
8e5a8ecb60 [ios] add the context menu to the coordinates accessory button
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-11-29 22:07:17 -03:00
82905b10a4 [ios] fix the bookmark description jumping bug during editing
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-11-26 13:58:27 -03:00