filters updates

This commit is contained in:
mariapia.lorusso
2025-06-10 16:14:24 +02:00
parent f1f4cf12dd
commit e396f6d6fc
2 changed files with 35 additions and 11 deletions

View File

@@ -161,6 +161,6 @@ export const DashboardScenarioStore = defineStore('dashboard_scenario_store', ()
totalTokens, totalTokens,
loadExecutionsStats, loadExecutionsStats,
loadChatStats, loadChatStats,
chatStats
} }
}) })

View File

@@ -227,7 +227,7 @@
</Column> </Column>
<Column <Column
field="project" field="execSharedMap.user_input.selected_project"
header="Project" header="Project"
sortable sortable
:exportFunction="(row) => { :exportFunction="(row) => {
@@ -244,7 +244,7 @@
</Column> </Column>
<Column <Column
field="application" field="execSharedMap.user_input.selected_application"
header="App" header="App"
sortable sortable
:exportFunction="(row) => { :exportFunction="(row) => {
@@ -261,7 +261,7 @@
</Column> </Column>
<Column <Column
field="scenarioName" field="scenario.name"
header="Scenario Name" header="Scenario Name"
sortable sortable
:exportFunction="(row) => { :exportFunction="(row) => {
@@ -278,7 +278,7 @@
</Column> </Column>
<Column <Column
field="scenarioType" field="scenario.category"
header="Scenario Type" header="Scenario Type"
sortable sortable
:exportFunction="(row) => { :exportFunction="(row) => {
@@ -301,7 +301,7 @@
</Column> </Column>
<Column <Column
field="model" field="scenario.aiModel.model"
header="Model" header="Model"
sortable sortable
:exportFunction="(row) => { :exportFunction="(row) => {
@@ -453,7 +453,7 @@ const chats = ref([])
const currentPageExecutions = ref(1) const currentPageExecutions = ref(1)
const currentPageChats = ref(1) const currentPageChats = ref(1)
const rowsPerPage = ref(30) const rowsPerPage = ref(100)
const executionTable = ref(null) const executionTable = ref(null)
const chatTable = ref(null) const chatTable = ref(null)
@@ -1025,7 +1025,8 @@ function filterProjectsByAccount(account) {
.filter-section { .filter-section {
display: grid; display: grid;
grid-template-columns: 1fr 1fr 1fr; grid-template-columns: 1fr 1fr ;
grid-template-rows: auto auto auto;
gap: 1rem; gap: 1rem;
margin-bottom: 1.5rem; margin-bottom: 1.5rem;
border-bottom: 1px solid #e5e7eb; border-bottom: 1px solid #e5e7eb;
@@ -1057,17 +1058,40 @@ function filterProjectsByAccount(account) {
display: none !important; display: none !important;
} }
.filter-item { .filter-item {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
position: relative; position: relative;
}
/* Posizionamento specifico per ogni elemento */
.filter-item:nth-child(1) {
grid-column: 1;
grid-row: 1;
}
.filter-item:nth-child(2) {
grid-column: 2;
grid-row: 1;
}
.filter-item:nth-child(3) {
grid-column: 1;
grid-row: 2;
}
.filter-item:nth-child(4) {
grid-column: 2;
grid-row: 2;
} }
.apply-button-container { .apply-button-container {
grid-column: 3; grid-column: 1 / -1;
grid-row: 3;
justify-self: end; justify-self: end;
align-self: end; align-self: end;
margin-top: 0.5rem;
} }