enso
enso copied to clipboard
Component Browser should not be prepopulated with text and should be connected
When adding a new component that is connected to an existing component the component browser should:
- be connected
- not be pre-populated with operator123456.
From:
To:
- What if use won't pick any component from list but instead type
foo
? Should we applyoperator123456.
before? - What if user instead type some code like
+ 2
or2 + 2
or(foo)
?
Yes I think we apply operator123456.
before all of those. The operator123456.
is implicit because the user created a connected component.
If the user wants a unconnected component they can use the bottom left + icon.
Refinement notes:
- We should replace CB input with codemirror, where the
operator12345.
will be replaced with WidgetPort (or something, to which we could display a connection). This will be a codemirror decoration.
Update: Let's use Lexical here, not CodeMirror. We don't need the understanding of Enso language immediately (e.g. coloring).
Update: We decided during standup that we will support the equivalent of removing the dot after typing space.
Keziah Wesley reports a new STANDUP for yesterday (2024-05-16):
Progress: Decoupled CB Input UI from CB; implemented icon and edge logic. It should be finished by 2024-05-22.
Next Day: Next day I will be working on the #9210 task. Same task.
Keziah Wesley reports a new STANDUP for today (2024-05-17):
Progress: Implemented CB text transform and updated tests. It should be finished by 2024-05-22.
Next Day: Next day I will be working on the #9210 task. Address a remaining issue with selections; testing.
Keziah Wesley reports a new STANDUP for yesterday (2024-05-20):
Progress: Finished CB self icons. Configured doc editor to support lists (#10008). Fixed #9963. Fixed a touchpad annoyance (#10007). It should be finished by 2024-05-20.
Next Day: Next day I will be working on the #9831 task. Investigate suggestion db / icons issue.