Skip to content

Conversation

@mournfulCoroner
Copy link
Contributor

No description provided.

@mournfulCoroner mournfulCoroner force-pushed the CHARTS-11961-base-operations-with-global-selectors branch from fee0809 to b820f31 Compare October 23, 2025 15:53
@github-actions
Copy link

github-actions bot commented Oct 23, 2025

E2E Tests

Playwright test results

passed  187 passed
flaky  7 flaky
skipped  2 skipped

Details

stats  196 tests across 108 suites
duration  3 minutes, 2 seconds
commit  76cdb40

Flaky tests

opensource › opensource-suites/connections/postgres.test.ts › Postgres connector interactions › Client validation errors should be displayed after creation attempt
opensource › opensource-suites/dash/revisions/revisionsListWithCreationDashboards.test.ts › Dashboards - Versioning › Creating a dashboard, editing, saving as a draft, making the draft version relevant
opensource › opensource-suites/ql/connections/selectSQLConnection.test.ts › SQL connection selection › The connection is made automatically if the SQL chart was created from the connection page
opensource › opensource-suites/wizard/filters/filters-with-dialog-color.test.ts › Wizard filters › Two or more values of the Date field from the dashboard filter section should use IN operation by default
opensource › opensource-suites/wizard/visualizations/bar-y/data-labels.test.ts › Wizard › Bar-y chart › Datetime dataLabels @screenshot
opensource › opensource-suites/wizard/visualizations/flat-table/linear-indicator.test.ts › Wizard › Flat table › Linear indicator with column background color @screenshot
opensource › opensource-suites/wizard/visualizations/pivot-table/pinned-columns.test.ts › Wizard › Pivot table › Pinned columns with subtotals @screenshot

Skipped tests

opensource › opensource-suites/dash/revisions/revisionsList.test.ts › Dashboards - Versioning › Dashboard with a long list of revisions, checking the upload and the updated list of revisions
opensource › opensource-suites/dash/selectors/autoupdateRelatedSelectors.test.ts › Dashboards - Autoupdate options of group selectors › Manual selectors with aliases don't affect each other before applying when auto-update is disabled


🧐 Links with traces:

👉 Link with detailed report: report

🐳 Link with docker compose logs: logs

Last updated: 2025-11-14 14:31:16 MSK

@github-actions
Copy link

github-actions bot commented Oct 23, 2025

E2E Tests No Auth

Playwright test results

passed  192 passed
flaky  2 flaky
skipped  2 skipped

Details

stats  196 tests across 108 suites
duration  3 minutes, 18 seconds
commit  76cdb40

Flaky tests

opensource › opensource-suites/wizard/visualizations/flat-table/sorting.test.ts › Wizard › Flat table › Sorting dates with null values
opensource › opensource-suites/wizard/visualizations/pivot-table/virtualization.test.ts › Wizard › Pivot table › The correct placement of the totals row @screenshot

Skipped tests

opensource › opensource-suites/dash/revisions/revisionsList.test.ts › Dashboards - Versioning › Dashboard with a long list of revisions, checking the upload and the updated list of revisions
opensource › opensource-suites/dash/selectors/autoupdateRelatedSelectors.test.ts › Dashboards - Autoupdate options of group selectors › Manual selectors with aliases don't affect each other before applying when auto-update is disabled


🧐 Links with traces:

👉 Link with detailed report: report

🐳 Link with docker compose logs: logs

Last updated: 2025-11-14 14:31:41 MSK

@github-actions
Copy link

github-actions bot commented Nov 11, 2025

📦 Statoscope quick diff with main-branch:

⏱ Build time: -2.5 sec (-4.46%)

⚖️ Initial size: 3.75 kb (0.09%)

🕵️ Validation errors: 0

Full Statoscope report could be found here ↗️

@github-actions
Copy link

E2E Tests Farm

Playwright test results

passed  418 passed
flaky  7 flaky
skipped  1 skipped

Details

stats  426 tests across 171 suites
duration  3 minutes, 56 seconds
commit  4afebe7

Flaky tests

basic › suites/charts/export/forbiddenExport.test.ts › Chart export availability › Wizard with forbidden export › Export menu item is disabled if export is forbidden on connection
basic › suites/charts/export/forbiddenExport.test.ts › Chart export availability › Ql - Export menu item is disabled if export is forbidden on connection
basic › suites/dataset/parameters/parameterDialogValidation.test.ts › Datasets - Parameter dialog validation › Required fields validation
basic › suites/dataset/parameters/parameterDialogValidation.test.ts › Datasets - Parameter dialog validation › Parameter name validation
basic › suites/dataset/parameters/parameterDialogValidation.test.ts › Datasets - Parameter dialog validation › Parameter default_value validation [number]
basic › suites/wizard/colors/coloredByMeasureNames.test.ts › Wizard - section "Colors" › Multidatasets. Fields with the same name should be automatically colored in different colors
basic › suites/wizard/metric/metricCustomization.test.ts › Wizard - metric chart. Settings › Size change

Skipped tests

basic › suites/wizard/combined-chart/layers-and-multidatasets.test.ts › Multi-faceted charts with layers › The data on the X-axis must be formed correctly from two datasets


👉 Link with detailed report: report

Last updated: 2025-11-11 22:04:38 MSK

import type {TABS_SCOPE_ALL} from '../constants/dash';
import type {Operations} from '../modules';

export type TabsScope = typeof TABS_SCOPE_ALL | string | string[] | undefined;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's split it to two props. One is for type, second is for ids

const hasMultipleSelectors = group.length > 1;

switch (sourceType) {
case DashTabItemControlSourceType.External:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A u sure to delete this?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

const handleSelectedTabsChange = React.useCallback(
(value: string[]) => {
// Always ensure current tab is included and can't be removed
// TODO: change logic
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it actual?

return TABS_SCOPE_ALL;
case TABS_SCOPE_SELECT_VALUE.CURRENT_TAB:
return currentTabId;
case TABS_SCOPE_SELECT_VALUE.AS_GROUP:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can be joined with default

return groupTabsScope;
} else if (Array.isArray(selectorTabsScope)) {
return selectorTabsScope;
} else {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

redundant else

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants