Skip to content

Update overview.md to match the current codebase#148

Open
Suylang wants to merge 7 commits into
thoth-tech:mainfrom
Suylang:UpdateOverview
Open

Update overview.md to match the current codebase#148
Suylang wants to merge 7 commits into
thoth-tech:mainfrom
Suylang:UpdateOverview

Conversation

@Suylang
Copy link
Copy Markdown

@Suylang Suylang commented Apr 27, 2026

Description

Overview.md's IDE architectural description has been updated to reflect the current codebase structure and accurate file responsibilities. The documentation is now more accurate and clear, making it easier for developers to comprehend the system modules, execution environment, and startup procedure. There weren't any modifications made to the functional code.

Fixes # (issue)

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as
    expected)
  • Documentation (update or new)

How Has This Been Tested?

Manually reviewed updated documentation against the current project file structure and verified correctness by cross-checking with the codebase.

Testing Checklist

  • Tested in latest Chrome
  • Tested in latest Safari
  • Tested in latest Firefox

Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have requested a review from ... on the Pull Request

Comment thread Documentation/overview.md
## Purpose

Explains how each JavaScript file fits into the IDE startup, loading, and runtime process. Shows how the pieces interact to build the editor and initialize the environment. This documentation aims to explain the softwares architecture so that it can be understood better making the system easier to navigate, extend, and debug
Explains how each JavaScript file fits into the IDE startup, loading, and runtime process. Shows how the pieces interact to build the editor and initialize the environment. This documentation explains the software architecture of the IDE, helping developers better understand how the system works. This makes it easier to navigate, extend, and debug.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very necessary, good addition

Comment thread Documentation/overview.md
| `actionQueue.js` | Action sequencing engine | Manages async task execution, ordering, cancellation, and dependency in the form of a queue |
| `IDEStartupMain.js` | IDE bootstrap coordinator | Central script that initializes components and kicks off IDE startup sequence |
| `themes.js` | Theme manager | Defines and applies color themes by modifying CSS variables; updates UI via dropdown |
---
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the new tables are inconsistent with spacing. are we able to make sure they are consistent like the old one so it is a bit easier to read

Comment thread Documentation/overview.md
| `themes.js` | Theme manager | Defines and applies color themes by modifying CSS variables; updates UI via dropdown |
---

## Server Layer
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

make titles smaller so that they aren't same as Files Overview title

Comment thread Documentation/overview.md
---
## Loading & Initialization Flow

---
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you have --- on both sides of the title here. but don't everywhere. I would remove since it doubles up with this underline

Image

Comment thread Documentation/overview.md
| `actionQueue.js` | Action sequencing engine | Manages async task execution, ordering, cancellation, and dependency in the form of a queue |
| `IDEStartupMain.js` | IDE bootstrap coordinator | Central script that initializes components and kicks off IDE startup sequence |
| `themes.js` | Theme manager | Defines and applies color themes by modifying CSS variables; updates UI via dropdown |
---
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you have --- on both sides of the title here. but don't everywhere. I would remove since it doubles up with this underline

Image

Comment thread Documentation/overview.md
↳ setup.js
↳ node_modules (dependency ecosystem injected at runtime via npm install)
↳ Node.js module resolution system
↳ injects dependencies using require() at runtime
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

these spacings are broken in markdown. theres a few spots with this. use the   technique to add them in

Comment thread Documentation/overview.md
↳ resolves Express, middleware, build tools, and setup utilities

↳ Static folder injection
↳ assets/ (images, icons, UI resources)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't see this injected in the server. Remove?

Comment thread Documentation/overview.md
- Queues like `IDECoreInitQueue`, `CompilerInitQueue`, `ExecutionEnvironmentLoadQueue`, and others run in order or in parallel.
- Handles initialization of the UI, compiler, project storage, and sandbox.
- Defines `StartIDE()` as the main startup entrypoint.
### layout.js
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

where is this called in the flow/initialization?

Comment thread Documentation/overview.md
- Allows for (`waitOn`), cancellations (`cancelOn`), and ('synchronousWith').
- Includes test utilities and full control over task execution flow via `Schedule()` and `Consume()`.

### communication.js
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wheres this in the initialization flow

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants