Skip to content
This repository has been archived by the owner on Mar 29, 2024. It is now read-only.

Commit

Permalink
Improve Network Activity view wording
Browse files Browse the repository at this point in the history
  • Loading branch information
dhaavi committed Jul 21, 2023
1 parent 14966c1 commit 8555548
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
6 changes: 3 additions & 3 deletions modules/portmaster/src/app/pages/app-view/app-view.html
Original file line number Diff line number Diff line change
Expand Up @@ -56,15 +56,15 @@ <h1 class="flex flex-row items-center mb-0 text-2xl text-primary whitespace-nowr
<span class="text-opacity-75 text-primary">{{stats?.countAliveConnections || 0}}</span>
</div>
<div class="space-x-2">
<span>History:</span>
<span>Network History:</span>
<ng-container *ngIf="historyAvailableSince">
<span class="text-opacity-75 text-primary">available since {{ historyAvailableSince | date }}</span>
<span class="text-opacity-75 text-primary">As of {{ historyAvailableSince | date }}</span>
<span class="-mt-3 underline cursor-pointer text-primary hover:text-secondary text-xxs"
(click)="cleanProfileHistory()">Remove all {{ connectionsInHistory }} Connections</span>
</ng-container>
<ng-container *ngIf="!historyAvailableSince">
<span class="text-opacity-75 text-primary"
sfng-tooltip="Support for connection history requires a subscription">no history</span>
sfng-tooltip="Support for connection history requires a subscription">None</span>
</ng-container>
</div>
</div>
Expand Down
7 changes: 3 additions & 4 deletions modules/portmaster/src/app/pages/monitor/monitor.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,21 +15,20 @@ <h2 class="flex flex-row items-center gap-2 p-0 mb-2 ml-0 text-sm font-medium te
<ng-container *ngIf="(history | async) as data; else: noHistory">
<ng-container *ngIf="!!data">
<span>
History data available since {{ data.first | date }} ({{ data.count }} connections)
Network history data available as of {{ data.first | date }}. ({{ data.count }} connections)
</span>
<a class="text-xs underline cursor-pointer text-primary" (click)="clearHistoryData()">Clear</a>
</ng-container>
</ng-container>
<ng-template #noHistory>
<span>
History data not available
No network history data available.
</span>
</ng-template>
</h2>

<span class="text-secondary">
Look at everything happening on your device. Showing the last 10 minutes. Easily search and filter for specific
connections.
If network history is disabled, only shows connections that were active in the last 10 minutes. Use the search bar and drop downs to search and filter.
</span>
</div>

Expand Down

0 comments on commit 8555548

Please sign in to comment.