Giter Site home page Giter Site logo

Comments (22)

hsablonniere avatar hsablonniere commented on August 15, 2024

You forgot the details/comments/notes in Slide->Controller.
onstage shell needs to display them...

from dzslides.

paulrouget avatar paulrouget commented on August 15, 2024

I like the idea of having a more efficient protocol. Better to use the wiki:

https://github.com/paulrouget/dzslides/wiki/protocol
(didn't add the notes stuff)
What do you think?

from dzslides.

hsablonniere avatar hsablonniere commented on August 15, 2024

About notes stuffs, I think it could be sent along with cursor to a poll response in the currentSlide(cursor) message

from dzslides.

pci avatar pci commented on August 15, 2024

I'm not so sure about sending notes with the poll response, it's fine for the current slide design, but someone might what to use it for things like video subtitles from a slide (for example) and so it wouldn't nicely fit with poll response. It probably needs it's own message.

from dzslides.

hsablonniere avatar hsablonniere commented on August 15, 2024

Hum, we're talking about slides notes. They should be written only for onstage and preparation purposes. I'm not sure I understand the link with video subtitles.

from dzslides.

pci avatar pci commented on August 15, 2024

Sorry, bad example. It's just if it's linked to the poll response then it can only change when forward() is called. A better example might be that after 5 mins on a slide the slide notes change to "move on!" :)

from dzslides.

hsablonniere avatar hsablonniere commented on August 15, 2024

Lol. Not a bad idea...

I think that only one set of notes is needed by slide, so if it only change with forward, I'm OK with it.

from dzslides.

paulrouget avatar paulrouget commented on August 15, 2024

We should keep it simple and understandable. getNotes(cursor) should be enough I think.

from dzslides.

paulrouget avatar paulrouget commented on August 15, 2024

(sorry, closed the bug by mistake)

Just updated the protocol. Serious changes. I use the usual protocol syntax (not a js-like one).
Please review and comment.

(I am not sure about the "content" messages. Do we need that?)

from dzslides.

hsablonniere avatar hsablonniere commented on August 15, 2024

I don't see any problems for me.

Content messages may be useful in some cases maybe with the coming mobile remote UI and WS/server events stuffs...

from dzslides.

paulrouget avatar paulrouget commented on August 15, 2024

New update. Serious changes.
https://github.com/paulrouget/dzslides/wiki/protocol

Comments are welcome!

from dzslides.

hsablonniere avatar hsablonniere commented on August 15, 2024

Ok for me. The incremental feature will handle cursors so we can manage them via future protocol.

from dzslides.

hsablonniere avatar hsablonniere commented on August 15, 2024

I sent a PR for new incremental feature. onstage needs to be adapted to work with it.

I think we can start working on protocol now and manipulate cursors between windows instead of slide idx.

from dzslides.

hsablonniere avatar hsablonniere commented on August 15, 2024

I sent a pull request for the protocol. Let me know what you think of it.

from dzslides.

hsablonniere avatar hsablonniere commented on August 15, 2024

I added START and END messages on the wiki : https://github.com/paulrouget/dzslides/wiki/protocol.

from dzslides.

paulrouget avatar paulrouget commented on August 15, 2024

Good catch.

from dzslides.

pci avatar pci commented on August 15, 2024

Sorry for the long absence, looks like I've got some catching up to do!

APIs look great.

One note: rather than have all controllers requesting the notes every time wouldn't it be better to allow the slides to send the NOTES html_content message without it requiring a request (more like CURSOR)?

from dzslides.

pci avatar pci commented on August 15, 2024

Oh, also do we want a TOGGLE_FULLSCREEN command? As there isn't any chrome for user interaction on the actual slide (issue #28)

from dzslides.

paulrouget avatar paulrouget commented on August 15, 2024

One note: rather than have all controllers requesting the notes every time wouldn't it be better to allow the slides to send the NOTES html_content message without it requiring a request (more like CURSOR)?

Not sure we want to send the notes every time we update the slides. Only something like onstage.html would need such a feature, and in the future, if we want to support websockets, that would be too much to send at every update.

Oh, also do we want a TOGGLE_FULLSCREEN command? As there isn't any chrome for user interaction on the actual slide (issue #28)

That will happen in issue #28

from dzslides.

pci avatar pci commented on August 15, 2024

Fair enough :)

from dzslides.

hsablonniere avatar hsablonniere commented on August 15, 2024

I do agree with Paul on notes.

from dzslides.

hsablonniere avatar hsablonniere commented on August 15, 2024

Protocol stuffs solved! see cefda59

from dzslides.

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.