Git Product home page Git Product logo

dimensions's People

Contributors

arnaugiralt avatar joaoportela avatar julian-alberts avatar lukaszmtw avatar mrflix 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  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

dimensions's Issues

Values updated in inspector

The dimensions are wrong if the values (properties) have changed after dimensions plugin is activated. Possible solutions would be to activate the plugin by holding down CTRL (like Photoshop CC) and deactivate it by releasing CTRL.

Add threadshold option

In mac, there is a similar tool and it provides a threshold option to accurately measure two borders.

e.g. In below screenshot top is calculated from above input rather than from within the current input
Screenshot 2022-07-28 at 6 17 05 PM

Consider hiding the cursor

I have been using this —amazing extension— for a couple of days, but the constant change of cursor type it's kinda annoying, particularly when measuring wireframes/mockups/comps, since usually you end up with a big zoom cursor.

My suggestion is to remove it entirely, since the current axis are the most precise "cursor" you can get. In case that doesn't cut it, maybe using the crosshair cursor could do the job.

Donations

I find your extension rather useful, do you accept donations somewhere/somehow?

Crash after refresh

When I run the plugin and then refresh the page it seams to crash and can't be started anymore. I have to restart the browser or disable and reenable it in the Chrome settings.

Release TODO

  • Fix that Dimensions can be reactivated in the same tab without reload (bug appears when installed from Chrome Web Store)
  • Fix 'Add to Chrome' button on the website
  • wire links on the website
  • create extension screenshots and artwork for the store

tooltip.js error

This extension doesn't appear to work for me on any webpage.

I'm getting the following error appearing in the Chrome console:

Uncaught TypeError: Cannot read property '0' of undefined

  • In this file: tooltip.js:84
  • In this function: onInputMove

Its failing on the '0' I've starred below

if('ontouchstart' in window){
    x = event.touches[***0***].clientX;
    y = event.touches[0].clientY;
  } else {
    x = event.clientX;
    y = event.clientY;
  }

N.B. I have Windows 8 laptop (Lenovo Yoga) with a touch screen - which might have something to do with the 'ontouchstart' bit.

2014-09-11 16_13_40-contact us - klever

Esc to stop measuring

Love this. Looking forward to future enhancements. One request, press esc to exit the measuring tool.

Add a contrast tolerance in options

It would be nice to have an option to increase/decrease contrast tolerance as for some cases you can get quite strange results. I attached an example where the width is calculate incorrectly.
screen shot 2014-09-11 at 13 17 44

mousemove in device mode

seems mousemove (or touchmove) doesn't work at device mode in chrome latest version.
So, only way to show dimensions is just click on the page

Measure max width/height

It would be nice if one could measures the maximum width and height of an object, e.g. to get the diameter of the circles at the Extension's website. For example one could compute the maximum of all measured widths and heights while holding a key. In this way you can hold the key and draw a small circle with your mouse within the circle element, to surely cover the diameter.

Refreshing when active

When the extension is active and the page is reloaded, the plugin fails to work upon activation.

Issues when measuring on Mac Retina screen

I'm seeing some inconsistencies in what Dimensions wants to measure in retina vs. non-retina screens. In the non-retina screen, it has no problem selecting the border of this element, but in the retina screen, it extends beyond it.

dimensions retina

Sync Dimensions with DOM changes

Dimensions works by taking a screenshot of the page via a Chrome API. Thus Dimensions should take a new screenshot whenever something in the viewport changes.

It already does that for scrolling – with a slight delay to take the scroll inertia on OSX into account.
However it doesn't take DOM changes into account (e.g. changes of the html via Javascript).

1px bug

It seemed like measuring the elements from mouse axis? But the mouse point taking 1px itself, therefore it always has 1px difference.

Can't toggle the extension when button is hidden in toolbar

I've set an Alt + D keyboard shortcut to toggle the extension (as recommended) and this worked great.

However, when the extension button is hidden from the Chrome toolbar the keyboard shortcut no longer works and the extension can't be turned on or off.

I wouldn't have thought this is expected behaviour... (I'm using Chrome Version 37.0.2062.120)

Thanks!

Does dimensions support integrate with figma?

Mockups

Your designer handed you mockups as PNGs or JPEGs? Just drop them into Chrome, activate Dimensions and start measuring.

Does it support figma ? We are not using PNGs or JPEGs.

Sometimes steps over borders

screen shot 2015-01-21 at 15 13 23

In the y-direction it sometimes steps over borders like this very white image. Is there a way to set a threshold?

measurements off by 1px

Measurements often seem to be off by 1px. the element should measure 400x300px, but the measured dimensions are 399x299px
screen shot 2014-09-11 at 10 05 23 pm

[chrome] different icon color in dark mode

Looks awesome and works great! My only suggestion would be an icon color that pops a bit more when Chrome is set to dark mode. My nav-bar is dark grey and I can barely see the icon :(

Option to measure spacings between element boundaries instead of pixels

Right now the plugin only measures spacings between two elements via pixels, so measuring with text or icons can become a bit tricky if the cursor is moved around.

I guess it would make sense to implement an option(default?) to measure sizes of DOM elements by their real css dimensions instead of their rendered dimensions.

Annoate measurements

An option to annoate measurements.

perhaps store an array of points based on the url in localstorage?

Extension disables bookmarking in Chrome 41

As of Chrome 41 (Chrome 41.0.2272.76 x64, OSX 10.10.1), having the extension enabled prevents new bookmarks from being added. Neither CMD+D, the star icon in the address bar or the Bookmarks menu work.

Doesn't work on local sites?

Sorry if this is an obvious question, but I can't get the extension to work on pages I'm working on on my computer, only sites that are hosted on the web. Is it possible to use this extension on my local projects?

No keyboard shortcut?

Setting a keyboard shortcut is mentioned in the app description, but there is no options page for Dimensions. Is there another way to set a shortcut? Maybe some more detailed instructions would be helpful. 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.