ic-ui-kit icon indicating copy to clipboard operation
ic-ui-kit copied to clipboard

Allow data table cells with "date" type to be a link

Open GCHQ-Developer-847 opened this issue 5 months ago • 3 comments

Summary

It is not possible to add a link to cell in a data table which has type "date" so it would be good to allow this.

💬 Description

As you can see from this StackBlitz, adding a link to a "date" type cell just results in "Invalid date" to be displayed.

It is possible to add links to the other cell types (string, number and address) but not the date type, so it needs to be possible to add it to cells with this type as well.

💰 Use value

This would make the allowed behaviour consistent with other cell types.

One possible use case for this is that it could work as a kind of filter e.g. it would take the user to a page displaying a data table with only the rows that have the same date.

GCHQ-Developer-847 avatar Jul 28 '25 10:07 GCHQ-Developer-847

The data table Figma file has already been adjusted to account for this, ready for dev

mi6-577 avatar Jul 28 '25 12:07 mi6-577

NB Should be done at same time as #3828

mi6-577 avatar Sep 15 '25 07:09 mi6-577

Moved this ticket to the "no status" column as it needs a milestone and priority

GCHQ-Developer-847 avatar Oct 27 '25 09:10 GCHQ-Developer-847