Improve log visibility in dev mode (#21393)

Small PR to improve logging in twenty sdk dev mode

## After
<img width="1406" height="580" alt="image"
src="https://github.com/user-attachments/assets/a14edc2d-2194-420a-8b0b-b3ca35c31ccd"
/>
This commit is contained in:
martmull
2026-06-10 10:49:51 +02:00
committed by GitHub
parent fc764115ef
commit 6525af5ba4
3 changed files with 3 additions and 1 deletions
@@ -11,6 +11,7 @@ import { type FileFolder } from 'twenty-shared/types';
export type OrchestratorStateStepEvent = {
message: string;
status: 'info' | 'success' | 'error' | 'warning';
spacingBefore?: boolean;
};
export type OrchestratorStateEvent = OrchestratorStateStepEvent & {
@@ -109,6 +109,7 @@ export class StartWatchersOrchestratorStep {
this.state.addEvent({
message: `Change detected: ${sourcePath}`,
status: 'info',
spacingBefore: true,
});
if (event === 'unlink') {
@@ -16,7 +16,7 @@ export const DevUiEventItem = ({
const time = formatTime(event.timestamp);
return (
<Box>
<Box marginTop={event.spacingBefore ? 1 : 0}>
<Text dimColor>{time} </Text>
<Text color={color}>{event.message}</Text>
</Box>