Commit graph

1060 commits

Author SHA1 Message Date
EnixCoda
24b8abb3d1 feat: show diff in text 2022-07-18 14:16:37 +08:00
EnixCoda
ae96135c33 fix: jump to files in commit page 2022-07-17 23:09:56 +08:00
EnixCoda
7e10717566 fix: handle uppercase in fuzzy search mode 2022-07-17 22:46:01 +08:00
EnixCoda
d279b475bc fix: delay Sentry initiation 2022-07-17 21:35:05 +08:00
EnixCoda
e5bef4c16e chore: inspect repo context 2022-07-17 14:34:13 +08:00
EnixCoda
bb51a1fa06 chore: rename pjax 2022-07-17 01:51:13 +08:00
EnixCoda
ae3b7cc66e fix: assure body indent after redirect 2022-07-17 00:58:08 +08:00
EnixCoda
1d099d23b8 feat: state inspector 2022-07-17 00:41:17 +08:00
EnixCoda
b28c9e0fe8 fix: open PR in firefox 2022-07-17 00:01:21 +08:00
EnixCoda
8fa1802555 chore: remove unused Gitee components 2022-07-16 23:56:24 +08:00
EnixCoda
b62b488a0d chore: remove sentry env from code 2022-07-16 23:55:09 +08:00
EnixCoda
9435e9cd52 refactor: sanitize URL usages 2022-07-16 23:54:27 +08:00
EnixCoda
6fde8c1092 fix: show tooltip of search mode 2022-07-16 01:57:41 +08:00
EnixCoda
3ca6c2bf07 chore: format & lint code 2022-07-16 01:57:41 +08:00
EnixCoda
8fb1eb924c refactor: deprecate SidebarBodyWrapper 2022-07-16 01:40:23 +08:00
EnixCoda
0e96aeb26b refactor: optimize should expand logic 2022-07-15 22:23:09 +08:00
EnixCoda
98a67381db refactor: raise Gitako out of document body 2022-07-12 01:15:48 +08:00
EnixCoda
8f0e4a9ccb fix: redirect not working in PR pages 2022-07-11 00:56:17 +08:00
EnixCoda
3ce088cf7b chore: remove unused safari mark 2022-07-04 21:51:46 +08:00
EnixCoda
3e89db3feb chore: remove left border of sidebar 2022-07-04 21:24:35 +08:00
EnixCoda
f6675e8163 fix: handle profile repositories <-> repository redirecting 2022-07-04 21:24:24 +08:00
EnixCoda
ce3dffb84d fix: set DOM scrollTop when programmatically scroll to item 2022-07-04 02:14:32 +08:00
EnixCoda
d6e9fcc163 Merge remote-tracking branch 'origin/develop' into next
# Conflicts:
#	src/analytics.ts
#	src/components/FileExplorer.tsx
#	src/components/SideBarBodyWrapper.tsx
#	src/components/settings/SettingsBar.tsx
#	src/content.tsx
#	src/platforms/GitHub/API.ts
#	src/platforms/GitHub/DOMHelper.ts
#	src/platforms/GitHub/index.ts
#	src/platforms/platform.d.ts
#	src/styles/index.scss
#	src/utils/DOMHelper.ts
#	src/utils/config/helper.ts
#	src/utils/config/migrations/1.3.4.ts
#	src/utils/config/migrations/index.ts
#	src/utils/general.ts
#	src/utils/storageHelper.ts
2022-07-04 01:41:13 +08:00
EnixCoda
3ed0a8e8f7 fix: update GitHub page content selector 2022-07-03 00:10:41 +08:00
EnixCoda
919ce07b20 feat: cache report error 2022-07-02 23:30:08 +08:00
EnixCoda
bcc34949ab feat: atomic async function 2022-07-02 23:30:08 +08:00
EnixCoda
c1f8456e7f fix: handle type errors 2022-06-28 17:03:20 +08:00
EnixCoda
05507abbcb fix: support GitHub turbo 2022-06-28 16:59:20 +08:00
EnixCoda
d02c32bb4b feat: add pjax mode setting 2022-06-25 12:47:39 +08:00
EnixCoda
5cddc2077e chore: enhance tab focus flow, skip file explorer container 2022-06-24 22:08:50 +08:00
Innei
a9217b5c4c
fix: add overscan to avoid blank flash 2022-06-21 17:58:30 +08:00
EnixCoda
11942789b8 chore: shorten is 2022-06-19 23:18:55 +08:00
EnixCoda
4909371853 fix: patch primer themes 2022-06-19 23:18:32 +08:00
EnixCoda
31fc538a5c feat: self implemented virtual scroller 2022-06-19 22:54:18 +08:00
EnixCoda
5a16682c7f fix: folder rotate on toggle open 2022-06-19 22:12:50 +08:00
EnixCoda
6092d65b00 fix: theme selectors 2022-06-16 22:36:47 +08:00
EnixCoda
ef481d7d7e test: add Highlight test 2022-06-06 23:44:44 +08:00
EnixCoda
8716ce02e9 chore: optimize list horizontal style 2022-06-06 23:31:30 +08:00
EnixCoda
6ce88e7cf0 refactor: extract list-control hooks 2022-06-06 23:30:57 +08:00
EnixCoda
4b4b3c4841 chore: adjust settings close icon size 2022-06-06 23:01:06 +08:00
EnixCoda
8819984f98 refactor: update settings layout 2022-06-06 21:31:32 +08:00
EnixCoda
fcdef87b2a fix: enable code fold on all code blocks 2022-06-06 20:57:59 +08:00
EnixCoda
bbf7f3d7ea feat: is equal 2022-06-06 20:57:59 +08:00
EnixCoda
b0283f1f5e feat: optimize highlight render performance 2022-06-06 20:57:59 +08:00
EnixCoda
caaff93ad7 chore: extract root element insertion 2022-06-06 20:57:59 +08:00
EnixCoda
9553e1c0bb feat: optimize scroll behavior 2022-06-06 20:56:37 +08:00
EnixCoda
1e323bc2d5 feat: reload context 2022-06-06 20:55:04 +08:00
EnixCoda
5b41832f78 feat: improve PR file tree resolution perf
> 100 times if PR has >100k changes
2022-06-06 20:55:04 +08:00
EnixCoda
10668b6606 feat: optimize icons 2022-06-06 20:55:04 +08:00
EnixCoda
c558eaf35c feat: is.not 2022-06-06 20:55:04 +08:00
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