Skip to content

Port existing frontend UI to Angular#353

Open
Lagejohn wants to merge 25 commits into
mainfrom
feature/angular-port
Open

Port existing frontend UI to Angular#353
Lagejohn wants to merge 25 commits into
mainfrom
feature/angular-port

Conversation

@Lagejohn
Copy link
Copy Markdown

No description provided.

@Lagejohn Lagejohn marked this pull request as ready for review May 13, 2026 23:14
@Lagejohn Lagejohn requested a review from a team as a code owner May 13, 2026 23:14
@Lagejohn
Copy link
Copy Markdown
Author

Marked as ready as all major features are working at least as well as the old UI; User Profile view is still WIP, but everything else is ready for review.

@sonarqubecloud
Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
1 Security Hotspot
C Reliability Rating on New Code (required ≥ A)
C Security Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

const formData = new FormData();

formData.append('adm', file);
const headers = {
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.

Was getting error 500: Http failure response for http://localhost:4200/api/core/adms: 500 Internal Server Error when attempting to upload a new ADM

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.

dd293e3 fixes this

}

private processReport(report: any): void {
let rpt: any[] = [];
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.

using the new /report/dictionary/search/idx/ post route
Which returns something like below

there is a mismatch between the table header column size and the row columns sizes that can make viewing not great but that can be something fixed later

[
  {
    "agent": 1,
    "reports": [
      [
        {
          "reference_time": "2026-04-21T13:07:58.302862+00:00",
          "mgr_time": "2026-04-21T18:07:58.347402+00:00",
          "agent_time": "2026-04-21T13:07:58.302862+00:00",
          "rpt_set_nonce": "ari:42102",
          "report_source": "ari://ietf/dtnma-agent/CTRL/inspect(//ietf/dtnma-agent/CONST/hello)",
          "col 0": "ari:/AC/(//ietf/dtnma-agent/EDD/sw-vendor,//ietf/dtnma-agent/EDD/sw-version,//ietf/dtnma-agent/EDD/capability)"
        },
        {
          "reference_time": "2026-04-21T13:08:03.366086+00:00",
          "mgr_time": "2026-04-21T18:08:03.391580+00:00",
          "agent_time": "2026-04-21T13:08:03.366086+00:00",
          "rpt_set_nonce": "ari:42102", 

this.ariSearchText = ari.display;
this.updateAriText();
}
protected onParamAriSelectedPrim(paramIndex: number, ari: string): void {
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.

added new function to allow users to input ARI that are not defined in the database

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

Labels

None yet

Projects

Status: Todo

3 participants