Commit graph

7930 commits

Author SHA1 Message Date
780e67ebd7 [ios] Fix signing for the new live widget
Signed-off-by: Roman Tsisyk <roman@tsisyk.com>
2024-12-24 15:03:04 +00:00
342863a8b1 [strings] regenerate
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-12-24 12:12:53 +00:00
37d906e7f1 [ios] pass state enum+trackRecordingInfo instead of Bool to the TR callback
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
2024-12-24 12:12:53 +00: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
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
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