diff --git a/CHANGELOG.md b/CHANGELOG.md index 97f704f022c..974d09cb061 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -30,9 +30,10 @@ For upgrade instructions, please check the [migration guide](MIGRATIONS.md). - Added the possibility for admins to add experience domains while creating new tasks. [#4119](https://github.com/scalableminds/webknossos/pull/4119) ### Added -- Added the possbility to enforce a certain magnification range for tasks (can be configured in the corresponding task type). [#4101](https://github.com/scalableminds/webknossos/pull/4101) +- Added the possibility to enforce a certain magnification range for tasks (can be configured in the corresponding task type). [#4101](https://github.com/scalableminds/webknossos/pull/4101) - Added the possibility for admins to add experience domains while creating new tasks. [#4119](https://github.com/scalableminds/webknossos/pull/4119) - Added a histogram to the dataset settings for each layer. It simplifies adjusting the brightness and contrast of a layer and replaces the brightness and contrast slider. [#4105](https://github.com/scalableminds/webknossos/pull/4105) +- The dataset and the explorative annotations table in the dashboard are now horizontally scrollable if the window is not wide enough. Additionally, clicking on the name of a dataset in the dataset table opens the dataset in view mode. [#4136](https://github.com/scalableminds/webknossos/pull/4136) - Added an two additional buttons to the dropdown menu of the tree hierarchy view. On Click, one collapses the other expands all subgroups. [#4143](https://github.com/scalableminds/webknossos/pull/4143) ### Changed diff --git a/frontend/javascripts/dashboard/advanced_dataset/dataset_table.js b/frontend/javascripts/dashboard/advanced_dataset/dataset_table.js index 907d2baedf8..0e4ae0bfc0a 100644 --- a/frontend/javascripts/dashboard/advanced_dataset/dataset_table.js +++ b/frontend/javascripts/dashboard/advanced_dataset/dataset_table.js @@ -3,6 +3,7 @@ import { Table, Icon, Tag } from "antd"; import * as React from "react"; import _ from "lodash"; +import { Link } from "react-router-dom"; import dice from "dice-coefficient"; import type { APITeam, APIMaybeUnimportedDataset } from "admin/api_flow_types"; @@ -145,6 +146,7 @@ class DatasetTable extends React.PureComponent { } onChange={this.handleChange} locale={{ emptyText: this.renderEmptyText() }} + className="large-table" > { sortOrder={sortedInfo.columnKey === "name" && sortedInfo.order} render={(name: string, dataset: APIMaybeUnimportedDataset) => (
- {dataset.name} + + {dataset.name} +
{dataset.dataStore.name}
diff --git a/frontend/javascripts/dashboard/explorative_annotations_view.js b/frontend/javascripts/dashboard/explorative_annotations_view.js index c8340c38d7c..4a4dc9a827a 100644 --- a/frontend/javascripts/dashboard/explorative_annotations_view.js +++ b/frontend/javascripts/dashboard/explorative_annotations_view.js @@ -401,6 +401,7 @@ class ExplorativeAnnotationsView extends React.PureComponent { pagination={{ defaultPageSize: 50, }} + className="large-table" > .ant-table-content > .ant-table-body > table > .ant-table-tbody > tr > td { padding: 1px 8px; } +.large-table .ant-table-body { + overflow: auto; + word-break: break-word; +} + +.large-table table > thead > tr > th:not(.ant-table-expand-icon-th) { + min-width: 200px; +} label.ant-checkbox-wrapper { line-height: 1.5;