foxnewsnetwork / autox

yet another personal ember addon
MIT License
0 stars 0 forks source link

enumerate features in an initializer or config file and allow users to disable certain ones #14

Open foxnewsnetwork opened 8 years ago

foxnewsnetwork commented 8 years ago

This is particularly an issue where I may want to connect autox to spree instead of the standard autox phoenix backend

foxnewsnetwork commented 8 years ago

In this same vein, handle component customization in the config fiile

foxnewsnetwork commented 8 years ago

global component customization is now available in 0.3.1, it's now possible to change autox's default (global) components in the config/environment.js file:

{ 
  AutoX: {
    Components: {
      newForm: "autox-form-for",
      editForm: "autox-form-for",
      showAttrField: "autox-show-field", 
      showActionField: "autox-show-action-field", 
      showLinkField: "autox-show-link-field",
      indexSummarizeModel: "autox-summarize-for",
      showModel: "autox-show-for",
      indexCollection: "autox-collection-for",
      selectChoice: "autox-select-choice"
    }
  }
}
foxnewsnetwork commented 8 years ago

other customization features I'd like to roll in before considering this closed are: