Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

General overhaul of the web interface #163

Open
cardillan opened this issue Oct 18, 2024 · 0 comments
Open

General overhaul of the web interface #163

cardillan opened this issue Oct 18, 2024 · 0 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@cardillan
Copy link
Owner

It would be nice if the web interface resembled a modern development environment.

The general layout might look like this:

                                TOOLBAR
-----------------------------------------------------------------------------
                                               |
                                               |
                                               | 
                                               |       Primary output
                                               |
                Source code                    |
                                               |-----------------------------
                                               | Tab | Tab | ...
                                               |-----------------------------
                                               |
                                               |      Auxiliary output
                                               |
-----------------------------------------------------------------------------
    
    Error messages (only shown when present)                                               

-----------------------------------------------------------------------------
                                 FOOTER
  • A "toolbar" on the top containing
    • a logo or a title
    • tool selection (Mindcode compiler, Schemacode compiler, Schemacode decompiler)
    • the buttons (compile, compile and run, copy to clipboard, send to Mlog)
    • settings
      • optimization levels
      • port number for MlogWatcher integration
      • maybe more in the future
    • selection of examples
  • Main area split as illustrated above (all these element need to allow scrolling over the contained text)
    • source panel on the left
    • outputs on the right (not all outputs shown for every tool)
      • main output (mlog code, compiled/decompiled schematics)
      • auxiliary outputs - maybe with a tab for each output type?
        • text output via Mindustry Logic text buffer (potentially with support for colors)
        • graphical output in case Graphics emulation gets implemented - a tab per display, a list of images in each tab
        • compiler messages/warnings (may contain clickable links to a location in the source code or to documentation)
    • Error messages (shown if present, may contain clickable links to a location in the source code or to documentation)
  • Footer (maybe?)
    • version
    • links to project page and documentation

The proposed design not set in stone. Maybe the display of tool outputs might be designed differently, as Mindcode doesn't offer on-the-fly compilation.

Other ideas and comments are welcome.

@cardillan cardillan added enhancement New feature or request help wanted Extra attention is needed labels Oct 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant