alter namespaces, restructure code, amend plaint text markup to pull from <template>
instead of raw JS
#564
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.
Description
license
totool
in most non-user facing situations. If naming is tied to copy, then it has remained the same (for example the question "Do you know which license you need?" is tied to the semantics of the state path and the HTML (which influences the naming conventions in the HTML, CSS, and JS). Until copy changes occur these naming use-cases must remain.<template>
fragments and token replacementTechnical details
Wherever reasonable naming has been updated to better match the CC Legal Tools. This is not 1:1 since there are several contexts in which there isn't a direct 1:1 relationship, and others where existing copy demands another labelling (usually license over tool). Additionally, there are some minor restructuring of the format rendering code, and an attempt to move as much of the markup back into the HTML as possible.
Next steps will involve building out the tabbed interface in a semantic and Accessible way, with some nice mobile fallbacks, and then likely the first bits of visual UX "skinning" to start dressing up the UI more.
Checklist
Update index.md
).main
ormaster
).visible errors.
Developer Certificate of Origin
For the purposes of this DCO, "license" is equivalent to "license or public domain dedication," and "open source license" is equivalent to "open content license or public domain dedication."
Developer Certificate of Origin