Skip to content

Commit

Permalink
feat: display hyperdx version at the bottom of app nav bar (#181)
Browse files Browse the repository at this point in the history
<img width="206" alt="Screenshot 2024-01-04 at 12 20 23 AM" src="https://github.com/hyperdxio/hyperdx/assets/5959690/3a23c503-56b4-4aa0-964e-cc61063ab2fd">
  • Loading branch information
wrn14897 authored Jan 4, 2024
1 parent 95e2bc0 commit 3c29bcf
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .changeset/great-knives-love.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'@hyperdx/app': patch
'@hyperdx/api': patch
---

feat: display hyperdx version at the bottom of app nav bar
5 changes: 5 additions & 0 deletions packages/app/src/AppNav.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ import {
} from 'use-query-params';
import HyperDX from '@hyperdx/browser';

import { version } from '../package.json';

import api from './api';
import AuthLoadingBlocker from './AuthLoadingBlocker';
import { API_SERVER_URL } from './config';
Expand Down Expand Up @@ -897,6 +899,9 @@ export default function AppNav({ fixed = false }: { fixed?: boolean }) {
</Link>
</div>
</div>
<div className="d-flex justify-content-end align-items-end">
<span className="text-muted-hover fs-7">v{version}</span>
</div>
</div>
</>
);
Expand Down

0 comments on commit 3c29bcf

Please sign in to comment.