Commit graph

7921 commits

Author SHA1 Message Date
d881cb952b [ios] refactor Chart framework
1. Fixed big issue when the track point's array indexes are used for the xAxis values instead of the actual distances. Old approach cause wrong elevation profile shape and wrong slope ratio.
2. Track start/end clipper (chartPreviewView) set to hidden because it overload the screen
3. Fix code formatting, naming and style
4. Added TapGesture to handle single taps on the chart

Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-12-24 12:12:53 +00:00
58dd11c971 [ios] add PlacePageTrackData to pass the track to the place page
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
e5395e6f16 [ios] add emptyInfo to the TrackRecordingInfo
`emptyInfo` is used as an initial (zero) state during the recoding process starting to notify the info observers
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
29d5576d83 [ios] fix extension availability compile errors
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
bfdae6bc79 [ios] add API to get updates of the track recording state
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-12-17 14:11:52 -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
6d2465bc9c [ios] fix track selection refactoring warnings
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-12-11 13:20:10 +04:00
7f54b9306d [map] fill PP header info with track info
The GetAddress is changed to the GetSecondarySubtitle because the 4th line in the header contains address for bookmarks or distance+duration for tracks
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-12-11 13:20:10 +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
0d9f94710a Release notes.
Signed-off-by: Viktor Govako <viktor.govako@gmail.com>
2024-11-29 19:07:41 -03:00
Viktor Govako
d3c24430b0 Release notes.
Signed-off-by: Viktor Govako <viktor.govako@gmail.com>
2024-11-27 09:42:10 -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
Andrew Shkrob
545caccbec [xcode] Revert swift version setting for CoreApi
Signed-off-by: Andrew Shkrob <andrew.shkrob.social@yandex.by>
2024-11-24 07:19:53 -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