Skip to content

Commit 502c492

Browse files
authored
GSoC '25 - week02 report by Elwin Li (#208)
* Add week02 blog, updated week01 blog name, and add author page * Fix small issues in week2 blog and authors page * Remove unecessary description
1 parent 475e7db commit 502c492

File tree

3 files changed

+111
-2
lines changed

3 files changed

+111
-2
lines changed
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
---
2+
name: "Elwin Li"
3+
slug: "elwin-li"
4+
title: "GSoC'25 Contributor"
5+
organization: "SugarLabs"
6+
description: "GSoC'25 Contributor at SugarLabs"
7+
avatar: "https://i.ibb.co/rGyw3WZM/Untitled-design-1.png"
8+
---
9+
10+
<!--markdownlint-disable-->
11+
12+
# About Elwin Li
13+
14+
Elwin is a Google Summer of Code 2025 contributor for Sugarlabs, working on bridging the gap between text-based coding and block coding in MusicBlocks.
15+
16+
## Experience
17+
18+
- **GSoC 2025**: Enhancing the JSeditor through adding code to block conversion, and fully functional debugger
19+
20+
## Current Projects
21+
22+
- [Code to Block conversion](https://github.com/sugarlabs/musicblocks/pull/4707) (Completed)
23+
- Debugger (WIP)
24+
- Syntax highlighting (WIP)
25+
26+
## Connect with Me
27+
28+
- **GitHub**: [@ebeetles](https://github.com/ebeetles)
29+
- **Gmail**: [[email protected]](mailto:[email protected])
30+
- **LinkedIn**: [Elwin Li](https://www.linkedin.com/in/elwinsli/)
31+

src/constants/MarkdownFiles/posts/2025-06-07-gsoc-25-Elwin-Li-week01.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2-
title: "JavaScript Editor Updates"
3-
excerpt: "This is a Template to write Blog Posts for weekly updates"
2+
title: "GSoC '25 Week 1 Update by Elwin Li"
3+
excerpt: "Weekly progress report for JSEditor updates"
44
category: "DEVELOPER NEWS"
55
date: "2025-06-07"
66
slug: "JSeditor-updates"
Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
---
2+
title: "GSoC '25 Week 2 Update by Elwin Li"
3+
excerpt: "Weekly progress report for JSEditor updates"
4+
category: "DEVELOPER NEWS"
5+
date: "2025-06-14"
6+
slug: "JSeditor-updates"
7+
author: "Elwin Li"
8+
tags: "gsoc25,sugarlabs,week2,javaScript editor"
9+
image: "assets/Images/GSOC.png"
10+
---
11+
12+
<!-- markdownlint-disable -->
13+
14+
# Week 2 Progress Report by Elwin Li
15+
16+
**Project:** [Advanced JavaScript Editor with MusicBlocks Interactions](https://github.com/sugarlabs/musicblocks/tree/config_driven_conversion/elwin)
17+
**Mentors:** [Walter Bender](https://github.com/walterbender), [Anindya Kundu](https://github.com/meganindya), [Devin Ulibarri](https://github.com/pikurasa)
18+
19+
**Reporting Period:** 2025-06-07 - 2025-06-14
20+
21+
---
22+
23+
## Goals for This Week
24+
25+
- **Goal:** Complete and deploy code to blocks functionality with full documentation and begin work on debugger.
26+
27+
---
28+
29+
## This Week’s Achievements
30+
31+
**Added All Blocks for Code to Blocks Support**
32+
33+
I added all blocks that are supported for block to code conversion to be supported for code to blocks conversion. I also added all necessary unit tests, and very [detailed documentation](https://github.com/sugarlabs/musicblocks/blob/master/js/js-export/CONVERSION_GUIDE.md) on how to add new blocks for support.
34+
35+
**Optimized Files**
36+
37+
I added a script to minify the JSON config so that musicblocks doesn't need to load the entire large file. I also merged many blocks that have the same path in the AST so that the config looks cleaner, and adding new blocks of the same path is even easier.
38+
39+
**Deployed Project**
40+
41+
The code to blocks project has been complete and deployed, as seen in this [merged PR](https://github.com/sugarlabs/musicblocks/pull/4707). To test, simply write your musicblocks program in Javascript in the editor and press the convert button. Note that the only blocks supported are those supported by block to code conversion, so it won't work on every single block possible, but will work on most of them.
42+
43+
<a href="https://ibb.co/qLNNyH8W"><img src="https://i.ibb.co/V0ggjFGQ/Screenshot-2025-06-14-at-2-25-05-PM.png" alt="Conversion Example"></a>
44+
45+
---
46+
47+
## Challenges & How I Overcame Them
48+
49+
- **Challenge:** Minimizing file size of config file
50+
51+
**Solution:** Merging configs, and using minified JSON for loading.
52+
53+
- **Challenge:** Never-seen-before git errors when trying to push commit
54+
55+
**Solution:** Image size as part of the documentation was too large, had to compress it.
56+
57+
---
58+
59+
## Key Learnings
60+
61+
- Deepened understanding of git.
62+
- Improved skills in **debugging**, **code design**, and **collaboration workflows**.
63+
64+
---
65+
66+
## Next Week’s Roadmap
67+
68+
- Begin debugger project
69+
- Being able to set breakpoints in the code
70+
- Add ability to trigger status block in the code as the debugger
71+
72+
---
73+
74+
## Acknowledgments
75+
76+
Thank you to my mentors, the Sugar Labs community, and fellow GSoC contributors for ongoing support.
77+
78+
---

0 commit comments

Comments
 (0)