Skip to content

Save Projects to a config file and create Forge Project#1

Merged
DaRealTurtyWurty merged 18 commits intoRailroad-Team:mainfrom
Lanpingner:projectmanager
May 10, 2024
Merged

Save Projects to a config file and create Forge Project#1
DaRealTurtyWurty merged 18 commits intoRailroad-Team:mainfrom
Lanpingner:projectmanager

Conversation

@Lanpingner
Copy link
Contributor

@Lanpingner Lanpingner commented Apr 5, 2024

Reads all projects from a config file "Json"

News

  1. We have a project manager that handles create/delete projects
  2. Last open is now saved to the config
  3. Projects are create able on the UI and being saved to the config
  4. FORGE project download and create the folders(unzip) update the .properties (not the src folder)
  5. Read projects at startup once (no double read)
  6. Forge Project Creation uses Path instead of String to support all Platforms (tested in Linux)
  7. Last open shows in a Friendly Format ("Today", "2 days ago" .....)
  8. New Projects view to show Projects in a better way (we need a designer :) )
  9. Filter Projects now working

Current config dirs

  • Linux $HOME/.config/Railroad/config.json
  • Windows %APPDATA%/Roaming/Railroad/config.json

TODO

  • Auto append Projects on new creation
  • When Filter it should not read again the Projects (unnecessary work)
  • Remove Projects
  • Save Unique ID of the project to the file for delete/modify reasons
  • Add Last Opened to the save file
  • Create Forge Project and save
  • Setup .properties for Forge Project
  • Setup Forge project src dir (not the java files)

ISSUES
ExampleMod.java is not updated because idk how we will handle we could use javaTools like here
Parse Java

@Lanpingner Lanpingner changed the title Save Projects to a config file Save Projects to a config file and create Forge Project Apr 8, 2024
@Lanpingner Lanpingner marked this pull request as ready for review April 9, 2024 18:28
Copy link
Member

@DaRealTurtyWurty DaRealTurtyWurty left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mostly just minor changes, so a great PR overall. I'll try and get around to making a code-style document and ideally an intellij formatting export that people can import and use.

@DaRealTurtyWurty DaRealTurtyWurty merged commit 0719585 into Railroad-Team:main May 10, 2024
DaRealTurtyWurty pushed a commit that referenced this pull request May 11, 2024
refactorizing theming system v1
YodaForce157 pushed a commit to YodaForce157/Railroad that referenced this pull request Aug 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants