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

[Das_Schwarze_Auge_4-1] Code Cleanup and Dev Split #12586

Merged
merged 9 commits into from Feb 14, 2024

Conversation

kreuvf
Copy link
Contributor

@kreuvf kreuvf commented Feb 13, 2024

Submission Checklist

Required

  • The pull request title clearly contains the name of the sheet I am editing.
  • The pull request title clearly states the type of change I am submitting (New Sheet/New Feature/Bugfix/etc.).
  • The pull request makes changes to files in only one sub-folder.
  • The pull request does not contain changes to any json files in the translations folder (translation.json is permitted)

Changes / Description

I had been thinking about this for a very long time, but finally I decided to just do it: After having turned off legacy parsing in the previous pull request, it was time to get rid of even more legacy. Both sheet files are now pieced together from several small and handy topic-centred files using a simple Makefile.

The complete diffs look awful, run with --ignore-all-space as I converted all indentation to the same character while fixing borked indentation levels.

Having these changes at this point groups it together with the legacy parsing changes which also affected rather large parts of the files leading to ugly diffs when comparing versions before with versions after them. Given the fact that I am probably the sole active contributor to this sheet anyway, this should not impact any other developers.

I have been playtesting this in two sessions with my main group and we did not stumble upon any issues.

This marks the beginning of a separate dev directory with split files. A very simple Makefile is used to build the sheet's HTML and CSS files from the split files. From this commit on, no work should be done in the generated files (sheet's HTML and CSS files).
Former mix of tabs and spaces reduced to tabs only, accompanied by some manual indentation fixes.
@roll20deploy
Copy link
Contributor

Character Sheet Info Roll20 Internal Use only.

@nmbradley
Copy link
Collaborator

Hi @kreuvf

These changes look great. I suppose one thing I'd ask: could you please write a readme or similar to explain how one should use your makefile? That'll allow anyone who comes after you to be able to help update the project in the future.

@kreuvf
Copy link
Contributor Author

kreuvf commented Feb 14, 2024

Thank you very much for your feedback. Do you think this is enough?

@BronsonHall
Copy link
Contributor

Hey @kreuvf

That's spectacular, thanks! Really great work here.

@BronsonHall BronsonHall merged commit 2f9c0c0 into Roll20:master Feb 14, 2024
1 check passed
@kreuvf kreuvf deleted the dev-split branch February 17, 2024 19:27
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.

None yet

4 participants