Commit Graph

106 Commits

Author SHA1 Message Date
Dan 2aba876807
feat: support copy relative path from link files (#4367)
* feat: support copy relative path from link files

* chore: add @opensumi/ide-utils dependency

* chore: reorder @opensumi/ide-utils dependency

* chore: update test coverage exclusions for notebook module

* fix: handle leading separators in TreeNode paths and use fsPath for URIs
2025-02-17 14:08:54 +08:00
zhuyudangchu 5e88c6a252
feat: support treeview treeItem.checkboxstate (#4214)
* feat: impl treeItem.checkboxstate

* feat: treeview support treeItem.checkboxstate

* fix: optimization code

* fix: optimization code

* fix: optimization code

* fix: optimization code
2024-12-11 17:11:04 +08:00
野声 6273dbac4c
Revert "feat: optimize tree performance" (#3783) 2024-06-17 14:31:42 +08:00
野声 a4bd79f3b8
feat: optimize tree performance (#3742)
* feat: optimize tree performance

* test: fix testcase

* refactor: optimize opened editor tree

* test: update test

* feat: validate name prop

* fix: directory cannot render

* chore: use warning func
2024-06-12 16:25:09 +08:00
Dan 06fdf2a2e2
feat: optimize tree node handling collapse/expand logic (#3637) 2024-05-09 17:05:20 +08:00
野声 fc2bb12ae6
fix: tree do not need refresh when invisible (#3401)
Co-authored-by: John <qingyi.xjh@antgroup.com>
2024-03-19 22:03:47 +08:00
Dan 51c5489529
feat: imporve tree property performance (#3398) 2024-03-14 11:26:19 +08:00
John a53fac57ec
style: organize imports (#3357) 2024-02-22 17:02:38 +08:00
kaede adb31c5719
fix: clear tree node cache after the tree node is disposed (#3109)
* fix: clear tree node cache after the tree node is disposed

* fix: tree node unit test do not pass when run all tests

---------

Co-authored-by: Dan <danwu.wdw@alibaba-inc.com>
2023-10-17 10:36:46 +08:00
Dan 2193bd946a
fix: lazy refresh treeview (#2915) 2023-07-24 17:04:31 +08:00
Artin a40ed6f8ba
fix(file-tree): clean old tree state when path changed (#2687) 2023-05-10 16:49:51 +08:00
Dan 6457ae2549
fix: collapsed tree node on compact mode (#2558)
* fix: collapsedAll tree node on compact mode

* chore: fix build

* chore: fix e2e test

* chore: get expected expanded node path

* test: add filetree stable refresh e2e test

* chore: fix test
2023-04-12 14:57:21 +08:00
Dan ad292754ff
fix: add changes on tree model (#2376) 2023-03-06 20:14:50 +08:00
Dan 221254f4b5
fix: improve SCM Treeview style and UX (#2324) 2023-02-23 15:43:37 +08:00
Dan 63f56934e6
fix: treeview duplicated when switch treemode (#2327) 2023-02-23 11:32:18 +08:00
Dan 7d2bd61e38
refactor: remove DeprecatedRecycleTree component (#2111)
* refactor: remove DeprecatedRecycleTree component

* chore: update some error typo

* feat: support registerCommentsFeature contribution point

* chore: fix build

* chore: fix test
2022-12-28 10:39:44 +08:00
Dan 88386c86af
fix: the tree node child maybe undefined (#2096)
* fix: the tree node child maybe undefined

* fix: scm tree view display
2022-12-19 22:32:57 +08:00
Dan bf541b16b7
fix: new file with path on compress tree node (#2084)
* fix: new file with path on compress tree node

* test: add e2e test case for new file

* chore: fix test

* chore: improve code style

* chore: fix e2e test

* chore: improve some code style
2022-12-15 19:46:28 +08:00
Dan 8d441145f5
fix: support cancel refresh when edit file (#2074)
* fix: support cancel refresh when edit file

* fix: holding input when edit file
2022-12-09 14:17:32 +08:00
大表哥 4a59e72a80
fix: remove treeview cached data (#1507) 2022-08-15 14:54:31 +08:00
Dan b32189134c
fix: file missing while refresh on sub files (#1441) 2022-08-01 09:51:00 +08:00
Dan ed316ee103
fix: disable node collapse while node is expanding (#1436) 2022-07-27 23:32:29 +08:00
Dan 0dc80fdf7c
fix: SCM tree view duplication problem (#1397)
* fix: scm tree view duplication problem

* fix: set correct sourceUri for SCM folder treenode
2022-07-21 13:14:05 +08:00
Dan 5918dd631e
fix: cancel prev tree node revealing when next revealing called (#1367) 2022-07-18 17:26:31 +08:00
Dan 0cab3fb88d
fix: improve FileTree and extension TreeView display logic (#1267)
* fix: cancel load tree snapshot while load path is being canceled

* fix: support browser preview extension

* fix: refresh expanded treeview

* fix: resolveTreeItem from cache
2022-07-05 16:22:41 +08:00
kuiwu 54bc495272 Merge branch 'v2.17' of github.com:opensumi/core into v2.18 2022-06-07 16:05:11 +08:00
Dan e00eb67b5d
fix: improve treenode path check logic (#1178) 2022-06-07 15:53:39 +08:00
Dan e81a1cfc5b
fix: cherry-pick #1095 (#1113)
* style: blur filetree while deactivate explorer view

* fix: show filetree change directly

* fix: make snapshot correctly after collapsedAll

* chore: rollback some utils effects
2022-05-25 22:33:40 +08:00
Dan 3ed1556416
fix: improve file tree new or rename files speed (#1095)
* style: blur filetree while deactivate explorer view

* fix: show filetree change directly

* fix: make snapshot correctly after collapsedAll
2022-05-25 10:28:46 +08:00
Dan 571a1ac631
feat: support vscode-js-debug extension (#396)
* feat: support pwd-node debug

* style: remove useless border on tab

* feat: support normal node debug

* fix: just listen active debug session

* feat: support Javascript Debug Terminal

* feat: support  onTerminalProfile and terminal.state

* feat: support javascript debug terminal

* fix: generate terminal id firstly while creating extension terminal

* chore: add more profiles terminal

* fix: do not restore extension terminal (#954)

* feat: ignore resume for transient terminal (#981)

* chore: fix test case

* chore: fix extHostTerminal test case

* chore: fix task test case

* chore: use the latest vscode javascript debugger extension

* feat(terminal): create profile

* chore: update comments

* refactor(terminal): refresh when profile contribute

* refactor: remove terminal.contribution

* refactor: update log message

* test: fix controller test

* chore: remove useless token

Co-authored-by: 大表哥 <xubing.bxb@alibaba-inc.com>
Co-authored-by: RetroX <retrox.jcy@antgroup.com>
Co-authored-by: Artin <lijiacheng.ljc@antgroup.com>
2022-05-16 11:14:14 +08:00
kuiwu 128e48db1c Merge branch 'v2.17' of github.com:opensumi/core into main 2022-05-10 14:13:16 +08:00
Dan 55093a1cc5
fix: recycle tree snapshot recovery logic (#983) 2022-05-09 18:18:29 +08:00
kuiwu 71b5a74358 Merge branch 'v2.17' of github.com:opensumi/core into main 2022-04-29 15:38:44 +08:00
Dan 3340fa89ea
refactor: add @opensumi/ide-utils module (#784)
* refactor: add @opensumi/ide-utils module

* fix: module and function ref path

* test: move utils test to utils module

* chore: upgrade to 2.16.6 version

* refactor: use common OperatingSystem define on platform and os file

* chore: remove useless utils

* test: fix unit test

* test: use ResourceLoader on jsdom to make platform correctly

* chore: make @opensumi/ide-utils to be public package

* chore: merge cancelToken defined

* chore: fix function ref

* chore: add userAgent environment in jsdom

* chore: add prettierPath config

* chore: update jest.config.js

* test: add more arrays unit test

* chore: use v8 coverageProvider

* chore: use babel provider

* chore: add codecov.yml

* chore: update utils version

Co-authored-by: 野声 <lijiacheng.ljc@antgroup.com>
2022-04-27 20:34:26 +08:00
Dan 78f0116989
fix: optimized tree operations and conflict handling (#916)
* fix: file tree navigator focus issue

* fix: make expandNode and collapseNode run correctly
2022-04-27 11:21:34 +08:00
Dan f861cbda0e
fix: queue RecycleTree render progress (#866)
* fix: queue RecycleTree render progress

* fix: dispose useless child TreeNode before reload

* fix: merge file event refresh

* fix: use cancel token to revert refresh task

* style: remove useless style and fix compact style

* refactor: make RecycleTree great again

* chore: use filetree welcome id

* fix: load compact treenode correctly

* chore: fix build error

* fix: cancel refresh effect before setExpanded

* fix: remove useless TreeNode cache logic

* fix: refresh and loadpath cancel token

* chore: remove useless unit test

* chore: add cancelAnimationFrame mock

* test: fix tree unit test

* chore: add displayName property on TreeNode

* test: fix file tree handle error

* test: fix debug-console.view test

* test: fix testcase

* test: fix testcase

* test: fix testcase

* chore: remove useless code

Co-authored-by: 野声 <lijiacheng.ljc@antgroup.com>
2022-04-25 21:27:52 +08:00
Dan 85932c7cec
fix: improve file tree re-render progress (#863) 2022-04-18 20:59:22 +08:00
Dan 93837c6e09
fix: refresh while has compressed nodes (#817) 2022-04-13 10:24:25 +08:00
Dan 498a5acc3b fix: set branch correctly while doing expand & refresh at the same time (#799)
* fix: add recycletree update buffer

* fix: set branch correctly while doing expand & refresh at the same time

* test: fix filetree test

* chore: delete all unused variables
2022-04-11 15:57:28 +08:00
Dan b5a1777fcc
fix: file tree focus issue (#714)
* chore: clear some unsuitable code

* fix: auto focus prev container while destory file tree input
2022-03-24 17:31:50 +08:00
kuiwu 59d8256a1f Merge branch 'v2.15' of github.com:opensumi/core into main 2022-03-17 10:07:36 +08:00
Dan f576a7babb feat: add tree operation lock (#658) 2022-03-16 20:36:56 +08:00
EAGzzyCSL 58b998d9e1
style: enable eslint-plugin-import-rule import/order (#595) 2022-03-10 09:58:54 +08:00
Artin 8a43372945
style: use eslint and prettier (#138)
* style: use prettier format once

* style: few eslint fix

* style: fix eslint

* style: update eslint rule

* chore: resolve conflict, fix some bug

* style: fix lint

* style: fix eslint

* style: run prettier

Co-authored-by: Aaaaash <binshao54@gmail.com>
2021-12-17 12:52:32 +08:00
erha19 90e5508bd8 PullRequest: 578 fix: 修复文件树剩下单个文件时新建文件不出现问题 2021-07-28 22:55:37 +08:00
erha19 2eec2abcca PullRequest: 480 fix: 修复DebugConsole无法正常输出log内容问题 2021-06-30 09:53:29 +08:00
erha19 75404b9c1c PullRequest: 443 feat: TreeView API 支持无障碍信息透出 2021-06-15 10:14:54 +08:00
erha19 8f26679949 PullRequest: 199 feat: 优化文件树并发处理文件节点更新流程 2021-03-30 11:23:21 +08:00
erha19 6abcb80166 PullRequest: 92 test: 新增Tree模块单元测试代码 2021-03-03 14:51:45 +08:00
Ricbet 11db0e5033 PullRequest: 24 feat: 调试控制台输出日志增加筛选功能 2021-02-22 15:41:51 +08:00