Giter Site home page Giter Site logo

rise-vision / widget-settings-ui-components Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 7.0 11.01 MB

Various UI components shared across Angular-based Widget settings

Home Page: http://rise-vision.github.io/widget-settings-ui-components

License: GNU General Public License v3.0

HTML 52.45% JavaScript 47.55%

widget-settings-ui-components's People

Contributors

alex-deaconu avatar donnapep avatar jungeunyoon avatar nexus-uw avatar olegrise avatar pcsandford avatar rodrigopavezi avatar santiagonoguez avatar settinghead avatar stulees avatar winkervsbecks avatar

Stargazers

 avatar  avatar

Watchers

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

widget-settings-ui-components's Issues

Color Picker allows alpha but always returns hex value

Color Picker allows a user to set an alpha value on the color, however in this line of code:

$scope.color = color.toHexString();

it does conversion on the user selection to hex string. This conversion only uses r g b values of what was configured. Whatever alpha value that was set is not included in the value stored.

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 81 in the Spreadsheet Widget repo.

Overlapping settings in Column Selector and Table Settings

The table settings component and the column selector component have overlapping settings:

  • there is width in column selector and colPadding in tableSettings
  • there is alignment in column selector and alignment in header and data font settings in tableSettings

Scroll section does not have a title

How it works now:
Look at all the sections of the Widget (Spreadsheet, Columns, Table Format, etc), notice that each of them have a title, except Scroll:
2014-10-29_1622

How it should work:
The word "Scroll" should be removed from the body and should be the title of the section. If it can't be removed, we should include a title for this section to make it match the other sections.

Originally logged as Issue 78 in the Spreadsheet Repo.

Alignment in Column Setting instead of Table Setting

@alex-deaconu I'd previously removed alignment from Column Setting due to the conflict @nexus-uw raised about their being alignment in Table Setting and also Column Setting components. I thought it made sense to define it in Table Setting only. However, this was a mistake since we're no longer able to specify alignment on a per column basis for a data table.

I propose we add alignment back in to Column Setting and make Table Setting omit alignment for both column heading and data font styling.

@alex-deaconu @nexus-uw Agreed?

"Select A Column To Add" should be changed to "Select Columns To Format"

How it works now:
When you add a Spreadsheet to the Widget, all columns show up. The "Select A Column To Add" section gives the impression that nothing is going to show up until you add them in this section, and that you can only add one column.

How it should work:
The title should be changed to "Select Columns To Format". This way the user knows that all columns will show up in the Presentation, but this is where they select the multiple columns they want to format for the Presentation.

Originally logged as Issue 75 in Spreadsheet Widget repo.

Custom font with spaces in name doesn't show in preview text of Settings

What is not working/What is currently happening:
When you enter a custom font that contains spaces in the font name it doesn't show in the preview text.

http://rise-vision.github.io/widget-settings-ui-components/#/font-setting

Custom font: https://storage.googleapis.com/risemedialibrary-a9dbdcf0-00c2-45c6-aa6e-14933558ec46/Presentation%20Assets/Trade%20Gothic%20LT%20Bold.ttf

What is expected to work/What is the client expecting:
The custom font displays in the preview text

mismatch between scroll configurations

The auto scroll plugin configuration and scroll settings components both use the same configuration parameters but there is slight differences between the two. This requires pointless conversion code between the settings page and widget page.

the scroll settings component provides

{
 by : "page",
 speed : "medium",
 pause: "5"
}

but the auto-scroll plugin uses

{
  scrollBy: "page",
  scrollSpeed: "medium",
  scrollResumes: 5
}

Also, note that scrollResumes is an int but pause is a string (purposed fix PR here)

Could @donnapep and/or @stulees decide on a standard configuration object and update the respective repo?

Thanks

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.