librepcb-doc icon indicating copy to clipboard operation
librepcb-doc copied to clipboard

Screenshots are outdated or don't follow library conventions

Open ubruhin opened this issue 6 years ago • 6 comments

Most screenshots were created with LibrePCB versions much older than the official 0.1.0 release, thus some of the screenshots are outdated.

In addition, we should check if the elements visible in the screenshots do actually correspond to our library conventions (which are still work in progress). It's annoying for users to see screenshots which do not follow our library conventions.

Specific issues:

  • Component wizard shows "IC" as prefix for an OpAmp, while we actually use "U" for ICs.
  • Component wizard shows "{{PARTNUMBER}}" as default value, while it should be "{{PARTNUMBER or DEVICE}}".

ubruhin avatar Dec 05 '18 21:12 ubruhin

Pardon my ignorance -- does the app itself contain any automation features that could be used to manipulate the app into a particular state, then screenshot the window -- ideally without human intervention? Perhaps something like https://blog.codeship.com/automating-screenshots-in-documentation/ (though that might be mobile-specific).

Does there exist any meta-documentation on how screenshots are being captured/managed/tracked at present? Thx.

mdubinko avatar Dec 08 '18 20:12 mdubinko

The functional test framework (funq) that we already use for tests could be used for that. I'm not sure whether it already has a screenshotting function though. But I guess it could be done directly through Python.

dbrgn avatar Dec 08 '18 20:12 dbrgn

I stored the workspace containing the example libraries and projects in the directory resources/workspace/, so at least the data to reproduce screenshots is available.

But there is no automation yet. It would be really awesome to create a Python script which automatically creates all screenshots with Funq, as suggested by @dbrgn! You can take a look at our functional tests to see how it works.

PR very welcome :)

ubruhin avatar Dec 08 '18 22:12 ubruhin

Another thing that just had me confused for a little while trying to learn LibrePCB was that the screenshots have "required" signals and current LibrePCB has "optional" signals, which is the inverse logic.

sixtyfive avatar Jan 26 '20 09:01 sixtyfive

LibreCAD

LibrePCB or LibreCAD? They're two different projects.

dbrgn avatar Jan 26 '20 10:01 dbrgn

Whoops, sorry, this is going to be tripping me up for a while to come. Comment edited.

sixtyfive avatar Jan 26 '20 10:01 sixtyfive