[OSDEV-1904] Update the instructions link on the List upload page.#574
Conversation
|
React App | Jest test suite - Code coverage reportTotal: 33.18%Your code coverage diff: 0.00% ▴ ✅ All code changes are covered |
Dedupe Hub App | Unittest test suite - Code coverage reportTotal: 56.14%Your code coverage diff: 0.00% ▴ ✅ All code changes are covered |
Countries App | Unittest test suite - Code coverage reportTotal: 100%Your code coverage diff: 0.00% ▴ ✅ All code changes are covered |
Contricleaner App | Unittest test suite - Code coverage reportTotal: 98.91%Your code coverage diff: 0.00% ▴ ✅ All code changes are covered |
📝 WalkthroughWalkthroughThe changes update the documentation and React code to reflect a new URL for preparing data. A release note entry is added in the documentation, while the React component’s hyperlink is modified to use the updated URL. In addition, a new key is added to the constants file to support the new path. These updates ensure that users are directed to the correct resource for preparing data. Changes
Sequence Diagram(s)sequenceDiagram
participant U as User
participant C as ContributeList Component
participant B as Browser
U->>C: Click "step-by-step instructions" link
C->>B: Redirect to `/resources/preparing-data`
B->>U: Render "Preparing Data" page
Possibly related PRs
Suggested reviewers
✨ Finishing Touches
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
There was a problem hiding this comment.
Actionable comments posted: 0
🧹 Nitpick comments (1)
doc/release/RELEASE-NOTES.md (1)
32-32: Minor typo in the release note entryThere's a small typo in the release note - "step-by step" is missing a hyphen between "by" and "step". It should be "step-by-step" to match the wording used in the actual component.
-* [OSDEV-1904](https://opensupplyhub.atlassian.net/browse/OSDEV-1904) - The `step-by step` instructions link on the List upload page has been updated to `/resources/preparing-data`. +* [OSDEV-1904](https://opensupplyhub.atlassian.net/browse/OSDEV-1904) - The `step-by-step` instructions link on the List upload page has been updated to `/resources/preparing-data`.
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (3)
doc/release/RELEASE-NOTES.md(1 hunks)src/react/src/components/Contribute.jsx(1 hunks)src/react/src/util/constants.jsx(1 hunks)
🧰 Additional context used
🧬 Code Definitions (1)
src/react/src/components/Contribute.jsx (1)
src/react/src/util/constants.jsx (4)
InfoLink(19-19)InfoLink(19-19)InfoPaths(23-64)InfoPaths(23-64)
⏰ Context from checks skipped due to timeout of 90000ms (3)
- GitHub Check: run-integration-test-code-quality
- GitHub Check: run-django-code-quality
- GitHub Check: get-base-branch-django-cov
🔇 Additional comments (2)
src/react/src/components/Contribute.jsx (1)
47-47: Link updated to the new resources locationThe change correctly updates the URL for the step-by-step instructions, pointing users to the new
/resources/preparing-datapath rather than the previous data cleaning service path. This aligns with the PR objective to update the instructions link.src/react/src/util/constants.jsx (1)
27-27: Adding new path constant for preparing data documentation.This change adds a new key-value pair to the
InfoPathsobject, which is used throughout the application for consistent URL references. The new path will be used to direct users to the updated resource for preparing data as described in the PR objectives.
Django App | Unittest test suite - Code coverage reportTotal: 80.65%Your code coverage diff: 0.00% ▴ ✅ All code changes are covered |
) [OSDEV-1904](https://opensupplyhub.atlassian.net/browse/OSDEV-1904) - The `step-by step` instructions link on the List upload page has been updated to `/resources/preparing-data`. [OSDEV-1904]: https://opensupplyhub.atlassian.net/browse/OSDEV-1904?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ Co-authored-by: Inessa Druzhkova <inessadruzkova@inessas-mbp.home>



OSDEV-1904 - The
step-by stepinstructions link on the List upload page has been updated to/resources/preparing-data.