[ios] Properly restore last used bookmarks list for Testflight users #6890

Open
biodranik wants to merge 1 commit from ab-ios-bookmarks-last-category into master
biodranik commented 2023-12-18 19:31:46 +00:00 (Migrated from github.com)

The full path to sandboxed settings dir on iOS is different for AppStore and for each new version coming from the TestFlight. It causes the last used list to be reset after each newer version is installed.

The full path to sandboxed settings dir on iOS is different for AppStore and for each new version coming from the TestFlight. It causes the last used list to be reset after each newer version is installed.
vng (Migrated from github.com) reviewed 2023-12-18 19:31:46 +00:00
rtsisyk reviewed 2023-12-18 19:31:46 +00:00
vng (Migrated from github.com) reviewed 2023-12-18 19:36:07 +00:00
vng (Migrated from github.com) left a comment

Well, if migrate one time, the fix will be better to store category name.
Check m_lastCategoryUrl occurencies.

Well, if migrate one time, the fix will be better to store category name. Check m_lastCategoryUrl occurencies.
vng (Migrated from github.com) reviewed 2023-12-20 02:34:39 +00:00
vng (Migrated from github.com) commented 2023-12-20 02:34:03 +00:00

FileNameFromFullPath

FileNameFromFullPath
vng (Migrated from github.com) commented 2023-12-20 02:33:57 +00:00

FileNameFromFullPath

FileNameFromFullPath
vng (Migrated from github.com) reviewed 2023-12-22 14:38:42 +00:00
vng (Migrated from github.com) commented 2023-12-22 14:37:32 +00:00

This pursuit for premature optimizations can make an unexpected behavior in a very simple case like:
s = FileNameFromFullPath(a+b).

I have doubts about this change and don't like the way where this code goes ..

This pursuit for premature optimizations can make an unexpected behavior in a very simple case like: s = FileNameFromFullPath(a+b). I have doubts about this change and don't like the way where this code goes ..
kirylkaveryn reviewed 2024-12-26 09:36:58 +00:00

At a first glance the GetNameFromFullPath and FileNameFromFullPath makes the same path.find_last_of(

Maybe make the string -> string_view refactoring in a separate PR?

At a first glance the `GetNameFromFullPath` and `FileNameFromFullPath` makes the same `path.find_last_of(` Maybe make the `string -> string_view ` refactoring in a separate PR?
This repo is archived. You cannot comment on pull requests.
No reviewers
No labels
Accessibility
Accessibility
Address
Address
Android
Android
Android Auto
Android Auto
Android Automotive (AAOS)
Android Automotive (AAOS)
API
API
AppGallery
AppGallery
AppStore
AppStore
Battery and Performance
Battery and Performance
Blocker
Blocker
Bookmarks and Tracks
Bookmarks and Tracks
Borders
Borders
Bug
Bug
Build
Build
CarPlay
CarPlay
Classificator
Classificator
Community
Community
Core
Core
CrashReports
CrashReports
Cycling
Cycling
Desktop
Desktop
DevEx
DevEx
DevOps
DevOps
dev_sandbox
dev_sandbox
Directions
Directions
Documentation
Documentation
Downloader
Downloader
Drape
Drape
Driving
Driving
Duplicate
Duplicate
Editor
Editor
Elevation
Elevation
Enhancement
Enhancement
Epic
Epic
External Map Datasets
External Map Datasets
F-Droid
F-Droid
Fonts
Fonts
Frequently User Reported
Frequently User Reported
Fund
Fund
Generator
Generator
Good first issue
Good first issue
Google Play
Google Play
GPS
GPS
GSoC
GSoC
iCloud
iCloud
Icons
Icons
iOS
iOS
Legal
Legal
Linux Desktop
Linux Desktop
Linux packaging
Linux packaging
Linux Phone
Linux Phone
Mac OS
Mac OS
Map Data
Map Data
Metro
Metro
Navigation
Navigation
Need Feedback
Need Feedback
Night Mode
Night Mode
NLnet 2024-06-281
NLnet 2024-06-281
No Feature Parity
No Feature Parity
Opening Hours
Opening Hours
Outdoors
Outdoors
POI Info
POI Info
Privacy
Privacy
Public Transport
Public Transport
Raw Idea
Raw Idea
Refactoring
Refactoring
Regional
Regional
Regression
Regression
Releases
Releases
RoboTest
RoboTest
Route Planning
Route Planning
Routing
Routing
Ruler
Ruler
Search
Search
Security
Security
Styles
Styles
Tests
Tests
Track Recording
Track Recording
Translations
Translations
TTS
TTS
UI
UI
UX
UX
Walk Navigation
Walk Navigation
Watches
Watches
Web
Web
Wikipedia
Wikipedia
Windows
Windows
Won't fix
Won't fix
World Map
World Map
No milestone
No project
No assignees
3 participants
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: organicmaps/organicmaps-tmp#6890
No description provided.