sourcify icon indicating copy to clipboard operation
sourcify copied to clipboard

In the new repo.sourcify.dev show file tree with the source sode editor

Open kuzdogan opened this issue 8 months ago • 4 comments

Currently in repo.sourcify.dev we show the source files each as a new tab on the left hand side like @openzeppelin... here:

https://repo.sourcify.dev/10/0x6018F5a151d43a8Da47829d329fa7D8C4dBa79db Image

We'd like to have them shown under a file tree like in Blockscout or Routescan

Blockscout Image

Routescan Image

We still want the file tree to be on the left hand side.

Related code in Blockscout is found here: https://github.com/blockscout/frontend/blob/main/ui/shared/monaco/CodeEditor.tsx

We can potentially copy paste most of this code and adjust for our data format.

TODOs:

  • [ ] Show the file tree on the left-hand side
  • [ ] Show icons for files
  • [ ] Open new files in new tabs

kuzdogan avatar Apr 22 '25 07:04 kuzdogan

Heyy @kuzdogan I would like to take up this issue. Please assign this issue to me

KoushikAD1234 avatar May 16 '25 15:05 KoushikAD1234

@KoushikAD1234 are you working on it?

marcocastignoli avatar May 26 '25 08:05 marcocastignoli

Hey, I would like to work on this issue.

abhilov23 avatar May 31 '25 20:05 abhilov23

Assigning to @abhilov23

kuzdogan avatar Jun 02 '25 07:06 kuzdogan

Hey any news on this? @abhilov23

kuzdogan avatar Jul 08 '25 15:07 kuzdogan

Hey! I'm down to work on this issue. Do you like this layout?

Image

santteegt avatar Oct 23 '25 04:10 santteegt

@santteegt Looks good to me. Feel free to open a PR :)

manuelwedler avatar Oct 23 '25 07:10 manuelwedler