Giter Site home page Giter Site logo

bootstrap-form-components's Introduction

Bootstrap Form Components Build Status

Introduction

  • A simple jQuery-based Font picker
  • An Angular directive that wraps the jQuery-based font picker
  • A simple jQuery-based font size picker
  • An Angular directive that wraps the jQuery-based font size picker

How do I use the components?

In your bower-enabled project, run

bower install --save git://github.com/Rise-Vision/bootstrap-form-components.git

Building

npm run build

Version Bumping

gulp bump

Testing

To run all tests, do

npm run test

To run E2E test built with CasperJS, do

gulp e2e:test

Submitting Issues

If you encounter problems or find defects we really want to hear about them. If you could take the time to add them as issues to this Repository it would be most appreciated. When reporting issues please use the following format where applicable:

Reproduction Steps

  1. did this
  2. then that
  3. followed by this (screenshots / video captures always help)

Expected Results

What you expected to happen.

Actual Results

What actually happened. (screenshots / video captures always help)

Contributing

All contributions are greatly appreciated and welcome! If you would first like to sound out your contribution ideas please post your thoughts to our community, otherwise submit a pull request and we will do our best to incorporate it.

Languages

If you would like to translate the user interface for this product to another language please complete the following:

  • Download the English translation file from this repository.
  • Download and install POEdit. This is software that you can use to write translations into another language.
  • Open the translation file in the POEdit program and set the language for which you are writing a translation.
  • In the Source text window, you will see the English word or phrase to be translated. You can provide a translation for it in the Translation window.
  • When the translation is complete, save it with a .po extension and email the file to [email protected]. Please be sure to indicate the Widget or app the translation file is for, as well as the language that it has been translated into, and we will integrate it after the translation has been verified.

Resources

If you have any questions or problems please don't hesitate to join our lively and responsive community at http://community.risevision.com.

If you are looking for user documentation on Rise Vision please see http://www.risevision.com/help/users/

If you would like more information on developing applications for Rise Vision please visit http://www.risevision.com/help/developers/.

Facilitator

Donna Peplinskie

bootstrap-form-components's People

Contributors

alex-deaconu avatar nexus-uw avatar settinghead avatar stulees avatar winkervsbecks avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bootstrap-form-components's Issues

Need a more generic gulp build task for js

Currently each sub-component has its own gulp concat task. This is not ideal, as we have to manually add a new task each time we add a new sub-component.

A better approach would be auto detect all components based on what's inside src/js, iterate through all relevant folder names, and auto-build for each. Finally, create the all-encompassing all.js under dist/ in case people don't bother to to pick and choose what to include.

@stulees @donnapep FYI

When initializing font picker with custom font, custom font name is not retrievable

@donnapep

if (currentFont === CUSTOM_FONT_TEXT) {
   var fontFamily = _getCustomFontName();

   utils.loadCustomFont(fontFamily, customFontURL, options.contentDocument);
}

_getCustomFontName is only a private function which means when initializing font picker with a custom font, there is no public API in retrieving the custom font name. Specifically, I am creating sample text to show the user their font selected and I can't apply a value for font-family without the custom font name.

Using a Custom Font is not saved in the Widget Settings

How it works now:

  1. Select "Use Custom Font" from the dropdown, and enter the path to your font. Notice that the Sample Text updates to show your font.
  2. Close and save the Widget Settings, and open them back up again, Notice that the Sample text is no longer using your custom font, and the Use Custom Font textbox is blank.

For further clarification: https://dl.dropboxusercontent.com/u/8237394/Screencasts/2014-10-30_1024.swf

How it should work:
The Custom Font should be saved in the textbox, as well as show in the Sample Text.

Originally logged as Issue 173 in widget-settings-ui-components.

font-picker not working when you change selection

Hi,
I'm struggling to make this work for the past one week. I followed your guidelines as mentioned below:
http://rise-vision.github.io/style-guide/#/components/font-picker
Though, it missed mentioning dependency,risevision.widget.common.fontpicker, to be added to my angular module, somehow i found it in one of your other examples and added it. Now its loading the font dropdown but when i select it, i'm getting below script error:

TypeError: Cannot set property 'type' of undefined

It seems its not the issue with my application. Even your demo gives same error when you change dropdown:

image

Please help me out.

"googleFontSelected" event does not pass font name or font family

      $googleFonts.on("select", function(e, family) {
        addGoogleFont(family, true);
        $googleFonts.modal("hide");

        currentFont = $family.val();

        $selectBox.trigger("googleFontSelected", family);
      });

The event being triggered is passing family but this is a jquery object. For the purposes of what I need, I need the value from the function getFontStyle(). It could also be helpful to pass the font too via getFont()

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.