-
Notifications
You must be signed in to change notification settings - Fork 134
GSoC '25 week 3 report by Elwin Li #237
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 2 commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
69 changes: 69 additions & 0 deletions
69
src/constants/MarkdownFiles/posts/2025-06-21-gsoc-25-Elwin-Li-week03.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,69 @@ | ||
| --- | ||
| title: "GSoC '25 Week 3 Update by Elwin Li" | ||
| excerpt: "Weekly progress report for JSEditor updates" | ||
| category: "DEVELOPER NEWS" | ||
| date: "2025-06-21" | ||
| slug: "JSeditor-updates-3" | ||
| author: "@/constants/MarkdownFiles/authors/elwin-li.md" | ||
| tags: "gsoc25,sugarlabs,week3,javaScript editor" | ||
| image: "assets/Images/GSOC.png" | ||
| --- | ||
|
|
||
| <!-- markdownlint-disable --> | ||
|
|
||
| # Week 3 Progress Report by Elwin Li | ||
|
|
||
| **Project:** [Advanced JavaScript Editor with MusicBlocks Interactions](https://github.com/sugarlabs/musicblocks/tree/config_driven_conversion/elwin) | ||
| **Mentors:** [Walter Bender](https://github.com/walterbender), [Anindya Kundu](https://github.com/meganindya), [Devin Ulibarri](https://github.com/pikurasa) | ||
|
|
||
| **Reporting Period:** 2025-06-14 - 2025-06-21 | ||
|
|
||
| --- | ||
|
|
||
| ## Goals for This Week | ||
|
|
||
| - **Goal:** Start on debugger for musicblocks and JS editor. | ||
|
|
||
| --- | ||
|
|
||
| ## This Week’s Achievements | ||
|
|
||
| **Made Working Debugger** | ||
|
|
||
| This week, I made a working debugger tool for Music Blocks JS editor. I added a button in the JS editor that is a toggle for the debug mode. On debug mode, users are able to add a breakpoint in any line of the code using buttons on the side of the line numbers. When the user then converts the code back to blocks, there are new debugger statement blocks that shows up. | ||
|
|
||
| Then, when the user runs their code, execution will be paused at every debugger statement, and a status block with all the user defined and musicblocks defined variables up till that point will appear, showing the user those values, making it easy to debug. The user can then choose which variables they want to keep, and continue execution. This tool works perfectly with the run slowly and run step by step buttons, in order for more careful debugging. | ||
|
|
||
| Also, I made block highlights contrast much more from original block colors, for easier tracking of which block is being executed. | ||
|
|
||
| [youtube: jEJuXpyQbS8] | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This video is nice. I recommend adding a description to the video on YouTube. |
||
|
|
||
| --- | ||
|
|
||
| ## Challenges & How I Overcame Them | ||
|
|
||
| - **Challenge:** Status blocks default to a set macro of variables | ||
|
|
||
| **Solution:** Was able to go through the blocklist and single out needed variables to put in the status block instead | ||
|
|
||
| --- | ||
|
|
||
| ## Key Learnings | ||
|
|
||
| - Deepened understanding of how music blocks execution works | ||
| - Improved skills in **debugging**, **code design**, and **collaboration workflows**. | ||
|
|
||
| --- | ||
|
|
||
| ## Next Week’s Roadmap | ||
|
|
||
| - Finish debugger project (fix bugs) | ||
| - Add syntax highlighting to JSeditor code | ||
|
|
||
| --- | ||
|
|
||
| ## Acknowledgments | ||
|
|
||
| Thank you to my mentors, the Sugar Labs community, and fellow GSoC contributors for ongoing support. | ||
|
|
||
| --- | ||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A slug like what you have for the name of the MD file would be more consistent with the names of other posts: 2025-06-21-gsoc-25-Elwin-Li-week03