enso icon indicating copy to clipboard operation
enso copied to clipboard

Component Browser should not be prepopulated with text and should be connected

Open AdRiley opened this issue 11 months ago • 5 comments

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:

image

To:

image

AdRiley avatar Feb 28 '24 16:02 AdRiley

  1. What if use won't pick any component from list but instead type foo? Should we apply operator123456. before?
  2. What if user instead type some code like + 2 or 2 + 2 or (foo)?

farmaazon avatar Feb 29 '24 12:02 farmaazon

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.

AdRiley avatar Feb 29 '24 13:02 AdRiley

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.

farmaazon avatar Feb 29 '24 16:02 farmaazon

Update: Let's use Lexical here, not CodeMirror. We don't need the understanding of Enso language immediately (e.g. coloring).

farmaazon avatar May 14 '24 14:05 farmaazon

Update: We decided during standup that we will support the equivalent of removing the dot after typing space.

kazcw avatar May 17 '24 14:05 kazcw

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.

enso-bot[bot] avatar May 18 '24 04:05 enso-bot[bot]

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.

enso-bot[bot] avatar May 18 '24 04:05 enso-bot[bot]

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.

enso-bot[bot] avatar May 21 '24 22:05 enso-bot[bot]