Giter VIP home page Giter VIP logo

craft-baseline's People

Contributors

dependabot[bot] avatar jasminetracey avatar movntains avatar tomdavies avatar

craft-baseline's Issues

GH Issue templates

Describe the solution you'd like

Appropriate issue templates for the different types of issue we encounter during specification and build

[shell] HTML Sampler Template

Tom to refine this Issue with direction for Jasmine.

From a Slack chat:

it would be really helpful to have an HTML sampler template in Craft, with html for all the things we always need (buttons, prose etc)

would then help to validate the TW config against that

kinda like the styleguide pages I built for Relias but TW driven, and with fewer code examples b/c we have the TW docs

[feature] Baseline content model + skeleton templates

We end up building the same thing again and again:

  • Pages structure
  • Blog
  • Promos
  • Testimonials
  • Asset volumes for Images + Files

etc etc

We should have a long-lived branch with project config + skeleton templating for this stuff

[feature] use mailhog in devMode

https://craftcms.com/docs/4.x/config/app.html#mailer

<?php
# config/app.php
use craft\helpers\App;

$isDev = App::env('CRAFT_ENVIRONMENT') === 'dev';
$useMailhog = Craft::$app->getConfig()->getGeneral()->devMode;

return [
    'components' => [
        'mailer' => function() {
            // Get the default component config:
            $config = App::mailerConfig();

            if ($useMailhog) {
                $adapter = craft\helpers\MailerHelper::createTransportAdapter(
                    craft\mail\transportadapters\Smtp::class,
                    [
                        'host' => App::env('MAILHOG_HOST'),
                        'port' => App::env('MAILHOG_PORT'),
                    ]
                );

                // Override the transport:
                $config['transport'] = $adapter->defineTransport();
            }

            // Return the initialized component:
            return Craft::createObject($config);
        },
    ],
];

[build] migrate tests back to Jest

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Is an estimate required before development starts?

Is a visual design required? If so has it been approved and provided?

Additional context
Add any other context or screenshots about the feature request here.

GH PR templates

  • Default
  • Content model
  • FE UI component
  • Template integration
  • Custom PHP / business logic
  • Config / env changes

[feature] Update FE build to use Vite

Mix is dead, long live Vite!

Must support:

  • TW + postcss + autoprefixer
  • JS builds
  • SVG sprites
  • Live reload

Should support:

  • Lint all the things!
  • @ alias for src/assets/js

See also #15

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.