Giter Club home page Giter Club logo

butter-component-settings's Introduction

react-hot-boilerplate

The minimal dev environment to enable live-editing React components.

Usage

npm install
npm start
open http://localhost:3000

Now edit src/App.js.
Your changes will appear without reloading the browser like in this video.

Linting

This boilerplate project includes React-friendly ESLint configuration.

npm run lint

Using 0.0.0.0 as Host

You may want to change the host in server.js and webpack.config.js from localhost to 0.0.0.0 to allow access from same WiFi network. This is not enabled by default because it is reported to cause problems on Windows. This may also be useful if you're using a VM.

Missing Features

This boilerplate is purposefully simple to show the minimal configuration for React Hot Loader. For a real project, you'll want to add a separate config for production with hot reloading disabled and minification enabled. You'll also want to add a router, styles and maybe combine dev server with an existing server. This is out of scope of this boilerplate, but you may want to look into other starter kits.

Dependencies

Resources

butter-component-settings's People

Contributors

alexkuz avatar alexkval avatar btzr-io avatar denysdovhan avatar gaearon avatar hulufei avatar lancefisher avatar liamondrop avatar ncuillery avatar sd0s avatar technopahadi avatar vaclavsir avatar vankasteelj avatar werme avatar xaiki avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

butter-component-settings's Issues

Do we really need boostrap?

There are some conflicts between the redesign and boostrap:
I remember adding some hacks to overwrite stuff from bootstrap,
for example Dropdown .back-drop blocks the entire menu, so you can't click on items,
also there were some issues with nav-bar centering elements and we did from scratch most of the components ( I was fighting bootstrap instead of using it ) πŸ˜›

Can't npm install

This could be probably me only, but I'm not sure if this is related: npm/npm#13749
After npm i it gets stuck at:

extract:eslint: verb gentlyRm don't care about contents;

npm: 4.5.0
node: v6.10.3
os: Microsoft Windows [Version 10.0.14393]

Settings container overflow

Bottom buttons get hidden when you active advanced settings,
you can barely see them when you scroll down.

Action required: Greenkeeper could not be activated 🚨

🚨 You need to enable Continuous Integration on all branches of this repository. 🚨

To enable Greenkeeper, you need to make sure that a commit status is reported on all branches. This is required by Greenkeeper because we are using your CI build statuses to figure out when to notify you about breaking changes.

Since we did not receive a CI status on the greenkeeper/initial branch, we assume that you still need to configure it.

If you have already set up a CI for this repository, you might need to check your configuration. Make sure it will run on all new branches. If you don’t want it to run on every branch, you can whitelist branches starting with greenkeeper/.

We recommend using Travis CI, but Greenkeeper will work with every other CI service as well.

Button layout

  • @xaiki Why there's a modal inside a button?
  • Replace Button component wrapper with actual button element.

Modal animation not working

Update

  • ButterModal it's broken, you need to import modal instead:
    Import { Modal } from './modal'
  • Hide / show the old way :
    {state.show ? (< Modal/>) : null }

I don't know if this is ok: modal/index.js#L5

key={style.modal}

I not sure about this: modal/index.js#L13

class ButterModal extends Component {
render () {
let {show, ...props} = this.props
if (! show) return null
...

Why we need 2 ? modal/index.js#L23

export {ButterModal as default, Modal}

Dropdown style

  • Fix max-height.
  • Scroll-bar style.
  • Update animation.
  • Tidy css / stylus.

Dropdown items overlap scrollbar

Dropdown scrollbar

🐞 Bug:

  • Item overlaps custom scrollbar ( webkit ) on :hover

Updated style, but don't fix the issue.
Note: this only happen with a custom styled scrollbar ( native works fine)

scrollbar-bug

Deprecated dependency

react-addons-css-transition-group

This package is deprecated and will no longer work with React 16+. We recommend you use CSSTransitionGroup from react-transition-group instead.

Modal hide ( bug )

Hide / show modal ( properly )

Todo

  • Modal needs to hide on overlay / outside click.

Done

  • We can't interact ( click ) with the modal content.
  • Modal wrong animation fade assigned. ( it should be popup )

Module parse failed ( component-qrcode )

npm start

ERROR in ./~/butter-component-qrcode/src/index.js
Module parse failed: .../butter-component-qrcode\src\index.js Unexpected token (7:45)
You may need an appropriate loader to handle this file type.
 import QRCode from 'qrcode.react';
 let ButterQRCode = ({title, subtitle, value, ...props}) => (
    <div>
        <h1>{title}</h1>
 @ ./test/data.js 12:13-47
 @ ./~/butter-component-builder/index.js
 @ multi webpack-dev-server/client?http://localhost:3000 webpack/hot/only-dev-server butter-installer-themes webpack-material-design-icons ./~/butter-component-builder/index.js
webpack: Failed to compile.

Font size affects nav-bar size

This affects tabs-content:

  • Butter-desktop: nav-bar height -> 112.91px
  • Butter-component-settings ( Test ): nav-bar height -> 135px

Multiple wrappers?

  1. <div>
  2. <div className={style['settings']}> πŸ‘ˆ ( We just need this )
  3. <div className={style['settings-container']}>

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.