mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-05-30 15:10:40 +00:00
Reorganisation + Electron fixes (#118)
* Updates package versions
* Updating versions with RCs
* Updated landing page with stock images
* Begins refactoring of websocket
Adds Help component
* Dark theme for charts
* event Event
* Adds cryptocurrency font
Updates wallet to use it
* Rejigs the location of assets
* rxjs update
wallet font correction
* renaming websocket service
* Refactors websocket use
Destroys and subscribes appropriately
Also handles when websocket is not available with intervals
* Fixes issues with electron by rebasing with Maxime GRIS electron builder
* License change
* Readme update
* Parses available and enabled currencies to create an object {Name:X, Enabled:Y}
* Adds methods to convert from string arrays to objects with enabled status for all currencies
* Uses a localstorage cache for config for 15 minutes
* Moves handling of settings to config object
* Fix typescripting
* Fixes issue with saving and loading
* Slows websocket repeats
Adds cool new dictionary style item and iterable.
Updatres currency-list.component to list all enabled currencies and exchanges (still doesn't do anything)
* Updates selected-currency.component to display all currencies ticker updates if there is no selected currency
Will display only selected currency results once it is set
Sets a new property to ensure all currency names are consistent for currency list plans
* Fixes issue where only one component could listen to the websocket at once
Allows you to select a currency in exchange grid mode
* Adds selected currency support to buy & sell components
Updates selected currency ticker to update on change faster
* Adds Online status indicator
* Removal of console.logs for working features
* Allows currency-list.component to aggregate on currency and list exchanges that match it
* Highlights selected currency in currency-list.component
Allows you to select a currency
This commit is contained in:
9
web/src/environments/environment.dev.ts
Normal file
9
web/src/environments/environment.dev.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
// The file contents for the current environment will overwrite these during build.
|
||||
// The build system defaults to the dev environment which uses `index.ts`, but if you do
|
||||
// `ng build --env=prod` then `index.prod.ts` will be used instead.
|
||||
// The list of which env maps to which file can be found in `.angular-cli.json`.
|
||||
|
||||
export const CONF_DEV = {
|
||||
production: false,
|
||||
environment: 'DEV'
|
||||
};
|
||||
4
web/src/environments/environment.local.ts
Normal file
4
web/src/environments/environment.local.ts
Normal file
@@ -0,0 +1,4 @@
|
||||
export const CONF_LOCAL = {
|
||||
production: false,
|
||||
environment: 'LOCAL'
|
||||
};
|
||||
4
web/src/environments/environment.prod.ts
Normal file
4
web/src/environments/environment.prod.ts
Normal file
@@ -0,0 +1,4 @@
|
||||
export const CONF_PROD = {
|
||||
production: true,
|
||||
environment: 'PROD'
|
||||
};
|
||||
@@ -1,5 +0,0 @@
|
||||
// This file contains production variables. (When you work in PROD MODE)
|
||||
// This file is use by webpack. Please don't rename it and don't move it to another directory.
|
||||
export const environment = {
|
||||
production: true
|
||||
};
|
||||
@@ -1,5 +0,0 @@
|
||||
// This file contains development variables. (When you work in DEV MODE)
|
||||
// This file is use by webpack. Please don't rename it and don't move it to another directory.
|
||||
export const environment = {
|
||||
production: false
|
||||
};
|
||||
Reference in New Issue
Block a user