[MDS-6987] Add Figures and Documents to Condition Data Variable Menu - #3992
Open
alazar-aot wants to merge 5 commits into
Open
alazar-aot wants to merge 5 commits into
alazar-aot wants to merge 5 commits into
Conversation
…ly use the 'new' CDV picker without any Flagsmith gate
…r/utility function, updated unit tests accordingly and pointed all files that need this functionality to use the new helper. Added 'Permit Package files -> Figures/Docuents' to CDV menu, gated by feature flag. These selections insert 'tokens' for the permit package files into the condtion text - currently rendered as {file:guid}
…-quill editor for the PermitConditionForm's condition filed (this is UI only), which includes a custom Quill embed blot that renders the 'label' (green or red 'pill' of Doc/Fig index and title) for an inserted Figure/Document reference. Small fix to preamble text area (keep using original textarea, not rich-text Quill editor) and run a WGAC pass on the changes using Claude
…ce' functionality is implented (risk of breaking the CDV references if guid is not maintained)
|
|
|
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.





Objective
MDS-6987
Why are you making this change? Provide a short explanation and/or screenshots
To allow permitting inspectors to more easily work with permit package references, the Condition Data Variable (CDV) Menu is to be updated to allow inspectors to insert permit package references into condition text when drafting the permit, so that the references remain accurate when permit package files are reordered or replaced.