feat: distinguish add-on licensed Microsoft capabilities - #83
Merged
Merged
Conversation
- Updated PrintDocument component to conditionally display add-on badges based on item properties. - Modified export.js to reflect changes in tier labels, incorporating add-on indicators. - Adjusted grip.json to include new add-on properties and updated descriptions for clarity. - Added translations for add-on badges in strings.js for multiple languages. - Enhanced CSS styles to support new add-on visual indicators in both the document and tier displays.
Contributor
|
🔍 Preview deployed: https://0d1082f5.grip-visualizer.pages.dev Updated: Fri, 19 Jun 2026 12:36:04 GMT |
…tes and override legend
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.
Summary
Introduces an explicit add-on distinction for Microsoft capabilities that require a separate add-on licence rather than being included in A3/A5, and surfaces it consistently across the UI, exports and print output.
Changes
"addOn": true(and seta5Adds: falsewhere they were previously flagged as A5 value-add). Refines several Microsoft mappings (e.g. Purview eDiscovery Premium, Information Protection automatic labeling).LicenseBadge(src/components/LicenseBadge.jsx): newaddOnprop renders a dedicated "Add-on" badge; the+A5 marker is suppressed when a capability is an add-on. Badge now wraps in a flex container.MeasureDetailPanel(src/components/MeasureDetailPanel.jsx): passesaddOnthrough toLicenseBadge.PrintDocument(src/components/PrintDocument.jsx): renders the add-on badge in the print/PDF layout.(add-on)for add-on capabilities.addOnBadgekey for NL ("Add-on"), EN ("Add-on") and FR ("Complément")..tierwraplayout and.tier--addon/.print-page__tier--addoncolours.Validation
npm run lint— passesnpm test— 61 tests pass