This repository was archived by the owner on Nov 27, 2020. It is now read-only.
Open
Conversation
Removed some copy pasted code from various macros
Renamed file to be consistent with other macros Moved from base.njk as it wasn't being used outside of macros Moved if statement into macro as it was always included with macro call Explicitly add to each macro as an import
Macros that are only included in other macros are now in the sub-imports folder
Member
timarney
reviewed
Nov 28, 2019
Member
timarney
left a comment
There was a problem hiding this comment.
Please add some notes in the Changelog under the latest (we haven't tagged that release yet)
Member
Author
|
Changelog has been updated |
timarney
previously approved these changes
Dec 2, 2019
Member
|
@CalvinRodo feel free to merge. |
Contributor
|
Oy, okay, just seeing this now. It's going to be a bit of work to integrate this. |
Member
|
Holding for @jneen to review. |
Contributor
|
I think that might be best - this seems easier to rebase against my changes. The only major thing that would have to change is the |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Did some light cleanup work in the macros to remove some copy and pasted sections and pull them into their own macros should improve maintainability.
I also moved macros that are only included in other macros into
sub-macrosfolder (I can't think of a better name right now).These could also be mashed up into a single file and import from there instead of having 3 imports in each file. However I've got some old baggage from my C# days about having only one thing per file.