Skip to content

Commit

Permalink
Merge pull request #548 from AFP-Medialab/fix-nav
Browse files Browse the repository at this point in the history
* Pre master (#547)

* 0.81 (#542)

* Add missing assistant_video_download_action and assistant_video_download_action_description (#525)

* added translations for fake annotation on checkGIF (#527)

* 454 metadata form refactoring (#528)

* moved metadata tip

* metadata form changed to be different for images and videos

* changed json files back

* video and image for metadata section

* Synthetic image detection UX improvements

* refactoring + updated offline translations

* 465 checkgif labels (#503)

* functional fake text on check gif and gif download

* functional checkGif with moveable "Fake" label

* clean up tests

* better Fake text

* can toggle fake image text and change its color

* can add and remove "Fake" annotation

* user can change text size, more intuitive interactions for adding fake annotation and customizing it

* language keywords added

* added comments, removed useless code

* made gifs bigger

* comment

* removed fragments and corrected type error

* updated translation

* Revert "video and image for metadata section"

This reverts commit 9189891.

* Revert "changed json files back"

This reverts commit 977d603.

* Revert "metadata form changed to be different for images and videos"

This reverts commit 98e06a4.

* correct file input button

* cleaned up code

---------

Co-authored-by: Valentin Porcellini <[email protected]>

* Fix bug with assistant help tooltip

Bug with assistant help tooltip not appearing and crashing when clicked
- changed from `HelpDialog` to `Tooltip` in `AssistantIntroduction.jsx`

* Loccus chart + refactoring (#530)

* Tools Refactoring (#519)

* Synthetic image detection UX improvements

* refactoring + updated offline translations

* wip

* Refactored footer types and Footer, Navbar, DrawerItem, AllTools. Highlight the tool used in the side menu

* Added missing package, fixed scroll bars and enhanced general layout

* Improved naming to have TopMenu, MainContentMenu, and SideMenu, fixed some variables, code cleanup

* Improved alignment

* Fixed RTL padding

* Fixed RTL chevron

* Improved naming

* Fixed lint warning

* Added jsdoc

* Cleanup

* Fixed error

* add v0.81 manifest

* Added chartJs, added chart with detection percentage over time

* Removed console.log

* Added chart gradient based on detection score

* Updated packages

* Moved variables

* Fixed lint warnings

---------

Co-authored-by: Bertrand Goupil <[email protected]>

* Loccus enhancements (#532)

* Tools Refactoring (#519)

* Synthetic image detection UX improvements

* refactoring + updated offline translations

* wip

* Refactored footer types and Footer, Navbar, DrawerItem, AllTools. Highlight the tool used in the side menu

* Added missing package, fixed scroll bars and enhanced general layout

* Improved naming to have TopMenu, MainContentMenu, and SideMenu, fixed some variables, code cleanup

* Improved alignment

* Fixed RTL padding

* Fixed RTL chevron

* Improved naming

* Fixed lint warning

* Added jsdoc

* Cleanup

* Fixed error

* add v0.81 manifest

* Added chartJs, added chart with detection percentage over time

* Removed console.log

* Added chart gradient based on detection score

* Updated packages

* Moved variables

* Fixed lint warnings

* Bumped version, added missing keyword, added rtl support

---------

Co-authored-by: Bertrand Goupil <[email protected]>

* Loccus enhancements (#533)

* Added missing controller + fixed warning

* #534
update detector names

* #526
Fix error message for 404

* navbar and all tool use category keys instead of translated label

* fix assistant help

* Loccus enhancements (#539)

* Tools Refactoring (#519)

* Synthetic image detection UX improvements

* refactoring + updated offline translations

* wip

* Refactored footer types and Footer, Navbar, DrawerItem, AllTools. Highlight the tool used in the side menu

* Added missing package, fixed scroll bars and enhanced general layout

* Improved naming to have TopMenu, MainContentMenu, and SideMenu, fixed some variables, code cleanup

* Improved alignment

* Fixed RTL padding

* Fixed RTL chevron

* Improved naming

* Fixed lint warning

* Added jsdoc

* Cleanup

* Fixed error

* add v0.81 manifest

* Added chartJs, added chart with detection percentage over time

* Removed console.log

* Added chart gradient based on detection score

* Updated packages

* Moved variables

* Fixed lint warnings

* Bumped version, added missing keyword, added rtl support

* Added missing controller

* Added missing controller + fixed warning

* Removed console.log

* Improved error handling

* Added scale modal to Loccus, refactoring, added download buttons to loccus

* Refactoring

---------

Co-authored-by: Bertrand Goupil <[email protected]>

* Updated translation

---------

Co-authored-by: Goupil Conseil <[email protected]>
Co-authored-by: Twin Karmakharm <[email protected]>
Co-authored-by: Robin Farkas <[email protected]>
Co-authored-by: Rosanna Milner <[email protected]>
Co-authored-by: Bertrand Goupil <[email protected]>

* Offline translation + readme (#546)

* Add missing assistant_video_download_action and assistant_video_download_action_description (#525)

* added translations for fake annotation on checkGIF (#527)

* 454 metadata form refactoring (#528)

* moved metadata tip

* metadata form changed to be different for images and videos

* changed json files back

* video and image for metadata section

* Synthetic image detection UX improvements

* refactoring + updated offline translations

* 465 checkgif labels (#503)

* functional fake text on check gif and gif download

* functional checkGif with moveable "Fake" label

* clean up tests

* better Fake text

* can toggle fake image text and change its color

* can add and remove "Fake" annotation

* user can change text size, more intuitive interactions for adding fake annotation and customizing it

* language keywords added

* added comments, removed useless code

* made gifs bigger

* comment

* removed fragments and corrected type error

* updated translation

* Revert "video and image for metadata section"

This reverts commit 9189891.

* Revert "changed json files back"

This reverts commit 977d603.

* Revert "metadata form changed to be different for images and videos"

This reverts commit 98e06a4.

* correct file input button

* cleaned up code

---------

Co-authored-by: Valentin Porcellini <[email protected]>

* Fix bug with assistant help tooltip

Bug with assistant help tooltip not appearing and crashing when clicked
- changed from `HelpDialog` to `Tooltip` in `AssistantIntroduction.jsx`

* Loccus chart + refactoring (#530)

* Tools Refactoring (#519)

* Synthetic image detection UX improvements

* refactoring + updated offline translations

* wip

* Refactored footer types and Footer, Navbar, DrawerItem, AllTools. Highlight the tool used in the side menu

* Added missing package, fixed scroll bars and enhanced general layout

* Improved naming to have TopMenu, MainContentMenu, and SideMenu, fixed some variables, code cleanup

* Improved alignment

* Fixed RTL padding

* Fixed RTL chevron

* Improved naming

* Fixed lint warning

* Added jsdoc

* Cleanup

* Fixed error

* add v0.81 manifest

* Added chartJs, added chart with detection percentage over time

* Removed console.log

* Added chart gradient based on detection score

* Updated packages

* Moved variables

* Fixed lint warnings

---------

Co-authored-by: Bertrand Goupil <[email protected]>

* Loccus enhancements (#532)

* Tools Refactoring (#519)

* Synthetic image detection UX improvements

* refactoring + updated offline translations

* wip

* Refactored footer types and Footer, Navbar, DrawerItem, AllTools. Highlight the tool used in the side menu

* Added missing package, fixed scroll bars and enhanced general layout

* Improved naming to have TopMenu, MainContentMenu, and SideMenu, fixed some variables, code cleanup

* Improved alignment

* Fixed RTL padding

* Fixed RTL chevron

* Improved naming

* Fixed lint warning

* Added jsdoc

* Cleanup

* Fixed error

* add v0.81 manifest

* Added chartJs, added chart with detection percentage over time

* Removed console.log

* Added chart gradient based on detection score

* Updated packages

* Moved variables

* Fixed lint warnings

* Bumped version, added missing keyword, added rtl support

---------

Co-authored-by: Bertrand Goupil <[email protected]>

* Loccus enhancements (#533)

* Added missing controller + fixed warning

* #534
update detector names

* #526
Fix error message for 404

* navbar and all tool use category keys instead of translated label

* fix assistant help

* Loccus enhancements (#539)

* Tools Refactoring (#519)

* Synthetic image detection UX improvements

* refactoring + updated offline translations

* wip

* Refactored footer types and Footer, Navbar, DrawerItem, AllTools. Highlight the tool used in the side menu

* Added missing package, fixed scroll bars and enhanced general layout

* Improved naming to have TopMenu, MainContentMenu, and SideMenu, fixed some variables, code cleanup

* Improved alignment

* Fixed RTL padding

* Fixed RTL chevron

* Improved naming

* Fixed lint warning

* Added jsdoc

* Cleanup

* Fixed error

* add v0.81 manifest

* Added chartJs, added chart with detection percentage over time

* Removed console.log

* Added chart gradient based on detection score

* Updated packages

* Moved variables

* Fixed lint warnings

* Bumped version, added missing keyword, added rtl support

* Added missing controller

* Added missing controller + fixed warning

* Removed console.log

* Improved error handling

* Added scale modal to Loccus, refactoring, added download buttons to loccus

* Refactoring

---------

Co-authored-by: Bertrand Goupil <[email protected]>

* Updated translation

* 0.81 (#542) (#543)

* Add missing assistant_video_download_action and assistant_video_download_action_description (#525)

* added translations for fake annotation on checkGIF (#527)

* 454 metadata form refactoring (#528)

* moved metadata tip

* metadata form changed to be different for images and videos

* changed json files back

* video and image for metadata section

* Synthetic image detection UX improvements

* refactoring + updated offline translations

* 465 checkgif labels (#503)

* functional fake text on check gif and gif download

* functional checkGif with moveable "Fake" label

* clean up tests

* better Fake text

* can toggle fake image text and change its color

* can add and remove "Fake" annotation

* user can change text size, more intuitive interactions for adding fake annotation and customizing it

* language keywords added

* added comments, removed useless code

* made gifs bigger

* comment

* removed fragments and corrected type error

* updated translation

* Revert "video and image for metadata section"

This reverts commit 9189891.

* Revert "changed json files back"

This reverts commit 977d603.

* Revert "metadata form changed to be different for images and videos"

This reverts commit 98e06a4.

* correct file input button

* cleaned up code

---------



* Fix bug with assistant help tooltip

Bug with assistant help tooltip not appearing and crashing when clicked
- changed from `HelpDialog` to `Tooltip` in `AssistantIntroduction.jsx`

* Loccus chart + refactoring (#530)

* Tools Refactoring (#519)

* Synthetic image detection UX improvements

* refactoring + updated offline translations

* wip

* Refactored footer types and Footer, Navbar, DrawerItem, AllTools. Highlight the tool used in the side menu

* Added missing package, fixed scroll bars and enhanced general layout

* Improved naming to have TopMenu, MainContentMenu, and SideMenu, fixed some variables, code cleanup

* Improved alignment

* Fixed RTL padding

* Fixed RTL chevron

* Improved naming

* Fixed lint warning

* Added jsdoc

* Cleanup

* Fixed error

* add v0.81 manifest

* Added chartJs, added chart with detection percentage over time

* Removed console.log

* Added chart gradient based on detection score

* Updated packages

* Moved variables

* Fixed lint warnings

---------



* Loccus enhancements (#532)

* Tools Refactoring (#519)

* Synthetic image detection UX improvements

* refactoring + updated offline translations

* wip

* Refactored footer types and Footer, Navbar, DrawerItem, AllTools. Highlight the tool used in the side menu

* Added missing package, fixed scroll bars and enhanced general layout

* Improved naming to have TopMenu, MainContentMenu, and SideMenu, fixed some variables, code cleanup

* Improved alignment

* Fixed RTL padding

* Fixed RTL chevron

* Improved naming

* Fixed lint warning

* Added jsdoc

* Cleanup

* Fixed error

* add v0.81 manifest

* Added chartJs, added chart with detection percentage over time

* Removed console.log

* Added chart gradient based on detection score

* Updated packages

* Moved variables

* Fixed lint warnings

* Bumped version, added missing keyword, added rtl support

---------



* Loccus enhancements (#533)

* Added missing controller + fixed warning

* #534
update detector names

* #526
Fix error message for 404

* navbar and all tool use category keys instead of translated label

* fix assistant help

* Loccus enhancements (#539)

* Tools Refactoring (#519)

* Synthetic image detection UX improvements

* refactoring + updated offline translations

* wip

* Refactored footer types and Footer, Navbar, DrawerItem, AllTools. Highlight the tool used in the side menu

* Added missing package, fixed scroll bars and enhanced general layout

* Improved naming to have TopMenu, MainContentMenu, and SideMenu, fixed some variables, code cleanup

* Improved alignment

* Fixed RTL padding

* Fixed RTL chevron

* Improved naming

* Fixed lint warning

* Added jsdoc

* Cleanup

* Fixed error

* add v0.81 manifest

* Added chartJs, added chart with detection percentage over time

* Removed console.log

* Added chart gradient based on detection score

* Updated packages

* Moved variables

* Fixed lint warnings

* Bumped version, added missing keyword, added rtl support

* Added missing controller

* Added missing controller + fixed warning

* Removed console.log

* Improved error handling

* Added scale modal to Loccus, refactoring, added download buttons to loccus

* Refactoring

---------



* Updated translation

---------

Co-authored-by: Goupil Conseil <[email protected]>
Co-authored-by: Twin Karmakharm <[email protected]>
Co-authored-by: Robin Farkas <[email protected]>
Co-authored-by: Rosanna Milner <[email protected]>
Co-authored-by: Bertrand Goupil <[email protected]>

* Readme update (#544)

* Updated README.md

* Update README.md

* Updated README.md

* Updated offline translation

---------

Co-authored-by: Goupil Conseil <[email protected]>
Co-authored-by: Twin Karmakharm <[email protected]>
Co-authored-by: Robin Farkas <[email protected]>
Co-authored-by: Rosanna Milner <[email protected]>
Co-authored-by: Bertrand Goupil <[email protected]>

---------

Co-authored-by: Goupil Conseil <[email protected]>
Co-authored-by: Twin Karmakharm <[email protected]>
Co-authored-by: Robin Farkas <[email protected]>
Co-authored-by: Rosanna Milner <[email protected]>
Co-authored-by: Bertrand Goupil <[email protected]>

* Reverts using id from map as it causes a bug

---------

Co-authored-by: Goupil Conseil <[email protected]>
Co-authored-by: Twin Karmakharm <[email protected]>
Co-authored-by: Robin Farkas <[email protected]>
Co-authored-by: Rosanna Milner <[email protected]>
Co-authored-by: Bertrand Goupil <[email protected]>
  • Loading branch information
6 people authored Jun 24, 2024
2 parents 6ef7e2f + 542ec0c commit 5a47ed8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/NavBar/DrawerItem/DrawerItem.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,8 @@ const DrawerItem = ({ toolsList }) => {
<DrawerItemContent index={0} drawContent={drawerItemsContent} />
}
/>
{toolsList.map((item, index) => {
{toolsList.map((item) => {
let index = item.id - 1;
if (item.path) {
return (
<Route path={item.path} key={index}>
Expand Down

0 comments on commit 5a47ed8

Please sign in to comment.