Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kostyfisik/tree-header-demo
https://github.com/kostyfisik/tree-header-demo
Last synced: 10 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/kostyfisik/tree-header-demo
- Owner: kostyfisik
- License: mit
- Created: 2022-06-28T14:24:52.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-07-05T15:41:49.000Z (over 2 years ago)
- Last Synced: 2024-11-06T22:43:57.838Z (about 2 months ago)
- Language: TypeScript
- Size: 244 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
### Description
Main content is in `TreeTools.ts`
Basic idea: convert tree into table view, after that introducing changes is trivial.
### Limitation
Initial tree (as from the assignment) was modified to unify tree implementation API.
Was tested for only one case of initial tree.### Future improvement
- Documentation can be improved!
- Restore (if needed) initial tree representation using decorator pattern.
- Increase number of initial trees for testing.
- Some boilerplate code from excellent Vitesse template is still present...
- Black theme can be improved (e.g., font color in input field)
- Show colored diff instead of raw tree JSON.
- Table view is a bit cryptic... However, it is rather convenient for troubleshooting. Note, x: holds the index of the child below...### Development
Just run and visit http://localhost:3333
```bash
pnpm i
pnpm dev
```### Test
```bash
pnpm test
```