Giter Club home page Giter Club logo

pixel-perfect's People

Contributors

aliuk2012 avatar gitter-badger avatar janodvarko avatar mbuckley avatar oshybystyi avatar

Stargazers

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

Watchers

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

pixel-perfect's Issues

SVGs are displayed pixelated

When an SVG image is added and scaled, it is displayed pixelated. As it is a vector format, it should be displayed as such allowing to be Pixel Perfect. :-)

Tested with Firefox 39.0a1 + Pixel Perfect 2.0b1 on Win8.1.

Sebastian

Allow to add layers via drag & drop

It should be possible to add layers by dragging an image (e.g. from the file explorer) and dropping it over the Pixel Perfect dialog.

Sebastian

JPM reporting error about text-align

running jpm run -b nightly the following is returned:

console.warn: pixel-perfect: Warning: Unsupported style property text-align. Did you mean textAlign?

Add option for toggling between absolute and fixed positioning

Currently all layers have fixed positioning. This makes it impossible to style layouts, which don't completely fit into the viewport.

So there should be an option to switch between absolute and fixed positioning. This should probably be a global option, i.e. affect all layers.

Positioning should be absolute by default. (issue #18)

Sebastian

Allow to change the layer order

The user should have control over the order of the layers to solve overlaying problems.

This could be achieved via allowing to drag & drop within the list of layers or displaying buttons to move the selected layer up or down.

Sebastian

Describe how to set up a dev environment for Pixel Perfect

As far as I saw there is no description so far on how to configure a development environment for Pixel Perfect. There are only vague hints by the links provided within the Further Resources section of the README.md.

Like for Firebug.next there should be the detailed steps described how to configure your system to be able to hack on Pixel Perfect.

Sebastian

Add layer using URL

Currently there is only an option to Add a layer using a local file.

  1. screen shot 2015-03-03 at 18 53 44
    The first start overlay button needs to change so that when you click on it a submenu appears and then choose which method to pull the file in. If you choice URL you should be able to paste a URL into it
  2. screen shot 2015-03-03 at 18 54 18

The same functionality needs to added to the "Add Layer" under the existing layer.

Improve scale input

Instead of having a text input for the size of the layer, it would make more sense to have an <input type="number"> or a slider like for the opacity, so it's easier to adjust the value.

Also it is not possible to choose a float value, so you can't size the layer to e.g. half of its original size or to 150%.

Sebastian

Make it possible to locate a layer within the page

Once layers are positioned absolute (issue #18) it should be possible to scroll the page to display a specific layer in case it is out of view.

The option for this could be within a context menu for each layer, below the other options for the layer or besides the layer within the layer list.

Sebastian

Pixel Perfect test coverage

We need tests to cover Pixel Perfect functionality:

  1. Add/Remove new layer
  2. Changing opacity/position/scale/lock
  3. Drag and drop

(should be implemented as three separate tests)

Honza

Remove update URL

We should remove the update URL from the package.json file.AMO doesn't allow it and want updates be server from AMO.

Honza

DOMContentLoaded listener in popup-frame-script.js

DOMContentLoaded listener in popup-frame-script.js needs to check that the window has the expected URL, or at least to unregister itself after the first response, so that it doesn't wind up injecting a privileged function into a remote document if the window somehow navigates somewhere unexpected.

(from AMO review)

Honza

Superimpose a grid layout

I'm not sure how do-able this would be but perhaps overlaying a grid over the page to help positioning. Just thinking in terms of when you design in applications like GIMP/Photoshop.

Could even go down the router of "snap to grid" so you do not need to be so precise.

Any thoughts?

Clone existing layer

In the layers properties there should be a button to "Clone" that layer. Should be as simple as just duplicating that layer and appending it to the layers list

screen shot 2015-03-03 at 18 54 18

Inconsistent naming of 'Pixel Perfect'

Sometimes 'Pixel Perfect' is written with space between both words, sometimes not. See the about dialog:
About Pixel Perfect

It should be changed, so it is 'Pixel Perfect' (with space) everywhere.

Tested with Firefox 39.0a1 + Pixel Perfect 2.0b1 on Win8.1.

Sebastian

Overlay image does not fluently move around

overlay image displayed on browser window does not moves fluently when image is drag around. Its like flickering of image at end of drag. It kind a moves back and forth for while. Previously in earlier version of pixel perfect image moves easily in all direction.

errors

i have no button in firebug and the layis not scrolling with broser scrolling.
and if i deactivate the mozilla developer toolbar the layer is also close

Pixel Perfect panel not displaying when Browser Console is opened

In the nightly build, if you open up the Browser Toolbox Pixel Perfect panel hides itself but when you go back to the nightly window the panel reappears. however then I can inspect the panel but the Browser toolbox has to be minimised. I cannot get both of them to be visible on the screen at the same time.

Remove bootstrap (css and js)

We are using small amount of styles from bootstrap.css (perhaps only img-thumbnail rule)
The entire data/bootstrap directory should be removed.

Honza

Remove duplicate 'Visible' checkbox

The checkbox besides each layer is enough. The second Visible checkbox within the options is unnecessary and should be removed.

Sebastian

Positioning should be absolute by default

The positioning of layers should be absolute by default, not fixed as it is currently the case.
Having fixed positioning for layers causes problems when you have layouts, which don't completely fit into the viewport.

Sebastian

Layer store object should be shared among popup panels

Every popup panel has currently its own instance of the Store object (PixelPerfectStore). This is wrong since adding/removing a layer in another tab (and another Pixel Perfect popup window) doesn't update other popup windows. All popup windows (from the same domain as soon as issue #40 is fixed) should be properly updated.

The store is currently initialized in PixelPerfectPopup ctor, it should be probably done in PixelPerfectToolboxOverlay.togglePixelPerfectPopup when the first PPP (pixel perfect popup) is opened for the first time.

Honza

Add option buttons for aligning overlay images

there should be some options buttons to align overlay image in browser window.
something like
align-buttons
It will help to adjust overlay image in browser window by align to left, center, right also top, middle, bottom. It will be a big help for developer.

viplab

Make UI resizable

The Pixel Perfect window should be resizable, so the user doesn't have to scroll the list of layers when it contains multiple layers.

This issue will be obsolete in case the UI will be integrated into the DevTools (issue #2).

Sebastian

Position is incorrect when layer is scaled

When a layer is scaled its position does not correspond to the values within the X and Y field anymore. This is, because the layer is scaled around its center without adjusting its x and y values.

So either the x and y values need to be changed accordingly when scaling the layer or the layer needs to be scaled only to the right and bottom. The latter probably makes more sense as people normally move the layer to a specific position.

Tested with Firefox 39.0a1 + Pixel Perfect 2.0b1 on Win8.1.

Sebastian

Text in first-run notification has spelling mistakes

The text in the notification shown when you run Pixel Perfect for the first time says:

Pixel Perfect extension has been originally introduced for Firebug. This new version is built on top of native Firefox developer tools with improved user experience and features. Among other things, remote devices such as mobile phones also supported. Enjoy!

It should say:

Pixel Perfect has been originally introduced as an extension for Firebug. This new version is built on top of the native Firefox developer tools with improved user experience and features. Among other things, remote devices such as mobile phones are also supported. Enjoy!

Tested with Firefox 39.0a1 + Pixel Perfect 2.0b1 on Win8.1.

Sebastian

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.