winglang / wing

A programming language for the cloud ☁️ A unified programming model, combining infrastructure and runtime code into one language ⚡
https://winglang.io
Other
4.76k stars 187 forks source link

chore(console): organize UI source code by feature #6696

Closed skyrpex closed 2 weeks ago

skyrpex commented 2 weeks ago

This PR organizes the source code in the Console UI package by feature.

In summary, the files have been organized under these new folders:

apps/wing-console/console/ui/src/features/
   blue-screen-of-death/
   endpoints-pane/
   explorer-pane/
   hierarchy-pane/
   inspector-pane/
   layout/
   logs-pane/
   selection-context/
   sign-in/
   status-bar/
   tests-pane/
   websocket-state/

Some of these features have been refactored so they are independent of each other, minimizing code complexity. Previously, they were orchestrated by a huge useLayout hook and a complicated DefaultLayout component.

Additionally, some notable renames happened:

I hope these renames make sense to you all.

Finally, some unused files were removed.

github-actions[bot] commented 2 weeks ago

Thanks for opening this pull request! :tada: Please consult the contributing guidelines for details on how to contribute to this project. If you need any assistance, don't hesitate to ping the relevant owner over Discord.

Topic Owner
Wing SDK and utility APIs @chriscbr
Wing Console @ainvoner, @skyrpex, @polamoros
JSON, structs, primitives and collections @hasanaburayyan
Platforms and plugins @hasanaburayyan
Frontend resources (website, react, etc) @tsuf239
Language design @chriscbr
VSCode extension and language server @markmcculloh
Compiler architecture, inflights, lifting @yoav-steinberg
Wing Testing Framework @tsuf239
Wing CLI @markmcculloh
Build system, dev environment, releases @markmcculloh
Library Ecosystem @chriscbr
Documentation @hasanaburayyan
SDK test suite @tsuf239
Examples @hasanaburayyan
Wing Playground @eladcon
monadabot commented 2 weeks ago

Console preview environment is available at https://wing-console-pr-6696.fly.dev :rocket:

Last Updated (UTC) 2024-06-14 09:15
mergify[bot] commented 2 weeks ago

Thanks for contributing, @skyrpex! This PR will now be added to the merge queue, or immediately merged if refactor-console-hierarchy-pane is up-to-date with main and the queue is empty.

monadabot commented 2 weeks ago

Congrats! :rocket: This was released in Wing 0.74.61.