Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
7218d0c
chore:BED-7297 align border radius
KillahDillah Feb 6, 2026
9897253
chore:BED-7297 border-b fix
KillahDillah Feb 7, 2026
a74b976
BED-7297 align spacing/margins, fix border on ObjectAccordion
KillahDillah Feb 18, 2026
6b207cd
BED-7297 fix overflow, add border lg/ shadow, align sizing
KillahDillah Feb 19, 2026
5503cb2
BED-7297 border fix, spacing, sizing, add shadow, remove unused classes
KillahDillah Feb 19, 2026
2274a16
BED-7297 remove unused styles, align history with cert
KillahDillah Feb 19, 2026
f8e4bd2
BED-7297 clean up, removed unused styles
KillahDillah Feb 19, 2026
0a8253f
BED-7297 finishing touches, fix size, remove unused class
KillahDillah Feb 20, 2026
f6d8234
chore:BED-7297 fix misspelling and consolidate classes
KillahDillah Feb 23, 2026
158e3be
Merge branch 'main' into BED-7297-styling-bugs
KillahDillah Feb 23, 2026
8219068
Merge branch 'main' into BED-7297-styling-bugs
KillahDillah Feb 24, 2026
56e595f
chore:BED-7297 remove rounded-lg from Card
KillahDillah Feb 24, 2026
e94c3e5
Merge branch 'main' into BED-7297-styling-bugs
KillahDillah Feb 24, 2026
8d3fe59
chore:BED-7297 history table a bit larger, with margin bottom
KillahDillah Feb 24, 2026
18485a9
chore:BED-7297 add margin bottom to allow outer shadow to display
KillahDillah Feb 24, 2026
bbb4d8c
chore:BED-7297 pfc
KillahDillah Feb 25, 2026
e5ce4a0
chore:BED-7297 missed superfluous rounded-lg
KillahDillah Feb 25, 2026
f22f7e1
chore:BED-7297 remove hard coded table size, add flexibility
KillahDillah Feb 26, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cmd/ui/src/views/Explore/ExploreSearch/ExploreSearch.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ const ExploreSearch: React.FC = () => {
'w-[600px]': activeTab === 'cypher' && showSearchWidget,
})}>
<div
className='h-10 w-full flex gap-1 rounded pointer-events-auto bg-[#f4f4f4] dark:bg-[#222222]'
className='h-10 w-full flex gap-1 rounded-lg pointer-events-auto bg-[#f4f4f4] dark:bg-[#222222]'
data-testid='explore_search-container_header'>
<Icon
tip='Toggle search widget'
Expand Down
2 changes: 1 addition & 1 deletion packages/go/chow/ingestvalidator/schema.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
Expand Down
3 changes: 2 additions & 1 deletion packages/go/openapi/doc/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -22337,7 +22337,8 @@
"Groups",
"Data Quality",
"Datapipe",
"Cypher"
"Cypher",
"OpenGraph"
]
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ const CreateUserForm: React.FC<{

if (getRolesQuery.isError || getSSOProvidersQuery.isError || getEnvironmentsQuery.isError) {
return (
<Card className='p-6 rounded shadow w-[600px] m-auto h-[800px] flex flex-col justify-center'>
<Card className='p-6 shadow w-[600px] m-auto h-[800px] flex flex-col justify-center'>
<div>Unable to load data required to create this user.</div>

<DialogActions>
Expand Down Expand Up @@ -166,7 +166,7 @@ const CreateUserFormInner: React.FC<{
<Form {...form}>
<form autoComplete='off' data-testid='create-user-dialog_form' onSubmit={form.handleSubmit(handleOnSave)}>
<div className='flex gap-x-4 justify-center'>
<Card className='p-6 rounded shadow max-w-[600px] w-full'>
<Card className='p-6 shadow max-w-[600px] w-full'>
<DialogTitle>{'Create User'}</DialogTitle>

<div className='flex flex-col mt-4 w-full' data-testid='create-user-dialog_content'>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ const EntityInfoPanel: React.FC<EntityInfoPanelProps> = ({
return (
<div
className={cn(
'flex flex-col pointer-events-none overflow-y-hidden h-full min-w-[400px] w-[400px] max-w-[400px]',
'flex flex-col pointer-events-none overflow-y-hidden h-full min-w-[400px] w-[400px] max-w-[400px] rounded-lg',
className
)}
data-testid='explore_entity-information-panel'>
Expand All @@ -65,10 +65,10 @@ const EntityInfoPanel: React.FC<EntityInfoPanelProps> = ({
label='Role-based access filtering applied'
/>
)}
<div className='bg-neutral-2 pointer-events-auto rounded'>
<div className='bg-neutral-2 pointer-events-auto rounded-lg shadow-outer-1'>
<Header name={getEntityName(selectedNode)} nodeType={selectedNode?.type} />
</div>
<div className='bg-neutral-2 mt-2 overflow-x-hidden overflow-y-auto py-1 px-4 pointer-events-auto rounded'>
<div className='bg-neutral-2 mt-2 mb-1 py-1 px-4 pointer-events-auto overflow-x-hidden overflow-y-auto rounded-lg shadow-outer-1'>
{selectedNode ? (
<EntityInfoContent
DataTable={DataTable}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ const EnvironmentSelectPanelInner: React.FC<{
}, [selectedEnvironments, areAllEnvironmentsSelected, areAllEnvironmentsIndeterminate, form]);

return (
<Card className='flex-1 p-4 rounded shadow max-w-[400px] overflow-y-hidden'>
<Card className='flex-1 p-4 shadow max-w-[400px] overflow-y-hidden'>
<DialogTitle>Environmental Targeted Access Control </DialogTitle>
<div
className='flex flex-col relative pb-2 h-full'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ const ExploreSearchCombobox: React.FC<{
marginTop: '1rem',
zIndex: 1300,
}}>
<Paper style={{ display: isOpen ? 'inherit' : 'none' }}>
<Paper style={{ display: isOpen ? 'inherit' : 'none' }} className='rounded-lg'>
<List
{...getMenuProps()}
dense
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ const Row = <T,>({ data, index, style }: ListChildComponentProps<NodeList<T>>) =
<div
style={{ ...style }}
className={cn(
'bg-neutral-light-2 dark:bg-neutral-dark-2 flex items-center pl-2 border-y border-y-neutral-light-5',
'bg-neutral-light-2 dark:bg-neutral-dark-2 flex items-center pl-2 border-b border-y-neutral-light-5',
{
'bg-neutral-light-3 dark:bg-neutral-dark-3': index % 2 !== 0,
'cursor-default pointer-events-none': typeof normalizedItem.onClick !== 'function',
Expand Down
2 changes: 1 addition & 1 deletion packages/javascript/bh-shared-ui/src/components/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ export { default as CollectorCard } from './CollectorCard';
export * from './CollectorCardList';
export { default as CollectorCardList } from './CollectorCardList';
export * from './ColumnHeaders';
export * from './ConditionalTooltip';
export * from './CommunityIcon';
export { default as CommunityIcon } from './CommunityIcon';
export * from './ConditionalTooltip';
export * from './ConfirmationDialog';
export { default as ConfirmationDialog } from './ConfirmationDialog';
export * from './CreateMenu';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,26 +57,26 @@ const Details: FC = () => {
};

return (
<div className='h-full max-h-[75vh]'>
<div className='h-[calc(100%-10rem)]'>
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Allows table to grow as a user zooms in and out

<PageDescription />
<div className='mt-6 w-2/3'>
<InfoHeader />
</div>
<div className='flex gap-8 mt-4 h-full'>
<div className='flex flex-col gap-2 basis-2/3 bg-neutral-2 pt-4 min-w-0 rounded shadow-outer-1 h-full'>
<h2 className='font-bold text-xl pl-4 pb-1'>{tagTypeDisplay} Details</h2>
<div className='flex flex-wrap justify-between w-full pb-4 border-b border-neutral-3 pl-4'>
<div className='flex gap-6 items-center'>
<div className='flex gap-6 my-4 h-full'>
<div className='flex flex-col bg-neutral-2 pt-4 rounded-lg shadow-outer-1 basis-2/3'>
<h2 className='font-bold text-xl pl-4 mb-2'>{tagTypeDisplay} Details</h2>
<div className='flex flex-wrap justify-between w-full pb-6 border-b border-neutral-3 pl-4'>
<div className='flex gap-2 items-center'>
<TagSelector />
<EnvironmentSelector />
</div>
<SearchBar showTags={false} />
</div>
<div className='flex overflow-x-hidden max-lg:flex-col h-dvh'>
<div className='w-1/2 grow border-r border-neutral-3 max-lg:border-none max-lg:w-full overflow-y-auto'>
<div className='w-1/2 pt-2 grow border-r border-neutral-3 max-lg:border-none max-lg:w-full overflow-y-auto'>
<RulesAccordion key={tagId} />
</div>
<div className='w-1/2 max-lg:w-full overflow-y-auto'>
<div className='w-1/2 pt-2 max-lg:w-full overflow-y-auto'>
{ruleQuery.data && ruleQuery.data.disabled_at !== null ? (
<Alert severity='warning' className='mx-8'>
<AlertTitle>Rule is disabled</AlertTitle>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,11 +77,11 @@ const TagDetails: FC<{ tagData: AssetGroupTag; hasObjectCountPanel: boolean }> =
const ownedId = useOwnedTagId();

return (
<div className='max-h-full flex flex-col gap-8' data-testid='privilege-zones_tag-details-card'>
<Card className='px-6 py-6 rounded-lg max-w-lg'>
<div className='max-h-full flex flex-col gap-6 mb-8' data-testid='privilege-zones_tag-details-card'>
<Card className='p-6'>
<div className='flex items-center' title={name}>
{glyph && <ZoneIcon zone={tagData} persistGlyph size={20} />}
<span className='text-xl font-bold truncate'>{name}</span>
<span className='text-xl font-bold text-wrap'>{name}</span>
Copy link
Contributor Author

@KillahDillah KillahDillah Feb 25, 2026

Choose a reason for hiding this comment

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

changed this to wrap instead of truncate due to the 'basis' classing, allowing it to grow as the window grows / accommodate for larger screens. If a Zone title is long, instead of being truncated, the entire title will show.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Screenshot 2026-02-25 at 10 11 48 AM Screenshot 2026-02-25 at 10 11 58 AM

</div>
{Certification && (
<div className='mt-4'>
Expand Down Expand Up @@ -128,8 +128,8 @@ const RuleDetails: FC<{ ruleData: AssetGroupTagSelector }> = ({ ruleData }) => {
const { Certification } = useContext(PrivilegeZonesContext);

return (
<div className='max-h-full flex flex-col gap-8' data-testid='privilege-zones_selector-details-card'>
<Card className='px-6 py-6 rounded-lg'>
<div className='flex flex-col gap-6' data-testid='privilege-zones_selector-details-card'>
<Card className='p-6'>
<div className='text-xl font-bold truncate' title={name}>
{name}
</div>
Expand Down Expand Up @@ -172,10 +172,10 @@ const DynamicDetails: FC<DynamicDetailsProps> = ({
hasObjectCountPanel = false,
}) => {
if (isLoading) {
return <Skeleton className='px-6 py-6 max-w-lg h-52' />;
return <Skeleton className='p-6 h-52' />;
} else if (isError) {
return (
<Card className='px-6 py-6 max-w-lg'>
<Card className='p-6'>
<span className='text-base'>There was an error fetching this data</span>
</Card>
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,7 @@ const ObjectCountPanel: FC = () => {

if (objectsCountQuery.isLoading) {
return (
<Card
tabIndex={0}
className='flex flex-col px-6 py-6 select-none max-w-lg'
data-testid='privilege-zones_object-counts'>
<Card tabIndex={0} className='flex flex-col p-6 select-none' data-testid='privilege-zones_object-counts'>
<div className='flex justify-between items-center'>
<p>Total Count</p>
<Skeleton className='h-8 w-16' />
Expand All @@ -42,10 +39,7 @@ const ObjectCountPanel: FC = () => {
);
} else if (objectsCountQuery.isError) {
return (
<Card
tabIndex={0}
className='flex flex-col px-6 py-6 select-none max-w-lg'
data-testid='privilege-zones_object-counts'>
<Card tabIndex={0} className='flex flex-col p-6 select-none' data-testid='privilege-zones_object-counts'>
<div className='flex justify-between items-center'>
<p>Total Count</p>
<Badge label={'0'} />
Expand All @@ -60,7 +54,7 @@ const ObjectCountPanel: FC = () => {
return (
<Card
tabIndex={0}
className='flex flex-col px-6 py-6 select-none overflow-y-auto max-w-lg'
className='flex flex-col p-6 select-none overflow-y-auto'
data-testid='privilege-zones_object-counts'>
<div className='flex justify-between items-center'>
<p>Total Count</p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ const ObjectAccordionItem: React.FC<ObjectAccordionItemProps> = ({
<div
key={index}
role='listitem'
className={cn('border-y border-neutral-3 relative', {
className={cn('border-b border-neutral-3 relative', {
'bg-neutral-4': objectId === item.id.toString(),
})}
style={style}>
Expand All @@ -151,7 +151,7 @@ const ObjectAccordionItem: React.FC<ObjectAccordionItemProps> = ({
value={kind}
data-testid={`privilege-zones_details_${kind}-accordion-item`}
className='[&[data-state=open]>div>div>button>svg]:rotate-180 sticky'>
<div className='w-full flex items-center justify-between border-y border-neutral-3'>
<div className='w-full flex items-center justify-between border-b border-neutral-3'>
<div className='w-full flex items-center gap-2'>
<Button
className='w-6'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ export const RulesAccordion: React.FC = () => {
</span>
</div>
<div
className={cn('border-y border-neutral-3 relative', {
className={cn('border-b border-neutral-3 relative', {
'bg-neutral-4': !ruleId,
})}>
{selectedTag.id && <SelectedHighlight itemId={selectedTag.id} type='tag' />}
Expand Down Expand Up @@ -144,7 +144,7 @@ const LoadingRow = (_: number, style: React.CSSProperties) => (
<div
data-testid='privilege-zones_rule-accordion_loading-skeleton'
style={style}
className='border-y border-neutral-3 relative w-full p-2'>
className='border-b border-neutral-3 relative w-full p-2'>
<Skeleton className='h-full' />
</div>
);
Expand Down Expand Up @@ -203,7 +203,7 @@ const RuleAccordionItem: React.FC<RuleAccordionItemProps> = ({ section: filterKe
<div
key={item.id}
role='listitem'
className={cn('border-y border-neutral-3 relative', {
className={cn('border-b border-neutral-3 relative', {
'bg-neutral-4': isSelected,
})}
style={style}>
Expand All @@ -226,7 +226,7 @@ const RuleAccordionItem: React.FC<RuleAccordionItemProps> = ({ section: filterKe
value={filterKey}
data-testid={`privilege-zones_details_${filterKey}-accordion-item`}
className='[&[data-state=open]>div>div>button>svg]:rotate-180 sticky'>
<div className='w-full flex items-center justify-between border-y border-neutral-3'>
<div className='w-full flex items-center justify-between border-b border-neutral-3'>
<div className='w-full flex items-center gap-2'>
<Button
className='w-6 max-xl:px-2 max-lg:px-6'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export const SelectedDetailsTabs: FC = () => {
const { selectedDetailsTab, setSelectedDetailsTab } = useSelectedDetailsTabsContext();

return (
<div className='flex flex-col w-[400px]'>
<div className='flex flex-col basis-1/3'>
<Tabs
value={selectedDetailsTab}
className='w-full pb-4'
Expand All @@ -49,7 +49,7 @@ export const SelectedDetailsTabs: FC = () => {
<CircularProgress color='primary' size={80} />
</div>
}>
<div className='overflow-y-auto overflow-x-hidden'>
<div className='overflow-y-auto overflow-x-hidden h-full rounded-lg'>
<SelectedDetailsTabContent
currentDetailsTab={selectedDetailsTab}
tagId={tagId}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,11 +91,11 @@ const HistoryContent = () => {
Use the log to audit and track changes to your Zones and Labels over time. Log items past 90 days are
cleared.
</p>
<div data-testid='history-wrapper' className='flex gap-8 mt-6 grow'>
<Card className='grow'>
<div data-testid='history-wrapper' className='flex gap-6 mt-4 h-[calc(100%-5rem)]'>
<Card className='flex flex-col'>
<CardHeader className='flex-row ml-3 justify-between items-center'>
<CardTitle>History Log</CardTitle>
<div className='flex items-center '>
<div className='flex items-center'>
<SearchInput id='search-pz-history' value={search} onInputChange={setSearch} />
<FilterDialog setFilters={setFilters} filters={filters} />
</div>
Expand All @@ -106,7 +106,7 @@ const HistoryContent = () => {
ref={scrollRef}
// eslint-disable-next-line jsx-a11y/no-noninteractive-tabindex
tabIndex={0}
className='overflow-y-auto h-[68dvh]'>
className='overflow-y-auto mb-1'>
<DataTable
data={records}
TableHeaderProps={tableHeaderProps}
Expand All @@ -118,7 +118,9 @@ const HistoryContent = () => {
/>
</div>
</Card>
<HistoryNote />
<div className='w-[400px] min-w-[400px] overflow-y-auto mb-1'>
<HistoryNote />
</div>
</div>
</>
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,15 @@ const HistoryNote = () => {

return (
<div>
<Card className='flex justify-center mb-4 p-4 h-14 w-96 min-w-80 max-w-lg'>
<Card className='flex justify-center mb-4 p-4 h-14'>
<CardTitle className='flex items-center gap-2'>
<AppIcon.LinedPaper size={24} className='-mb-[3px]' />
Note
</CardTitle>
</Card>

{selected && (
<Card className='p-4 '>
<Card className='p-4'>
<CardContent>
<p className='text-xl'>{selected.note}</p>
</CardContent>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ export const PrivilegeZonesCypherEditor: FC<{
}, [cypherQuery, onChange]);

return (
<Card>
<Card className='mb-8'>
<CardHeader>
<div className='flex justify-between items-center px-6 pt-3'>
<CardTitle>{preview ? 'Cypher Preview' : 'Cypher Rule'}</CardTitle>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ const BasicInfo: FC<{ control: Control<RuleFormInputs, any, RuleFormInputs> }> =
if (isError) return <div>There was an error fetching the rule information.</div>;

return (
<div className={'max-lg:w-full w-96 h-[36rem] '}>
<Card className={'p-3'}>
<div className={'max-lg:w-full w-96 h-[36rem]'}>
<Card className='p-3'>
<CardHeader className='text-xl font-bold'>Defining Rule</CardHeader>
<CardContent>
{ruleId !== '' && (
Expand Down
Loading
Loading