Giter VIP home page Giter VIP logo

postedit's People

Contributors

andrejtokarcik avatar banzaiman avatar coldfire-x avatar danmcp avatar dblado avatar gshipley avatar iepathos avatar kraman avatar lmacken avatar maherkassim avatar mfojtik avatar mrunalp avatar nhr avatar smarterclayton avatar thefotios avatar thesteve0 avatar zemanel avatar

Watchers

 avatar

postedit's Issues

Image Upload (Drag & Drop)

Add Drag & Drop functionality for uploading images in the post creation/update form. Similar to WordPress Media Upload form.

Keyboard Input - Alternate Languages

Implementation of interface for inputting recipe data needs to allow input of information using various keyboards.

Eg. Arabic keyboard, and accents for French

Potentially implementations:

  • separate on-screen keyboard

Post Display page - Styling

Need to change page styling to match css of xawaash.com post pages to show exactly how the post will look when uploaded.

Interface - Post Creation Form - Validation

Need to determine how validation will be performed on the form in a way that prevents data from being POSTed multiple times.

Potential Implementations

  • client-side: JavaScript
  • server-side: Django CreateView/UpdateView generic views

DB Table - Dictionary - French Gender

Should incorporate gender with french entries in dictionary to ensure that any corresponding Preparation/Style selected in Ingredient table is modified correctly.

Eg. poivre moulu (not moulue)

Potential Implementation:

  • Populate field using an online dictionary, or
  • Determine based on previous posts/entries

Admin Interface - Custom Post Entry

Need to create and configure a PostAdmin class in post_generator/admin.py that allows for easier creation of entries from Admin interface.

  • Should be able to manage/verify inclusion of necessary tabs, images, video, etc.
    • Need to maintain/show relative order of items in post

Ingredients Input - Radio

Input of ingredient measurements (ie. quantity and int'l quantity) should have a set of standard options for simpler input.

Options for quantity include:

  • cups
  • tsp
  • Tbsp
  • lb
  • pinch

Options for international units include:

  • mL
  • L
  • g

Potential implementations:

  • radio (preferred)
  • combobox

Need to include option Other for uncommon types such as "1 bunch of flat leaf parsley" from Baba Ghanoush recipe.

Scripts - Post Entry Form - Element Indexing

Need to be able to determine the relative order of the elements/sections (e.g text block, image, etc) within the post and each tab.

Potential implementations:

  • Need to further investigate use of jQuery's .index()

Language-based dictionary item verification

Need to determine which languages are going to be included in the post.

  • Verify that all entries in the dictionary that are required to render the content for the post do not contain null/blank entries

Post Create/Update form - Publication Date Widget

Change the default widget for entering post creation date to mirror django admin date entry field widget.

Simplify the time-selection widget as well (eg. similar to a basic alarm clock app's time entry/selection method).

WordPress API - Creating and Updating Posts

Need to look into creating/updating posts from the post page. Upload process should involve pulling and comparing current content against the last generated to determine if any manual changes were made and merge if necessary (prompt user).

Cache Database

Need to investigate potential implementation of a database for caching generated results.

Potentially applicable NoSQL document databases:

  • CouchDB (support for mobile app)
  • MongoDB

Post Create/Update form - Servings

Set the minimum servings that can be set from the interface to 0. When submitted, on the post display page only show No. of servings if it is non-zero.

DB Table - All - Populating Script

Need to create scripts for importing existing data from Xawaash posts.

Involves:

  • Read data from existing tables stored in Google Docs
  • Retrieve and parse data from original/old posts

Post Create/Update form - Delete Rows (& Undo)

Add button to top-right corner of each block/row on the form that hides the content and marks the DELETE field as enabled.

May want to add an option for restoring a deleted block. Eg. if the user accidentally deletes an IngredientBlock row with all of its ingredients.

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.