stable
Clone or download
Read-only
part of story #24969 [modal] add and remove links (replace current artifact link) How to test: - go in TLP doc to the "Link selector" section. Option 103 should be disabled. You should not be able to select it. - list-picker disabled option text color should be lighter (due to transparency with white). - no other functional change expected. Notes: - This is needed in order to prevent users from adding twice the same link in a later contribution. If a link already exists, it will disable the item in link-selector. Change-Id: I8e7893f7e25752874c863d82683bb53d15756864
Modified Files
Name | ||||
---|---|---|---|---|
M | lib/frontend/link-selector/src/items/GroupCollection.ts | +1 | −0 | Go to diff View file |
M | lib/frontend/link-selector/src/items/ItemsMapManager.test.ts | +1 | −1 | Go to diff View file |
M | lib/frontend/link-selector/src/items/ListItemMapBuilder.test.ts | +1 | −1 | Go to diff View file |
M | lib/frontend/link-selector/src/items/ListItemMapBuilder.ts | +2 | −2 | Go to diff View file |
M | lib/frontend/link-selector/src/renderers/__snapshots__/DropdownContentRenderer.test.ts.snap | +1 | −1 | Go to diff View file |
M | lib/frontend/link-selector/src/selection/SelectionManager.test.ts | +15 | −8 | Go to diff View file |
M | lib/frontend/link-selector/tests/builders/GroupCollectionBuilder.ts | +14 | −6 | Go to diff View file |
M | lib/frontend/link-selector/themes/style.scss | +1 | −1 | Go to diff View file |
M | lib/frontend/list-picker/themes/_option.scss | +1 | −1 | Go to diff View file |
M | plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/fields/link-field-v2/MatchingArtifactsGroup.ts | +1 | −1 | Go to diff View file |
M | plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/fields/link-field-v2/PossibleParentsGroup.ts | +1 | −1 | Go to diff View file |
M | src/scripts/tlp-doc/css/_demos.scss | +5 | −1 | Go to diff View file |
M | src/scripts/tlp-doc/src/editors.js | +11 | −9 | Go to diff View file |
M | src/www/tlp-doc/resources/forms/link-selector/doc.html | +5 | −1 | Go to diff View file |
M | src/www/tlp-doc/resources/forms/link-selector/example.html | +4 | −4 | Go to diff View file |