-
-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(Notes): Make notes more powerful #1336
Conversation
f67903a
to
2c48497
Compare
Looks interesting. Be happy to test it when it lands. Cheers! |
2c48497
to
927c231
Compare
Just tried using the dev build but it is failing to upgrade the DB version.
Thoughts? Edit: FWIW I know I had some notes already made in some games. |
Can you share your sqlite file with me on dc? (edit: or mail it to me [email protected]) |
I also have an error during save file upgrade
I will also send the sqlite file via email if needed |
Thanks! this is even a different error. nice to have some dev testers I suppose :D |
This has been addressed in #1341 and was merged to dev. |
Ok a new error has occurred.
|
Are you sure your save file is still in tact, it works fine for me with the file you sent me on discord |
Well I sent you the backup so yeah I assume it is the same.
|
Yeah got the same sha sum, it works correct here |
Hmm. Odd then? What could be different. I am building the docker image from the git repo so ? Edit: This is the right commit, yes?
|
I guess somehow the sqlite in the docker container is older than my local sqlite. The syntax it's failing on is from 2021-03-12 (3.35.0) |
Let me check the Dockerfile see if there is a newer base image |
yeah it has 3.34.1-3 I believe, I could move the docker image to python 3.12 which is based on debian 12 instead of 11 and has a newer sqlite version |
I guess I shall rewrite the drop column commands to an older syntax just to be less breaking for other setups |
Let me bump the base image to 21.5-alpine. See if that fixes it. |
it won't because that's the image for the frontend which is not relevant. the server runs in the python:3.11-slim image |
#1343 uses older sqlite syntax |
ok lemme revert back to 3.11-slim and try again |
Woot! OK that seems to fix it. But might be worth making a note if the python versions bumps and breaks because of deprecated syntax.
|
Also can confirm the save file migration works perfectly for me |
History
PA has 2 concepts of notes:
Issues
There are multiple problems with the current implementation:
The goal
This PR attempts to fix all of these issues by unifying the current 2 note systems into 1 single system.
Current progress
A new big modal has been created: the note manager.
This will be the central place where you interact with notes.
This modal will list all the notes you have access to and allow you to manipulate them as well as pop them out so that they remain visible without the need to have the manager open.
Some completely new things:
n
key, will open/close the note managercampaign or a locationglobal or a local noteLocation notes will be pin-able to the mapThings that changed:
Things that were removed:
Todo or for later iteration