question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Question/Feature Request: A way to showcase custom data structures/themes

See original GitHub issue

Hi!

In our app we have many similar screens with different themes. I’m planning to use composition locals to decide which colors to use, kinda like this:

data class LobbyColors(
  val a: Color,
  val b: Color,
  ...
)

val lotteryA = LobbyColors(
  a = ...,
  b = ...,
)

val lotteryB = LobbyColors(
  a = ...,
  b = ...,
)

I would like to get a preview of these different configurations (e.g Showkase -> Colors -> LotteryA -> all colors defined in lotteryA). How can I do that? Or if not possible, consider this a feature request 😃

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
vinaygabacommented, Oct 11, 2021

Yeah I think I understand your feature request now! I do think making them repeatable should be supported since @Preview supports it. I’ll take a stab at that!

0reactions
vinaygabacommented, Oct 11, 2021

This is effectively a dupe of #171 so closing in favor of the other ticket and will plan on adding support soon!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Customizing your help center theme - Zendesk help
Customizing page templates and custom pages with HTML and Curlybars · In Guide, on the sidebar, click the Customize design icon ( )....
Read more >
Use Power BI Q&A to explore your data and create visuals
Sometimes the fastest way to get an answer from your data is to ask a question using natural language. The Q&A feature in...
Read more >
7 Ways to Prioritize Features and Product Improvements - Planio
1. Place features into themes to avoid choice paralysis · Product Roadmap themes: Your product roadmap probably is already broken up into high- ......
Read more >
Slider Question - Qualtrics
... Fields · Editing Custom Variables · Translate Comments · Response Quality Functionality · Response Quality · Autocomplete Questions & Supplemental Data ......
Read more >
Data Structures in JavaScript – With Code Examples
In computer science, a data structure is a format to organize, manage and store data in a way that allows efficient access and...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found