kevins8
02/24/2022, 11:52 PMMaxotronic
02/26/2022, 7:15 AMnativeview? Curious if it lets you reproduce the vscode look-and-feel? https://github.com/dendronhq/dendron/blob/dad85f6e1964b5cf21bc0a1007c229c504e17eb5/packages/common-all/src/constants/views.ts#L44kevins8
02/27/2022, 11:40 PMkevins8
02/27/2022, 11:41 PMkevins8
02/27/2022, 11:46 PMSeriousBug
02/28/2022, 6:31 AMDendronDevConfig in src/types/workspace.ts but also one at src/types/configs/dev/dev.ts? Is the former legacy or deprecated?hikchoi
02/28/2022, 6:43 AMworkspace.ts is what's currently in use. we planned to do a migration so dev.ts was written during the first phase but there's not much point. I will have to clean up the types at some point but until then, use the one in workspace.tsMaxotronic
02/28/2022, 10:25 AMSeriousBug
03/02/2022, 7:58 AMts
let vaults;
({ vaults } = await this.handleRemoteRepo(opts));kevins8
03/02/2022, 2:56 PMGander7
03/02/2022, 7:04 PMMaxotronic
03/02/2022, 8:53 PMinit is enumerated in DMessageEnum there's no init action in ideSlice or match in useVSCodeMessage handlersMaxotronic
03/02/2022, 8:56 PMinit is not exposed anywhere but in setupEngine? https://github.com/dendronhq/dendron/blob/8ac57f1fd50b4fc9f62f9aa0ff8a7093bcfd179f/packages/engine-server/src/enginev2.ts#L260Maxotronic
03/02/2022, 9:17 PMkevins8
03/02/2022, 9:56 PMMaxotronic
03/02/2022, 10:05 PMkevins8
03/02/2022, 11:03 PMjs
id = "9eae08fb-5e3f-4a7e-a989-3f206825d490";
window.postMessage({
type: "onDidChangeActiveTextEditor",
data: { note: { id }, sync: true },
source: "vscode",
});kevins8
03/02/2022, 11:04 PMsync: true, this tells the view to do a full sync with the engine instead of displaying the passed in noteTomDuffield
03/03/2022, 11:48 PMkevins8
03/04/2022, 12:03 AMTomDuffield
03/04/2022, 12:12 AMTomDuffield
03/04/2022, 12:55 AMMaxotronic
03/04/2022, 12:56 AMSeriousBug
03/04/2022, 12:58 AMengine.notes[id] is the way to go for thatMaxotronic
03/04/2022, 1:43 AMMaxotronic
03/04/2022, 2:17 AMcommon-all and my dendron-plugin-view at the same time. When I run ./bootstrap/scripts/watch.sh and dendron-plugin-views/$ yarn start, though, I get this error:
../common-all/lib/dnode.js
Module not found: Can't resolve 'console' in 'dendron/packages/common-all/lib'Maxotronic
03/04/2022, 2:18 AMenhance/schema-page and running packages/dendron-plugin-views/$ env REACT_APP_VIEW_NAME=DendronSchemaPageView yarn start with ./bootstrap/scripts/watch.shkevins8
03/04/2022, 2:48 AMkevins8
03/04/2022, 2:49 AMkevins8
03/04/2022, 2:53 AM