Coder Social home page Coder Social logo

import/export from json about qboard HOT 5 CLOSED

cjquines avatar cjquines commented on May 30, 2024 1
import/export from json

from qboard.

Comments (5)

pihart avatar pihart commented on May 30, 2024

Should it preserve history or should "load from JSON" be a single history event

from qboard.

cjquines avatar cjquines commented on May 30, 2024

dont think preserving history is worth it? not as if we keep the whole history tree. and it's also truncated past a certain number of items

from qboard.

cjquines avatar cjquines commented on May 30, 2024

todo: expose this in the ui

i still disagree with this being in history. in fact, i dont think importing json should append pages, but rather, replace the entire document; it should be analogous to opening and saving a file ui-wise. i also don't really see a usecase for this; qboard was never intended to work with multiple documents, and was always supposed to be for presentations (and i guess, now, scratch work). so i'm not sure if i'll keep the splicing pages thing

from qboard.

pihart avatar pihart commented on May 30, 2024

One thing I wanted to add was a check to see if the open document is new (as in the union the pages contains no objects), and in that case, don't append but overwrite.

from qboard.

cjquines avatar cjquines commented on May 30, 2024

resolved through #21 and 7156098

from qboard.

Related Issues (20)

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.