diff --git a/changelog.md b/changelog.md index 1d4a970a4..20cc6eee0 100644 --- a/changelog.md +++ b/changelog.md @@ -89,6 +89,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 * Display buttons for each OIDC provider and perform user authentication if the global configuration file is declared. * Draw page: * Add variables panel in left drawer. + * Add panel to display all errors. + * Select component in error and open its details from the error's console. + * Select file in error and open text editor and selected file open. * Rename component id. * Text editor page: * Add panel to display all errors. diff --git a/src/components/table/ErrorsTable.vue b/src/components/table/ErrorsTable.vue index f02d16611..f12b71a1c 100644 --- a/src/components/table/ErrorsTable.vue +++ b/src/components/table/ErrorsTable.vue @@ -6,12 +6,34 @@ :columns="columns" row-key="message" data-cy="errors-table" - /> + > + + + + + diff --git a/src/i18n/en-US/index.js b/src/i18n/en-US/index.js index 37a70a535..4cc196073 100644 --- a/src/i18n/en-US/index.js +++ b/src/i18n/en-US/index.js @@ -495,6 +495,7 @@ export default { errorsTable: { message: 'Message', line: 'Start/End Line', + file: 'File', column: 'Start/End Column', severity: 'Severity', component: 'Component', diff --git a/src/layouts/ModelizerDrawLayout.vue b/src/layouts/ModelizerDrawLayout.vue index 80869d7b7..ab93d50af 100644 --- a/src/layouts/ModelizerDrawLayout.vue +++ b/src/layouts/ModelizerDrawLayout.vue @@ -118,7 +118,7 @@ async function initView() { ).then((logs) => { LogEvent.FileLogEvent.next(logs.map((log) => ({ ...log, - componentId: log.componentId ? data.plugin.data.getComponentById(log.componentId).externalId : '', + componentName: log.componentId ? data.plugin.data.getComponentById(log.componentId).externalId : '', }))); data.plugin.draw(); }), diff --git a/src/layouts/ModelizerTextLayout.vue b/src/layouts/ModelizerTextLayout.vue index dafbe4f2e..e430d5f86 100644 --- a/src/layouts/ModelizerTextLayout.vue +++ b/src/layouts/ModelizerTextLayout.vue @@ -9,7 +9,6 @@ v-model="splitter" :limits="[50, 100]" separator-class="separator-class" - :class="isVisible ? '' : 'splitter-invisible'" :style="{ height: `calc(100vh - ${reservedHeight + 70}px)` }" >