-
Notifications
You must be signed in to change notification settings - Fork 0
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
Test context app #3
Open
sudheendrakatikar
wants to merge
3
commits into
main
Choose a base branch
from
test-context-app
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
97 changes: 96 additions & 1 deletion
97
genstudio-create-context-addon/src/genstudiopem/web-src/src/Constants.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,98 @@ | ||
/* | ||
* Copyright 2025 Adobe. All rights reserved. | ||
* This file is licensed to you under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. You may obtain a copy | ||
* of the License at http://www.apache.org/licenses/LICENSE-2.0 | ||
|
||
* Unless required by applicable law or agreed to in writing, software distributed under | ||
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS | ||
* OF ANY KIND, either express or implied. See the License for the specific language | ||
* governing permissions and limitations under the License. | ||
*/ | ||
|
||
import { Claim } from "@adobe/genstudio-uix-sdk"; | ||
|
||
export const extensionId: string = 'genstudio-create-additional-context-app'; | ||
export const extensionLabel: string = 'Gen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5NjIyIDAgOC44NDEgMFoiIGZpbGw9IiNGRkVBMDAiLz4KPHBhdGggZD0iTTQ0LjU2MTIgNzguNDIzMUg1NC4xMjQyTDU5LjIzMTIgMzIuNTc4MUg1Mi45NDQyTDQ5LjIxMTIgNjguOTkyMUw0NS42MDkyIDMyLjU3ODFIMzguNjY3MkwzNS4xOTYyIDY4LjczMDFMMzEuMzMyMiAzMi41NzgxSDI0LjMyNDJMMjkuNDMyMiA3OC40MjMxSDM5LjMyNDJMNDEuOTQ0MiA1My45OTQxTDQ0LjU2MTIgNzguNDIzMVpNNzkuMjcyMiA3OC40MjMxSDg2LjY3MjJMNzYuNjUyMiA1My4wMTIxTDg2LjY3MzIgMzIuNTc4MUg3OS40NzMyTDcwLjAzODIgNTIuNTUzMVYzMi41NzgxSDYyLjgzODJWNzguNDIzMUg3MC4wMzgyVjY0LjM0MjFMNzIuMjY1MiA2MC4xNTAxTDc5LjI3MjIgNzguNDIzMVoiIGZpbGw9IiMyMDIwMjAiLz4KPC9nPgo8ZGVmcz4KPGNsaXBQYXRoIGlkPSJjbGlwMF85MV8zNDQ3NCI+CjxyZWN0IHdpZHRoPSIxMTEiIGhlaWdodD0iMTExIiBmaWxsPSJ3aGl0ZSIvPgo8L2NsaXBQYXRoPgo8L2RlZnM+Cjwvc3ZnPgo="; | ||
|
||
interface ClaimsLibrary { | ||
id: string; | ||
name: string; | ||
claims: Claim[]; | ||
} | ||
|
||
export const TEST_CLAIMS: ClaimsLibrary[] = [ | ||
{ | ||
id: "efficacy-claims", | ||
name: "Efficacy Claims", | ||
claims: [ | ||
{ | ||
id: "claim1", | ||
description: "Clinically proven to reduce joint inflammation by up to 50%." | ||
}, | ||
{ | ||
id: "claim2", | ||
description: "Alleviates chronic pain associated with Chronexa within 2 weeks." | ||
}, | ||
{ | ||
id: "claim3", | ||
description: "Demonstrates a 60% improvement in joint mobility over 6 months." | ||
} | ||
] | ||
}, | ||
{ | ||
id: "safety-claims", | ||
name: "Safety and Tolerability Claims", | ||
claims: [ | ||
{ | ||
id: "claim4", | ||
description: "Demonstrated a favorable safety profile with over 95% adherence in trials." | ||
}, | ||
{ | ||
id: "claim5", | ||
description: "No significant interactions with common NSAIDs and corticosteroids." | ||
}, | ||
{ | ||
id: "claim6", | ||
description: "Approved for patients aged 16 to 80 years." | ||
} | ||
] | ||
}, | ||
{ | ||
id: "dosage-claims", | ||
name: "Dosage and Administration Claims", | ||
claims: [ | ||
{ | ||
id: "claim7", | ||
description: "Taken once daily for consistent symptom control." | ||
}, | ||
{ | ||
id: "claim8", | ||
description: "Available in 100 mg and 200 mg tablet forms." | ||
}, | ||
{ | ||
id: "claim9", | ||
description: "Can be taken with or without food for patient convenience." | ||
} | ||
] | ||
}, | ||
{ | ||
id: "side-effects-claims", | ||
name: "Side Effects Claims", | ||
claims: [ | ||
{ | ||
id: "claim10", | ||
description: "Most common side effect is mild fatigue, reported in fewer than 8% of patients." | ||
}, | ||
{ | ||
id: "claim11", | ||
description: "No significant impact on cardiovascular health." | ||
}, | ||
{ | ||
id: "claim12", | ||
description: "Mild headaches reported in less than 3% of patients, typically resolving within a week." | ||
} | ||
] | ||
} | ||
]; |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
claims lib should be defined in a diff file