Commit graph

1060 commits

Author SHA1 Message Date
EnixCoda
5c65f9e7f5 feat: IconButton & RoundIconButton 2022-06-06 20:55:04 +08:00
EnixCoda
38e5ee718c chore: rename useVisibleNodesGenerator 2022-06-06 20:55:04 +08:00
EnixCoda
1d733fb1cf feat: enable auto expand if native PR file tree is collapsed 2022-06-06 20:55:04 +08:00
EnixCoda
8dbc723b53 chore: optimize settings layout 2022-06-06 20:55:04 +08:00
EnixCoda
318f4b6c69 feat: enable fast get pull request files in large ones 2022-06-06 20:55:04 +08:00
EnixCoda
dcaa58a31b fix: correct type of $ 2022-06-06 20:55:04 +08:00
EnixCoda
43aaa3874c feat: simple config fields 2022-06-03 15:02:33 +08:00
EnixCoda
32fa56e91f fix: resolve PR page link via response 2022-06-03 12:25:30 +08:00
EnixCoda
ff1bdd6f0f refactor: clean config context read 2022-05-30 00:51:36 +08:00
EnixCoda
0564212246 chore: deprecate Field 2022-05-30 00:32:58 +08:00
EnixCoda
0902841928 feat: use primer form 2022-05-30 00:32:49 +08:00
EnixCoda
f66e38291f feat: use primer checkbox 2022-05-29 23:27:13 +08:00
EnixCoda
a86f78554c feat: use primer select 2022-05-29 23:27:05 +08:00
EnixCoda
51601100fd fix: make sure all gitako elements within variable scope 2022-05-29 17:31:36 +08:00
EnixCoda
ad02ba600e chore: enhance input field styles 2022-05-29 17:05:04 +08:00
EnixCoda
71151cb4e1 fix: override gitea style 2022-05-29 17:05:04 +08:00
EnixCoda
a5baa23c77 feat: add primer base styles 2022-05-29 17:05:04 +08:00
EnixCoda
b97a850100 feat: use @primer/primitives 2022-05-29 17:05:04 +08:00
EnixCoda
6cfafa9e67 feat: simplify theme 2022-05-29 17:05:04 +08:00
EnixCoda
3cdd3fa600 feat: set VNG along with DOM focus 2022-05-29 17:05:04 +08:00
EnixCoda
a5efba62f4 fix: enhance borders 2022-05-29 17:05:04 +08:00
EnixCoda
15da7ca977 chore: enhance wording for lazy mode 2022-05-29 17:05:04 +08:00
EnixCoda
a0bc45f0a9 feat: enhance search input action 2022-05-29 17:05:04 +08:00
EnixCoda
cbac7542ff refactor: use abort than checker 2022-05-29 17:05:04 +08:00
EnixCoda
ec78f36e67 fix: get visible nodes properly 2022-05-29 17:05:04 +08:00
EnixCoda
8cb16fff6c chore: render in the react 18 way 2022-05-29 17:05:04 +08:00
EnixCoda
536d191fb8 refactor: scroll to focused element 2022-05-29 17:05:04 +08:00
EnixCoda
ded704d6c0 chore: deprecate driver error catcher 2022-05-29 17:05:04 +08:00
EnixCoda
9622a5a557 fix: solve UI layering 2022-05-29 17:05:04 +08:00
EnixCoda
9c6ccbe2fc chore: add basic type assertion util 2022-05-29 17:05:04 +08:00
EnixCoda
2c93bc64eb chore: resolve eslint issues 2022-05-29 17:05:04 +08:00
EnixCoda
77d9db6043 lint: resolve lint issues 2022-05-29 17:05:04 +08:00
EnixCoda
850ea5a64a chore: deprecate show diff in text 2022-05-29 17:05:04 +08:00
EnixCoda
d0be9cedb2 refactor: File Explorer 2022-05-29 17:05:04 +08:00
EnixCoda
b0dcb256a7 chore: use cancel in one time listener 2022-05-29 17:05:03 +08:00
EnixCoda
a01a7ede9e refactor: memoize useStateIO 2022-05-29 17:05:03 +08:00
EnixCoda
a093a9d86d chore: useConfig().value 2022-05-29 17:05:03 +08:00
EnixCoda
23c0b8118a refactor: extract hooks 2022-05-29 17:05:03 +08:00
EnixCoda
771a10ea57 build: upgrade UI dependencies 2022-05-29 17:05:03 +08:00
EnixCoda
7fadb5fd57 build: upgrade react 2022-05-29 17:05:03 +08:00
EnixCoda
d0cbc89747 build: update react-window and fix scroll logic 2022-05-12 23:27:08 +08:00
EnixCoda
e9489803cf fix: decode json 2022-05-12 23:27:08 +08:00
EnixCoda
3cacad133c refactor: enhance network requests 2022-05-12 23:27:08 +08:00
EnixCoda
46cc04b3ee refactor: extract formatters for hash and class name 2022-05-12 23:27:08 +08:00
EnixCoda
71af3514a2 chore: replace regex 2022-05-12 23:27:08 +08:00
EnixCoda
22191fc31c feat: resolve GitHub commit page 2022-05-12 23:27:08 +08:00
EnixCoda
c17da0f1f2 chore: adjust borders 2022-05-03 22:13:55 +08:00
EnixCoda
d447c5bcb6 refactor: update layout 2022-05-01 18:07:55 +08:00
EnixCoda
afe2d0db66 chore: fix an any 2022-04-28 23:02:46 +08:00
EnixCoda
bf37b6e7c5 build: upgrade js/ts 2022-04-28 00:31:40 +08:00
EnixCoda
4230aea235 chore: reorganize action buttons order 2022-04-27 22:57:11 +08:00
EnixCoda
59ee3e4375 chore: update gitako service host 2022-04-25 22:33:51 +08:00
EnixCoda
d9659e26b2 chore: update extension API used for injecting scripts 2022-04-25 22:33:50 +08:00
EnixCoda
d70939af78 build: update manifest version number 2022-04-25 22:21:33 +08:00
EnixCoda
528c5f9d4a feat: add support of new tritanopia themes
fix #226
2022-04-24 23:07:33 +08:00
EnixCoda
5a2ba38094 chore: enhance lazy mode UI 2022-04-24 22:22:05 +08:00
EnixCoda
66da1dd903 fix: not opening deepest matched fuzzy search dir 2022-04-24 22:14:48 +08:00
EnixCoda
13b4d6d2bd fix: recursive toggle folders was blocked 2022-04-24 21:45:46 +08:00
EnixCoda
abcd3c3a3e test: add test for VNG 2022-04-24 18:11:52 +08:00
EnixCoda
d9272a7b24 fix: some items are missing from search results 2022-04-24 15:46:08 +08:00
EnixCoda
c8fcfa2120 fix: reset expanded nodes on search 2022-04-24 14:50:06 +08:00
EnixCoda
0dfb932d04 refactor: move VisibleNodesGenerator 2022-04-24 14:49:12 +08:00
EnixCoda
f23a991267 fix: solve render error 2022-04-24 00:09:01 +08:00
EnixCoda
c149f96ca8 chore: reformat code 2022-04-24 00:08:22 +08:00
EnixCoda
9c4152fce6 refactor: extract createAnchorClickHandler 2022-04-24 00:02:02 +08:00
EnixCoda
fc3e19650d fix: put toggle sidebar button and sidebar over GHE stat bar
fix #220
2022-04-17 21:44:29 +08:00
EnixCoda
e740d67d44 fix: prevent auto collapsing sidebar when enabling Auto Expand or pinning sidebar
fix #155
2022-03-28 00:03:54 +08:00
EnixCoda
4f35c36054 fix: reposition toggle sidebar button into view on window height reduce 2022-03-27 23:43:24 +08:00
EnixCoda
edc8d32aac chore: extract useResizeHandler 2022-03-27 23:43:02 +08:00
EnixCoda
89c747206b feat: prevent auto expand if GitHub native PR tree is enabled 2022-03-20 23:07:17 +08:00
EnixCoda
1e72cad644 fix: strict limit exec order of multiple VisibleNodesGenerator instances
fix #218
2022-03-20 22:58:38 +08:00
EnixCoda
dbdc3828ac fix: prevent resetting node state when toggle search mode but search input is empty
fix #217
2022-03-20 22:41:28 +08:00
EnixCoda
5efbf8354d feat: support PJAX on repo name link
fix #214
2022-03-20 22:17:39 +08:00
Kid
c853c6c09e Make folded lines more recognizable 2022-02-13 17:10:30 +08:00
EnixCoda
162fda29dd Merge branch 'feature/safari' into develop
# Conflicts:
#	src/components/searchModes/fuzzyMode.tsx
2022-02-12 21:54:05 +08:00
EnixCoda
bf360efe1f feat: use consistent selector chevron 2022-02-12 21:22:14 +08:00
EnixCoda
3d4bf82f02 fix: style patch for select in Safari 2022-02-12 21:22:14 +08:00
EnixCoda
29c9314c6d fix: prevent selection when resizing in Safari 2022-02-12 21:22:14 +08:00
EnixCoda
c493509579 feat: support safari tab bar toggle 2022-02-12 21:22:14 +08:00
EnixCoda
2d38788ac9 fix: resolve react key errors of fuzzy mode search results 2022-01-14 16:54:19 +08:00
EnixCoda
7ab1c95b99 Merge branch 'develop' into feature/safari 2022-01-14 16:34:05 +08:00
EnixCoda
5f43295788 fix: prevent covered by GitHub notifications center header 2021-12-25 20:27:15 +08:00
EnixCoda
54c002822d chore: update search mode button description 2021-12-25 12:39:24 +08:00
EnixCoda
73adbf0310 fix: add PJAX container fallback logic 2021-12-25 12:20:56 +08:00
EnixCoda
140c1c3f48 feat: enhance PR file comments stat 2021-12-24 18:10:56 +08:00
EnixCoda
cdabd7a51f feat: show PR file diff 2021-12-24 17:28:06 +08:00
EnixCoda
193a8f48a1 feat: optimize resize and enable drag on Firefox 2021-12-23 14:02:27 +08:00
EnixCoda
86a030f308 fix: double click to reset sidebar size 2021-12-23 12:45:45 +08:00
EnixCoda
73f9a8fcbe Merge branch 'feature/optimize-resize' into develop 2021-12-23 11:46:43 +08:00
EnixCoda
088198fa6e feat: optimize multi-line header layout 2021-12-23 11:46:39 +08:00
EnixCoda
a2d2314c09 feat: optimize file tree performance 2021-12-23 11:43:09 +08:00
EnixCoda
da930bc35f feat: optimize resizing performance 2021-12-22 21:42:39 +08:00
EnixCoda
f88d7c0575 fix: extend native PJAX compatibility 2021-12-22 14:32:40 +08:00
EnixCoda
e5d4b6875f feat: update themes and add light high contrast mode 2021-12-22 11:38:16 +08:00
EnixCoda
d90e79f722 fix: color of active pin button 2021-11-02 21:32:13 +08:00
EnixCoda
5c92b9971f fix: resolve configVersion of value null 2021-11-01 22:11:36 +08:00
EnixCoda
a483a4f7d3 chore: deprecate safeSetSize 2021-11-01 18:39:08 +08:00
EnixCoda
29b647d6c5 fix: sidebar content shifts after reducing window height 2021-11-01 18:39:08 +08:00
EnixCoda
8a662b1314 chore: migrate theme variables 2021-11-01 17:19:13 +08:00
EnixCoda
3904da736a refactor: simplify themes generator 2021-11-01 17:19:13 +08:00
EnixCoda
1ab96a12de feat: support colorblind themes 2021-11-01 17:19:13 +08:00
EnixCoda
98abbd3433 chore: check colors visually 2021-11-01 17:19:13 +08:00
EnixCoda
bd69007f4f chore: update GitHub color references 2021-11-01 16:06:51 +08:00
EnixCoda
869540b45c REPLACE 2021-11-01 16:06:51 +08:00
EnixCoda
740b9cbd60 chore: update CSS variables 2021-11-01 16:06:51 +08:00
EnixCoda
81c1f1ffe0 chore: sort css variables 2021-11-01 16:06:51 +08:00
Enix
e4d3c1bfd6
Merge pull request #188 from Nezteb/develop
Fix small selector typo I made in DOMHelper.ts...
2021-11-01 10:22:15 +08:00
Noah
3b38b79aac
Update DOMHelper.ts 2021-10-31 15:13:30 -05:00
Enix
1c9d477520
Merge pull request #186 from Nezteb/develop
Make selectors for repo author and name more specific to avoid conflicts with other GitHub extensions
2021-10-31 00:20:58 +08:00
EnixCoda
18a0c4442e fix: trim branch name on gitee 2021-10-30 23:04:18 +08:00
EnixCoda
84c546390e Merge branch 'feature/github-native-pjax-dom' into develop 2021-10-30 23:02:38 +08:00
EnixCoda
2a5c9725e8 fix: allow open in new window with shift in macOS 2021-10-30 23:01:44 +08:00
EnixCoda
0de422ffb7 feat: customize pjax behavior by platforms 2021-10-30 23:01:43 +08:00
Enix
9ac855c153
Merge pull request #177 from kidonng/github-native-pjax
Use GitHub native PJAX
2021-10-30 22:55:07 +08:00
Noah
1ed0db0c65
Update DOMHelper.ts 2021-10-26 14:05:18 -05:00
EnixCoda
dca643f4e5 refactor: move use progress bar
Independent from platform
2021-10-14 21:11:49 +08:00
EnixCoda
1d1724ae84 feat: disable copy file button on github.com 2021-09-25 19:31:16 +08:00
EnixCoda
c137eeff01 chore: rename code fold element class name 2021-09-21 21:07:12 +08:00
EnixCoda
6d6d04465d feat: hide sidebar when print 2021-09-21 21:06:56 +08:00
Kid
8a3135a312 Use GitHub native PJAX 2021-09-15 15:46:58 +08:00
Kid
97d09e2e33
Hide icon when printing 2021-09-07 18:59:51 +08:00
EnixCoda
5100c7b98d fix: style of folded block would crash on disabling the feature 2021-08-20 17:30:28 +08:00
EnixCoda
ab9c5686ca fix: detach fold source code buttons on disabling the feature 2021-08-19 18:29:03 +08:00
EnixCoda
db98457fa7 chore: update contact links 2021-08-08 01:34:43 +08:00
EnixCoda
e2cd697eec chore: prevent block history navigation on macOS 2021-08-04 20:33:22 +08:00
EnixCoda
351cb16b8f feat: restore expanded folders 2021-08-04 20:28:27 +08:00
EnixCoda
fbec153087 fix: prevent duplicated copy file buttons 2021-08-04 20:15:02 +08:00
EnixCoda
32415bfa0e feat: make branch name clickable 2021-08-01 22:37:51 +08:00
EnixCoda
3439808d63 fix: resolve path failed before PJAX 2021-08-01 16:09:15 +08:00
EnixCoda
632d4a4e35 chore: update icons 2021-08-01 16:09:15 +08:00
EnixCoda
7ec690cada chore: add hint for code folding 2021-08-01 16:09:15 +08:00
EnixCoda
d96be044c7 fix: resolve incomplete diffs DOM 2021-07-28 01:07:27 +08:00
EnixCoda
9f57bc52d0 refactor: extract functions for getting tree data 2021-07-28 00:20:55 +08:00
EnixCoda
9a4d04dd94 feat: adopt the new high contrast theme 2021-07-23 00:18:18 +08:00
EnixCoda
ab036b3c8d fix: set copySnippetButton to false on github.com 2021-06-19 16:09:00 +08:00
EnixCoda
6706ddd4dc Merge branch 'develop' into feature/safari 2021-06-13 12:50:11 +08:00
EnixCoda
99e18504aa
chore: align header content 2021-06-12 13:02:50 +08:00
EnixCoda
473573796e
chore: optimize file tree actions 2021-06-09 23:39:46 +08:00
EnixCoda
d80e645b46
chore: optimize file tree colors 2021-06-09 23:16:13 +08:00
EnixCoda
1d5771bff7
Merge branch 'feature/dense-file-tree' into develop 2021-06-09 23:02:37 +08:00
EnixCoda
d788f1fd42
chore: enhance file tree colors 2021-06-09 22:59:06 +08:00
EnixCoda
6c25093f21
feat: dense file tree 2021-06-07 22:44:00 +08:00
EnixCoda
c0ec8a84f7
fix: render fetch meta properly 2021-06-07 22:43:48 +08:00
EnixCoda
822b595a2f
refactor: add platform hooks 2021-06-07 22:11:58 +08:00
EnixCoda
ad3d2b10bc
refactor: clean style code 2021-06-07 18:02:32 +08:00
EnixCoda
246f794442
feat: fold source code button 2021-06-07 18:02:32 +08:00
EnixCoda
d5df98f684
fix: handle \s in path 2021-06-07 18:01:46 +08:00
EnixCoda
d19b84c9ee
fix: use textContent instead of innerText for better perf 2021-06-07 17:52:55 +08:00
EnixCoda
4e0bfee44e
fix: write back config version 2021-06-07 17:52:49 +08:00
EnixCoda
8184b8699e
chore: align comment amount 2021-06-04 23:31:56 +08:00
EnixCoda
f7b3f3a7b2
refactor: move toggle comments 2021-06-02 10:15:40 +08:00
EnixCoda
e1495fef45
fix: prevent blocking history navigation shortcut 2021-06-02 10:05:01 +08:00
EnixCoda
e70f31567b
fix: OAuth blocked loading process 2021-06-02 09:52:51 +08:00
EnixCoda
c25e719bad
Merge branch 'develop' into v3 2021-05-31 18:42:32 +08:00
EnixCoda
0038b32271
fix: wait for migrations 2021-05-31 18:39:45 +08:00
EnixCoda
863260a454
fix: enable auto expand 2021-05-30 23:18:00 +08:00
EnixCoda
991eb80cde
fix: prevent reload when click file tree items from issues page 2021-05-30 23:17:34 +08:00
EnixCoda
c286ec7fbe
chore: minor code clean 2021-05-30 22:35:27 +08:00
EnixCoda
16eb77be63
feat: reset sidebar width on double click resize handler 2021-05-30 22:12:27 +08:00
EnixCoda
88e506cac7
feat: move sidebar toggle mode switch 2021-05-30 21:54:08 +08:00
EnixCoda
1507206e4a
feat: disable auto expand in float mode 2021-05-27 00:51:03 +08:00
EnixCoda
e7745e10c9
chore: avoid the init request of sentry 2021-05-27 00:43:01 +08:00
EnixCoda
8253f3ef3b
fix: pass tests 2021-05-26 01:11:17 +08:00
EnixCoda
2e375c6900
fix: not collapse on leave when not in float mode 2021-05-25 23:19:39 +08:00
EnixCoda
8d9c3b9fb1
fix: set default copy snippet button to false on github.com 2021-05-25 23:19:01 +08:00
EnixCoda
968a5a46f3
feat: toggle expand on hover&leave 2021-05-24 23:09:59 +08:00
EnixCoda
87f40565f0
feat: more precise sidebar position when float and hidden 2021-05-24 22:38:23 +08:00
EnixCoda
659fa2122b
fix: preserve search params with leading question mark 2021-05-24 22:16:18 +08:00
EnixCoda
aa0f59c90b
chore: move containers 2021-05-24 22:16:17 +08:00
EnixCoda
da494982dd
feat: disable copy snippet button for github.com 2021-05-24 22:16:17 +08:00
EnixCoda
ab82cf783e
refactor: destruct config helper 2021-05-24 22:16:17 +08:00
EnixCoda
31c45781a0
feat: core toggle mode switch 2021-05-24 22:16:17 +08:00
EnixCoda
8ff78b0caa
refactor: better types of SimpleToggleField 2021-05-24 22:16:16 +08:00
EnixCoda
14478e5757
chore: rename sidebar body wrapper 2021-05-24 22:16:16 +08:00
EnixCoda
e7ad0917e9
refactor: better types for cx 2021-05-23 02:04:50 +08:00
EnixCoda
45828116fe
refactor: configify Icon 2021-05-23 02:01:58 +08:00
EnixCoda
43fd645c7c
refactor: minor enhancements on file comments 2021-05-18 23:07:07 +08:00
Enix
7e7d25f756
Merge pull request #136 from flowforfrank/develop
Add support for showing comments associated with files
2021-05-18 22:08:17 +08:00
EnixCoda
4e680401ac
refactor: simplify hooks 2021-05-17 00:06:50 +08:00
EnixCoda
f75e76c447
chore: update hooks file ext 2021-05-16 23:14:13 +08:00
EnixCoda
76cbbaaa52
build: update TS 2021-05-16 23:08:32 +08:00
EnixCoda
a6884b981d
fix: skip access token related state if not necessary 2021-05-14 09:42:37 +08:00
EnixCoda
95a2efb6ac
feat: show progress when getting access token 2021-05-12 23:23:05 +08:00
EnixCoda
8573f5025e
chore: code clean 2021-05-12 22:52:09 +08:00
EnixCoda
659274256a
chore: UX details on error 2021-05-12 22:31:31 +08:00
EnixCoda
e03566aa73
fix: set state on network error 2021-05-10 01:27:50 +08:00
EnixCoda
314575beca
fix: catch network error by using async 2021-05-10 01:27:50 +08:00
EnixCoda
c43a5c2311
feat: resolve OAuth token before sending request 2021-05-10 01:27:50 +08:00
EnixCoda
56e55812fc
chore: update hook file extension 2021-05-10 01:27:49 +08:00
EnixCoda
79644fba82
refactor: deprecate driven sidebar 2021-05-10 01:27:49 +08:00
EnixCoda
11a4399ea0
refactor: use URLSearchParam to parse search string 2021-05-10 01:27:49 +08:00
EnixCoda
3cfc5bc166
refactor: catch network errors 2021-05-10 01:27:49 +08:00
EnixCoda
72f825db2e
refactor: control the flow using react 2021-05-10 01:27:48 +08:00
EnixCoda
5c25d9d0d8
chore: code clean 2021-05-03 21:44:55 +08:00
EnixCoda
31f803a03f
refactor: always fetch default branch 2021-05-03 21:43:48 +08:00
EnixCoda
5ddd6c6948
fix: handle scope change 2021-05-02 22:04:19 +08:00
EnixCoda
69614104ec
chore: status vs state 2021-05-02 20:57:56 +08:00
EnixCoda
e9f7ee2f91
refactor: status mapping 2021-05-02 20:57:55 +08:00
Enix
3c3c7c03b2
Merge pull request #134 from dishuostec/develop
Use "window.location.protocol" instead of hardcoded "https".
2021-04-24 20:59:20 +08:00
flowforfrank
50283e0cea Add support for showing comments associated with files 2021-04-23 08:30:54 +02:00