Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<h1 mat-dialog-title>Log details</h1>
<mat-dialog-content>
<p class="mat-body-1" data-block="preamble" data-hj-suppress>
<p class="mat-body-1" data-block="preamble" data-ph-no-capture>
{{ log.User }} {{ action }} in "{{ normalizedTableName }}" table on {{formattedCrreatedAt}} {{ log.Status }}.
</p>

Expand All @@ -10,10 +10,10 @@ <h1 mat-dialog-title>Log details</h1>
class="mat-body"
[ngClass]="{changed: isChangedFiled(field)}">
<th>{{filedsNames[field]}}</th>
<td data-hj-suppress *ngIf="log.currentValue[field] !== '* * * sensitive data, no logs stored * * *'">
<td data-ph-no-capture *ngIf="log.currentValue[field] !== '* * * sensitive data, no logs stored * * *'">
{{log.prevValue[field]}}
</td>
<td data-hj-suppress
<td data-ph-no-capture
[attr.colspan]="log.currentValue[field] === '* * * sensitive data, no logs stored * * *' ? '2' : '' "
[ngClass]="{sensitive: log.currentValue[field] === '* * * sensitive data, no logs stored * * *'}">
<div class="updated-cell">
Expand All @@ -35,7 +35,7 @@ <h1 mat-dialog-title>Log details</h1>
class="mat-body"
[ngClass]="{changed: isChangedFiled(field)}">
<th>{{filedsNames[field.key]}}</th>
<td data-hj-suppress *ngIf="log.currentValue[field] !== '* * * sensitive data, no logs stored * * *'">
<td data-ph-no-capture *ngIf="log.currentValue[field] !== '* * * sensitive data, no logs stored * * *'">
{{field.value}}
</td>
</tr>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ <h3>SQL Query</h3>
{{ testing() ? 'Testing...' : 'Test Query' }}
</button>
</div>
<div class="code-editor-box" data-hj-suppress>
<div class="code-editor-box" data-ph-no-capture>
<ngs-code-editor
[theme]="codeEditorTheme"
[codeModel]="codeModel()"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ <h2 class="mat-heading-2 row-preview-sidebar__title">Preview</h2>
<ng-container *ngIf="selectedRow && selectedRow.record; else loadingContent">
<div *ngFor="let column of columns; let i = index" class="row-preview-sidebar__field">
<strong>{{column.normalizedTitle}}</strong>
<div data-hj-suppress class="row-preview-sidebar__value">
<div data-ph-no-capture class="row-preview-sidebar__value">
<ng-container *ngIf="isForeignKey(column.title); else recordContent">
<app-foreign-key-record-view
link="/dashboard/{{selectedRow.connectionID}}/{{selectedRow.foreignKeys[column.title]?.referenced_table_name}}/entry"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ <h2 class="mat-h2 table-name">{{ displayName }}</h2>
</div>

<div *ngIf="getFiltersCount(activeFilters) !== 0 && !hasSavedFilterActive" class="active-filters">
<mat-chip-row *ngFor="let activeFilter of activeFilters | keyvalue" data-hj-suppress
<mat-chip-row *ngFor="let activeFilter of activeFilters | keyvalue" data-ph-no-capture
class="db-table-active-filter-chip"
(removed)="removeFilter.emit(activeFilter.key)"
(click)="handleActiveFilterClick(activeFilter.key)">
Expand Down Expand Up @@ -282,7 +282,7 @@ <h2 class="mat-h2 table-name">{{ displayName }}</h2>
</button>
</mat-menu>
</mat-header-cell>
<mat-cell *matCellDef="let element; let i = index" [attr.data-label]="tableData.dataNormalizedColumns[column]" class="db-table-cell" data-hj-suppress>
<mat-cell *matCellDef="let element; let i = index" [attr.data-label]="tableData.dataNormalizedColumns[column]" class="db-table-cell" data-ph-no-capture>
<div class="table-cell-content">
<ng-container *ngIf="isForeignKey(column); else contentCell">
<app-display-foreign-key
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@
</div>
</form>
<div class="static-filters" *ngIf="savedFilterMap[selectedFilterSetId]?.staticFilters?.length">
<mat-chip *ngFor="let filter of savedFilterMap[selectedFilterSetId]?.staticFilters" class="static-filter-chip" data-hj-suppress>
<mat-chip *ngFor="let filter of savedFilterMap[selectedFilterSetId]?.staticFilters" class="static-filter-chip" data-ph-no-capture>
{{ getFilter(filter) }}
</mat-chip>
</div>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<span class="mat-body-1">{{ normalizedLabel }} {{ required ? '*' : '' }}</span>

<div class="code-editor-box" data-hj-suppress>
<div class="code-editor-box" data-ph-no-capture>
<ngs-code-editor
[theme]="codeEditorTheme"
[codeModel]="mutableCodeModel"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<span class="mat-body-1">{{ normalizedLabel }} {{ required ? '*' : '' }}</span>

<div class="code-editor-box" data-hj-suppress>
<div class="code-editor-box" data-ph-no-capture>
<ngs-code-editor
theme="vs"
[codeModel]="mutableCodeModel"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<span class="mat-body-1">{{ normalizedLabel }} {{ required ? '*' : '' }}</span>

<div class="code-editor-box" data-hj-suppress>
<div class="code-editor-box" data-ph-no-capture>
<ngs-code-editor
[theme]="codeEditorTheme"
[codeModel]="mutableCodeModel"
Expand Down
10 changes: 6 additions & 4 deletions frontend/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,10 +85,12 @@ if ((environment as any).saas) {
});
}

posthog.init('phc_VPnWHIMj9UjhRLPr7shATjgL0J4KrWWOHkK3JwZbnkw', {
api_host: 'https://us.i.posthog.com',
defaults: '2025-11-30',
});
if ((environment as any).saas) {
posthog.init('phc_VPnWHIMj9UjhRLPr7shATjgL0J4KrWWOHkK3JwZbnkw', {
api_host: 'https://us.i.posthog.com',
defaults: '2025-11-30',
});
}

bootstrapApplication(AppComponent, {
providers: [
Expand Down
Loading