FormidableLabs / spectacle

A React-based library for creating sleek presentations using JSX syntax that gives you the ability to live demo your code.
https://commerce.nearform.com/open-source/spectacle/
MIT License
9.7k stars 690 forks source link

v6 migration #890

Open vincentdesmares opened 4 years ago

vincentdesmares commented 4 years ago

541 # Question

Hi, great job on the v6. It looks like a very nice upgrade. Yet, when I tried to migrate one of my presentation I found some key features were missing:

Do you have in your plans to add them or should we stay on the old version?

Also, same as the old version, it's still not possible to split slides per file with a "normal" component usage.

This is not working:

import Page1 from './slides/page1'

...

 <Deck theme={theme} template={template} transitionEffect="fade">
   <Page1 />
</Deck>

We have to still use this "way" of including the slide:

   <Deck theme={theme} template={template} transitionEffect="fade">
    {/* Sad hack to be able to split slides per files */}
    {Landing()}

It is a wanted behavior, if not, what I am missing?

Regards.

kale-stew commented 4 years ago

Thank you for opening this issue, @vincentdesmares! You've asked some great questions and given some very helpful feedback, I will address each of your points individually:

vincentdesmares commented 4 years ago

I believe you can still override progress styles per slide if you wanted to, using theme objects directly applied to the Slides you want. How can I technically do this when the element is not in a slide? (also, in my project, I have one file per slide). If I put on progress in each slide, then I have to hardcode the style to that it fits at the right place in the screen.

Thanks for taking the time to review this issue!

huy-nguyen commented 4 years ago

@kale-stew Can someone who is not a maintainer bring the Pacman-style progress back? I'm not sure how much work or knowledge of the library's internal is needed.

kale-stew commented 4 years ago

Absolutely! I would welcome it.

On May 23, 2020, at 6:42 PM, Huy Nguyen notifications@github.com wrote:

 @kale-stew Can someone who is not a maintainer bring the Pacman-style progress back? I'm not sure how much work or knowledge of the library's internal is needed.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.