/ember-minimal-tree

A minimal tree menu created with ember 1.12 and ember-data 1.0.0-beta.17

Primary LanguageJavaScriptMIT LicenseMIT

Warning

This repo have been turning into a addon, so please use that repo instead.

Introduction

The goal of this project is to create a front user menu tree where user can adds and removes categories on first level or in subdirectories.

Why

I tried first some complete project like: ember-cli-jstree, ember-idx-tree but with my little level on ember i didn't found a way to make working it (probably due also by outdated version of ember-cli used for there projects). Pending the time where i wish developers of there projects update there great code, i from scratch done a minimal construction of a tree (first for education, next cause i really need that functionality for a project). So i publish this short piece of code in MIT because i need that you, enthusiastic developer help me to improve this code, so please fork it and pull request !

@todo

  • validate logic on recursive component usage of sendAction method use case (@see comment on tree-node.hbs).

Documentation (base work)