Giter Club home page Giter Club logo

evolus / pencil Goto Github PK

View Code? Open in Web Editor NEW
8.9K 269.0 712.0 36.46 MB

The Pencil Project's unique mission is to build a free and opensource tool for making diagrams and GUI prototyping that everyone can use.

Home Page: http://pencil.evolus.vn

License: GNU General Public License v2.0

JavaScript 79.02% HTML 7.61% CSS 1.55% Shell 0.01% XSLT 2.09% Less 7.78% SCSS 1.94%
pencil nodejs electron sketching ui-design prototyping javascript mockup drawing wireframe

pencil's People

Contributors

buithehoa avatar chimung080 avatar cweagans avatar dgthanhan avatar hartwork avatar jasontheprogrammer avatar juanmcasanova avatar lequangthanh avatar mawe42 avatar mbrainiac avatar movermeyer avatar ngochicuong avatar nick4ever avatar phuong-teamunify avatar pnvananh avatar prikhi avatar samhurne avatar schlichtanders avatar srottem 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  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

pencil's Issues

Network diagrams

  • Operating system: Linux
  • Pencil version: 3 beta

Please create icons(PC, notebook, routers, firewall, switch, etc) to build a network diagrams.

tks
Joao

'Add to My Collections' UI needs enhancements

  • Double clicking should be allowed to select the collection
  • Last used collection should be pre-selected to save user's time
  • The option for creating new private collection needs to be in a different style
  • The 'Add to My Collections" menu item needs a trailing ellipsis
  • The name input for shape info pane should be automatically focused

Pencil crashes and show a white screen

  • Operating system: Ubuntu 14.04
  • Pencil version: 3.0.0 - beta 2 (Released June 10, 2016)

I'm working and sometimes I'm just moving objects and it suddenly crashes. It displays a white screen, and I can not do nothing, except restarting the computer. Restarting does not solve the problem, I can see the loading screen but then nothing is shown (the screen is always white)

Properties Panel -Definitions

  • Operating system: Windows10
  • Pencil version: V3

Properties panel needs a more uniform presentation.

Example: definitions.xml (common) pencil/app/stencils

displayName="&backgrcolor;"

Looking at the code: you're using outdated graphics and making object calls in various ways -it is confusing - and slows down progress.

Excellent work and I would like to see this project scale.
Drop me a line if you like or use the file with the changes:

I have not made an official pull request as yet.

CommonShapeDefinitions.zip

Pencil CLI

We are looking for ways to not commit image formats into the repository but rather only the .epz files. Only the build server should "compile" them for the documentation. Any chance to do this?

Flowchart Multi-segment Connector

  • Operating system: Windows 10 Enterprise x64
  • Pencil version: 3.0.0-beta.2

The Flowchart Multi-segment connector appears to be broken. When I try to connect two stencils, the end connection does not connect.

image

Duplicate line breaks in exported PDF

  • Operating system: Mac OSX
  • Pencil version: 3.0.0.-beta2

How to reproduce:
Add a HTML Text item (from Desktop Sketchy GUI). Insert multiline text (inserting linebreaks using Shift+Enter). Export as PDF.

The eported PDF contains blank lines (i.e. two line breaks) where there shouldn't be blank lines (but only a single linke break).

Goes blank after a flash showing the content

  • Operating system: Ubuntu Linux 14.04.4 LTS
  • Pencil version: 3.* beta

Installed 3Beta version from .deb package with gdebi to ensure all dependencies are installed. Pencil opened alright by default, but when more plugins like bootstrap were installed, the application shows a flash of the app and then goes completely blank, thus preventing to do anything!

$ /opt/Pencil/Pencil --help
Hardware acceleration disabled for Linux.
Platform: linux
Background web-printer started.
RENDERER started.

Export Single Webpage Links doesn't work

I like the option to export in Single Webpage because of the links. I can't do that in this new version.
I made a link from object in Page 1 to Page 2 and export choosing Single Webpage. The link didn't work.

