Add distinct ID to filters/expanded metrics. Closes #3861
This commit is contained in:
1 parent
7f43a0d41a
commit
7bb30443a8
9 files changed
+24
-1
No files matched your search
@@ -15,6 +15,7 @@ export function useFields() {
|
||||
{ name: 'region', type: 'string', label: formatMessage(labels.region) },
|
||||
{ name: 'city', type: 'string', label: formatMessage(labels.city) },
|
||||
{ name: 'hostname', type: 'string', label: formatMessage(labels.hostname) },
|
||||
{ name: 'distinctId', type: 'string', label: formatMessage(labels.distinctId) },
|
||||
{ name: 'tag', type: 'string', label: formatMessage(labels.tag) },
|
||||
{ name: 'event', type: 'string', label: formatMessage(labels.event) },
|
||||
];
|
||||
|
||||
@@ -18,6 +18,7 @@ export function useFilterParameters() {
|
||||
event,
|
||||
tag,
|
||||
hostname,
|
||||
distinctId,
|
||||
page,
|
||||
pageSize,
|
||||
search,
|
||||
@@ -42,6 +43,7 @@ export function useFilterParameters() {
|
||||
event,
|
||||
tag,
|
||||
hostname,
|
||||
distinctId,
|
||||
search,
|
||||
segment,
|
||||
cohort,
|
||||
@@ -61,6 +63,7 @@ export function useFilterParameters() {
|
||||
event,
|
||||
tag,
|
||||
hostname,
|
||||
distinctId,
|
||||
page,
|
||||
pageSize,
|
||||
search,
|
||||
|
||||
@@ -61,7 +61,9 @@ export function FilterEditForm({ websiteId, onChange, onClose }: FilterEditFormP
|
||||
websiteId={websiteId}
|
||||
value={currentFilters}
|
||||
onChange={setCurrentFilters}
|
||||
exclude={excludeFilters ? ['path', 'title', 'hostname', 'tag', 'event'] : []}
|
||||
exclude={
|
||||
excludeFilters ? ['path', 'title', 'hostname', 'distinctId', 'tag', 'event'] : []
|
||||
}
|
||||
/>
|
||||
</TabPanel>
|
||||
<TabPanel id="segments">
|
||||
|
||||
Reference in new issue
Block a user