Skip to content

Commit

Permalink
Make dates consistent
Browse files Browse the repository at this point in the history
  • Loading branch information
artem-dudarev committed May 30, 2024
1 parent 74ee045 commit 50e64e8
Show file tree
Hide file tree
Showing 7 changed files with 92 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,9 @@
"USER_ID": "User ID",
"USER_NAME": "Login",
"IS_READ": "Read",
"IS_HIDDEN": "Hidden"
"IS_HIDDEN": "Hidden",
"CREATED_DATE": "Created date",
"MODIFIED_DATE": "Modified date"
}
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,13 +69,27 @@ export const grid: DynamicGridSchema = {
title: "PUSH_MESSAGES.PAGES.LIST.TABLE.HEADER.SHORT_MESSAGE",
type: "html",
},
{
id: "createdDate",
title: "PUSH_MESSAGES.PAGES.LIST.TABLE.HEADER.CREATED_DATE",
type: "date-time",
sortable: true,
visible: false,
},
{
id: "modifiedDate",
title: "PUSH_MESSAGES.PAGES.LIST.TABLE.HEADER.MODIFIED_DATE",
sortable: true,
type: "date-time",
sortable: true,
alwaysVisible: true,
},
{
id: "startDate",
title: "PUSH_MESSAGES.PAGES.LIST.TABLE.HEADER.START_DATE",
type: "date-time",
sortable: true,
visible: false,
},
{
id: "recipientsTotalCount",
title: "PUSH_MESSAGES.PAGES.LIST.TABLE.HEADER.RECIPIENTS_TOTAL_COUNT",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,24 @@ export const grid: DynamicGridSchema = {
{
id: "createdDate",
title: "PUSH_MESSAGES.PAGES.LIST.TABLE.HEADER.CREATED_DATE",
sortable: true,
type: "date-time",
sortable: true,
alwaysVisible: true,
},
{
id: "modifiedDate",
title: "PUSH_MESSAGES.PAGES.LIST.TABLE.HEADER.MODIFIED_DATE",
type: "date-time",
sortable: true,
visible: false,
},
{
id: "startDate",
title: "PUSH_MESSAGES.PAGES.LIST.TABLE.HEADER.START_DATE",
type: "date-time",
sortable: true,
visible: false,
},
{
id: "recipientsTotalCount",
title: "PUSH_MESSAGES.PAGES.LIST.TABLE.HEADER.RECIPIENTS_TOTAL_COUNT",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,20 @@ export const grid: DynamicGridSchema = {
width: "6em",
visible: false,
},
{
id: "createdDate",
title: "PUSH_MESSAGES.PAGES.RECIPIENTS.TABLE.HEADER.CREATED_DATE",
type: "date-time",
sortable: true,
visible: false,
},
{
id: "modifiedDate",
title: "PUSH_MESSAGES.PAGES.RECIPIENTS.TABLE.HEADER.MODIFIED_DATE",
type: "date-time",
sortable: true,
visible: false,
},
],
},
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,11 +69,25 @@ export const grid: DynamicGridSchema = {
title: "PUSH_MESSAGES.PAGES.LIST.TABLE.HEADER.SHORT_MESSAGE",
type: "html",
},
{
id: "createdDate",
title: "PUSH_MESSAGES.PAGES.LIST.TABLE.HEADER.CREATED_DATE",
type: "date-time",
sortable: true,
visible: false,
},
{
id: "modifiedDate",
title: "PUSH_MESSAGES.PAGES.LIST.TABLE.HEADER.MODIFIED_DATE",
type: "date-time",
sortable: true,
visible: false,
},
{
id: "startDate",
title: "PUSH_MESSAGES.PAGES.LIST.TABLE.HEADER.START_DATE",
sortable: true,
type: "date-time",
sortable: true,
alwaysVisible: true,
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,24 @@ export const grid: DynamicGridSchema = {
{
id: "createdDate",
title: "PUSH_MESSAGES.PAGES.LIST.TABLE.HEADER.CREATED_DATE",
sortable: true,
type: "date-time",
sortable: true,
alwaysVisible: true,
},
{
id: "modifiedDate",
title: "PUSH_MESSAGES.PAGES.LIST.TABLE.HEADER.MODIFIED_DATE",
type: "date-time",
sortable: true,
visible: false,
},
{
id: "startDate",
title: "PUSH_MESSAGES.PAGES.LIST.TABLE.HEADER.START_DATE",
type: "date-time",
sortable: true,
visible: false,
},
{
id: "recipientsTotalCount",
title: "PUSH_MESSAGES.PAGES.LIST.TABLE.HEADER.RECIPIENTS_TOTAL_COUNT",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,24 @@ export const grid: DynamicGridSchema = {
{
id: "createdDate",
title: "PUSH_MESSAGES.PAGES.LIST.TABLE.HEADER.CREATED_DATE",
sortable: true,
type: "date-time",
sortable: true,
alwaysVisible: true,
},
{
id: "modifiedDate",
title: "PUSH_MESSAGES.PAGES.LIST.TABLE.HEADER.MODIFIED_DATE",
type: "date-time",
sortable: true,
visible: false,
},
{
id: "startDate",
title: "PUSH_MESSAGES.PAGES.LIST.TABLE.HEADER.START_DATE",
type: "date-time",
sortable: true,
visible: false,
},
{
id: "recipientsTotalCount",
title: "PUSH_MESSAGES.PAGES.LIST.TABLE.HEADER.RECIPIENTS_TOTAL_COUNT",
Expand Down

0 comments on commit 50e64e8

Please sign in to comment.