Skip to content

feat(Nodes): add columns setup #1320

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Sep 20, 2024
Merged

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
6 checks passed
@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
2 participants