Skip to content

Conversation

@artemmufazalov
Copy link
Member

@artemmufazalov artemmufazalov commented Sep 19, 2024

Closes: #1319

Stand: https://nda.ya.ru/t/0fhk33st78MARt

Screenshot 2024-09-19 at 18 36 49

CI Results

Test Status: ⚠️ FLAKY

📊 Full Report

Total Passed Failed Flaky Skipped
124 114 0 10 0

Bundle Size: 🔺

Current: 78.99 MB | Main: 78.98 MB
Diff: +0.01 MB (0.02%)

⚠️ Bundle size increased. Please review.

ℹ️ CI Information
  • Test recordings for failed tests are available in the full report.
  • Bundle size is measured for the entire 'dist' directory.
  • 📊 indicates links to detailed reports.
  • 🔺 indicates increase, 🔽 decrease, and ✅ no change in bundle size.

import type {GetNodesColumnsProps} from './types';

export function useNodesColumns(params: GetNodesColumnsProps) {
return React.useMemo(() => {
Copy link
Contributor

Choose a reason for hiding this comment

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

It seems this wrapper is redundant. We do may use getNodesColumns(params) straightforward, don't we?

Copy link
Member Author

Choose a reason for hiding this comment

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

Removed useNodesColumns hook, but left useMemo - its result is used in dependencies in hooks inside useSelectedColumn

@artemmufazalov artemmufazalov merged commit c9ec3b7 into main Sep 20, 2024
@artemmufazalov artemmufazalov deleted the 1319-nodes-add-columns-setup branch September 20, 2024 13:35
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.

Make list of columns adjustable for a table on the nodes tab

3 participants