GSOC Work Summary
All my commits merged can be found here: https://github.com/zulip/zulip/commits?author=aero31aero
At Zulip, we kept merging code regularly and there wasn't any final large PR containing all my code. The list below summarizes most of the commits present above from June 2019 to August 2019.
I have divided my work into 4 parts:
- Merged: Merged before GSOC ending deadline
- Unmerged: PRs open and in review-update cycles.
- Pending: Features that I haven't yet submitted for review.
- Failures: Features or changes I started to do but abandoned.
On the whole, I managed to complete approx 8 tasks in markdown subsystem and approx 3 misc tasks otherwise.
Of my 4 deliverables in the proposal, the current status is:
- Work on Zulip's message rendering pipeline: 7/9 listed issues fixed or ready for review.
- Assist in typescript migration.: Open ended goal, and I couldn't contribute much towards this.
- Develop experimental features: 1/4 of the features are being worked on and should have a PR soon, other 2 don't have any work done. Submessages architecture needs some urgent love, and I'd love to have someone to discuss and work on this with. Steve is absent from Zulip for a while and his presence is essential in my opinion to make changes here.
- Try to make Zulip's markdown easier to use: This was a holistic goal and I feel we as a team have succeeded in making our markdown implementation simpler, reducing the 'aha' moments a user might have. The general trend we're now seeing is going back to commonmark spec when possible, which is a good goal to strive for.
Overall, I feel I achieved around 60% of my GSoC goals, and thus I'm markng as 'most goals fullfilled' in the choices.
- Handle topic links related updates.
- Update message flags on message update from server.
- Fix status message detection logic.
- Upgrade py-markdown.
- Stream Topic mention (major change).
- Add features to typeahead handling (major change).
- Enable hashheadings syntax.
- Minor updates to tests.
- Fix a narrowing bug.
- Remove unused portico code.
- Minor stream rendering bugs.
- Markdown link changes, including support to add image syntax. (zulip/zulip#12979)
- Block Quotes with message id(zulip/zulip#13001)
- Liberal autolinking (zulip/zulip#10825)
- Zulip Terminal column width restriction: zulip/zulipterminal#388
- Stream Specific Linkifiers zulip/zulip#11092 (WIP)
- Fork marked to zulip/marked and extend the API to support our usecases. (50%)
- Recent topics rewrite. (30%)
- Tab navigation rewrite. (30%)
- Zforms for zulip terminal. (60%)
- Shift testing data for marked and bugdown to markdown_test_cases. (50%)
- Timestamp syntax. (zulip/zulip#5253) (70%)
- Migrate markdown_test_cases to YAML or similar for better documentation. There were unicode parsing errors in yaml's python implementation, and I'm not inclined to add a new parser to our dependencies. I explored some JSON parsers that allow comments but they aren't the part of the spec and don't have much communitiy support. This should be revisited soon with a simple script to strip all lines starting with
//from the testcases file before parsing.
- Remove custom code from bugdown for things already present in py-markdown; failed on some parts, didn't make any PR. I tried to look at things we were rewriting (like the list syntaxes and fenced code etc) and tried to subclass the py-markdown implementation for some of them. I succeeded for our autolinks parser, but failed for others that I tried this on.
- I would be working for the next 3 weeks to wrap up the pending PRs and finish some more tasks on my list, before taking up any new tasks.
- A significant part of my time was spent debugging some elusive bugs related to the typeaheads that I'm struggling to reproduce but were surely introduced by my changes to the system. I have half a mind to look at what upstream has been doing since we 'forked' from them and see if the event management for the typeaheads has become more explicit now.