Skip to content

Commit

Permalink
Merge branch 'main' into LA-180-improved-session-management-for-long-…
Browse files Browse the repository at this point in the history
…running-tasks
  • Loading branch information
galvana authored Jan 15, 2025
2 parents 32b165a + a4f4aec commit d699ac7
Show file tree
Hide file tree
Showing 17 changed files with 12 additions and 45 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ Changes can also be flagged with a GitHub label for tracking purposes. The URL o
- Changed "Reclassify" D&D button to show in an overflow menu when row actions are overcrowded [#5655](https://github.com/ethyca/fides/pull/5655)
- Removed primary key requirements for BigQuery and Postgres erasures [#5591](https://github.com/ethyca/fides/pull/5591)
- Updated `DBCache` model so setting cache value always updates the updated_at field [#5669](https://github.com/ethyca/fides/pull/5669)
- Changed sizes of buttons in table headers [#5654](https://github.com/ethyca/fides/pull/5654)

### Fixed
- Fixed issue where the custom report "reset" button was not working as expected [#5649](https://github.com/ethyca/fides/pull/5649)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,6 @@ export const CustomReportTemplates = ({
>
<PopoverTrigger>
<Button
size="small"
className="max-w-40"
icon={<ChevronDownIcon />}
iconPosition="end"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -280,16 +280,14 @@ export const ConsentManagementTable = () => {
consentCategoryOptions={consentCategoryOptions}
onConsentCategoryChange={onConsentCategoryChange}
/>
<HStack alignItems="center" spacing={4}>
<HStack alignItems="center" spacing={2}>
<AddVendor
buttonLabel="Add vendors"
buttonProps={{ size: "small" }}
onButtonClick={dictionaryService ? goToAddMultiple : undefined}
/>
<Button
onClick={onOpenFilter}
data-testid="filter-multiple-systems-btn"
size="small"
>
Filter
</Button>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,7 @@ const CustomAssetUploadButton = ({

return (
<>
<Button
size="small"
className="ml-2"
onClick={uploadCustomAssetModal.onOpen}
>
Upload stylesheet
</Button>
<Button onClick={uploadCustomAssetModal.onOpen}>Upload stylesheet</Button>
<CustomAssetUploadModal
isOpen={uploadCustomAssetModal.isOpen}
onClose={uploadCustomAssetModal.onClose}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,6 @@ export const CustomFieldsTable = ({ ...rest }: BoxProps): JSX.Element => {
const AddCustomFieldButton = () => (
<Restrict scopes={[ScopeRegistryEnum.CUSTOM_FIELD_DEFINITION_CREATE]}>
<Button
size="small"
type="primary"
data-testid="add-custom-field-btn"
onClick={onOpen}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,15 @@ const DiscoveryTableBulkActions = ({
disabled={anyActionIsLoading}
loading={isPromoteLoading}
type="primary"
size="middle"
/>
<ActionButton
title="Ignore"
icon={<ViewOffIcon />}
disabled={anyActionIsLoading}
loading={isMuteLoading}
onClick={() => handleIgnoreClicked(selectedUrns)}
size="middle"
/>
</div>
</Flex>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -527,7 +527,6 @@ export const DatamapReportTable = () => {
<Menu>
<MenuButton
as={Button}
size="small"
icon={<ChevronDownIcon />}
iconPosition="end"
loading={groupChangeStarted}
Expand Down Expand Up @@ -560,22 +559,19 @@ export const DatamapReportTable = () => {
</Menu>
<Button
data-testid="filter-multiple-systems-btn"
size="small"
onClick={onFilterModalOpen}
>
Filter
</Button>
<Button
aria-label="Export report"
data-testid="export-btn"
size="small"
onClick={onExportReportOpen}
icon={<DownloadLightIcon ml="1.5px" />}
/>
<Menu placement="bottom-end">
<MenuButton
as={Button}
size="small"
icon={<MoreIcon className="rotate-90" />}
data-testid="more-menu"
aria-label="More options"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,6 @@ const MonitorConfigTab = ({
<Spacer />
<Button
onClick={modal.onOpen}
size="small"
icon={<MonitorIcon />}
iconPosition="end"
data-testid="add-monitor-btn"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ const JavaScriptTag = () => {
<>
<Button
onClick={modal.onOpen}
size="small"
icon={<CopyIcon />}
iconPosition="end"
data-testid="js-tag-btn"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ export const PrivacyExperiencesTable = () => {
<Flex flex={1} direction="column" overflow="auto">
{userCanUpdate && (
<TableActionBar>
<HStack alignItems="center" spacing={4}>
<HStack alignItems="center" spacing={2}>
<JavaScriptTag />
<Restrict scopes={[ScopeRegistryEnum.CUSTOM_ASSET_UPDATE]}>
<CustomAssetUploadButton
Expand All @@ -229,7 +229,6 @@ export const PrivacyExperiencesTable = () => {
</HStack>
<Button
onClick={() => router.push(`${PRIVACY_EXPERIENCE_ROUTE}/new`)}
size="small"
type="primary"
data-testid="add-privacy-experience-btn"
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -232,11 +232,7 @@ export const PrivacyNoticesTable = () => {
passHref
legacyBehavior
>
<Button
size="small"
type="primary"
data-testid="add-privacy-notice-btn"
>
<Button type="primary" data-testid="add-privacy-notice-btn">
Add a privacy notice +
</Button>
</NextLink>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -139,14 +139,13 @@ export const RequestTable = ({ ...props }: BoxProps): JSX.Element => {
setGlobalFilter={handleSearch}
placeholder="Search by request ID or identity value"
/>
<HStack alignItems="center" spacing={4}>
<Button data-testid="filter-btn" size="small" onClick={onOpen}>
<HStack alignItems="center" spacing={2}>
<Button data-testid="filter-btn" onClick={onOpen}>
Filter
</Button>
<Button
aria-label="Export report"
data-testid="export-btn"
size="small"
icon={<DownloadLightIcon ml="1.5px" />}
onClick={handleExport}
/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,12 +92,7 @@ const SubmitPrivacyRequest = () => {
return (
<>
<SubmitPrivacyRequestModal isOpen={isOpen} onClose={onClose} />
<Button
type="primary"
size="small"
onClick={onOpen}
data-testid="submit-request-btn"
>
<Button type="primary" onClick={onOpen} data-testid="submit-request-btn">
Create request
</Button>
</>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,6 @@ const ConfigureAlerts = () => {
<>
<Button
onClick={onOpen}
size="small"
title="Configure alerts"
aria-label="Configure alerts"
icon={<BellIcon />}
Expand Down
5 changes: 1 addition & 4 deletions clients/admin-ui/src/features/properties/PropertiesTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -190,10 +190,7 @@ export const PropertiesTable = () => {
/>
<HStack alignItems="center" spacing={4}>
<Restrict scopes={[ScopeRegistryEnum.PROPERTY_CREATE]}>
<AddPropertyButton
buttonLabel="Add property"
buttonProps={{ size: "small" }}
/>
<AddPropertyButton buttonLabel="Add property" />
</Restrict>
</HStack>
</TableActionBar>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,6 @@ export const AddMultipleSystems = ({ redirectRoute }: Props) => {
<Button
onClick={onOpen}
data-testid="add-multiple-systems-btn"
size="small"
disabled={!anyNewSelectedRows}
className="ml-4"
>
Expand All @@ -380,10 +379,7 @@ export const AddMultipleSystems = ({ redirectRoute }: Props) => {
) : null}
</Flex>
<HStack spacing={4} alignItems="center">
<AddVendor
buttonLabel="Add custom vendor"
buttonProps={{ size: "small" }}
/>
<AddVendor buttonLabel="Add custom vendor" />
{isTcfEnabled ? (
// Wrap in a span so it is consistent height with the add button, whose
// Tooltip wraps a span
Expand Down
1 change: 0 additions & 1 deletion clients/admin-ui/src/pages/messaging/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,6 @@ const MessagingPage: NextPage = () => {
<TableActionBar>
<HStack alignItems="center" spacing={4} marginLeft="auto">
<Button
size="small"
type="primary"
data-testid="add-message-btn"
onClick={() => setIsAddTemplateModalOpen(true)}
Expand Down

0 comments on commit d699ac7

Please sign in to comment.