My library (Data manager), V2

Started by Menion, November 01, 2024, 15:46:37

0 Members and 4 Guests are viewing this topic.

Menion

Hello people,
this topic is BIG. Really. At least because we have been working on it since Jan 2024.

Welcome early version of the new My Library system.

So we (Android) are first and may influence behavior on all three platforms, nice :).

Major changes
- points and tracks may be in the same folders
- possibility for deeper nesting of folders
- completely reworked UI

The last point will be most problematic I'm sure. We discussed this a lot, so please keep in mind, that everything has its reason. I'll anyway gladly discuss any suggestions.

Please, focus on important things for now, that may be hardly changed later. Old manager was fine-tuned for years, so this will also be a task for next years.

---

How to test it

IMPORTANT
Installation of the new version modifies the points/tracks database so it will become backward-INcompatible!

Don't blame me for data loss or possible problems. If you worry, do not test this now!!!

EDIT: this version has disabled "Cloud sync" because our web server is not yet 100% ready!!!

Method no 1 (recommended)
- separate device, where this version may be installed and tested
- immediately after installation, restore the backup from your main device
- after re-start, the app will do a database conversion

Method no 2 (only for skilled users)
- backup current data and keep this safe
- update the current public version
- start, the app will do a database conversion
- easy ... but the next public Locus Map 4 version won't see your data! So after the next update to the public version, you will have to restore old data (+ manually delete Locus/data/database/myLibrary.db!!)

Method no 3 (for all)
- if there is interest, I may record a short video to preview how this all looks. So no need to install and test anything. Just let me know ...

Test version on Google Drive in "my library V2" sub-directory.

Uff, good luck to all of us ;D.
- Official help (ideas, questions, problems): help.locusmap.eu
- Advanced topics, sharing of knowledges: you're here!
- LM 4 Beta download, LM 4 Release download
  •  
    The following users thanked this post: Agus

Menion

- Official help (ideas, questions, problems): help.locusmap.eu
- Advanced topics, sharing of knowledges: you're here!
- LM 4 Beta download, LM 4 Release download
  •  
    The following users thanked this post: Agus

Menion

- Official help (ideas, questions, problems): help.locusmap.eu
- Advanced topics, sharing of knowledges: you're here!
- LM 4 Beta download, LM 4 Release download
  •  
    The following users thanked this post: Agus

Tapio

I would safe my track- and point database files and use this one - IF future betas always include the db changes. WILL THEY?
Tapiola MFV4+ theme for OAM Maps:
Discuss - Releases - DL latest - Install latest
  •  

Menion

I was thinking about it. There is still a small risk, there will be a change in the database structure. So I would not rely on this version (I personally also do not use it in the field).

Give me please maybe +- two weeks. Then, I believe, it should be stable enough, to use it as a regular version.

Btw. I forgot to mention one important info  :-\ ... this version has disabled "Cloud sync" because our web server is not yet 100% ready!!!

- Official help (ideas, questions, problems): help.locusmap.eu
- Advanced topics, sharing of knowledges: you're here!
- LM 4 Beta download, LM 4 Release download
  •  

Tapio

OK I think Method2 is easily doable.

Does it leave waypoints.db and tracks.db unaltered... and just create a myLibrary.db from them?
Tapiola MFV4+ theme for OAM Maps:
Discuss - Releases - DL latest - Install latest
  •  

Tapio

#6
2 bugs.

- If I select a different folder from the "Edit folder" window (which is confusing at first), "Icon and name" does not refresh.

- Color picker "Circle around points", crash, restart

- MIGRATION NOT PERFECT. A couple of point/track folders are empty.

I think the fonts are too big, also the slim view could be condensed even more. I only manage to display 7 tracks on 2244px screen.

I'd like more emphasis on the folder icons. The folder symbols make overview monotonous.

Map screen content needs to jump into either tracks or points, it goes top level atm.
Tapiola MFV4+ theme for OAM Maps:
Discuss - Releases - DL latest - Install latest

Neoaliphant

A long time ago you mentioned a trips system

This could be achieved by allowing

1. Folders to have extra properties, description, orl, atatchments, in the same way that POI do...

2 For pois and tracks to e able to be placed in multiple folders ( so folders become tags/labels)


What are the chances for new library to include these?
  •  

freischneider

My Libary was installed. Data was then converted.
Some folders contained tracks from other folders. Some folders were empty.
I then tried to create a backup. It was downloaded and created. Then the message Restart appeared.
Then there was only a error message and nothing worked at all.
I thought that an old backup would not work.
Then installed the latest beta. Backup added. Everything is fine again.
Then installed My Libary again. This time I get the error code 11556

