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

Dev #268

Closed
wants to merge 122 commits into from
Closed

Dev #268

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
122 commits
Select commit Hold shift + click to select a range
8c883ea
web-ui: updated the frontend ui
vhurryharry Aug 13, 2020
2328771
Merge branch 'develop' into develop
vhurryharry Oct 5, 2020
8029f28
set max-width of the content, update navbar
midasdev711 Feb 24, 2021
2ad3afb
remove conflict
midasdev711 Feb 24, 2021
82b723d
update
midasdev711 Feb 26, 2021
2910acc
update package.json
midasdev711 Feb 26, 2021
cda2405
update dashboard, block, node
midasdev711 Feb 26, 2021
68ce5b3
fix issue in ticker
midasdev711 Feb 26, 2021
9fa79af
update top 2 blocks in node
midasdev711 Feb 26, 2021
a2a61af
update decimal in node and dashboard tickers
midasdev711 Feb 26, 2021
6a2d7c7
update node, address and block & transaction tables
midasdev711 Feb 27, 2021
88518f5
fix issues in node
midasdev711 Mar 1, 2021
8713a80
update node and dashboard
midasdev711 Mar 1, 2021
826fada
add tools menu and dropdown menu
midasdev711 Mar 1, 2021
fc8b295
update transaction-table and fix navbar
midasdev711 Mar 2, 2021
f06ee88
update navbar
midasdev711 Mar 2, 2021
b763bdc
update address and search box
midasdev711 Mar 2, 2021
eedaefb
update calculator, address detail, and trezor pages
midasdev711 Mar 3, 2021
9000771
update trezor wallet and fix issue in address detail
midasdev711 Mar 4, 2021
c9bb38d
update trezor wallet, address detail and navbar
midasdev711 Mar 4, 2021
4de9b82
update address detail, navbar, dashboard
midasdev711 Mar 5, 2021
9077a44
update style in calculator
midasdev711 Mar 5, 2021
e7c0cc0
update style in trezor wallet and calculator
midasdev711 Mar 6, 2021
f95b6c0
update address and calculator style
midasdev711 Mar 8, 2021
e26141a
update dex-monitor page
midasdev711 Mar 8, 2021
a0c3a0f
integrate api in dex-monitor
midasdev711 Mar 9, 2021
0deff1a
fix cors issue in dex-monitor api call
midasdev711 Mar 9, 2021
3edc4bb
fix cors issue in dex-monitor api call
midasdev711 Mar 9, 2021
9e72683
fix cors issue in dex-monitor api call
midasdev711 Mar 9, 2021
fb6bdb1
update style in trezor-connect, node
midasdev711 Mar 9, 2021
a71c30a
update server.js
midasdev711 Mar 10, 2021
dc3305c
update
midasdev711 Mar 11, 2021
83747a7
fix issue in navbar dropdown
midasdev711 Mar 11, 2021
2a49cbd
refactor transactions and update dex-monitor
midasdev711 Mar 12, 2021
031cb1d
update
midasdev711 Mar 13, 2021
abcaf36
update tab style and calculator
midasdev711 Mar 13, 2021
23d9d81
update pagination and fix issue in node ticker
midasdev711 Mar 15, 2021
fed1678
update select, calculator and dex-monitor
midasdev711 Mar 15, 2021
3d18fe4
update node ticker
midasdev711 Mar 15, 2021
2c4e5ef
update address detail, transactions page, node ticker
midasdev711 Mar 16, 2021
f7c8dc2
update address detail page
midasdev711 Mar 16, 2021
c8db28e
update
midasdev711 Mar 16, 2021
e2435b1
update address detail page and node ticker
midasdev711 Mar 17, 2021
4c4d5ee
update calculator and node
midasdev711 Mar 18, 2021
466f05c
update address detail, calculator
midasdev711 Mar 18, 2021
4367679
update address detail
midasdev711 Mar 18, 2021
d6fa076
fix issue in loading transactions in address detail
midasdev711 Mar 18, 2021
335f5be
update block table and fix issue in address detail page
midasdev711 Mar 19, 2021
a537633
update tables to remove effect and 2 rows
midasdev711 Mar 20, 2021
0cbd291
update label in calculator
midasdev711 Mar 20, 2021
dd56f2a
update style in masternode and add more fields in calculator
midasdev711 Mar 22, 2021
1449510
update calculator
midasdev711 Mar 22, 2021
eaf1313
update hydra node in calculator
midasdev711 Mar 23, 2021
0b03c07
fix memory leak issue
midasdev711 Mar 23, 2021
38f86af
update calculator and add comma to all big numbers
midasdev711 Mar 24, 2021
d97ae4c
fix issue in calculator
midasdev711 Mar 24, 2021
30fed4e
update text in node ticker
midasdev711 Mar 24, 2021
0282705
update calculator, address detail and transaction detail
midasdev711 Mar 25, 2021
45de114
update height in dashboard and integrate v2 api
midasdev711 Mar 26, 2021
ef29886
update transactions
midasdev711 Mar 26, 2021
8161067
update style in trezor-connect and block, transaction, address detail…
midasdev711 Mar 27, 2021
bd6ec9e
update masternode detail
midasdev711 Mar 27, 2021
32e7822
update
midasdev711 Mar 29, 2021
e99b416
update style for mobile view
midasdev711 Mar 30, 2021
8b07556
update style for mobile view
midasdev711 Mar 31, 2021
21c2cc6
update style for mobile view
midasdev711 Mar 31, 2021
746556d
update navbar and calculator
midasdev711 Apr 1, 2021
682d958
update placeholder in calculator
midasdev711 Apr 1, 2021
bcdbbb9
remove labels in calculator
midasdev711 Apr 1, 2021
45773a8
update label in calculator
midasdev711 Apr 1, 2021
87b009e
fix issue in address detail for mobile view and add loading effect in…
midasdev711 Apr 2, 2021
5620459
update dashboard with table loading icon
midasdev711 Apr 3, 2021
37ceac3
update
midasdev711 Apr 5, 2021
5d1027d
fix issues in navbar and add new items in dashboard ticker and calcul…
midasdev711 Apr 6, 2021
b5f5796
update table loading effect and burned percent in dashboard
midasdev711 Apr 6, 2021
1de358b
auto update data in every 10s
midasdev711 Apr 7, 2021
301dfe1
update calculator
midasdev711 Apr 8, 2021
c4e459e
add table loading effect in blocks, transactions and address detail p…
midasdev711 Apr 8, 2021
2ff6de8
update calculator and transaction v2
midasdev711 Apr 9, 2021
09953f1
update calculator
midasdev711 Apr 9, 2021
6fc748c
update table loading effect style
midasdev711 Apr 9, 2021
cfc9163
fix issue in table loading effect and update label in calculator
midasdev711 Apr 10, 2021
fbc0dd1
fix issue in table loading effect on safari
midasdev711 Apr 10, 2021
9d880f8
remove conflict
midasdev711 Apr 12, 2021
93ff756
remove error in test
midasdev711 Apr 12, 2021
7682497
remove error in test
midasdev711 Apr 12, 2021
73392ab
fix issue in calculator
midasdev711 Apr 12, 2021
95fe21a
fix issues
midasdev711 Apr 12, 2021
284ce4a
fix typo and issues in colors
midasdev711 Apr 12, 2021
ba9cef3
update calculator and restore Alex's update
midasdev711 Apr 13, 2021
8609c69
update test files
midasdev711 Apr 13, 2021
6a86b93
update test files
midasdev711 Apr 13, 2021
fe4ba36
update test files
midasdev711 Apr 13, 2021
7d191cf
update calculator and test files
midasdev711 Apr 14, 2021
dd22595
fix issues in dashboard, address detail, trezor connect and calculator
midasdev711 Apr 16, 2021
c742a28
update calculator and add refreshing icon
midasdev711 Apr 19, 2021
38a2fa4
update test files and add tooltip to refreshing icon
midasdev711 Apr 19, 2021
62dcd10
update navbar test
midasdev711 Apr 19, 2021
a02a6ab
Merge branch 'develop' into dev
midasdev711 Apr 19, 2021
153e6a3
update calculator
midasdev711 Apr 20, 2021
ba7c6bb
Merge branch 'dev' of https://github.com/midasdev711/block-explorer i…
midasdev711 Apr 20, 2021
8b2ea9c
Merge branch 'develop' into dev
midasdev711 Apr 21, 2021
a8fe3d2
update angular json
midasdev711 Apr 21, 2021
8a47335
Merge branch 'dev' of https://github.com/midasdev711/block-explorer i…
midasdev711 Apr 21, 2021
1ead49d
update gitignore
midasdev711 Apr 21, 2021
27c2455
Update circle ci
midasdev711 Apr 21, 2021
a20d189
update loading icon
midasdev711 Apr 21, 2021
39ac487
update test files
midasdev711 Apr 21, 2021
8524b36
update test file for navbar
midasdev711 Apr 22, 2021
9eeb723
update calculator page and enable navbar items
midasdev711 Apr 22, 2021
92c81ad
add help icon and update style in calculator
midasdev711 Apr 22, 2021
0a7bffc
update calculator
midasdev711 Apr 22, 2021
5e7d35f
fix issue in calculator
midasdev711 Apr 22, 2021
c1217a3
fix issue in navbar
midasdev711 Apr 23, 2021
0026ab7
update mobile view in dex calculator
midasdev711 Apr 26, 2021
8ea2ecd
update navbar and calculator for mobile view
midasdev711 Apr 29, 2021
4ef39a3
left align in all tables
midasdev711 Apr 29, 2021
5aa82e6
update calculator
midasdev711 Apr 30, 2021
ec4cf20
update loading icon
midasdev711 May 4, 2021
ab6d2fe
update dex calculator
midasdev711 May 5, 2021
712ab8a
clean code
midasdev711 May 18, 2021
d984236
clean code
midasdev711 May 18, 2021
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
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Scala CircleCI 2.0 configuration file
#
# Check https://circleci.com/docs/2.0/sample-config/ for more details
#

