Coder Social home page Coder Social logo

Export to static HTML page about fishbone HOT 7 OPEN

deadprogram avatar deadprogram commented on August 17, 2024
Export to static HTML page

from fishbone.

Comments (7)

mbehr1 avatar mbehr1 commented on August 17, 2024

Hello @deadprogram! How about a static webpage (e.g. a react app deployed to github.io like the docs page) that allows opening/editing of fba files? I tried a few of those react-apps (e.g. mbehr.github.io/atx-viewer) and they are so similar to the vscode extension webview code that that should be a fairly reasonable effort.
(I could actually just add it to the docs pages.)

from fishbone.

deadprogram avatar deadprogram commented on August 17, 2024

That sounds great @mbehr1 please and thank you! 😸

from fishbone.

mbehr1 avatar mbehr1 commented on August 17, 2024

@deadprogram I started a first POC (see PR#24). It's deployed at https://mbehr1.github.io/fishbone/ see link "try online" (https://mbehr1.github.io/fishbone/online/ ) in the top menu bar. It should open a new tab that has the fishbone editor standalone in the browser. VS-Code extension itself should not be impacted.
Next step: add a load file function (and then a save file/export) (and fixing a few bugs e.g. changing title doesn't seem to persist)
Let me know whether this approach (once the load file is added) works for you.

from fishbone.

mbehr1 avatar mbehr1 commented on August 17, 2024

I added load file feature as well (#25 ).
Misses some features yet like:

  • migration from older versions
  • opening embedded fishbones (if used)
  • ...

But should be useable as a POC. @deadprogram feedback appreciated!

from fishbone.

deadprogram avatar deadprogram commented on August 17, 2024

Hello @mbehr1 thank you very much for working on this! The progress you are making is great.

I see that the "Load" feature is implemented, but not yet "Save", correct?

Is there a way to automatically open a specific FBA file on page load?

Also, what is the most straightforward way to embed a fishbone into a different site? For example putting on a markdown page.

Thanks!

from fishbone.

mbehr1 avatar mbehr1 commented on August 17, 2024

@deadprogram yes, save not implemented yet and I'm thinking about ways to make it automatically open (see my comment in issue #22 as well).
So priorities on my side:

  • remote open (e.g. for printing, or referring from other sides, might work for embedding as well)
  • saving/exporting

But "load" does work for you?

from fishbone.

deadprogram avatar deadprogram commented on August 17, 2024

But "load" does work for you?

Yes, worked as expected.

from fishbone.

Related Issues (12)

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.