stable
Clone or download
story #31191 Add reviewers and make them updatable Since link-selector became a general autocompleter, it needs to be renamed. Please note: - In the artifact modal, I've only renamed the types + LinkSelectorStub. Indeed, in this part of the code, lazybox is implemented as a link_selector, and it is the name of the feature, so there is no reason to rename the functions and variables in this folder. - In the tlp-doc, the example for the single selection lazybox is still named "Link selector" because the example shows a lazybox who's role is to emulate a link selector. - In lib/frontend/lazybox/adr, I've kept the name of the 0001-link-selector.md untouched. Because it is a record, I thought it was irrelevant to rename it, as it reflects the state of the lib when it was written. How to test: -- No functional change in the link-field in the artifact-modal -- No functional change in the tlp-doc Change-Id: I4f2ef7b16960ea746b87102428d12274b7dbe9de
Modified Files
Name | ||||
---|---|---|---|---|
M | adr/index.md | +1 | −1 | Go to diff View file |
R | lib/frontend/link-selector/.gitignore | Go to diff View file | ||
R | lib/frontend/link-selector/README.md | Go to diff View file | ||
R | lib/frontend/link-selector/adr/0001-link-selector.md | Go to diff View file | ||
R | lib/frontend/link-selector/adr/index.md | Go to diff View file | ||
R | lib/frontend/link-selector/adr/template.md | Go to diff View file | ||
R | lib/frontend/link-selector/package.json | Go to diff View file | ||
R | lib/frontend/link-selector/pnpm-lock.yaml | Go to diff View file | ||
R | lib/frontend/link-selector/src/dropdown/DropdownContentRefresher.ts | Go to diff View file | ||
R | lib/frontend/link-selector/src/dropdown/DropdownManager.test.ts | Go to diff View file | ||
R | lib/frontend/link-selector/src/dropdown/DropdownManager.ts | Go to diff View file | ||
R | lib/frontend/link-selector/src/events/EventManager.test.ts | Go to diff View file | ||
R | lib/frontend/link-selector/src/events/EventManager.ts | Go to diff View file | ||
R | lib/frontend/link-selector/src/events/ScrollingManager.test.ts | Go to diff View file | ||
R | lib/frontend/link-selector/src/events/ScrollingManager.ts | Go to diff View file | ||
R | lib/frontend/link-selector/src/events/SearchFieldClearer.test.ts | Go to diff View file | ||
R | lib/frontend/link-selector/src/events/SearchFieldClearer.ts | Go to diff View file | ||
R | lib/frontend/link-selector/src/events/SearchFieldEventCallbackHandler.test.ts | Go to diff View file | ||
R | lib/frontend/link-selector/src/events/SearchFieldEventCallbackHandler.ts | Go to diff View file | ||
R | lib/frontend/link-selector/src/helpers/group-id-helper.test.ts | Go to diff View file | ||
R | lib/frontend/link-selector/src/helpers/group-id-helper.ts | Go to diff View file | ||
R | lib/frontend/link-selector/src/helpers/hide-selectbox-helper.test.ts | Go to diff View file | ||
R | lib/frontend/link-selector/src/helpers/hide-selectbox-helper.ts | Go to diff View file | ||
R | lib/frontend/link-selector/src/helpers/keys-helper.test.ts | Go to diff View file | ||
R | lib/frontend/link-selector/src/helpers/keys-helper.ts | Go to diff View file | ||
R | lib/frontend/link-selector/src/helpers/link-selector-in-modals-helper.test.ts | Go to diff View file | ||
R | lib/frontend/link-selector/src/helpers/link-selector-in-modals-helper.ts | Go to diff View file | ||
R | lib/frontend/link-selector/src/helpers/list-item-finder.test.ts | Go to diff View file | ||
R | lib/frontend/link-selector/src/helpers/list-item-finder.ts | Go to diff View file | ||
R | lib/frontend/link-selector/src/index.ts | Go to diff View file | ||
R | lib/frontend/link-selector/src/items/GroupCollection.ts | Go to diff View file | ||
R | lib/frontend/link-selector/src/items/ItemsMapManager.test.ts | Go to diff View file | ||
R | lib/frontend/link-selector/src/items/ItemsMapManager.ts | Go to diff View file | ||
R | lib/frontend/link-selector/src/items/ListItemMapBuilder.test.ts | Go to diff View file | ||
R | lib/frontend/link-selector/src/items/ListItemMapBuilder.ts | Go to diff View file | ||
R | lib/frontend/link-selector/src/link-selector.ts | Go to diff View file | ||
R | lib/frontend/link-selector/src/navigation/FieldFocusManager.test.ts | Go to diff View file | ||
R | lib/frontend/link-selector/src/navigation/FieldFocusManager.ts | Go to diff View file | ||
R | lib/frontend/link-selector/src/navigation/KeyboardNavigationManager.test.ts | Go to diff View file | ||
R | lib/frontend/link-selector/src/navigation/KeyboardNavigationManager.ts | Go to diff View file | ||
R | lib/frontend/link-selector/src/navigation/ListItemHighlighter.test.ts | Go to diff View file | ||
R | lib/frontend/link-selector/src/navigation/ListItemHighlighter.ts | Go to diff View file | ||
R | lib/frontend/link-selector/src/renderers/BaseComponentRenderer.test.ts | Go to diff View file | ||
R | lib/frontend/link-selector/src/renderers/BaseComponentRenderer.ts | Go to diff View file | ||
R | lib/frontend/link-selector/src/renderers/DropdownContentRenderer.test.ts | Go to diff View file | ||
R | lib/frontend/link-selector/src/renderers/DropdownContentRenderer.ts | Go to diff View file | ||
A | lib/frontend/lazybox/src/renderers/__snapshots__/DropdownContentRenderer.test.ts.snap | +38 | −0 | Go to diff View file |
R | lib/frontend/link-selector/src/selection/MultipleSelectionManager.test.ts | Go to diff View file | ||
R | lib/frontend/link-selector/src/selection/MultipleSelectionManager.ts | Go to diff View file | ||
R | lib/frontend/link-selector/src/selection/SelectionManager.test.ts | Go to diff View file | ||
R | lib/frontend/link-selector/src/selection/SelectionManager.ts | Go to diff View file | ||
R | lib/frontend/link-selector/src/selection/templates/clear-selection-button-template.test.ts | Go to diff View file | ||
R | lib/frontend/link-selector/src/selection/templates/clear-selection-button-template.ts | Go to diff View file | ||
R | lib/frontend/link-selector/src/selection/templates/selected-value-badge-template.test.ts | Go to diff View file | ||
R | lib/frontend/link-selector/src/selection/templates/selected-value-badge-template.ts | Go to diff View file | ||
R | lib/frontend/link-selector/src/type.ts | Go to diff View file | ||
R | lib/frontend/link-selector/tests/builders/GroupCollectionBuilder.ts | Go to diff View file | ||
R | lib/frontend/link-selector/tests/stubs/ClearSearchFieldStub.ts | Go to diff View file | ||
R | lib/frontend/link-selector/tests/stubs/ManageDropdownStub.ts | Go to diff View file | ||
R | lib/frontend/link-selector/tests/stubs/ManageSelectionStub.ts | Go to diff View file | ||
R | lib/frontend/link-selector/tests/stubs/TemplatingCallbackStub.ts | Go to diff View file | ||
R | lib/frontend/link-selector/themes/style.scss | Go to diff View file | ||
R | lib/frontend/link-selector/tsconfig.json | Go to diff View file | ||
R | lib/frontend/link-selector/vite.config.ts | Go to diff View file | ||
D | lib/frontend/link-selector/src/renderers/__snapshots__/DropdownContentRenderer.test.ts.snap | +0 | −38 | Go to diff View file |
D | lib/frontend/link-selector/tests/stubs/DropdownContentRefresherStub.ts | +0 | −30 | Go to diff View file |
D | lib/frontend/link-selector/tests/stubs/LinkSelectorStub.ts | +0 | −34 | Go to diff View file |
M | plugins/agiledashboard/tests/e2e/cypress/cypress/e2e/artifact-modal-links.cy.ts | +5 | −8 | Go to diff View file |
M | plugins/agiledashboard/tests/e2e/cypress/cypress/e2e/artifact-modal.cy.ts | +1 | −1 | Go to diff View file |
M | plugins/agiledashboard/tests/e2e/cypress/cypress/support/commands.ts | +7 | −7 | Go to diff View file |
M | plugins/tracker/scripts/lib/artifact-modal/package.json | +1 | −1 | Go to diff View file |
M | plugins/tracker/scripts/lib/artifact-modal/pnpm-lock.yaml | +2 | −2 | Go to diff View file |
M | plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/fields/link-field/LinkField.test.ts | +5 | −5 | Go to diff View file |
M | plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/fields/link-field/LinkField.ts | +4 | −4 | Go to diff View file |
M | plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/fields/link-field/dropdown/ArtifactLinkSelectorAutoCompleter.test.ts | +1 | −1 | Go to diff View file |
M | plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/fields/link-field/dropdown/ArtifactLinkSelectorAutoCompleter.ts | +1 | −1 | Go to diff View file |
M | plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/fields/link-field/dropdown/LinkSelectorItemProxy.test.ts | +2 | −2 | Go to diff View file |
M | plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/fields/link-field/dropdown/LinkSelectorItemProxy.ts | +2 | −2 | Go to diff View file |
M | plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/fields/link-field/dropdown/LinkableArtifactTemplate.ts | +2 | −6 | Go to diff View file |
M | plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/fields/link-field/dropdown/MatchingArtifactsGroup.ts | +1 | −1 | Go to diff View file |
M | plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/fields/link-field/dropdown/PossibleParentsGroup.ts | +1 | −1 | Go to diff View file |
M | plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/fields/link-field/dropdown/RecentlyViewedArtifactGroup.ts | +1 | −1 | Go to diff View file |
M | plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/fields/link-field/dropdown/SearchResultsGroup.ts | +1 | −1 | Go to diff View file |
M | plugins/tracker/scripts/lib/artifact-modal/src/adapters/UI/fields/link-field/link-field.scss | +2 | −5 | Go to diff View file |
R | plugins/tracker/scripts/lib/artifact-modal/tests/stubs/LinkSelectorStub.ts | Go to diff View file | ||
M | src/scripts/tlp-doc/css/_demos.scss | +2 | −2 | Go to diff View file |
M | src/scripts/tlp-doc/css/main.scss | +1 | −1 | Go to diff View file |
M | src/scripts/tlp-doc/package.json | +1 | −1 | Go to diff View file |
M | src/scripts/tlp-doc/pnpm-lock.yaml | +2 | −2 | Go to diff View file |
M | src/scripts/tlp-doc/src/editors.js | +7 | −7 | Go to diff View file |
R | src/www/tlp-doc/resources/forms/link-selector/doc.html | Go to diff View file | ||
R | src/www/tlp-doc/resources/forms/link-selector/example.html | Go to diff View file | ||
A | src/www/tlp-doc/resources/forms/lazybox/manifest.json | +3 | −0 | Go to diff View file |
D | src/www/tlp-doc/resources/forms/link-selector/manifest.json | +0 | −3 | Go to diff View file |
M | src/www/tlp-doc/resources/forms/manifest.json | +1 | −1 | Go to diff View file |