Skip to content

Commit

Permalink
Merge pull request #5221 from parca-dev/update-ids
Browse files Browse the repository at this point in the history
area/ui: Update Ids for components
  • Loading branch information
yomete authored Oct 23, 2024
2 parents 903212d + f6f1860 commit b073795
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
1 change: 1 addition & 0 deletions ui/packages/shared/profile/src/ProfileSelector/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -377,6 +377,7 @@ const ProfileSelector = ({
<label className="text-xs">Sum by</label>
</div>
<Select
id="h-sum-by-selector"
defaultValue={[]}
isMulti
name="colors"
Expand Down
5 changes: 4 additions & 1 deletion ui/packages/shared/profile/src/SimpleMatchers/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,10 @@ const SimpleMatchers = ({
const isRowRegex = (row: QueryRow): boolean => row.operator === '=~' || row.operator === '!~';

return (
<div className={`flex items-center gap-3 ${maxWidthInPixels} w-full flex-wrap`}>
<div
className={`flex items-center gap-3 ${maxWidthInPixels} w-full flex-wrap`}
id="simple-matchers"
>
{visibleRows.map((row, index) => (
<div key={index} className="flex items-center">
<Select
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ const MultiLevelDropdown: React.FC<MultiLevelDropdownProps> = ({onSelect, profil
];

return (
<div className="relative inline-block text-left">
<div className="relative inline-block text-left" id="h-visualisation-toolbar-actions">
<Menu>
{({open, close}) => (
<>
Expand Down

0 comments on commit b073795

Please sign in to comment.