Can you confirm that ?

Scaling issue on Windows 10 at 3840 x 2160 with 3.0.0 beta 1

Hi there,

Pencil is not scaling properly on Windows 10 at 3840 x 2160 with 3.0.0 beta 1. To be able to use a 3480 x 2160 15'' inch monitor, you need to scale things up quite a bit. Usually I have my Windows set for 225%.

pencil issue - windows scaling 225

This makes most programs display regularly, but Pencil looks like this:

pencil issue - scaling 225

If I bring scaling back to 100%, most programs become unusable:

pencil issue - windows scaling 100

But Pencil displays regularly:

pencil issue - scaling 100

Cheers

Ordering the collections

On Manage Collection window, the collections should be ordered by drag&drop. The result will be applied on Colletions panel.

App crashes on empty stencil folder

  • Operating system: Kubuntu 16.04
  • Pencil version: 3.0.0 Beta2

When creating an empty folder in ~/.pencil/stencils, app crashes if on startup.

How to do it again :

  1. Create a folder in ~/.pencil/stencils
  2. (Re)start pencil

I think the app would crash with any file not being a valid stencil directory.

App not run on Linux Mint

After app running it open white window with blinking "P" in yellow circle, and do nothing.
terminal command:
user@computer ~ $ "/opt/Pencil/Pencil"
terminal output
Platform: linux
Background web-printer started.
And app show white window with blinking "P" in yellow circle, and do nothing.

  • Operating system:
    17.3 Rosa 64, MATE 1.12.0,
    kernel Linux 4.4.0-24-generic x86_64
  • Pencil version:
    Pencil-3.0.0-beta.1.deb,
    Pencil-3.0.0-beta.2.deb

"Duplicate" missing

  • Operating system: Mac OSX
  • Pencil version: 3.0.0-beta2

I can't find any context menu entry to duplicate items (e.g. text fields, buttons or labels). Is this a bug or isn't there any feature like this yet and I need to copy + paste manually?

Platform version '47.0' is not compatible

  • Operating system:
    Ubuntu Xenial
  • Pencil version:
    3.0.0-beta2 and 2.0.16
$ pencil-prototyping --version
Error: Platform version '47.0' is not compatible with
minVersion >= 36.0
maxVersion <= 46.*
$ firefox --version
Mozilla Firefox 47.0

I've updated the maxVersion to 47.* manually in /usr/share/pencil-prototyping.application.ini and everything seems to be running fine.

I have no idea whether it is really compatible though :)

No copy+paste ?

  • Operating system: MacOS
  • Pencil version: 3

It's not possible to copy paste anything.

Hardware acceleration disabled for Linux

  • Operating system: Debian Jessie 64bit
  • Pencil version: 3.0.0 beta 2

May I ask which part of Pencil uses hardware acceleration and also if support for it on Linux platforms is planned for the future?

Flowchart: Unable to assign label to arrow created from dragging off of object handle

  • Operating system:Windows 10 Enterprise x64
  • Pencil version: 3.0.0-beta.2

When I create an arrow using an object's handle, I'm unable to add a label or caption to the arrow. It treats the arrow as if it's part of the same object who's handle was used to create the arrow.

image

Arrows that I create using the straight connector object allow this:

image

Dependency on Python not specified

Originally posted by @Craig-Fisk
Following the instructions I cloned the repo, ensured I am running node 4.2+ (currently 4.2.2) and tried to run npm install and got the following errors:

$ npm install
npm WARN optional dep failed, continuing [email protected]
npm WARN optional dep failed, continuing [email protected]

> [email protected] install C:\git\pencil-v3\node_modules\electron-rebuild\node_modules\nslog
> node-gyp rebuild


