Skip to content

Commit

Permalink
Merge pull request #3148 from responsible-ai-collaborative/staging
Browse files Browse the repository at this point in the history
Deploy to Production
  • Loading branch information
cesarvarela authored Oct 21, 2024
2 parents ed115cb + 7c3dc2a commit 3d54779
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 15 deletions.
4 changes: 2 additions & 2 deletions site/gatsby-site/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,10 +86,10 @@ const config = {
{ title: 'Discover Incidents', label: 'discover', url: '/apps/discover/', items: [] },
{ title: 'Spatial View', label: 'spatial', url: '/summaries/spatial/', items: [] },
{ title: 'Table View', label: 'incidents', url: '/apps/incidents/', items: [] },
{ title: 'List View', label: 'list', url: '/summaries/incidents/', items: [] },
{ title: 'Entities', label: 'entities', url: '/entities/', items: [] },
{ title: 'Taxonomies', label: 'taxonomies', url: '/taxonomies/', items: [] },
{ title: 'Random Incident', label: 'random', url: '/random/', items: [] },
{ title: 'Word Counts', label: 'wordcounts', url: '/summaries/wordcounts/', items: [] },
{ title: 'Submit Incident Reports', label: 'submit', url: '/apps/submit/', items: [] },
{ title: 'Risk Checklists', label: 'checklists', url: '/apps/checklists/', items: [] },
{
Expand Down Expand Up @@ -137,7 +137,7 @@ const config = {
items: [
{ title: 'About', label: 'about', url: '/about', items: [] },
{ title: 'Contact and Follow', label: 'contact', url: '/contact' },
{ title: 'About Apps', label: 'about_apps', url: '/about_apps' },
{ title: 'Apps and Summaries', label: 'about_apps', url: '/about_apps' },
{ title: 'Editor’s Guide', label: 'editors-guide', url: '/editors-guide' },
],
},
Expand Down
2 changes: 1 addition & 1 deletion site/gatsby-site/i18n/locales/es/footer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"About": "Acerca de",
"Contact and Follow": "Contactar y Seguir",
"Launch Announcement": "Anuncio de lanzamiento",
"About Apps": "Acerca de las aplicaciones",
"Apps and Summaries": "Aplicaciones y resúmenes",
"Editor’s Guide": "Guía del editor",
"Incidents": "Incidencias",
"All Incidents in List Form": "Todos los incidentes en forma de lista",
Expand Down
2 changes: 1 addition & 1 deletion site/gatsby-site/i18n/locales/fr/footer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"About": "À propos de",
"Contact and Follow": "Contacter et suivre",
"Launch Announcement": "Annonce de lancement",
"About Apps": "À propos des applications",
"Apps and Summaries": "Applications et résumés",
"Editor’s Guide": "Guide de l'éditeur",
"Incidents": "Incidents",
"All Incidents in List Form": "Tous les incidents sous forme de liste",
Expand Down
2 changes: 1 addition & 1 deletion site/gatsby-site/i18n/locales/ja/footer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"About": "AIIDについて",
"Contact and Follow": "コンタクトとフォロー",
"Launch Announcement": "開始のアナウンス",
"About Apps": "アプリについて",
"Apps and Summaries": "アプリと要約",
"Editor’s Guide": "エディタのためのガイド",
"Incidents": "インシデント",
"All Incidents in List Form": "全インシデントの一覧",
Expand Down
3 changes: 2 additions & 1 deletion site/gatsby-site/src/components/incidents/IncidentsField.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ import { FIND_INCIDENTS_TITLE } from '../../graphql/incidents';
const filterBy = (option, text) => {
return (
option?.title.toLowerCase().includes(text.toLowerCase()) ||
text.toLowerCase().includes(option.id?.toString())
text.toLowerCase().includes(option.id?.toString()) ||
`${option.id} - ${option.title}`.toLowerCase().includes(text.toLowerCase())
);
};

Expand Down
10 changes: 2 additions & 8 deletions site/gatsby-site/src/components/sidebar/treeNode.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {
faSearch,
faPlusCircle,
faMedal,
faSortAlphaDown,
faList,
faNewspaper,
faChartPie,
faTable,
Expand Down Expand Up @@ -141,13 +141,7 @@ function getIcon(label, current = false) {
leaderboard: (
<FontAwesomeIcon titleId="leaderboard" icon={faMedal} className={fontAwesomeStyles} />
),
wordcounts: (
<FontAwesomeIcon
titleId="wordcounts"
icon={faSortAlphaDown}
className={fontAwesomeStyles}
/>
),
list: <FontAwesomeIcon titleId="list" icon={faList} className={fontAwesomeStyles} />,
blog: <FontAwesomeIcon titleId="blog" icon={faNewspaper} className={fontAwesomeStyles} />,
taxonomies: (
<FontAwesomeIcon titleId="taxonomies" icon={faChartPie} className={fontAwesomeStyles} />
Expand Down
4 changes: 4 additions & 0 deletions site/gatsby-site/src/tailwind.css
Original file line number Diff line number Diff line change
Expand Up @@ -605,6 +605,10 @@
@apply bg-blue-100 !important;
}

[data-cy="incident-form"] #similar-incidents .Typeahead .rbt-menu.dropdown-menu.show {
@apply max-h-[130px] !important;
}

.floating-label-dropdown button {
@apply hover:text-blue-500 hover:bg-white hover:border-blue-500 !important;
}
Expand Down
2 changes: 1 addition & 1 deletion site/gatsby-site/src/utils/Translator.js
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ class Translator {
.find(reportsQuery)
.toArray();

this.reporter.log(`Processing traslation of ${reports.length} incident reports`);
this.reporter.log(`Processing translation of ${reports.length} incident reports`);

const concurrency = 10;

Expand Down

0 comments on commit 3d54779

Please sign in to comment.