hyprnote icon indicating copy to clipboard operation
hyprnote copied to clipboard

Update Jargons in Settings

Open ComputelessComputer opened this issue 8 months ago • 0 comments

  • Removed the "Jargons" input field from the general settings view, as this feature was not being used and added unnecessary complexity to the settings UI.
  • Added a new "Instruction" chip to the note header in the editor area, allowing users to input custom instructions, such as company-specific terms, acronyms, and jargons, which can be saved and displayed in the note header.
  • Implemented the InstructionChip component that renders the chip and the popover for editing the instructions.
  • Used the useQuery and useMutation hooks to fetch and update the configuration data, which stores the custom instructions.
  • Provided a textarea input for users to enter and save the custom instructions.
  • Updated the configuration data when the popover is closed, ensuring the changes are persisted.

ComputelessComputer avatar May 02 '25 23:05 ComputelessComputer