-
Notifications
You must be signed in to change notification settings - Fork 50
APSoC 2022 : Extend markdown transformations to support tables
Tanya Chhabra edited this page Mar 7, 2023
·
4 revisions
Currently, the markdown transformations do not support tables as a component even though the 'ui-markdown-editor' has a provision for creating new tables in the front-end. This leads to various errors and inconvenience for the users as they cannot copy/paste their tables or use the table in different formats.
Therefore, this project aims to add table support to all the markdown transformations and further link them up with each other and with the front-end. This will ultimately help in getting rid of all the errors and provide a user-friendly interface that supports a brand new component in the Accord Project- "tables".
- Selected contributor projects announced.
- Commencement of the community bonding period
- Selected contributor projects announced.
- Commencement of the community bonding period
- Started working on the Commonmark models as the first step for the transformations.
- Had first meeting with Dan on 1st July. We discussed the project plan for the summer, talked about what all needs to be done before the first evaluation and I asked for his feedback on the WIP Commonmark model.
- Incorporated the changes suggested by Dan for the model.
- Started working with the markdown-transform repository to understand how the transformations are being carried out before the coding begins.
- Coding officially began.
- Weekly meetings to be held with Dan and Diana every Tuesday at 2pm UK.
- Finalised the Commonmark model.
- Started writing up rules for the Commonmark transformation.
- Started working on the HTML transformations.
- July 20, 2022- got the model approved by Dan and Diana. Presented the work done with the above transformations and got their feedback. We decided to complete the commonmark, the html and the slate DOM transformations before the first evaluations so that I can present the roundtrip and copy/paste functionality as a proof of work in the first demo.
- Completed the rules for the HTML transformations.
- Completed rules for the Slate DOM transformations.
- Created two PRs- one for the models repo and the other for the markdown-transform repo (WIP).
- Tried to test the working of all the 3 conversions in the front-end but faced some errors and inconsistencies.
- July 26, 2022, - talked about the PRs and the difficulties faced during the weekly meetings. Discussed the approach to solve the problems with Dan and Diana. We decided to write up unit tests for all the transformations to eliminate any inconsistencies with the rules written and also to use the template-mark dingus for a visual representation.
- Completed the tests for the 3 transformations.
- All the tests were passing, therefore concluded that the issue is with the UI editor and not the transformations.
- Edited the markdown-UI editor and doing that fixed some major errors related to the layout of the table.
- Realised there were some other errors as well related to the UI but decided to fix them later.
- Got the models PR merged.
- Prepared for the first demo - got the copy/paste and roundtrip working in UI-editor and prepared a presentation.
- August 1, 2022, - Discussed the UI progress with Dan and Diana. Talked about the failing build for the markdown-transform PR and we realised that it was because of the conflicting namespaces of the different models.
- August 3, 2022,- First Demo day.
- Started working on template mark transformation and a new model for the same.
- Realised that template mark is just an extension of common mark like cicero mark and therefore we do not need to have a separate model for the same.
- August 9, 2022, - Discussed the final demo with the mentors and how we could present the remaining transformations. Decided that it will be done will the help of 'export' buttons in the UI editor which will be installed by Diana.