enso-org / enso

Hybrid visual and textual functional programming.
https://enso.org
Apache License 2.0
7.31k stars 317 forks source link

Inline modules in `app/ide-desktop/` #10305

Open somebody1234 opened 1 week ago

somebody1234 commented 1 week ago

Pull Request Description

Important Notes

Code Review Notes

Checklist

Please ensure that the following checklist has been satisfied before submitting the PR:

farmaazon commented 1 week ago

Flatten app/ide-desktop/lib/ to app/

Well, when the directory structure was designed, I imagined app folder representing not the application but rather all applications:

Thence came gui and ide-desktop. Much later on, dashboard landed inside ide-desktop which started breaking the above schema (it should land in GUI instead... but GUI was then in rust). Also, engine never made it to this app folder, because none wanted to spend time on sbt reconfiguring.

But still, I think we should ultimately keep separation between GUI and electron, just for cloud-in-browser sake.

Also, these changes may greatly conflict with @Frizi efforts of migrating to pnpm - a part of moving to Bazel, mostly done as far as I'm aware. I would wait for @Frizi changes to land first, to avoid nasty conflicts. Also, all significant directory restructuring should be consulted with "Bazel" team (@hubertp and @Frizi)

Edit: ok, I think I'm not aware, or misremembered some arrangements, so please ignore the second part.

somebody1234 commented 5 days ago

umm... https://github.com/enso-org/enso/actions/runs/9675920069/job/26694401507#step:7:639

anyone know how to fix project references in TS?

GitHub
Inline modules in `app/ide-desktop/` · enso-org/enso@0c52059
Hybrid visual and textual functional programming. Contribute to enso-org/enso development by creating an account on GitHub.
somebody1234 commented 4 days ago

Pinging @Frizi for visibility

somebody1234 commented 2 days ago

@jdunkerley i think we need the approval of someone from libs because dataLinkSchema.json is being moved.

also the CODEOWNERS file has been updated and that one should probably be reviewed too

somebody1234 commented 2 days ago

@farmaazon @Frizi either of you happen to know why lint CI is saying this? https://github.com/enso-org/enso/actions/runs/9714248920/job/26812883079?pr=10305#step:7:200

 INFO ide_ci::program::command: npm⚠️ npm ERR! code 127
 INFO ide_ci::program::command: npm⚠️ npm ERR! path /runner/_work/enso/enso/app/gui2
 INFO ide_ci::program::command: npm⚠️ npm ERR! command failed
 INFO ide_ci::program::command: npm⚠️ npm ERR! command sh -c playwright install
 INFO ide_ci::program::command: npm⚠️ npm ERR! sh: 1: playwright: not found

i also got it while running locally but not sure what could possibly cause this...

GitHub
Inline modules in `app/ide-desktop/` · enso-org/enso@cc9493e
Hybrid visual and textual functional programming. Contribute to enso-org/enso development by creating an account on GitHub.