Commit graph

219 commits

Author SHA1 Message Date
Haishan
e864feb401 fix: mode not display correctly due to clash API change
for https://github.com/haishanh/yacd/issues/491
2020-06-07 18:41:12 +08:00
Haishan
201f6904c2 added: modal prompt to close previous connections when switch proxy 2020-06-07 17:09:23 +08:00
Haishan
bf17be6a65 added: test latency button for each proxy group 2020-06-04 00:05:57 +08:00
Haishan
238e1e7df3 changed: reduce connections table visual width
for #488
2020-06-03 00:04:09 +08:00
eddium
a4fb1ccd65 feat(conns): add filter 2020-05-31 12:26:01 +08:00
Haishan
38eb417688 add: add loading status to test latency button 2020-05-25 23:38:48 +08:00
Haishan
e0e31efdd5 fix: add background color to html select element
see also https://github.com/haishanh/yacd/issues/483
2020-05-17 21:56:53 +08:00
Haishan
32f18e191a chore: tweak external controller setup modal style 2020-05-14 23:32:20 +08:00
Haishan
faf4cba37c chore: lib classnames -> clsx 2020-05-14 22:50:48 +08:00
Haishan
aceb1b4a36 add: button to pause connection refresh 2020-05-14 22:44:21 +08:00
Haishan
456d2a6b54 Changed: use color icons in sidebar (experimental) 2020-05-01 00:08:11 +08:00
Haishan
94e2b1e398 feat: allow change proxies sorting in group 2020-04-26 17:59:02 +08:00
Haishan
7cdbba5bf4 chore: use google fonts hosting 2020-04-26 17:58:58 +08:00
Haishan
2ef14e63c0 build: upgrade deps 2020-04-26 17:58:54 +08:00
Haishan
8e48c01e7a feat: remembers group collapse state
for https://github.com/haishanh/yacd/issues/480
2020-03-21 13:33:43 +08:00
Haishan
0b20e145ca feat: support set theme with querystring 2020-03-14 15:57:16 +08:00
Haishan
3444f61688 fix: fix broken allow-lan switch 2020-03-14 15:45:20 +08:00
Haishan
6fa117714c chore: cleanup unused legacy redux based global state code 2020-03-14 15:01:03 +08:00
Haishan
4f0e75f029 ci: use checkout v2 in actions 2020-03-05 09:53:41 +08:00
Haishan
b870121fb3 fix: allow request latency for non-original clash proxy types
for #474
2020-03-01 19:27:47 +08:00
Haishan
03a249c032 chore: a11y and animation for the theme toggle 2020-03-01 18:57:51 +08:00
Haishan
21653c4156 chore: use react-switch for better a11y 2020-03-01 17:34:05 +08:00
Haishan
2ff62bb0b9 feat(conns): show download upload speed 2020-03-01 14:48:15 +08:00
Chao Shen
63975ed0ff
Support setting hostname with querystring 2020-02-29 16:28:40 +08:00
Haishan
e85116bf71 refactor(Proxies): UI revamp 2020-02-10 23:04:57 +08:00
hitsmaxft
bd82b8c5e3 dropdown button & global switch 2020-02-10 17:28:04 +08:00
hitsmaxft
c206c33697 移动按钮位置 2020-02-10 17:28:04 +08:00
hitsmaxft
57f45cd6e0 remove code 2020-02-10 17:28:04 +08:00
hitsmaxft
7785066dd1 fix test 2020-02-10 17:28:04 +08:00
hitsmaxft
b126e2c27a add filter for remove unstable proxies 2020-02-10 17:28:04 +08:00
Haishan
5e3cffcdef chore: add title to proxy dot in collapsed provider to increase a11y 2020-02-10 17:20:15 +08:00
Haishan
804517c510 fix: use destination ip as host if host is an empty string 2020-02-06 16:46:52 +08:00
Haishan
7a5cd76e1e build: ugprade deps 2020-02-06 16:25:07 +08:00
Haishan
ff04a47ca4 feat(Conns): keep up to 100 closed connections in another tab 2020-01-07 22:10:55 +08:00
Haishan
dfbdee4749 chore: initially sort connections by id 2020-01-07 22:10:50 +08:00
Haishan
85d948def8 feat: support change latency test url #286 2020-01-04 16:56:53 +08:00
Haishan
a06a321317 build: remove svg-sprite-loader 2020-01-04 14:35:42 +08:00
Haishan
764be1f67e refactor: migrate to new global state solution 2020-01-04 13:56:14 +08:00
Haishan
f30662f51e fix: do not show provider section when is no provider 2020-01-03 00:23:25 +08:00
Haishan
d2edc5e3e9 refactor: optimize test latency action when there are providers 2020-01-03 00:21:29 +08:00
Haishan
c946cd3875 feat: refresh providers and proxies on window regain focus 2020-01-03 00:21:28 +08:00
Haishan
3d761f5c36 refactor: add a loading state to Button 2019-12-27 16:29:46 +08:00
Haishan
aca578cb9d refactor: abstract ButtonWithIcon as a button enhancer 2019-12-27 16:29:46 +08:00
Haishan
45c3c7b8b4 chore: get rid of webpack resolve alias 2019-12-27 16:29:45 +08:00
Haishan
b033b4825d feat: can healthcheck a provider 2019-12-26 18:16:40 +08:00
Haishan
17402f6eea fix: typo in connections table header 2019-12-22 19:32:20 +08:00
Haishan
1ab5ac02e6 fix: connections table header data miss alignment 2019-12-21 22:47:04 +08:00
Haishan
48a0bb5a77 build: use react-refresh 2019-12-20 23:02:10 +08:00
Haishan
d81592ec97 feat: support proxy provider 2019-12-20 17:45:05 +08:00
Haishan
83f638620f feat: add upload/download total and connectors number on overview 2019-12-04 00:13:16 +08:00
Haishan
00e54b1b4f chore(connections): merge host and dPort into one column 2019-12-03 00:02:23 +08:00
Haishan
6300940c9c chore(connections): sort by id to maintain a more stable ordering 2019-12-02 23:56:20 +08:00
Haishan
4ffd183f88 fix: specify fab group z-index 2019-12-02 00:19:54 +08:00
Haishan
8b5ecb3f18 feat: support close all connections
for https://github.com/haishanh/yacd/issues/338
2019-12-01 22:41:59 +08:00
Haishan
b7a59789d7 feat: use history latency data 2019-11-20 22:48:48 +08:00
Haishan
c28ff93b67 refactor: improve UI for small screens 2019-11-17 17:31:59 +08:00
Haishan
da26c898fb chore: add place holder when there is no connections data 2019-11-14 00:24:50 +08:00
Haishan
ab61e84926 chore: update connections table sorting indicator icon 2019-11-14 00:13:12 +08:00
Haishan
6754620d7a feat: connections inspection 2019-11-09 13:21:25 +08:00
Haishan
c2cc27e051 refactor: API server probing improvement and APIConfig refactor 2019-10-14 22:21:29 +08:00
Comzyh
9568e050f1 Detect clash API server at / when log in. (#258) 2019-10-14 21:47:12 +08:00
Haishan
666c603128 build: reduce core-js polyfills in bundle 2019-10-02 23:36:24 +08:00
Haishan
4d275336ae build: upgrade deps 2019-10-02 14:36:24 +08:00
Haishan
39ebf0c56c chore: default log level to info 2019-10-02 14:25:40 +08:00
Haishan
51e363372f fix: wrong usage of prefetch on css meta link 2019-10-01 00:33:17 +08:00
Haishan
5f7cf1efc0 feat: support use WebSocket for traffic and logs data fetching 2019-10-01 00:25:15 +08:00
Haishan
d7b20c47fd fix: revert useRemainingViewPortHeight to use useLayoutEffect 2019-10-01 00:23:58 +08:00
Haishan
c31e691e8b chore: use loli.net for all Google Fonts 2019-10-01 00:23:58 +08:00
Haishan
dec6c87884 feat: new Loading component <Loading2 /> 2019-10-01 00:23:58 +08:00
Haishan
9bdefb86e9 refactor: improve useRemainingViewPortHeight 2019-10-01 00:23:57 +08:00
dependabot-preview[bot]
dc9ab41d2f build: upgrade deps 2019-10-01 00:23:44 +08:00
Haishan
f45d7e0506 chore: remove maxDuration prop on Suspense 2019-08-29 22:53:13 +08:00
Haishan
36034a7d2e feat: log app version to console 2019-08-29 22:51:22 +08:00
Haishan
d97017d74c build: upgrade eslint 2019-08-29 22:04:57 +08:00
Yonghui Zhang
5c30108b80 sort ProxyGroups according its index in GLOBAL group. 2019-08-29 01:01:02 +08:00
Haishan
515f7376a8 fix(proxies): test latency FAB was covered by proxy card 2019-07-06 21:48:22 +08:00
Haishan
d67eb1b431 fix(traffic): prevent GET /traffic being called multiple times 2019-07-06 21:48:22 +08:00
Haishan
865c711404 refactor: update proxy page proxy item display style
also list proxies in "GLOBAL" group which fixes #74
2019-07-06 17:23:26 +08:00
Haishan
8d6c588913 refactor: remove accent color on sidebar icons 2019-06-20 22:58:32 +08:00
Haishan
6b9635875b refactor: use Merriweather Sans as primary font family 2019-06-20 22:39:17 +08:00
Haishan
f1bf141ebd fix(proxies): disable automatic latency test after fetching all proxies 2019-06-04 22:34:49 +08:00
Haishan
2a254588f3 build: upgrade deps
- build(deps): upgrade core-js
- build(deps-dev): bump mini-css-extract-plugin from 0.6.0 to 0.7.0 (#21)
- build(deps): bump react-window from 1.8.1 to 1.8.2 (#22)
- build(deps-dev): bump clean-webpack-plugin from 2.0.2 to 3.0.0
- Bumps [clean-webpack-plugin](https://github.com/johnagan/clean-webpack-plugin) from 2.0.2 to 3.0.0.
- update clean-webpack-plugin usage
- build(deps): bump @sentry/browser from 5.3.0 to 5.4.0 (#24)
- build(deps-dev): bump react-hot-loader from 4.8.8 to 4.9.0 (#26)
- build(deps-dev): bump autoprefixer from 9.5.1 to 9.6.0 (#27)
- move browserslist to package.json
2019-06-04 22:34:39 +08:00
Haishan
96891092f0 feat: improve UI on mobile 2019-05-27 22:53:58 +08:00
Haishan
16e61f1533 feat(logs): fetch logs with correct log level
see also #14
2019-05-14 23:31:11 +08:00
Haishan
882b168082 squash: feat(config): add options to select traffic chart style 2019-04-21 21:58:33 +08:00
Haishan
eda2501b1d feat(config): add button to clear local storage 2019-04-20 16:42:56 +08:00
Haishan
e68f4ce966 fix(streaming): split and join JSON string chunks correctly
for #13

Sometimes in Safari, in one "pump" you can get the content below(decoded
text string):

'{"up":0,"down":38589}\n{"up":0,"down":59928}'

and then JSON.parse will throw
2019-04-19 00:17:06 +08:00
Haishan
7dac1d44c7 refactor: replace sass with postcss 2019-04-14 22:56:14 +08:00
Haishan
68a38e7359 fix(ToggleSwitch): selected option slider left offset 2019-04-12 23:03:12 +08:00
Haishan
732367e65c APIConfig: make whole content element full screen fixed 2019-04-09 20:51:02 +08:00
Haishan
ce4967e1ab APIConfig: update style
also added input and button focus style
2019-04-06 21:40:24 +08:00
Haishan
b401a7b78f sidebar: add a logo hover animation 2019-03-31 00:21:11 +08:00
Haishan
2a9de5ea10 icon: using svg component for the logo 2019-03-31 00:21:10 +08:00
Haishan
132158e3b8 chart: add another color combo 2019-03-31 00:21:10 +08:00
Haishan
f5a16279d0 tooling: update eslint config 2019-03-31 00:21:10 +08:00
Haishan
5812bed54a chore: upgrade deps 2019-03-31 00:21:09 +08:00
Haishan
5b51781ee7 sidebar: using svg component as icon 2019-03-02 20:38:16 +08:00
Haishan
788b6286dc feat: support LoadBalance group 2019-02-18 22:41:54 +08:00
Haishan
03e46d9096 style: new layout for proxy item
also:

- speed up proxy item on hover scale up animation
- reduce icons stroke width
2019-02-11 22:38:20 +08:00
Haishan
f364975545 chore: upgrade deps
also, log message on build ready with webpack dev middleware hook
2019-02-09 23:29:51 +08:00