Skip to content

Commit

Permalink
Merge pull request #145 from bitfinexcom/beta
Browse files Browse the repository at this point in the history
Release version 3.7.1 for release
  • Loading branch information
ezewer authored May 3, 2022
2 parents 0ecf3b6 + 6e2c58d commit 6f945ed
Show file tree
Hide file tree
Showing 15 changed files with 210 additions and 102 deletions.
19 changes: 19 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,25 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [3.7.1] - 2021-04-28

### Added

- Added option to quickly clear filters in the UI. PR: [bfx-report-ui#501](https://github.com/bitfinexcom/bfx-report-ui/pull/501)
- Added a link to affiliates dashboard on `Affiliates Earnings` page for better conversion and convenience in the UI. PR: [bfx-report-ui#512](https://github.com/bitfinexcom/bfx-report-ui/pull/512)

### Changed

- Bumped UI dependency to have the last fixes. PRs: [bfx-report-ui#500](https://github.com/bitfinexcom/bfx-report-ui/pull/500), [bfx-report-ui#502](https://github.com/bitfinexcom/bfx-report-ui/pull/502), [bfx-report-ui#503](https://github.com/bitfinexcom/bfx-report-ui/pull/503), [bfx-report-ui#504](https://github.com/bitfinexcom/bfx-report-ui/pull/504), [bfx-report-ui#505](https://github.com/bitfinexcom/bfx-report-ui/pull/505), [bfx-report-ui#507](https://github.com/bitfinexcom/bfx-report-ui/pull/507), [bfx-report-ui#508](https://github.com/bitfinexcom/bfx-report-ui/pull/508), [bfx-report-ui#509](https://github.com/bitfinexcom/bfx-report-ui/pull/509)
- Updated language options in the UI. PR: [bfx-report-ui#511](https://github.com/bitfinexcom/bfx-report-ui/pull/511)
- Implemented dynamic price precision showing for different trading pairs on `Candles` chart in the UI. PR: [bfx-report-ui#513](https://github.com/bitfinexcom/bfx-report-ui/pull/513)

### Fixed

- Fixed inconsistency in wallets and earnings. PR: [bfx-reports-framework#218](https://github.com/bitfinexcom/bfx-reports-framework/pull/218)
- Fixed symbol pair splitting to handle pairs with long characters like `tMATICM:USD` and `MATICMF0` etc. PR: [bfx-report#260](https://github.com/bitfinexcom/bfx-report/pull/260)
- Actualized i18next backend in the UI. PR: [bfx-report-ui#510](https://github.com/bitfinexcom/bfx-report-ui/pull/510)

## [3.7.0] - 2021-04-12

### Added
Expand Down
2 changes: 1 addition & 1 deletion bfx-report-ui
Submodule bfx-report-ui updated 123 files
57 changes: 40 additions & 17 deletions docs/user-manual.md
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,7 @@ Let users set preferred language, theme etc. The dialog places in the popup near
> - Turkish
> - Chinese (China)
> - Chinese (Taiwan)
> - Portuguese
</details>

Expand Down Expand Up @@ -385,32 +386,54 @@ First time opening the App or Syncing an account users would need to wait the pr
<summary>How to display the menu bar</summary>

> By pressing the `ALT` key, a menu will pop up on the top with the respective options:
> - Application:
> - Quit
> - Open dev tools
> - Refresh page
> - Edit:
>
> - Bitfinex Report *`if Mac`*
> - About Bitfinex Report
> - Services
> - Hide Bitfinex Report
> - Hide Others
> - Show All
> - Quit Bitfinex Report
> - File
> - Close Window *`if Mac`*
> - Quit *`if not Mac`*
> - Edit
> - Undo
> - Redo
> - Cut
> - Copy
> - Paste
> - Select All
> - Tools:
> - Export DB
> - Import DB
> - Restore DB
> - Backup DB
> - Remove DB
> - Clear all data
> - View
> - Reload
> - Force Reload
> - Toggle Developer Tools
> - Actual Size
> - Zoom In
> - Zoom Out
> - Toggle Full Screen
> - Window
> - Minimize
> - Zoom
> - Front *`if Mac`*
> - Window *`if Mac`*
> - Close *`if not Mac`*
> - Tools
> - Data Management
> - Export DB
> - Import DB
> - Restore DB
> - Backup DB
> - Remove DB
> - Clear all data
> - Change reports folder
> - Change sync frequency
> - Help:
> - Help
> - Open new GitHub issue
> - Check for update
> - User manual
> - Changelog
> - About
> - About *`if not Mac`*
</details>

Expand All @@ -420,15 +443,15 @@ First time opening the App or Syncing an account users would need to wait the pr

> - If a user wishes to upgrade between report versions, change the computer or replicate a report on another computer, without syncing their data again, there is an option added to import/export the reports DB.
By pressing the `ALT` key, a menu will pop up on the top with the respective tools relating to do the export/import task.
> - If it becomes necessary to clear all confidential data, it is possible to completely delete the database files using the menu bar item `Tools`->`Remove DB`.
> - Also has ability to drop all data except users login information to be able to login using the menu bar item `Tools`->`Clear all data`.
> - If it becomes necessary to clear all confidential data, it is possible to completely delete the database files using the menu bar item `Tools`->`Data Management`->`Remove DB`.
> - Also has ability to drop all data except users login information to be able to login using the menu bar item `Tools`->`Data Management`->`Clear all data`.
> After it the app would be launched except exporting case
> In addition to the above, there is an option to restore the DB from previously saved backups:
> - when a new version of the app is published DB structure might be changed
> - in this case, the corresponding DB backup would be saved to keep users data safe
> - if DB migration to a new version has some trouble would restore the previous DB version from the made backups
> - also, available an option into the menu bar to be able to restore DB from the selected backup `Tools`->`Restore DB` and make a new backup file `Tools`->`Backup DB`
> - also, available an option into the menu bar to be able to restore DB from the selected backup `Tools`->`Data Management`->`Restore DB` and make a new backup file `Tools`->`Data Management`->`Backup DB`
> - backups store in the same place where the main DB is placed, in a separated folder `backups/`
> - stores only two last versions of backup files (e.g. `backup_v26_TIMESTAMP.db` and `backup_v25_TIMESTAMP.db`). And not more than two backup files of the last DB version (e.g. `backup_v26_2021-11-05T00-00-00.000Z.db` and `backup_v26_2021-09-05T00-00-00.000Z.db`) for cases when user wants to store more than one backup file for current supported DB schema. Taking into account the previously described, max number of backup files might be three
Expand Down
3 changes: 3 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

const { app } = require('electron')

const productName = require('./src/helpers/product-name')
app.setName(productName)

process.traceProcessWarnings = true
app.allowRendererProcessReuse = true

Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bfx-report-electron",
"version": "3.7.0",
"version": "3.7.1",
"repository": "https://github.com/bitfinexcom/bfx-report-electron",
"description": "Reporting tool",
"author": "bitfinex.com",
Expand All @@ -22,19 +22,19 @@
"electron-updater": "4.3.8",
"extract-zip": "2.0.1",
"find-free-port": "2.0.0",
"github-markdown-css": "4.0.0",
"github-markdown-css": "5.1.0",
"grenache-grape": "git+https://github.com/bitfinexcom/grenache-grape.git",
"js-yaml": "4.1.0",
"lodash": "4.17.21",
"new-github-issue-url": "0.2.1",
"showdown": "1.9.1",
"showdown": "2.0.3",
"truncate-utf8-bytes": "1.0.2",
"yauzl": "2.10.0"
},
"devDependencies": {
"@mapbox/node-pre-gyp": "1.0.6",
"app-builder-bin": "4.1.0",
"electron": "13.6.3",
"electron": "13.6.9",
"electron-builder": "22.11.7",
"node-gyp": "7.1.2",
"standard": "16.0.4"
Expand Down
4 changes: 2 additions & 2 deletions scripts/node/generate-zipand-blockmap.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ const {

const cwd = process.cwd()
const packageJsonPath = path.join(cwd, 'package.json')
const productName = require('../../src/helpers/product-name')

const {
version: APP_VERSION,
build: { productName }
version: APP_VERSION
} = require(packageJsonPath)

const ARCH = 'x64'
Expand Down
10 changes: 8 additions & 2 deletions src/change-loading-win-visibility-state.js
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,10 @@ const hideLoadingWindow = async (opts = {}) => {
} = { ...opts }

if (isRequiredToShowMainWin) {
await showWindow(wins.mainWindow)
await showWindow(
wins.mainWindow,
{ shouldWinBeFocused: true }
)
}

// need to empty description
Expand All @@ -201,7 +204,10 @@ const hideLoadingWindow = async (opts = {}) => {
)
_stopProgressLoader()

return hideWindow(wins.loadingWindow)
return hideWindow(
wins.loadingWindow,
{ shouldWinBeBlurred: true }
)
}

module.exports = {
Expand Down
Loading

0 comments on commit 6f945ed

Please sign in to comment.