@@ -9,7 +9,11 @@ import { FilterDefType, type ResourceField } from '@components/common/utils/type
99import type { V1beta1Plan } from '@forklift-ui/types' ;
1010import { t } from '@utils/i18n' ;
1111
12- import { planResourceApiJsonPaths , PlanTableResourceId } from './constants' ;
12+ import {
13+ PLAN_FIELD_WIDTH_PERCENTAGE ,
14+ planResourceApiJsonPaths ,
15+ PlanTableResourceId ,
16+ } from './constants' ;
1317
1418const planPhases : { id : PlanStatuses ; label : string } [ ] = [
1519 { id : PlanStatuses . Archived , label : t ( 'Archived' ) } ,
@@ -40,7 +44,7 @@ export const planFields: ResourceField[] = [
4044 label : t ( 'Name' ) ,
4145 resourceFieldId : PlanTableResourceId . Name ,
4246 sortable : true ,
43- width : 15 ,
47+ width : PLAN_FIELD_WIDTH_PERCENTAGE ,
4448 } ,
4549 {
4650 filter : {
@@ -53,7 +57,7 @@ export const planFields: ResourceField[] = [
5357 label : t ( 'Project' ) ,
5458 resourceFieldId : PlanTableResourceId . Namespace ,
5559 sortable : true ,
56- width : 15 ,
60+ width : PLAN_FIELD_WIDTH_PERCENTAGE ,
5761 } ,
5862 {
5963 filter : {
@@ -65,7 +69,7 @@ export const planFields: ResourceField[] = [
6569 label : t ( 'Source provider' ) ,
6670 resourceFieldId : PlanTableResourceId . Source ,
6771 sortable : true ,
68- width : 15 ,
72+ width : PLAN_FIELD_WIDTH_PERCENTAGE ,
6973 } ,
7074 {
7175 filter : {
@@ -77,7 +81,7 @@ export const planFields: ResourceField[] = [
7781 label : t ( 'Target project' ) ,
7882 resourceFieldId : PlanTableResourceId . Destination ,
7983 sortable : true ,
80- width : 15 ,
84+ width : PLAN_FIELD_WIDTH_PERCENTAGE ,
8185 } ,
8286 {
8387 isVisible : true ,
0 commit comments