Skip to content

Conversation

@HerrTopi
Copy link
Contributor

@HerrTopi HerrTopi commented Feb 4, 2026

No description provided.

@HerrTopi HerrTopi changed the base branch from master to v12 February 4, 2026 08:49
Copy link
Contributor

@ToMESSKa ToMESSKa left a comment

Choose a reason for hiding this comment

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

How would the folder structure look in like a component like Select? It's a bit different from Metric in a way it has additonal layer of folders e.g.:

src/
├── Metric/ 
└── MetricGroup/ 
src/
└── Select/ 
    ├── Group/
    ├── Option/
    └── index.tsx

Like this:

src/
├── Select/
│   ├── 11_5/
│   └── 11_6/
├── Group/
│   ├── 11_5/
│   └── 11_6/
├── Option/
│   ├── 11_5/
│   └── 11_6/
└── exports/
    ├── 11_5.ts 
    └── 11_6.ts

Or like this?

src/
├── Select/
│   ├── 11_5/
│   │   ├── Group/
│   │   └── Option/
│   └── 11_6/
│       ├── Group/
│       └── Option/
└── exports/
    ├── 11_5.ts  
    └── 11_6.ts

Or something else?

@HerrTopi
Copy link
Contributor Author

HerrTopi commented Feb 4, 2026

How would the folder structure look in like a component like Select? It's a bit different from Metric in a way it has additonal layer of folders e.g.:

src/
├── Metric/ 
└── MetricGroup/ 
src/
└── Select/ 
    ├── Group/
    ├── Option/
    └── index.tsx

Like this:

src/
├── Select/
│   ├── 11_5/
│   └── 11_6/
├── Group/
│   ├── 11_5/
│   └── 11_6/
├── Option/
│   ├── 11_5/
│   └── 11_6/
└── exports/
    ├── 11_5.ts 
    └── 11_6.ts

Or like this?

src/
├── Select/
│   ├── 11_5/
│   │   ├── Group/
│   │   └── Option/
│   └── 11_6/
│       ├── Group/
│       └── Option/
└── exports/
    ├── 11_5.ts  
    └── 11_6.ts

Or something else?

Very good catch! I think it depends. If Group and Option is a standalone component, then the first version, if not (e.g.: it's only a subcomponent of Select), the secont version.

@HerrTopi HerrTopi self-assigned this Feb 10, 2026
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