Giter VIP home page Giter VIP logo

explorer's People

Contributors

aminetir avatar atahrijouti avatar dependabot[bot] avatar

Watchers

 avatar  avatar  avatar

explorer's Issues

Investigate a better approach at triggering events that does not involve Elements

As it stands right now, we are using elements that are part of the render to trigger events. The issue that comes up is for example when NavigationBar wants to tell Explorer to render something, it has to do it through dispatching an Event on the appElement.

The issue with this scenario is that Explorer is a child of AppElement, and none might have been mounted from the start. which leads to issue like needing to do export let appElement: HTMLElement | null = null https://github.com/abderrahmane-tj/explorer/blob/master/src/app/index.ts

If we were able to export an observable of some sort instead it would be easier to access without having it null at the start

Pre Backend state changes

  • Move state to Explorer
  • state should contain only nodes in current folder
  • go up should reflect URL

Backend

  • Setup Koa server
  • Init routes structure
  • hook front-end to back-end
  • use PostgreSQL
  • GET /root-nodes route
  • GET /nodes/:id route
  • GET /nodes-from-path/:path(.*) route
  • POST /nodes route
  • DELETE /nodes/:id route
  • PUT /nodes/:id route

All HTML in JS

intex.html still has html in it that is not part of a component.
For total componentization, move that html into typescript

use routes

  • Implement routes.ts file
  • Implement a router system that reflects URL to page element
  • Respond to navigation inside node list and push routes to history
  • Respond to click on breadcrumb and push routes to history

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.