Skip to content

Conversation

@Taelar
Copy link
Contributor

@Taelar Taelar commented Dec 23, 2025

ref: #TAPC-5326

Description

Ticket Reference: #...

Additional Information

@Taelar Taelar force-pushed the feat/TAPC-5326-add-cluster-name-step branch 2 times, most recently from 97dc0c3 to 1c64569 Compare December 23, 2025 16:19
@Taelar Taelar marked this pull request as ready for review December 23, 2025 16:21
@Taelar Taelar requested a review from a team as a code owner December 23, 2025 16:21
@Taelar Taelar force-pushed the feat/TAPC-5326-add-cluster-name-step branch from 86f29f2 to 4bbc997 Compare December 29, 2025 10:50
@Taelar Taelar marked this pull request as draft December 29, 2025 10:51
@Taelar Taelar force-pushed the feat/TAPC-5326-add-cluster-name-step branch from 4bbc997 to e9dfeae Compare December 29, 2025 11:00
@Taelar Taelar marked this pull request as ready for review December 29, 2025 11:01
Copy link
Contributor

@lolottetheclash lolottetheclash left a comment

Choose a reason for hiding this comment

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

This generic section is well thought out with the Path here:

type TNameSectionProps<FormSchema extends object> = {
  fieldName: Path<FormSchema>;
  fieldHelper: string;
};

Well done!

@Taelar Taelar force-pushed the feat/TAPC-5326-add-cluster-name-step branch from e9dfeae to c3b02d7 Compare December 29, 2025 13:30
@Taelar Taelar force-pushed the feat/TAPC-5326-add-cluster-name-step branch 3 times, most recently from d062ce1 to 3140245 Compare December 30, 2025 09:26
<FormFieldHelper className="flex flex-col">
{helperEntries.map((entry, index) => (
<Text preset="caption" key={index}>
{entry}
Copy link
Contributor

Choose a reason for hiding this comment

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

great

</div>
<FormProvider {...form}>
<div className="flex flex-col gap-6 md:flex-row">
<section className="flex-[2]">
Copy link
Contributor

Choose a reason for hiding this comment

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

and md:basis-2/3 instead

<ClusterNameSection />
<Divider spacing={dividerSpacing} />
</section>
<aside className="flex-1">
Copy link
Contributor

Choose a reason for hiding this comment

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

md:basis-1/3 ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The recommended way is actually to use the flex property rather than just flex-basis (especially cause it also includes a flex-grow property).
Plus I think we should not change our codes out of fear of custom values when Tailwind intentionally lets us decide which value we should use (https://tailwindcss.com/docs/flex) 😅


export type TCartProps = {
items: TCartItem[];
confirmDisabled: boolean;
Copy link
Contributor

Choose a reason for hiding this comment

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

Question: confirmDisabled ? I don't get the name of this props. it suggest an action since confirm is used as an imperative verb. Since it's used to disable a button why not just "isActionDisabled" or something like that ?

helperEntries: Array<string>;
};

export const NameSection = <FormSchema extends object>({
Copy link
Contributor

Choose a reason for hiding this comment

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

from object to FieldValues

import {  FieldValues, Path, useFormContext } from 'react-hook-form';
FormSchema extends FieldValues

@ppprevost ppprevost force-pushed the feat/TAPC-2217-mks-redesign-creation-page branch from 1f4ba46 to a1787eb Compare January 7, 2026 15:44
@github-actions github-actions bot added the has conflicts Has conflicts to resolve before merging label Jan 7, 2026
@Taelar Taelar force-pushed the feat/TAPC-2217-mks-redesign-creation-page branch 2 times, most recently from 723d44c to 6042891 Compare January 7, 2026 16:18
@Taelar Taelar force-pushed the feat/TAPC-5326-add-cluster-name-step branch from 3140245 to b597434 Compare January 7, 2026 16:19
@github-actions github-actions bot added translation required and removed has conflicts Has conflicts to resolve before merging labels Jan 7, 2026
ref: #TAPC-5326

Signed-off-by: Thomas Esseul <[email protected]>
@Taelar Taelar force-pushed the feat/TAPC-5326-add-cluster-name-step branch from b597434 to 170abbe Compare January 7, 2026 16:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants