Skip to content
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

Multi-project support #8

Closed
TechnicJelle opened this issue Sep 3, 2024 · 3 comments
Closed

Multi-project support #8

TechnicJelle opened this issue Sep 3, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@TechnicJelle
Copy link
Owner

TechnicJelle commented Sep 3, 2024

In SharedPrefs, store list of projects.

{
  "path": "/home/technicjelle/bmgui-projs/my-cool-world/",
  "mc-version": "auto",
  "mods": "/home/technicjelle/.minecraft/mods/"
  "advanced-configs": [
    "core.conf",
    "maps/my-fancy-overworld.conf"
  ]
}
Similar to IntelliJ.

image

image

On startup, show all projects.
Button to start new one.

You can close the project to go back to the projects screen.

If only one project exists, always open that one.
You can start a new project from the projects screen.

This should also make it so you can easily have multiple projects open at the same time.

@TechnicJelle TechnicJelle added the enhancement New feature or request label Sep 3, 2024
@TechnicJelle
Copy link
Owner Author

Drew up some designs for the main menu:
image
image

@TechnicJelle
Copy link
Owner Author

TechnicJelle commented Oct 13, 2024

These proposed options should go in the project directory itself.
I think I'll use a json file for it...
I'd like to use a HOCON file, just like BlueMap's own configs, but there's just no (good) HOCON library for Dart.

The only thing we need to store in the SharedPrefs is a list of directories.
Maybe I'll add a way to name projects separately from their folder names at some point.
But maybe also not. I kind of like that the folder name is the thing that actually calls the shots.

@TechnicJelle
Copy link
Owner Author

Added the multi-project support in many commits: 4b5af29...0c22346

The project settings will be moved to a new issue and tracked there. #29

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant