mirror of
https://github.com/Kingsrook/qqq.git
synced 2025-07-18 05:01:07 +00:00
Set url field size XLARGE; set record label field as id
This commit is contained in:
@ -103,6 +103,7 @@ public class OutboundAPILogMetaDataProvider
|
|||||||
.withIcon(new QIcon().withName("data_object"))
|
.withIcon(new QIcon().withName("data_object"))
|
||||||
.withBackendName(backendName)
|
.withBackendName(backendName)
|
||||||
.withRecordLabelFormat("%s")
|
.withRecordLabelFormat("%s")
|
||||||
|
.withRecordLabelFields("id")
|
||||||
.withPrimaryKeyField("id")
|
.withPrimaryKeyField("id")
|
||||||
.withFieldsFromEntity(OutboundAPILog.class)
|
.withFieldsFromEntity(OutboundAPILog.class)
|
||||||
.withSection(new QFieldSection("identity", new QIcon().withName("badge"), Tier.T1, List.of("id")))
|
.withSection(new QFieldSection("identity", new QIcon().withName("badge"), Tier.T1, List.of("id")))
|
||||||
@ -142,6 +143,7 @@ public class OutboundAPILogMetaDataProvider
|
|||||||
// limit url to 250... //
|
// limit url to 250... //
|
||||||
/////////////////////////
|
/////////////////////////
|
||||||
tableMetaData.getField("url").withMaxLength(250).withBehavior(ValueTooLongBehavior.TRUNCATE_ELLIPSIS);
|
tableMetaData.getField("url").withMaxLength(250).withBehavior(ValueTooLongBehavior.TRUNCATE_ELLIPSIS);
|
||||||
|
tableMetaData.getField("url").withFieldAdornment(AdornmentType.Size.XLARGE.toAdornment());
|
||||||
|
|
||||||
if(backendDetailEnricher != null)
|
if(backendDetailEnricher != null)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user