Repository navigation
fix(reports): refusing DOCiD before its account is set names only what it needs - #1523
Conversation
…l names only what it needs
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
|
| GitGuardian id | GitGuardian status | Secret | Commit | Filename | |
|---|---|---|---|---|---|
| 40967288 | Triggered | Generic Password | 9a13929 | messages/af.json | View secret |
🛠 Guidelines to remediate hardcoded secrets
- Understand the implications of revoking this secret by investigating where it is used in your code.
- Replace and store your secret safely. Learn here the best practices.
- Revoke and rotate this secret.
- If possible, rewrite git history. Rewriting git history is not a trivial act. You might completely break other contributing developers' workflow and you risk accidentally deleting legitimate data.
To avoid such incidents in the future consider
- following these best practices for managing and storing secrets including API keys and other credentials
- install secret detection on pre-commit to catch secret before it leaves your machine and ease remediation.
🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
# Conflicts: # components/evidence-libraries/configuration/sections/docid-account.tsx
Found by the daily QA of 24 November, checking #1514 and #1520.
Problem
When the server refuses identifier settings that use DOCiD before its account is set, it says "Set DOCiD's account and its resource, file and funder types under Registration before reports use it." #1520 removed those type pickers, so the message names fields that no longer exist.
Change
The refusal uses the same text as every other service: "Set DOCiD's account under Registration before reports use it." The page already says when the account can't file reports as Manuscripts.
The DOCiD form's "Crossref password" label, found in the same pass, is fixed by #1521, merged meanwhile; this branch takes dev's labels.
Checks
npx vitest run tests/message-placeholders.test.ts convex/reports/settings.test.ts,npx tsc --noEmit.