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

Livelits #1465

Draft
wants to merge 30 commits into
base: dev
Choose a base branch
from
Draft

Livelits #1465

wants to merge 30 commits into from

Conversation

gcrois
Copy link

@gcrois gcrois commented Jan 17, 2025

This merge brings a implementation of Livelits, with some constant examples.

Examples:

  1. Emotion (smile flashing bug?)
  2. Timestamp (Can't keep up)
  3. Slider
  4. JS (Can't save result?)

Issues:

  • Look up livelit in the context
  • Show the livelits in scope in the context inspector
  • Livelit names are showing errors
  • When you press space after a livelit name, it should initialize the model argument and turn on the livelit projector immediately
  • Only displaying correct view in smiley face projector every other update (may also affect other livelits?)
  • ExplainThis sidebar should show information about livelit applications when relevant
  • Create a documentation slide showing how livelits work
  • Create browser tests and URL encoding PRs (currently they are already merged in here)

Limitations of projectors, to be fixed in separate PR:

  • Livelit invocation must be directly surrounded by a parenthesis

Future PRs:

  • User-defined livelits
  • Splices
  • Parameters
  • Pattern livelits
  1. Cannot define Livelits during runtime, Livelits don't have access to context -- this needs to be revealed to projectors
  2. Cannot implement splices, similarly, requires context
  3. Livelit invocation must be directly surrounded by a parenthesis in order to be grouped in InfoExp; example: (^emotion(100)) -- this is a limitation of projectors

@cyrus- cyrus- marked this pull request as draft January 17, 2025 20:05
@cyrus- cyrus- changed the title (DRAFT) Livelits Livelits Jan 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants