Commit graph

7655 commits

Author SHA1 Message Date
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
8efd7d30ac [ios] refactor CoreApi to support the Track selection and ElevationProfile
1. setElevationActivePoint is changed to work withe the CLLocationCoordinate2D that allows to pass the selected point to the core and show the blue mark on the track in the correct place
2. initWithElevationInfo is removed from the PlacePagePreviewData because the elevation profile is a part of track now and the PP header is configured in the core
3. ElevationHeightPoint stores the coordinates for easily track marks creation
4. add PlacePageTrackData to the PlacePageDate

Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-12-24 12:12:53 +00:00
a862a9ff10 [ios] refactor TrackRecordingInfo to only wrap the data from the core
This refactoring allows to split the data for the PP on 2 parts:
1. TrackRecordingInfo (dist, dur, acend, descend etc)
2. ElecationProfileData (only the points to draw)
Because the PP should be created only with the 1st one for the TrackRecordings (will be implemented later) and the PP shoul display all the info without the chart.
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>

Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-12-24 12:12:53 +00:00
438e923de5 [ios] fix live activity background color
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-12-24 16:07:01 +04:00
f79b21892a [strings] Regenerated
Signed-off-by: Ognjen Blagojevic <ognjen.d.blagojevic+om@gmail.com>
2024-12-24 01:26:01 +03:00
27db960cfc [strings] regenerate
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-12-23 18:43:35 +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
66020b0db9 [ios] implement TrackRecordingActivityManager
This manager handles pass the current track recording info to the LiveActivity Widget
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-12-23 18:43:35 +00:00
b452b608b8 [ios] add OMapsWidgetExtension target to the project
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-12-23 18:43:35 +00:00
5831885806 [ios] add support for the NSSupportsLiveActivities to the plist
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
0873f97754 [ios] show the disable full screen on long tap toast every time
instead of the only the firs hiding

Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-12-22 21:44:15 +04:00
zyphlar
8e4d8fdaab [strings] Regenerated strings
Signed-off-by: zyphlar <zyphlar@users.noreply.github.com>
2024-12-18 20:10:23 +03:00
0a8e6ddcfe [strings] Regenerate for Kayak setting and other PRs
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
2024-12-17 19:51:26 +03: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
4a33a609d8 [ios] add TrackRecording state observation
To bind state with the button on the main screen

Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-12-16 22:28:23 +00:00
592b5bf595 [ios] add new icon for the track recoding main tab button
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-12-16 22:28:23 +00:00
Jenny Em
32e2bf7eef [strings] Regenerated
Signed-off-by: Jenny Em <ubahnverleih@gmail.com>
2024-12-15 20:45:35 +03:00
Alexander Borsuk
cdc9b8beee [ios] Enable Serbian (Cyrillic)
Signed-off-by: Alexander Borsuk <me@alex.bio>
2024-12-15 18:17:53 +01:00
Alexander Borsuk
29adf61163 [strings] Regenerate Serbian for iOS
Signed-off-by: Alexander Borsuk <me@alex.bio>
2024-12-15 18:17:53 +01:00
Alexander Borsuk
b1cf66e5c1 [strings][ios] Enabled Latvian on iOS
Signed-off-by: Alexander Borsuk <me@alex.bio>
2024-12-15 00:17:44 +01:00
Alexander Borsuk
8f53bd5cf4 [strings] Regenerated Latvian
Signed-off-by: Alexander Borsuk <me@alex.bio>
2024-12-15 00:17:44 +01:00
28c6f4f2fc [strings] Regenerate for Kayak setting
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
2024-12-13 00:50:06 +03: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
916d787e4d [ios] fix UIView+AddSeparator to support the top and bottom positions
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-12-11 18:54:01 +04:00
Jenny Em
5c56d87d80 [strings] Regenerated
Signed-off-by: Jenny Em <ubahnverleih@gmail.com>
2024-12-05 23:25:11 -03:00
Jenny Em
5923ea4fd5 [strings] Regenerated
Signed-off-by: Jenny Em <ubahnverleih@gmail.com>
2024-12-05 10:45:13 +03: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
Jenny Em
8b6258243f [strings] Regenerated
Signed-off-by: Jenny Em <ubahnverleih@gmail.com>
2024-12-03 10:20:29 -03:00
6e09319e09 [strings] regenerate
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-12-02 11:51:24 -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
80add2247f [strings] Regenerate for Turkish fixes
Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
2024-11-30 11:47:59 -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
Viktor Govako
d946945d84 [strings] Regenerated.
Signed-off-by: Viktor Govako <viktor.govako@gmail.com>
2024-11-27 08:30:46 -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
3a84ba2ada [strings] regenerate
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-11-26 13:38:44 +00:00
f1bc4b1248 [ios] add a products section UI to the PlacePage screen
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-11-26 13:38:44 +00:00
Kiryl Kaveryn
9abc8e5a79
[core] Implement products configuration (#9695)
* [platform] add ProductsConfig

1. fetch and parse ProductsConfig json
2. save it to the separate file "products_settings.json"
3. small servers_list.cpp refactoring
4. add unit tests for servers config and products config
5. add products fetching to the framework

Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-11-25 12:32:01 -03:00
32a3be4cf8 [ios] enable map scrolling on the macOS using the mouse and trackpad
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-11-20 08:31:41 -03:00
bbb32ef24f [strings] regenerate
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-11-20 14:17:39 +04:00
8ab6dab51f [ios] add DurationFormatter to wrap the core formatter
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-11-20 14:17:39 +04:00
Alexander Borsuk
a6cfa23380 [strings] Regenerated French
Signed-off-by: Alexander Borsuk <me@alex.bio>
2024-11-18 21:30:23 +01:00
4fdcd380c7 [ios] improve icloud sync logging
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-11-11 21:06:39 -03:00
David Martinez
1960fdfa0a [styles][ios] Update UI bookmark icons to match map icons
Signed-off-by: David Martinez <47610359+dvdmrtnz@users.noreply.github.com>
2024-11-10 14:47:20 -03:00