-
-
Notifications
You must be signed in to change notification settings - Fork 288
feat: configurable monitor latency display #792
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
123FLO321
wants to merge
22
commits into
rajnandan1:main
Choose a base branch
from
123FLO321:feature/configurable-monitor-latency-display
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
060d8d9
chore: enforce LF line endings via .gitattributes, ignore .idea and .…
123FLO321 fca7624
test: add Vitest server project with tool.ts timestamp tests
123FLO321 180c963
test: cover tool.ts uptime math (ParseUptime, formulas, UptimeCalcula…
123FLO321 048518f
test: cover tool.ts validation and string helpers
123FLO321 e800867
test: add Vitest browser-mode client project with CopyButton test
123FLO321 2dc46ab
test: add StatusBarCalendar browser-mode component test
123FLO321 ae1586c
test: pin test timezone to UTC, document test commands
123FLO321 a7b5c2c
ci: add test workflow with Playwright browser caching
123FLO321 c40b41a
ci: disable credential persistence, read Playwright version from inst…
123FLO321 3fc1d75
test: use extends: true for Vitest projects, guard clipboard spy target
123FLO321 01a428c
chore: restrict permissions for test workflow
123FLO321 385fb63
ci: cancel superseded test runs on the same branch or PR
123FLO321 edd9f5b
feat(monitor-bar): add buildLatencyDisplay string builder
123FLO321 0c8e597
feat(monitor-bar): render configurable avg/min/max latency line
123FLO321 112c28e
feat(pages): thread monitor_latency_display through page settings to …
123FLO321 993a989
feat(api): support monitor_latency_display in the v4 pages API
123FLO321 b767825
feat(manage): add monitor latency display checkboxes to page settings
123FLO321 9d88316
chore(i18n): sort en.json keys after adding latency-display strings
123FLO321 34b892f
fix(monitor-bar): decouple status icon position from latency line width
123FLO321 69bce77
fix(monitor-bar): forward latencyDisplay to group popover child bars
123FLO321 279b067
feat(monitor-bar): add "current" (latest reading) latency option
123FLO321 ca6ef3a
style(monitor-bar): use "label:" and middot separator for latency line
123FLO321 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| * text=auto eol=lf |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,51 @@ | ||
| name: Tests | ||
|
|
||
| on: | ||
| push: | ||
| branches: | ||
| - main | ||
| pull_request: | ||
|
|
||
| # Cancel superseded runs on the same branch / PR to save CI minutes. | ||
| concurrency: | ||
| group: ${{ github.workflow }}-${{ github.ref }} | ||
| cancel-in-progress: true | ||
|
|
||
| jobs: | ||
| test: | ||
| runs-on: ubuntu-latest | ||
| permissions: | ||
| contents: read | ||
| steps: | ||
| - name: Checkout | ||
| uses: actions/checkout@v4.2.2 | ||
| with: | ||
| persist-credentials: false | ||
|
|
||
| - name: Setup Node | ||
| uses: actions/setup-node@v4 | ||
| with: | ||
| node-version: 24 | ||
| cache: npm | ||
|
|
||
| - name: Install dependencies | ||
| run: npm ci | ||
|
|
||
| - name: Get Playwright version | ||
| id: playwright-version | ||
| run: echo "version=$(npx playwright --version | awk '{print $2}')" >> "$GITHUB_OUTPUT" | ||
|
|
||
| - name: Cache Playwright browsers | ||
| uses: actions/cache@v4 | ||
| with: | ||
| path: ~/.cache/ms-playwright | ||
|
123FLO321 marked this conversation as resolved.
|
||
| key: playwright-${{ runner.os }}-${{ steps.playwright-version.outputs.version }} | ||
|
|
||
| - name: Install Playwright Chromium | ||
| run: npx playwright install --with-deps chromium | ||
|
|
||
| - name: Type check | ||
| run: npm run check | ||
|
|
||
| - name: Run tests | ||
| run: npm test | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.