Re: [GSoC] Comments in Sidebar Deck: Weekly Update

2024-08-27 Thread Mohit Marathe
Hello everyone, In the last week, I made the "Show" option work [1]. It has two options that are working "Resolved" (which hides the resolved comments when unchecked) and "Time" (which shows time of the comment when selected). There still one more option "Reference" which should be for setting th

Re: [GSoC] Comments in Sidebar Deck: Weekly Update

2024-08-20 Thread Mohit Marathe
Hello everyone, Last week, I fixed some bugs, notably the one where the ui was not getting updated after I delete a comment. This bug was introduced in the commit where I added context menu for the comment widget. Turns out `weld::Container` is not compatible with `connect_mouse_press` signal,

Re: [GSoC] Comments in Sidebar Deck: Weekly Update

2024-08-14 Thread Mohit Marathe
Hello everyone, I started last week working on tooltips for reference text (it will show the root comment). I learned about `SwEditWin::RequestHelp` which handles several tooltips in Writer. But I think I'll have to make a custom tooltip for my use case, as I'll have to layout the comment text, au

Re: [GSoC] Comments in Sidebar Deck: Weekly Update

2024-08-07 Thread Mohit Marathe
Hello everyone, In the last week I couldn't do much due to college. I implemented a method to retrieve reference comment to show on the top of the thread. For that, I needed to get the anchor position of the root comment from which I get the text node which contains the reference text. And final

Re: [GSoC] Comments in Sidebar Deck: Weekly Update

2024-07-31 Thread Mohit Marathe
Hello everyone, In the last week, I added context menu for comments and connected all its options with appropriate methods. The context menu contains the following items: Edit, Reply, Delete, Toggle Resolved, Delete Thread, Mark Thread Resolved. Besides this, I implemented a way to reset the dat

Re: [GSoC] Comments in Sidebar Deck: Weekly Update

2024-07-22 Thread Mohit Marathe
Hello everyone, In the last week, I implemented filter comments by author and date functionality. I used `SvtCalendarBox` for the date picker, which is basically `GtkCalendar`. There is one problem though, I don't know of any way to de-select or reset the date selected. So I decided to make a "R

Re: [GSoC] Comments in Sidebar Deck: Weekly Update

2024-07-16 Thread Mohit Marathe
Hello everyone, In the last week, I implemented sorting functionality. There are two options to sort: by position (default) and by time. For this, I modified `populateComment()` to sort the vector of `SwFormatField*`, which I get from `SwPostItMgr::UpatePostItsParentInfo()` (which was initially

Re: [GSoC] Comments in Sidebar Deck: Weekly Update

2024-07-09 Thread Mohit Marathe
Hello everyone, In the last week, I implemented the following functionalities: 1. Edit comment text 2. Reply to a comment 3. Resolve comment or thread All of these can be done directly from Comments deck in sidebar and the annotation window will be synchronized with it. This week I'll be working

Re: [GSoC] Comments in Sidebar Deck: Weekly Update

2024-07-01 Thread Mohit Marathe
Hello everyone, I spent most of the last week trying to fix a bug where LO crashed when I undo after deleting comment(s). This just got fixed yesterday, thanks to Sarper. While debugging I noticed another bug in `CommentsPanel::addComment`, which was taking the last item from `SwPostItMgr::mv

Re: [GSoC] Comments in Sidebar Deck: Weekly Update

2024-06-25 Thread Mohit Marathe
Hello everyone, I spent the previous week working on getting `CommentsPanel` to respond to different events, such as editing, deleting, or resolving post-it notes. In that, I'm just forwarding the hint that `SwPostItMgr` receives (and after its done with the processing) to `CommentsPanel`, wher

Re: [GSoC] Comments in Sidebar Deck: Weekly Update

2024-06-17 Thread Mohit Marathe
Hello everyone, In the last week, I worked on setting up a "broadcaster-listener" relation between `CommentsPanel` and `SwPostItMgr`. Since `SwPostItMgr` does all the processing of comments, the idea is to make `CommentsPanel` listen to `SwPostItMgr` after the latter is done with the processing of

Re: [GSoC] Comments in Sidebar Deck: Weekly Update

2024-06-03 Thread Mohit Marathe
Hello everyone, In the last week, I implemented a method to `populateComments` (which loads and displays all the existing comments to the Comments deck). For implementing this, I needed to collect all the existing comments in the document. Fortunately, there was `SwPostItMgr::AddPostIts` whic

Re: [GSoC] Comments in Sidebar Deck: Weekly Update

2024-05-26 Thread Mohit Marathe
Hi everyone, This is my update of the past week: - Created .ui files for "Thread" and "Comment", which will be loaded in the Comments panel. - Added a method to add comments in the panel (I still need to link it so that it will be triggered when we want to add a comment). - Researched on how t

[GSoC] Comments in Sidebar Deck: Weekly Update

2024-05-19 Thread Mohit Marathe
Hi everyone, I’ll be posting weekly updates about my progress on this project in this thread. This week, I learned how to use Glade for making UIs. I used it to make .ui for “Comments” deck in the sidebar. This is how looks (for now, as there are lots of things to add): You can find the patch h