Skip to content

Conversation

@jjw24
Copy link
Member

@jjw24 jjw24 commented Oct 12, 2021

#695

  • browser edit window's button logic
  • browser edit window's layout
  • fix edge bookmarks not loading

@jjw24 jjw24 requested a review from taooceros October 12, 2021 22:10
@jjw24 jjw24 self-assigned this Oct 12, 2021
@jjw24 jjw24 enabled auto-merge October 12, 2021 22:11
@jjw24 jjw24 changed the title Dev: Fix Bookmark plugin settings browser edit Dev branch: Fix Bookmark plugin settings browser edit Oct 13, 2021
@jjw24 jjw24 requested review from taooceros and removed request for taooceros October 13, 2021 20:50
private readonly List<Bookmark> _bookmarks = new();

private void LoadEdgeBookmarks()
private List<Bookmark> LoadEdgeBookmarks()
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

weird, if that's the case, chrome plugin will not be loaded as well.
I use this way to let the children only provide the path toward the data path, so that it may be abstracted.

@taooceros
Copy link
Member

I am wondering why previous edge bookmark won't be loaded. It is loaded through a field bookmarks

Comment on lines -19 to +21
LoadBookmarks(Path.Combine(platformPath, @"Microsoft\Edge\User Data"), "Microsoft Edge");
LoadBookmarks(Path.Combine(platformPath, @"Microsoft\Edge Dev\User Data"), "Microsoft Edge Dev");
LoadBookmarks(Path.Combine(platformPath, @"Microsoft\Edge SxS\User Data"), "Microsoft Edge Canary");
bookmarks.AddRange(LoadBookmarks(Path.Combine(platformPath, @"Microsoft\Edge\User Data"), "Microsoft Edge"));
bookmarks.AddRange(LoadBookmarks(Path.Combine(platformPath, @"Microsoft\Edge Dev\User Data"), "Microsoft Edge Dev"));
bookmarks.AddRange(LoadBookmarks(Path.Combine(platformPath, @"Microsoft\Edge SxS\User Data"), "Microsoft Edge Canary"));

return bookmarks;
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

edge bookmark is not loaded due to this, they are not been added, just loaded.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤣🤣🤣 Silly mistake

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no probs. good to go?

@jjw24 jjw24 merged commit f6f306e into dev Oct 18, 2021
@jjw24 jjw24 deleted the fix_bookmark_plugin_window_size branch October 18, 2021 19:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants