bistard / nota Goto Github PK
View Code? Open in Web Editor NEW📕Next-Gen AI-powered markdown note-taking application.
License: MIT License
📕Next-Gen AI-powered markdown note-taking application.
License: MIT License
Describe the bug
as the title said.
Desktop:
ConfigModule.Instance reads/writes to config.json only when NoteBookManager.init() is called, this shouldn't be the case...
related file: noteBookManager.ts
Describe the bug
When creating an AsyncMultiTree
, it contains a MultiTree
and an AsyncMultiTreeModel
. Both of them are maintaining the same tree structure except that AsyncMultiTreeModel
maintains a tree node type IAsyncTreeNode
.
The reason for having the same tree structure inside the model is that every MultiTree.splice()
call will rerender the whole view. Each IAsyncMultiTree.refresh()
call might cause too many render calls. That is why we need to maintain the same tree structure, once the build process is finished, we only need to render once in the IAsyncMultiTree
.
Expected behaviour
Try to remove the duplicate tree structure in AsyncMultiTreeModel
. THIS MAY SAVE A HUGE AMOUNT OF MEMORY USAGE👍!
Addition Note
Although this might not be achieved easily due to the fact that the whole structure of the UI tree is very complicated.
as the title said.
Describe the bug
在LogServiceManager里, NoteBookManagerService被成功的实例化了, 但是并不能调用其相关的任何API或者field, 非常奇怪.
以解决问题为先, 暂时创建了一个static field叫做rootPath被LogServiceManager用来代替相关API.
可能, 或许, 跟setInterval()有关?
Describe the bug
as the title said.
Describe the bug
The Open A Folder
button still appears after opening a folder.
To Reproduce
Steps to reproduce the behavior:
Open a folder
button to import a folderOpen a folder
button is still thereExpected behavior
Open a folder
button should hide after opening a folder with it
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.
Describe the bug
RIght clicking the main app container near the end of screen will make the context menu go beyond main app container
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Either the context menu gets cut off or it find the best position to place it
Screenshots
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
Describe the bug
I switched to the traditional view splitting and used the markdown code block, then I started writing Simplified Chinese inside of it, but the resulting view on the right size displays the text in inconsistent colour.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The colour of the characters should be consistent
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.
Describe the bug
pass
VSCode Optimization in IPC (Dec 3, 2022)
commit - microsoft/vscode@0899758
pull - microsoft/vscode#167407
Describe the bug
When a ResourceChangeEvent
happens, we should only refresh the subtree where the corresponding root node is the topmost node that has been affected instead of simply refreshing the whole tree blindly.
To improve this (only applied if the memory cost is considerable), drop off the class ResourceChangeEvent
, instead, use a ternary search tree to store all the paths in string form of the current displaying files and directories. The client can check if the changed targets if in the current displaying tree so that we can identify which changed target will be the topmost so that we only refresh starting from there.
Describe the bug
as the title said.
Screenshots
Happens too fast, cant capture.
Describe the bug
When IndexTreeModel.setCollapsed()
to expand, two rerender calls happens inside the function IndexTreeModel.__setCollapsed()
:
1st - __setTreeNodeCollapsed()
-> onDidChangeCollapseState
event will fire and AsyncMultiTree
will response to it and rerender the tree.
2nd - __updateListNodeCollapsed()
-> this._view.splice()
and this will rerender the list view (tree) in a second time.
The Sash
dragging motion does not work fluence as I expect (compares to visual studio code).
Some corner cases I have already excluded:
Sash
object, still moves too slow. So I believe it is not a general performance issue to the whole program.main.ts
and sash.ts
codes in another basic electron program, that program still works perfectly. So I believe it is not an issue from the main process or the Sash
implementation.package.json
in that basic electron program, still works. So it is not any version issues.Describe the bug
N/A
Describe the bug
Classes such as URI
or ResourceChangeEvent
will not work with their member methods since they have a null object prototype.
Expected behavior
Prototype should also be serialized when passing into the protocol that is used between IPC communication.
Describe the bug
mocha seems does not to support window
global variable after executing the command script npm test
.
Error
ReferenceError: window is not defined
at Object.<anonymous> (D:\dev\ref\electron-play-ground\src\base\common\animation.ts:49:5)
at Module._compile (internal/modules/cjs/loader.js:1085:14)
at Module.m._compile (D:\dev\ref\electron-play-ground\node_modules\ts-node\src\index.ts:1371:23)
at Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
at Object.require.extensions.<computed> [as .ts] (D:\dev\ref\electron-play-ground\node_modules\ts-node\src\index.ts:1374:12)
at Module.load (internal/modules/cjs/loader.js:950:32)
at Function.Module._load (internal/modules/cjs/loader.js:790:14)
at Module.require (internal/modules/cjs/loader.js:974:19)
at require (internal/modules/cjs/helpers.js:92:18)
at Object.<anonymous> (D:\dev\ref\electron-play-ground\src\base\browser\basic\scrollable\scrollable.ts:1:1)
at Module._compile (internal/modules/cjs/loader.js:1085:14)
at Module.m._compile (D:\dev\ref\electron-play-ground\node_modules\ts-node\src\index.ts:1371:23)
at Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
at Object.require.extensions.<computed> [as .ts] (D:\dev\ref\electron-play-ground\node_modules\ts-node\src\index.ts:1374:12)
at Module.load (internal/modules/cjs/loader.js:950:32)
at Function.Module._load (internal/modules/cjs/loader.js:790:14)
at Module.require (internal/modules/cjs/loader.js:974:19)
at require (internal/modules/cjs/helpers.js:92:18)
at Object.<anonymous> (D:\dev\ref\electron-play-ground\test\base\common\scrollable.test.ts:7:1)
at Module._compile (internal/modules/cjs/loader.js:1085:14)
at Module.m._compile (D:\dev\ref\electron-play-ground\node_modules\ts-node\src\index.ts:1371:23)
at Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
at Object.require.extensions.<computed> [as .ts] (D:\dev\ref\electron-play-ground\node_modules\ts-node\src\index.ts:1374:12)
at Module.load (internal/modules/cjs/loader.js:950:32)
at Function.Module._load (internal/modules/cjs/loader.js:790:14)
at Module.require (internal/modules/cjs/loader.js:974:19)
at require (internal/modules/cjs/helpers.js:92:18)
at Object.exports.requireOrImport (D:\dev\ref\electron-play-ground\node_modules\mocha\lib\nodejs\esm-utils.js:60:20)
at async Object.exports.loadFilesAsync (D:\dev\ref\electron-play-ground\node_modules\mocha\lib\nodejs\esm-utils.js:103:20)
at async singleRun (D:\dev\ref\electron-play-ground\node_modules\mocha\lib\cli\run-helpers.js:125:3)
at async Object.exports.handler (D:\dev\ref\electron-play-ground\node_modules\mocha\lib\cli\run.js:374:5)
npm ERR! Test failed. See above for more details.
Desktop (please complete the following information):
Describe the bug
As the title said.
Describe the bug
ActionView Sash
dragging may cause a slight misposition.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
No misposition.
Desktop (please complete the following information):
Describe the bug
When I paste in multiple images or a large image, the action bar will get pushed up, which makes it disappear.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Action Bar should remain still
Screenshots
Additional comments
Not Sure if this is on Windows or Linux
Describe the bug
wheel scroll does not work anymore and idk why.
Tracking issue for:
When User Uncheck an action button from context menu the focus on the button should change if the button is going to get hidden.
Describe the bug
The second sash can have a smaller x value than the first sash.
as the title said.
Describe the bug
as the title said.
Describe the bug
Dragging sash may also selects editor text.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Dragging action view resizer will not cause any other mouse events.
Desktop (please complete the following information):
Describe the bug
For a small object and array, the object seems to take much more memory than a small array in a V8 engine.
Since IAsyncNode
always has three properties. It is considered to use an array to store the node instead of an object.
The biggest challenge is that the readability is terrible. I will keep this issue open and see if there are any other chances to increase readability while using arrays.
Tracking issue for:
as the title said.
ERROR LOG:
[4124:0806/034502.690:ERROR:gpu_init.cc(454)] Passthrough is not supported, GL is disabled, ANGLE is
Describe the Feature
Currently, nota
's tokenization process is using marked
which is a stable open-sourced third-party library that uses RegExp for splitting text into tokens. However, by reading the source code, it still can be improved by serval points:
When the user hides a particular action button through the context menu, the corresponding actionview should be updated as well.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.