-
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
Add no value column on Kanban #6252
Changes from 6 commits
f55d348
9943a5b
c1338b2
e55e5cf
1dac1f6
8ed9795
1d751b5
73f8a79
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -45,6 +45,15 @@ export const RecordIndexBoardDataLoader = ({ | |
columnId={columnIds[index]} | ||
/> | ||
))} | ||
{recordIndexKanbanFieldMetadataItem?.isNullable && ( | ||
<RecordIndexBoardColumnLoaderEffect | ||
objectNameSingular={objectNameSingular} | ||
boardFieldMetadataId={recordIndexKanbanFieldMetadataId} | ||
boardFieldSelectValue={null} | ||
recordBoardId={recordBoardId} | ||
columnId={'no-value'} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Style: Consider using a constant for 'no-value' to avoid magic strings. |
||
/> | ||
)} | ||
</> | ||
); | ||
}; |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,6 +16,9 @@ export const mapViewFieldsToColumnDefinitions = ({ | |
}): ColumnDefinition<FieldMetadata>[] => { | ||
let labelIdentifierFieldMetadataId = ''; | ||
|
||
console.log(columnDefinitions); | ||
console.log(viewFields); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Style: Remove console.log statements before merging to main to avoid cluttering the console output. |
||
|
||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Style: Remove console.log statements before merging to main to avoid cluttering the console output. |
||
const columnDefinitionsByFieldMetadataId = mapArrayToObject( | ||
columnDefinitions, | ||
({ fieldMetadataId }) => fieldMetadataId, | ||
|
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.
this is because of the Tag component not maching figma. we could have the transparent as a color variant