version: 2
jobs:
build-web:
Expand All @@ -18,7 +18,7 @@ jobs:
paths:
- "web-ui/node_modules"
- run: cd web-ui && npm run test -- --no-watch --no-progress --browsers=ChromeHeadlessCI
- run: cd web-ui && npm run e2e -- --protractor-config=e2e/protractor-ci.conf.js
# - run: cd web-ui && npm run e2e -- --protractor-config=e2e/protractor-ci.conf.js
AlexITC marked this conversation as resolved.
Show resolved Hide resolved

build-server:
machine:
Expand Down
1 change: 0 additions & 1 deletion web-ui/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ testem.log
/typings

# e2e
/e2e/*.js
/e2e/*.map

# System Files
Expand Down
3 changes: 2 additions & 1 deletion web-ui/angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@
"src/favicon.ico"
],
"styles": [
"src/styles.css"
"src/styles.css",
"./node_modules/ngx-ui-switch/ui-switch.component.css"
midasdev711 marked this conversation as resolved.
Show resolved Hide resolved
],
"scripts": []
},
Expand Down
13 changes: 11 additions & 2 deletions web-ui/e2e/app.e2e-spec.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { AppPage } from './app.po';
import { browser, logging } from 'protractor';

describe('web-ui App', () => {
let page: AppPage;
Expand All @@ -9,6 +10,14 @@ describe('web-ui App', () => {

it('should display welcome message', () => {
page.navigateTo();
expect(page.getParagraphText()).toEqual('Welcome to app!');
expect(page.getTitleText()).toEqual('Welcome to protractor-example!');
});
});

afterEach(async () => {
// Assert that there are no errors emitted from the browser
const logs = await browser.manage().logs().get(logging.Type.BROWSER);
expect(logs).not.toContain(jasmine.objectContaining({
level: logging.Level.SEVERE,
} as logging.Entry));
});
});
8 changes: 4 additions & 4 deletions web-ui/e2e/app.po.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ import { browser, by, element } from 'protractor';

export class AppPage {
navigateTo() {
return browser.get('/');
return browser.get(browser.baseUrl) as Promise<any>;
}

getParagraphText() {
return element(by.css('app-root h1')).getText();
getTitleText() {
return element(by.css('app-root h1')).getText() as Promise<string>;
}
}
}
4 changes: 4 additions & 0 deletions web-ui/e2e/protractor-ci.conf.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
exports.config = {
// seleniumAddress: 'http://localhost:4444/wd/hub',
specs: ['app.e2e-spec.ts']
};
5 changes: 2 additions & 3 deletions web-ui/e2e/tsconfig.e2e.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
{
"extends": "../tsconfig.json",
"compilerOptions": {
"outDir": "../out-tsc/e2e",
"baseUrl": "./",
"outDir": "../out-tsc/app",
"module": "commonjs",
"target": "es5",
"types": [
Expand All @@ -11,4 +10,4 @@
"node"
]
}
}
}
Loading