Skip to content
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

Previewer: track order change of cards #35

Open
Tracked by #44
mhallal1 opened this issue May 10, 2022 · 4 comments
Open
Tracked by #44

Previewer: track order change of cards #35

mhallal1 opened this issue May 10, 2022 · 4 comments

Comments

@mhallal1
Copy link
Contributor

In the simple previewer example of the vignette, if you add only plots or tables, you will have them all listed in the previewer.
If you try, to move one card up or down, it does get moved but you wouldn't notice it unless you check the content as the UI stays the same. Is it possible to make this more obvious when changing the order of cards? For example the card physically moves or a notification pops up if not?
Screenshot from 2022-05-10 11-03-24

@Polkas
Copy link
Contributor

Polkas commented May 10, 2022

That is why I introduce the Card name, in Your case you added only one module.
I like the idea to make it even more clear.

@kpagacz
Copy link
Contributor

kpagacz commented May 20, 2022

We can add some CSS transition animations to it so it is more noticeable.

Ideally, we create a widget for this and abandon the current R solution.

@donyunardi
Copy link
Contributor

@lcd2yyz
Do you have any suggestions on how we can improve the user experience beyond the current feature of being able to edit card names during creation, which can help ensure that each card is uniquely named?

@lcd2yyz
Copy link

lcd2yyz commented Feb 16, 2023

Thanks for tagging me.
Thinking about how when we download files more than once, the duplicated files will be automatically renamed with a sequential index added as suffix. I'm thinking to apply the same mechanism as the default card name, so if user adds more than one card from the same module, they would just get [1] [2] [3] attached to the end.
Allowing editable card name is already another good mechanism - perhaps add some validation/checks to prevent users giving two different cards the same name?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants