Code Monkey home page Code Monkey logo

carbonfolder's People

Contributors

fraserxu avatar hunvreus avatar jamesford avatar unitech avatar zbal avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

carbonfolder's Issues

Split editor prototype

As shown in the doodle underneath, we need to take a YAML Front Matter markdown file and split it in 2 to be able to apply editors to each part independently. I would start there and come up with an efficient way to load a YAML Front Matter markdown file into two textareas.

Doodle_1

/cc @melon

Setup jekyll site for demo

From what Alex had said, the actual push to a Jekyll site (Github pages) was working. It would be good to have it tested and working on a new Github page blog.

Figure out if it works and prepare a demo repo for that.

Edit Saved Media

Currently media that we load from dropbox cannot be loaded back into the editor. It does display as an item in the list however. Fix the functions so that an image loaded from dropbox can be edited further, saved or deleted.

Corrupt Images

While you can upload and save an image and then access it again via Box CMS, when attempting to view the files saved to dropbox they seem to be corrupt.

Evaluating mock

The current theme was never designed for the DCMS; it is overly realistic and has several issues when dealing with the actual content we'll be editing on the DCMS.

I have just added a very quick draft of a mock in the repository; run it and come back with comments. We'd likely go in such a direction rather than the current theme.

Status Update Oct 30

Just pushed the changes that take into account the current design. Starting up the application remains the same (details below). Clicking on the Box CMS logo on the nav bar will display project options (eg. create new project, select project, delete, force refresh) Creating and Update content and types is working, saving and deleting them also works. Media is still not working. The pusher is working, but only to repos under your name, not organizations yet. It does work, and will push all files in the current project to the _posts folder. Beware you must have the server running for the pusher to work, if you don't need the pusher, you don't need to start the server. If you had some content that was of the type "article", after pushing you would find it in _posts/article/<timestamp>-contentTitle

Installation and Running everything
Client: cd client -> npm install -> grunt
Server: cd server -> npm install -> node server.js

/cc @hunvreus @quentinberder

Demo

Since DCMS is also using Dropbox for logins (same as payroll china) we again need some form of HTTPS to have it callback to an address that isn't localhost. Heroku is too slow to load so for now it is easier to just run a local version of the site.

A quick run through of the installation process.

  • git clone ...
  • cd DCMS/client && npm install
  • cd ../server && npm install
  • node server.js
  • open a new terminal tab/window cd DCMS/client && grunt

Note: I still have not been able to get images to load into the app correctly so that feature does not work yet. Images still save into dropbox without issue, however.

/cc @hunvreus

Writing the picture in the right folder

For now on http://localhost:9001/#/medias, when editing and uploading a picture, it goes to an arbitrory folder (https://github.com/Wiredcraft/focused.io/blob/master/client/app/js/controllers/main_controller.js#L290)

The Media type should follow the same way of saving the data than a classic type :
https://github.com/Wiredcraft/focused.io/blob/master/client/app/js/controllers/main_controller.js#L253

It should save it in the right Context folder, in an image folder.

Here are the sources of the Dropbox service :
https://github.com/Wiredcraft/focused.io/blob/master/client/app/js/services/dropbox.js

Incorrect Date

Currently when pushing a file to github it saves all files with the date '2012-12-23' change this hard-coded date to the content's date attribute.

Image name

The image name should by use the name grabbed by the file selector, or the name of the file that is already saved to the project.

Choose media in editor

When editing content using the moleskin editor the users should be able to click on the media icon and allowed to embed media from their BoxCMS project's media.

Brief Status Update

Quick update on what is working and what is not at the moment

Working:

  • Types - Create / Edit / Delete types (deleting a type, deletes all posts of the same type)
  • Posts - Based on types, you Create / Edit / Delete posts
  • Pusher - I have created a github app and used my keys in the config and its calling back correctly and pushing to repos correctly. Although I have not tested this extensively.
  • Media - Pictures are saving to the correct locations

Not working

  • Media - Cannot Get previously added media, therefore no deleting or updating them.
  • Locked/Enabled - two buttons at the top right of the detail page, serving no purpose at the moment
  • CSS - Still a few stylistic changes to be made, but fully functional without them.

/cc @quentinberder @hunvreus

Push to GH Feedback

Currently no feedback as to whether the app has successfully pushed to github or failed to push.

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.