stable

Clone or download

Read-only

feat(new-art-link-field): Display links table

part of: story #24968 [modal] have the list of linked artifacts Note: For the moment, links with closed statuses will have a green badge and are not grayed. This is expected as we do not have the information if the artifact is open or closed yet. It will be done in a next commit. How to test: - In creation mode --> Still no table - In edition mode --> Skeleton when artifacts are being loaded --> The table is displayed when there are links. It is not displayed otherwise (IMO an empty state seems unrelevant here, but we'll ask UXD later) Change-Id: Ia77fb9f7f63a3acd750b99d08f3f4c7809a5b61d

Modified Files

Name
M plugins/tracker/scripts/lib/artifact-modal/src/fields/link-field-v2/LinkField.test.ts +162 −66 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/fields/link-field-v2/LinkField.ts +110 −31 Go to diff View file
A plugins/tracker/scripts/lib/artifact-modal/src/fields/link-field-v2/link-field-v2.scss +82 −0 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/fields/link-field-v2/links-retriever.test.ts +10 −6 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/fields/link-field-v2/links-retriever.ts +16 −4 Go to diff View file
M plugins/tracker/scripts/lib/artifact-modal/src/tuleap-artifact-modal.scss +1 −0 Go to diff View file