migrated class based components to modern react. #4367
Annotations
1 error and 12 warnings
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-node@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
app/assets/javascripts/components/common/ArticleViewer/components/TitleOpener.jsx#L7
Use I18n over string literals for localization: <p id="icon-article-viewer-desc">Open Article Viewer</p>
|
app/assets/javascripts/components/common/AssignmentLinks/AllPeerReviewLinks.jsx#L10
Use I18n over string literals for localization: <span key="title">Reviews: </span>
|
app/assets/javascripts/components/common/enroll_button.jsx#L132
Use I18n over string literals for localization: <a href={massEnrollmentUrl}>Add multiple users at once.</a>
|
app/assets/javascripts/components/common/final_article_checklist.jsx#L41
Use I18n over string literals for localization: <button onClick={hide} className="button dark small">Okay</button>
|
app/assets/javascripts/components/common/final_article_checklist.jsx#L43
Use I18n over string literals for localization: <a onClick={show} className="button dark small">Quality checklist</a>
|
app/assets/javascripts/components/common/final_article_checklist.jsx#L52
Use I18n over string literals for localization: <h2>Final review checklist</h2>
|
app/assets/javascripts/components/common/get_help_button.jsx#L114
Use I18n over string literals for localization: <a href="#" className="wikipedia-help-link button dark small stacked" onClick={e => this.updateTargetUser(wikipediaHelpUser, e)}>question about editing Wikipedia</a>
|
app/assets/javascripts/components/common/get_help_button.jsx#L124
Use I18n over string literals for localization: <a href="#" className="program-help-link button dark stacked small" onClick={e => this.updateTargetUser(programHelpUser, e)}>question about Wiki Ed or your assignment</a>
|
app/assets/javascripts/components/common/get_help_button.jsx#L134
Use I18n over string literals for localization: <a href="#" className="dashboard-help-link button dark stacked small" onClick={e => this.updateTargetUser(dashboardHelpUser, e)}>question about the dashboard</a>
|
app/assets/javascripts/components/common/mainspace_checklist.jsx#L20
Use I18n over string literals for localization: <button onClick={hide} className="button dark small">Okay</button>
|
This job failed
Loading