-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Fix style #8475
Fix style #8475
Conversation
7dd8b3e
to
d6437de
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PR Summary
Improved the visual design and layout of workflow action forms, focusing on better organization and readability of nested fields.
- Added
noMargin
prop toHorizontalSeparator
in/packages/twenty-front/src/modules/auth/sign-in-up/components/HorizontalSeparator.tsx
for flexible spacing control - Enhanced nested field containers in
/packages/twenty-front/src/modules/workflow/components/WorkflowEditActionFormServerlessFunction.tsx
with background, borders, and proper spacing - Increased label font size from 'xs' to 'md' in
/packages/twenty-front/src/modules/workflow/search-variables/components/VariableTagInput.tsx
for better readability - Added visual separation between root-level fields using
HorizontalSeparator
for clearer form structure
3 file(s) reviewed, 2 comment(s)
Edit PR Review Bot Settings | Greptile
width: 100%; | ||
`; | ||
|
||
const StyledSeparatorContainer = styled.div` | ||
const StyledSeparatorContainer = styled.div<{ noMargin: boolean }>` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
style: Type definition should include all props from HorizontalSeparatorProps since visible and text could be needed for styling
@@ -13,6 +12,7 @@ import { useDebouncedCallback } from 'use-debounce'; | |||
import { getDefaultFunctionInputFromInputSchema } from '@/workflow/utils/getDefaultFunctionInputFromInputSchema'; | |||
import { FunctionInput } from '@/workflow/types/FunctionInput'; | |||
import { mergeDefaultFunctionInputAndFunctionInput } from '@/workflow/utils/mergeDefaultFunctionInputAndFunctionInput'; | |||
import { HorizontalSeparator } from 'packages/twenty-front/src/modules/auth/sign-in-up/components/HorizontalSeparator'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
style: Import path should use relative path '@/auth/sign-in-up/components/HorizontalSeparator' instead of full path
): ReactNode | undefined => { | ||
isRoot = true, | ||
): ReactNode[] => { | ||
const displaySeparator = (functionInput: FunctionInput) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
could go outside the component maybe?
Before
After