refactor: class to functional component #36
Annotations
2 errors and 12 warnings
build
The process '/opt/hostedtoolcache/Ruby/3.1.2/x64/bin/bundle' failed with exit code 1
|
build
🚨 Coverage run failed!
|
build
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, paambaati/[email protected]. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, paambaati/[email protected]. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
build:
app/assets/javascripts/components/activity/activity_table_row.jsx#L37
Use I18n over string literals for localization: <a href={reportUrl} target="_blank">Report</a>
|
build:
app/assets/javascripts/components/alerts/alert.jsx#L20
Use I18n over string literals for localization: <button className="button small danger dark" onClick={() => resolveAlert(alert.id)}>Resolve</button>
|
build:
app/assets/javascripts/components/article_finder/article_finder_row.jsx#L65
Use I18n over string literals for localization: <div>Page Views not found!</div>
|
build:
app/assets/javascripts/components/article_finder/article_finder_row.jsx#L80
Use I18n over string literals for localization: <div>Estimation Score not found!</div>
|
build:
app/assets/javascripts/components/articles/article_list.jsx#L254
Use I18n over string literals for localization: <b>Filters:</b>
|
build:
app/assets/javascripts/components/campaign/campaign_row.jsx#L7
Use I18n over string literals for localization: <a href={`/campaigns/${campaign.slug}/students.csv`}>students</a>
|
build:
app/assets/javascripts/components/campaign/campaign_row.jsx#L8
Use I18n over string literals for localization: <a href={`/campaigns/${campaign.slug}/students.csv?course=true`}>students by course</a>
|
build:
app/assets/javascripts/components/campaign/campaign_row.jsx#L10
Use I18n over string literals for localization: <a href={`/campaigns/${campaign.slug}/instructors.csv?course=true`}>instructors by course</a>
|
build:
app/assets/javascripts/components/campaign/campaign_row.jsx#L13
Use I18n over string literals for localization: <a href={`/campaigns/${campaign.slug}/courses.csv`}>course data</a>
|
build:
app/assets/javascripts/components/campaign/campaign_row.jsx#L16
Use I18n over string literals for localization: <a href={`/campaigns/${campaign.slug}/articles_csv.csv`}>pages edited</a>
|