Skip to content

Conversation

@MasterK0927
Copy link

@MasterK0927 MasterK0927 commented Dec 30, 2024

Allows users to jot down and save personal notes directly within the browser. The feature includes two main implementations: an in-toolbar button and a dedicated WebUI page.

1. Notes Button in the Toolbar:

  • Button in the browser toolbar renders a popup when clicked.

  • Popup allows users to enter and save custom notes or text.

  • Notes are stored persistently across sessions using the browser's local storage.

2. Dedicated WebUI Page:

  • Custom Notes feature has been extended to a dedicated WebUI page.

  • Inkludes option for Summarising and Rephrasing the Notes.

API Calls are tested in two ways :

  • Uses native JavaScript APIs to perform API calls directly. Certain checks restricting WebUI API calls are disabled to enable this.

  • Backend communicates with WebUI page via Mojo IPC mechanism, delegating calls to the JavaScript frontend. API calls are routed through the browser’s C++ backend using GURL.

Additonal Comments

  • Tested on Ubuntu 24.1
  • Synced with 130

Things Broken or to be done:

  • IsWebUIAllowedToMakeNetworkRequests broke, need to re review it
  • Proper designing of frontend
  • Similar impl for rephrase (if it makes sense to include this feature in this)

MasterK0927 and others added 22 commits September 11, 2024 23:03
…several functionalities, not all the functionalities are well tested
@MasterK0927 MasterK0927 changed the title Feat/custom notes feat: custom-notes feature in webui Dec 30, 2024
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.

1 participant