Coder Social home page Coder Social logo

craft-starter-module's People

Contributors

davist11 avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

isabella232

craft-starter-module's Issues

Always enable debug bar in dev env

Add to the module's init()

if (getenv('ENVIRONMENT') === 'dev' && !Craft::$app->getRequest()->getIsConsoleRequest()) {
    Craft::$app->session->set('enableDebugToolbarForSite', true);
}

Front-End Edit Entry

On most sites we add an edit entry link anchored to the window at each element's URL. Would be nice to have this automatically happen in the module.

Add in parts kit/storybook functionality

Let's use The Trust as a foundation to get the parts kit stuff into this module. Some things to consider adjusting

  • using sub-folders instead of specific file naming
  • including the CSS + JS in the module (so FEDPack isnt responsible for them)
  • Word generator method (pass in a number of words as a param)
  • Kitchen sink
  • what else?

CP Nav Settings

Idea

@davist11 and I were talking about adding some lightweight, dev-mode-only control over the Control Panel left-hand navigation without a plugin.

Implementation

Just brainstorming but:

  • Configure settings in a gitignored file, e.g. config/dev.php
  • Identify some logical defaults (e.g. Fields, Settings) that could be batch controlled via a useDefaults setting
  • Allow custom items to be added via navItems: []
  • Surface recently saved entries, controlled via showRecentEntries which could accept a boolean or number

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.