25 Commits
Author SHA1 Message Date
bendtherules 7c5dc082e8 refactor(misc): Use hook version of completionMapping and sourceMapping everywhere
Also stopped exporting the mappings directly from respective files to enforce this
2020-10-07 20:12:40 +05:30
bendtherules 1741826d96 refactor(misc): Move source and completion mappings to parent using context
Also change most consumers to use the context value
2020-10-05 20:47:49 +05:30
bendtherules c4e8cf7fce refactor(source): SourceViewer - Break highlight nested children into separate components
Add separate component for <Pre/>, line and token renderer. Hierarchy is Pre > Line > Token
2020-10-05 20:45:19 +05:30
bendtherules 8ca03e989d refactor(completion): CompletionViewer - Add key for each card 2020-10-05 20:28:40 +05:30
bendtherules 566357ca3d feat(completion): CompletionCard - Make source and full record section optional 2020-10-05 20:27:46 +05:30
bendtherules 919c9c253e feat(source): SourceMapping - Add token also to map
This token will be helpful to find completion record from AST token. When you click on source code, this will be used.
2020-10-05 20:23:40 +05:30
bendtherules 83760b66f9 style(app,completion): Improve mobile layout 2020-10-05 20:19:46 +05:30
bendtherules 7d4b2f15a3 update(types): Expose more types from prism 2020-10-05 17:25:32 +05:30
bendtherules 05a3b884f1 refactor(engine262): runEngine - Remove comment 2020-10-03 10:42:21 +05:30
bendtherules 3949f242e2 feat(app): For App layout, change to centered layout on large display 2020-09-28 20:26:36 +05:30
bendtherules 7937b6b2d6 feat(completion): Comp SourceSnippet - add compact layout for one-line related code 2020-09-28 20:24:41 +05:30
bendtherules 05a5278244 refactor(completion): Break down Completion Card into sections and forward using context 2020-09-28 19:24:54 +05:30
bendtherules 1ca2003a31 Fix all existing lint errors 2020-09-28 16:23:20 +05:30
bendtherules 49b0337231 Fix all prettier errors 2020-09-28 16:19:42 +05:30
bendtherules dae87ba6cc Add basic CompletionViewer 2020-09-28 12:42:48 +05:30
bendtherules ce173ab81a Add empty CompletionViewer 2020-09-08 17:04:35 +05:30
bendtherules 591ab1862f runEngine - Use old setup code 2020-09-07 21:51:19 +05:30
bendtherules 571b38806b engine262/evaluator.mjs - Add onNodeEvaluationComplete hook 2020-09-07 18:59:44 +05:30
bendtherules 06d0171d8b Install old engine262 in src/engine262
New version was not returning completion records easily
2020-09-07 18:58:41 +05:30
bendtherules c63d957d0f Separate components into SourceViewer and CompletionViewer 2020-09-07 16:48:26 +05:30
bendtherules a1090de269 Add basic CompletionMapping and runEngine code 2020-09-07 16:48:04 +05:30
bendtherules 46f1a5c569 Refactor - Move some files into src/logic and src/types 2020-09-07 11:05:11 +05:30
bendtherules 6024509516 Add basic code view and sourceMapping 2020-09-05 17:25:45 +05:30
bendtherules b4e32055b1 Add tailwindcss and prism-react-renderer dep 2020-09-05 17:25:08 +05:30
bendtherules 0b3cb2add1 Initialize project using Create React App 2020-08-30 20:26:05 +05:30