Skip to content
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

feat(charts): change chart height #123

Merged
merged 1 commit into from
May 15, 2024
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
45 changes: 2 additions & 43 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,48 +7,7 @@ env:
VITE_API_URL: ${{ secrets.VITE_API_URL }}

jobs:
# test-tauri:
# environment: release
# strategy:
# fail-fast: false
# matrix:
# platform: [macos-latest, ubuntu-20.04, windows-latest]

# runs-on: ${{ matrix.platform }}
# steps:
# - uses: actions/checkout@v3

# - name: setup node
# uses: actions/setup-node@v1
# with:
# node-version: 18

# - name: install Rust stable
# uses: actions-rs/toolchain@v1
# with:
# toolchain: stable
# - name: install dependencies (ubuntu only)
# if: matrix.platform == 'ubuntu-20.04'
# run: |
# sudo apt-get update
# sudo apt-get install -y libgtk-3-dev webkit2gtk-4.0 libappindicator3-dev librsvg2-dev patchelf

# - name: install app dependencies
# uses: ./.github/actions/yarn-nm-install
# with:
# enable-corepack: false
# cache-install-state: true
# cache-node-modules: true
# - name: Build tauri
# run: yarn build
# - uses: tauri-apps/tauri-action@v0
# env:
# TAURI_PRIVATE_KEY: ${{ secrets.TAURI_PRIVATE_KEY }}
# TAURI_KEY_PASSWORD: ${{ secrets.TAURI_KEY_PASSWORD }}
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

create-release:
# needs: test-tauri
runs-on: ubuntu-20.04
environment: release
outputs:
Expand All @@ -59,7 +18,7 @@ jobs:
- name: setup node
uses: actions/setup-node@v1
with:
node-version: 18
node-version: 20
- name: get version
run: echo "PACKAGE_VERSION=$(node -p "require('./package.json').version")" >> $GITHUB_ENV
- name: create release
Expand Down Expand Up @@ -93,7 +52,7 @@ jobs:
- name: setup node
uses: actions/setup-node@v1
with:
node-version: 18
node-version: 20
- name: install Rust stable
uses: actions-rs/toolchain@v1
with:
Expand Down
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](https://semver.org/).

## 0.8.0-rc
- Change Chart height

## 0.7.0
- Improve Settings page UI
- Add Theme support
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ const GlobalCpuAreaChart: React.FC = ({}) => {
}, [globalCpu]);

return (
<Card style={{ height: "450px" }}>
<Card style={{ height: "420px" }}>
<AreaChart options={chartOptions} />
</Card>
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ const MemoryAreaChart: React.FC = ({}) => {
}, [memory]);

return (
<Card style={{ height: "450px" }}>
<Card style={{ height: "420px" }}>
<AreaChart options={chartOptions} />
</Card>
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ const NetworksAreaChart: React.FC = ({}) => {
}, [JSON.stringify(networks)]);

return (
<Card style={{ height: "450px" }}>
<Card style={{ height: "420px" }}>
<AreaChart options={chartOptions} />
</Card>
);
Expand Down
2 changes: 1 addition & 1 deletion src/features/metrics/components/swap/swap.area-chart.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ const SwapAreaChart: React.FC = ({}) => {
}, [swap]);

return (
<Card style={{ height: "450px" }}>
<Card style={{ height: "420px" }}>
<AreaChart options={chartOptions} />
</Card>
);
Expand Down
Loading