dotnet / interactive

.NET Interactive combines the power of .NET with many other languages to create notebooks, REPLs, and embedded coding experiences. Share code, explore data, write, and learn across your apps in ways you couldn't before.
MIT License
2.82k stars 376 forks source link

Polyglot Notebook: [DevExE2E] If Markdown in Edit status -> collapse the markdown, the tip "1 cell hidden" doesn't show. #2948

Open v-hozha1 opened 1 year ago

v-hozha1 commented 1 year ago

Describe the bug

Using extension Polyglot Notebook in VS Code If Markdown in Edit status -> collapse the markdown, the tip "1 cell hidden" doesn't show.

Detailed Repro Build info: VSCode 1.77.3 + dotnet-interactive-vscode-1.0.4227011.vsix VS Code Version: 1.77.3 (user setup) Commit: 704ed70d4fd1c6bd6342c436f1ede30d1cff4710 Date: 2023-04-12T09:16:02.548Z Electron: 19.1.11 Chromium: 102.0.5005.196 Node.js: 16.14.2 V8: 10.2.154.26-electron.0 OS: Windows_NT x64 10.0.22621 Sandboxed: No

dotnet-interactive-vscode-1.0.4227011.vsix build link: https://dev.azure.com/dnceng/internal/_build/results?buildId=2168897&view=artifacts&pathAsName=false&type=publishedArtifacts

sdk info: dotnet-sdk-7.0.203-win-x64.exe

Note: 1.It's a not a regression issue. It also repro on VSCode 1.77.3 + dotnet-interactive-vscode-1.0.4219021.vsix. 2.Repro VM: 172.16.195.186

Steps: 1.Open the notebook from https://github.com/dotnet/interactive/blob/main/NotebookTestScript.dib 2.Click the > icon in markdown left field - check UI 3.Double click in markdown(ensure it's in edit status) -> Click the > icon in markdown left field -> check UI

Expected Results: The tip "1 cell hidden" will show in page. image

Actual Results: If Markdown in Edit status -> collapse the markdown, the tip "1 cell hidden" doesn't show. image

Issue#7

Please complete the following:

Which version of .NET Interactive are you using? (In a notebook, run the #!about magic command. ):

colombod commented 1 year ago

@rebornix I am not sure what is the indented behaviour

rebornix commented 1 year ago

This is a bug ;(, let's track it here https://github.com/microsoft/vscode/issues/184959