Skip to content

frontend updates for API changes#184

Merged
KeithKelleher merged 1243 commits into
ncats:masterfrom
KeithKelleher:master
May 18, 2026
Merged

frontend updates for API changes#184
KeithKelleher merged 1243 commits into
ncats:masterfrom
KeithKelleher:master

Conversation

@KeithKelleher

Copy link
Copy Markdown
Collaborator

No description provided.

KeithKelleher and others added 30 commits May 18, 2022 23:02
- sort protein & rna differently
- sort by data source
- change shading map with different data sources
- fix for new gtex table structure
refactor to use the same header for all the components
client side changes for pharos 3.13
= and others added 28 commits March 26, 2025 15:08
add banner about being under review for compliance with Administration directives
remove link to Jira issue queue
add link to linkedOmicsKb
@KeithKelleher
KeithKelleher merged commit 2b16542 into ncats:master May 18, 2026
2 of 3 checks passed

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 1c83efa8b5

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/app/app.component.ts
Comment on lines +126 to +127
const selectedCase = UseCaseData.getUseCases().find(c => c.anchor === subpath);
title = title + ' - ' + selectedCase.title;

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Guard against missing use-case when composing page title

When navigating to /usecases/:id, this code assumes every :id exists in UseCaseData; for an unknown or mistyped ID, find(...) returns undefined and selectedCase.title throws at runtime. Because this executes in the root NavigationEnd handler, a bad deep link can trigger an exception on navigation instead of gracefully falling back to a generic/use-path title.

Useful? React with 👍 / 👎.

Comment thread src/app/app.config.ts
withPreloading(PharosPreloader)
),
importProvidersFrom(
ServiceWorkerModule.register('ngsw-worker.js', {enabled: true}),

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Restrict service-worker registration to production builds

Registering the Angular service worker with enabled: true activates SW caching in all environments, including development and test deployments. That can cause stale assets and hard-to-reproduce behavior during QA/debugging, and it regresses the previous production-gated registration behavior. The flag should be tied to a production/dev-mode condition instead of being unconditionally enabled.

Useful? React with 👍 / 👎.

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.

7 participants