Skip to content

Migrate/root controller#451

Open
Thirus224849242 wants to merge 841 commits intothoth-tech:developmentfrom
Thirus224849242:migrate/root-controller
Open

Migrate/root controller#451
Thirus224849242 wants to merge 841 commits intothoth-tech:developmentfrom
Thirus224849242:migrate/root-controller

Conversation

@Thirus224849242
Copy link
Copy Markdown

@Thirus224849242 Thirus224849242 commented Mar 29, 2026

Description

This PR migrates the root-controller from CoffeeScript and AngularJS to TypeScript and Angular as part of the ongoing Doubtfire migration effort.

The original AppCtrl controller was empty with only a GlobalStateService injection and no implementation. The new RootControllerComponent maintains this behaviour while following the Angular component pattern.

Changes made:

  • Created root-controller.component.ts as the Angular replacement for root-controller.coffee
  • Registered RootControllerComponent in doubtfire-angular.module.ts declarations
  • Downgraded RootControllerComponent in doubtfire-angularjs.module.ts using downgradeComponent to maintain hybrid app compatibility
  • Registered AppCtrl controller in doubtfire-angularjs.module.ts to maintain compatibility with ng-controller="AppCtrl" in index.html
  • Removed doubtfire.config.root-controller from config.coffee
  • Deleted old root-controller.coffee

Fixes # (issue)

Type of change

  • New feature (non-breaking change which adds functionality)

How Has This Been Tested?

The app was loaded and tested locally after each change to ensure nothing broke. The ng-controller="AppCtrl" in index.html continues to work correctly via the downgradeComponent bridge.

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 @macite and @jakerenzella on the Pull Request
image image

b0ink added 30 commits September 4, 2025 14:40
…ssessed

feat: task assessment counts csv
…terceptor

refactor: add automatic refresh token handling and request retry
b0ink and others added 29 commits February 26, 2026 12:53
* feat: display available storage for docker images

* refactor: hide available storage if disabled
- Increase poll delay and failure threshold (5) to improve blue-green Caddy switchover buffer
* refactor: remove ui to add tutorial with no stream

* refactor: improve tutorial ui

* refactor: add ui to show no tutorials added
@Thirus224849242 Thirus224849242 marked this pull request as ready for review March 29, 2026 06:14
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.

3 participants