-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
General feedback #2
Comments
Sorry, themes for what? |
Hi @AaronDavidNewman, this repesitory should have examples for vexflow. On this very first draft it presents a vexfow graphic followed by its associated code. see https://vexflow.github.io/vexflow-examples/ I will focus on factory API as suggested in the past by @0xfe, step3 is an exception. You will see the code with syntaxt higlighted over black background. This is the theme I refer to. I use higlight.js and the possibles themes are in https://highlightjs.org/examples My ideas so far:
I wanted to get your ideas, I am not convinced about the code theme and the general layout. Looking forward to getting feedback from all of you and others that would like to see examples on particular topics. |
I don't have a strong opinion on the theme, however can we embed JSfiddle iframes or something, so each example is editable? (I think you can make it use source from GitHub.) |
@0xfe jsfiddle edition now added as a button. It was not easy to figure out how. :) |
Thanks for setting up this repo. My high level feedback is that I think this repo should have a separate folder for each self-contained example. One of the folders can be called I think jsfiddle style tutorials have some limitations:
On the main repo I have a folder of demos/ https://github.com/vexflow/vexflow/tree/main/demos It would be nice if we could move all those demos into this repo at some point. Each demo / example should live in its own separate folder. The github pages could be an index page that lists all the examples, and then you can click through to see each one (including the step-by-step tutorial/ examples). What do you think? |
@ronyeh now there is a basic infrastructure to support the examples. The HTMLs are also now complete showing the importance of utf-8. I will move to directories as suggested and I will port the demos. Thanks for the feedback. There is a new Theme, still not convinced. |
Let me know if you have any questions on the vexflow/demos/ folder. I can move them over if you want. I still think the vexflow repo needs to keep at least one basic example just to verify that the local build works. This Also, right now all the examples use the CDN version of the library. We should demonstrate different ways to include the library. Some developers might want to npm install it and compile it with their typescript project. There are different bundlers, like webpack, esbuild, rollup, etc. It would be great if we could have a simple hello world example for each use case. For V4, I built two small repos with micro demos in TS and JS:
If we support a separate directory for each self contained example, I'd be happy to move those examples here, so we can have a "one stop shop" for all vexflow examples. |
yes please, move them
I have nothing against separate directories. I understood it was per topic: getting-started, tutorial,... but we can also separate by example. |
@ronyeh @jaredjj3 @0xfe @mscuthbert @AaronDavidNewman @sschmidTU
I would appreciate general feedback on theme.
https://highlightjs.org/examples
Layout...
Which examples would you add...
The text was updated successfully, but these errors were encountered: