Giter Site home page Giter Site logo

paperbuzz_viz_test's People

Contributors

ajrbyers avatar jalperin avatar norlab avatar

Watchers

 avatar  avatar  avatar

paperbuzz_viz_test's Issues

CSS can cause conflicts when embedded

Hi @norlab, I came to this repo from @jalperin's, and noticed something in the implementation that one of my PKP colleagues is building for OJS now.

In this screenshot you can see some CSS code (.title) effecting the styles of non-paperbuzz elements on a page where papebuzz is embedded.

selection_011

Several of the selectors could probably be more tightly scoped to prevent style bleed:

https://github.com/norlab/paperbuzz_viz_test/blob/master/css/paperbuzzviz.css#L1
https://github.com/norlab/paperbuzz_viz_test/blob/master/css/paperbuzzviz.css#L11-L12
https://github.com/norlab/paperbuzz_viz_test/blob/master/css/paperbuzzviz.css#L18
https://github.com/norlab/paperbuzz_viz_test/blob/master/css/paperbuzzviz.css#L23
https://github.com/norlab/paperbuzz_viz_test/blob/master/css/paperbuzzviz.css#L27
https://github.com/norlab/paperbuzz_viz_test/blob/master/css/paperbuzzviz.css#L108
https://github.com/norlab/paperbuzz_viz_test/blob/master/css/paperbuzzviz.css#L112

The use of a prefix for most classes , as you've done (.paperbuzz-*), is usually good enough. But if you have elements which you can't change the class name of, maybe because it's built in a dependency, I'd encourage you to use a wrapper. Something like:

.paperbuzz .bar {
  ...
}

The icomoon font is another potential source of conflicts. I think the risk here is lower but since icomoon is a popular service, it's definitely possible that you'd conflict with another font named icomoon. I believe the icomoon app lets you define the font family name when generating the files, so it might be worth naming it paperbuzz just to be safe.

All just suggestions. Nice work. ๐Ÿ‘

Mini Viz Icons and Counts

The goal is to create a mini-viz (see js code lines 65-124) that has similar components to the viz for an individual author on impactstory (see the small box labeled "Timeline" here).

I am having difficulty adding the logos and counts to the current mini-viz. My attempt to create this is found on lines 116-121, but something isn't quite right (obviously needs to offset for each logo - but I can't even get a single logo to appear).

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.