cremich / promptz

Prompt Hub for Amazon Q Developer
MIT No Attribution
4 stars 0 forks source link

Fix/owner unknown #52

Closed cremich closed 5 hours ago

cremich commented 5 hours ago

Description

Provides a fix to set the preferred username of a user when publishing a prompt. The PR also includes various optimizations like:

Related Issue

Fixes #48

Type of change

Please delete options that are not relevant.

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration.

Checklist:

Before submitting your pull request, please review the following checklist:

Additional context

Add any other context or screenshots about the pull request here.

github-actions[bot] commented 5 hours ago

Coverage Report

Status Category Percentage Covered / Total
🟢 Lines 49.49% (🎯 45%) 923 / 1865
🟢 Statements 49.49% (🎯 45%) 923 / 1865
🟢 Functions 61.98% (🎯 60%) 75 / 121
🟢 Branches 84.52% (🎯 80%) 142 / 168
File Coverage
File Stmts Branches Functions Lines Uncovered Lines
Changed Files
components/PromptForm.tsx 98.59% 96.15% 93.75% 98.59% 106-108
models/PromptViewModel.ts 88.97% 93.1% 78.26% 88.97% 100-101, 107-108, 121-122, 129-130, 163-169
repositories/PromptRepository.ts 31.46% 93.33% 25% 31.46% 31-50, 53-72, 75-87, 90-102, 105-123, 126-141
repositories/ServerSideAppsyncRepository.ts 0% 0% 0% 0% 1-168
Generated in workflow #69 for commit 488b4bd by the Vitest Coverage Report Action