C:\git\pencil-v3\node_modules\electron-rebuild\node_modules\nslog>if not defined npm_config_node_gyp (node "C:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild )  else (node  rebuild )
gyp ERR! configure error
gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.
gyp ERR! stack     at failNoPython (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:116:14)
gyp ERR! stack     at C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:71:11
gyp ERR! stack     at FSReqWrap.oncomplete (fs.js:82:15)
gyp ERR! System Windows_NT 6.1.7601
gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd C:\git\pencil-v3\node_modules\electron-rebuild\node_modules\nslog
gyp ERR! node -v v4.2.2
gyp ERR! node-gyp -v v3.0.3
gyp ERR! not ok
npm ERR! Windows_NT 6.1.7601
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install"
npm ERR! node v4.2.2
npm ERR! npm  v2.14.7
npm ERR! code ELIFECYCLE

npm ERR! [email protected] install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script 'node-gyp rebuild'.
npm ERR! This is most likely a problem with the nslog package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-gyp rebuild
npm ERR! You can get their info via:
npm ERR!     npm owner ls nslog
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     C:\git\pencil-v3\npm-debug.log

Am I simply missing Python? If so this should be included in the instructions

App crashes when opening installed stencil

  • Operating system: Fedora 24 beta
  • Pencil version: 3.0.0 beta 2

When opening Material Icons (v2.0.0) stencil installed from repository the program's window goes all white. When installing from file the problem is the same.

Links active on the editor with CTRL + Click

I think it would be very useful to be able to activate the links on the shapes directly on the editor using a shortcut like CTRL + Click.
Scenario: I have a page with some links to other pages. Pressing CTRL on keyboard, all the links become active (and eventually they highlight). At this point clicking on the link the editor jumps to the corresponding page.
This would help to test the navigation logic and the usability while design or prototype a user interface for an app or the wireframe for a web site.

Connector support for flowchart is broken

Originally posted by @maxandersen
in pencil 2 you could drag the "ends" of lines to shapes and they would connect.
How do I do that in Pencil 3 ?

Comments by @v3ss0n:
trying to do that too, i guess i will take a look in code
I think connectors are not avliable in current Master yet.

Wrapping text fields.

  • Operating system: Windows 8
  • Pencil version: 3.0
    Is there a way to get text fields to wrap within a restrained rectangular area? I only get my text displayed as a single line. Am I doing something wrong?

Debian package: gdebi fails; must install with dpkg

Debian package installation with dkpg works fine, but gdebi barfs on Debian 8 (Jessie).

So, before someone shows up complaining they can't install (because gdebi-gtk failed), here's the output and error message:

$ sudo gdebi ~/Downloads/Pencil-3.0.0-beta.1.deb 
Reading package lists... Done
Building dependency tree        
Reading state information... Done
Building data structures... Done 
Building data structures... Done 

Traceback (most recent call last):
  File "/usr/bin/gdebi", line 103, in <module>
    debi.show_description()
  File "/usr/share/gdebi/GDebi/GDsebiCli.py", line 96, in show_description
    print(self._deb["Description"])
UnicodeEncodeError: 'ascii' codec can't encode character '\u2019' in position 40: ordinal not in range(128)
$ gdebi --version
0.9.5.5+nmu1

PDF Export: Background color

  • Operating system: Mac OSX
  • Pencil version: 3.0.0-beta2

Observed: Background colors set in page properties are not preserved when exporting as PDF.
Expected: The background colors appears in the PDF (not as a background for the whole A4 format but only for the part of the page which shows the GUI prototype / wireframe).

(Also in the dialogue to set the background color I can choose an opacity but it does not get applied).

Won't open in mac

I have a 64 bit Intel Core 2 Duo macbook pro...
The message is "The application "Pencil.app" can't be opened."

Task-bar app icon is missing Windows 10

Install the 64 bit version of the app in Windows 10, the app works correctly but the task-bar icon looks just like a generic blank paper sheet. App icon in the Alt-tab switcher and Desktop shortcut are shown correctly.

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.