I would also like to see more emphasis on the folder icons. It's not easy to find the right folder right now.
Poco F5, Android 13 / Xiaomi Redmi Note 10 Pro, Android 13
Locus Map 4 Gold (always latest version or Beta)
LM4 User-ID: 11cec7cb5  (Devices-ID poco F5)
  •  

Menion

#9
Friday evening ... a little late. Anyway two tests and two problems with data, weird.

Would any of you be so kind to send me a backup of your data for the test of conversion? Thanks a lot. I'll answer everything in the worst case on Monday.

For now, APK files removed, to prevent more people with incorrectly converted databases. Thanks!
- Official help (ideas, questions, problems): help.locusmap.eu
- Advanced topics, sharing of knowledges: you're here!
- LM 4 Beta download, LM 4 Release download
  •  
    The following users thanked this post: Tapio

Tapio

Quote from: Menion on November 01, 2024, 18:57:09Would any of you be so kind to send me a backup of your data
Will do.
Tapiola MFV4+ theme for OAM Maps:
Discuss - Releases - DL latest - Install latest
  •  

freischneider

Quote from: Menion on November 01, 2024, 18:57:09Friday evening ... a little late. Anyway two tests and two problems with data, weird.

Would any of you be so kind to send me a backup of your data for the test of conversion? Thanks a lot. I'll answer everything in the worst case on Monday.

For now, APK files removed, to prevent more people with incorrectly converted databases. Thanks!
PN
Poco F5, Android 13 / Xiaomi Redmi Note 10 Pro, Android 13
Locus Map 4 Gold (always latest version or Beta)
LM4 User-ID: 11cec7cb5  (Devices-ID poco F5)
  •  

Menion

Nasty bug. Thanks @Tapio & @freischneider . Your databases are not converted correctly on my test device. So after the update to the RC8, please simply restore the old backup over the Backup Manager. The app will do a new conversion then.

@Tapio
app creates a new "myLibrary.db" that contains a new definition for folders and filters. But also modify all ID of points and tracks, so original databases are also modified. I was thinking about merging all databases into a single file, but it is quite a risky process so I left it as is (separated now into the three files).

"Edit folder" > hmm, there should be a "Parent folder" label at the top instead of "Folder". Better then? It defines simply where the current folder is placed.

Circle color picker > indeed  :o ... fixed

The fonts too big > all in the UI? It is a standard size, nothing special.

Improve folder icon > any ideas? Got your point, but no idea on my side for now.

Map-screen content > ah good point, I've almost forgotten on it. The separation here should be also united as there are no longer "Points" and "Tracks" folders.

@Neoaliphant
trips system > yes, it was before we created this united system. Anyway, your point no 1. is definitely planned for the next year. "Tags" > I'm not sure about it, we will see later if this will still be necessary.

@freischneider
sorry for the first negative impression. Hope the second attempt will be a lot better.
- Official help (ideas, questions, problems): help.locusmap.eu
- Advanced topics, sharing of knowledges: you're here!
- LM 4 Beta download, LM 4 Release download
  •  

Andrew Heard

#13
Quote from: Menion on November 01, 2024, 16:06:40Btw. I forgot to mention one important info  :-\ ... this version has disabled "Cloud sync" because our web server is not yet 100% ready!!!
@Menion - you did mention "Cloud Sync".

Exciting but I may wait for a week(s) because I can't dedicate a device as isolated test device. Looking forward to "Cloud Sync" version!!

A pity no tags being considered. When (a decade+ ago) I moved from Microsoft email client Outlook (with strict folder hierarchy similar to LM) to Google Gmail (with tag based system) life became a lot simpler/ more flexible for organisation & search. BTW I know there is a recent discussion in the Help system re tags with quite a lot of votes, but the search facility https://help.locusmap.eu/ is pretty hopeless & I gave up trying to find the link ;-(
LM4.26.3.1 RC10 GOLD user ID:c7d47597a
  •  

Tapio

#14
After update database seems OK. Bugs fixed. Fonts, folder icons, I may have judged too quick, will test a bit more first.

Changing root folder of a folder, yes, that's clearer and useful.

BUG: After I click "Save" in Edit Folder, the eye symbols for viewing items do not work.

Missing: Longtap select one or more folders, Move (is grayed out)

Good first impression.
Tapiola MFV4+ theme for OAM Maps:
Discuss - Releases - DL latest - Install latest
  •