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

Release version 4.13.0 #261

Merged
merged 6 commits into from
Oct 18, 2023
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
32 changes: 32 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: CI
run-name: 'Run tests: Commit ${{ github.sha }}'

on:
pull_request:
types: [opened, reopened, edited]
branches:
- master
workflow_dispatch:

jobs:
linux-test-runner:
name: Linux Test Runner
timeout-minutes: 30
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: recursive
- uses: actions/setup-node@v3
with:
node-version: 18.17.1
- name: Setup configs and install deps
run: ./scripts/setup.sh -u
- name: Run tests
run: npm test -- -- --reporter=json --reporter-option output=test-report.json
- uses: actions/upload-artifact@v3
if: success() || failure()
with:
name: test-results
path: test-report.json
30 changes: 30 additions & 0 deletions .github/workflows/test-report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: 'Test Report'
run-name: 'Test Report: Commit ${{ github.sha }}'

on:
workflow_run:
workflows: ['CI']
types:
- completed

permissions:
contents: read
actions: read
checks: write

jobs:
web-page-report:
name: Web Page Report
runs-on: ubuntu-22.04
steps:
- uses: dorny/test-reporter@v1
id: test-results
with:
artifact: test-results
name: Mocha Tests
path: test-report.json
reporter: mocha-json
- name: Test Report Summary
run: |
echo "### Test Report page is ready! :rocket:" >> $GITHUB_STEP_SUMMARY
echo "And available at the following [Link](${{ steps.test-results.outputs.url_html }})" >> $GITHUB_STEP_SUMMARY
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,17 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [4.13.0] - 2023-10-18

### Added

- Added `test` runner and `HTML report` maker workflows to the GitHub Actions which launch after creating PRs against the `master` branch. PRs: [bfx-report#337](https://github.com/bitfinexcom/bfx-report/pull/337), [bfx-reports-framework#325](https://github.com/bitfinexcom/bfx-reports-framework/pull/325), [bfx-report-electron#259](https://github.com/bitfinexcom/bfx-report-electron/pull/259)
- Implemented `Account Fees`, `Account Value` and `LEO level` sections on the new `Summary` page, added minor styling adjustments. PR: [bfx-report-ui#716](https://github.com/bitfinexcom/bfx-report-ui/pull/716)

### Security

- Removed `lodash` lib usage. PRs: [bfx-report#336](https://github.com/bitfinexcom/bfx-report/pull/336), [bfx-report-ui#717](https://github.com/bitfinexcom/bfx-report-ui/pull/717), [lib-js-util-base#6](https://github.com/bitfinexcom/lib-js-util-base/pull/6)

## [4.12.0] - 2023-10-04

### Added
Expand Down
2 changes: 1 addition & 1 deletion bfx-report-ui
Submodule bfx-report-ui updated 44 files
+8 −2 package-lock.json
+2 −1 package.json
+19 −0 public/locales/en/translations.json
+2 −2 src/components/AccountSummary/AccountSummary.js
+47 −0 src/components/AppSummary/AppSummary.container.js
+138 −0 src/components/AppSummary/AppSummary.fees.js
+149 −0 src/components/AppSummary/AppSummary.js
+41 −0 src/components/AppSummary/AppSummary.leo.js
+92 −0 src/components/AppSummary/AppSummary.value.js
+210 −0 src/components/AppSummary/_AppSummary.scss
+1 −0 src/components/AppSummary/index.js
+2 −2 src/components/Auth/LoginOtp/LoginOtp.js
+4 −4 src/components/Auth/RegisterSubAccounts/RegisterSubAccounts.js
+2 −2 src/components/Auth/SignIn/SignIn.js
+5 −5 src/components/Auth/SignInList/SignInList.helpers.js
+2 −1 src/components/Main/Main.js
+6 −6 src/components/SubAccounts/SubAccount/SubAccount.js
+2 −2 src/components/SubAccounts/SubAccount/utils/index.js
+2 −2 src/components/Wallets/Wallets.js
+1 −1 src/icons/_icons.scss
+1 −1 src/icons/affiliates.svg
+2 −0 src/icons/index.js
+82 −0 src/icons/leo.svg
+1 −0 src/state/accountBalance/reducer.js
+2 −0 src/state/accountBalance/selectors.js
+4 −5 src/state/auth/Authenticator.js
+2 −2 src/state/auth/saga.js
+2 −2 src/state/feesReport/saga.js
+2 −2 src/state/filters/selectors.js
+2 −2 src/state/filters/utils.js
+3 −3 src/state/routing/saga.js
+2 −2 src/state/sync/saga.js
+2 −2 src/state/weightedAverages/reducer.js
+5 −0 src/styles/index.scss
+1 −0 src/styles/themes/_dark.scss
+1 −0 src/styles/themes/_light.scss
+18 −13 src/ui/Charts/Chart/Chart.js
+4 −0 src/ui/Charts/Chart/Chart.props.js
+0 −4 src/ui/Charts/Chart/_Chart.scss
+30 −2 src/ui/Charts/Charts.helpers.js
+2 −2 src/ui/ColumnsFilter/ColumnsFilter.helpers.js
+2 −2 src/ui/SectionHeader/_SectionHeader.scss
+3 −0 src/ui/utils.js
+2 −3 src/utils/columns.js
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bfx-report-electron",
"version": "4.12.0",
"version": "4.13.0",
"repository": "https://github.com/bitfinexcom/bfx-report-electron",
"description": "Reporting tool",
"author": "bitfinex.com",
Expand Down