verification-plugin icon indicating copy to clipboard operation
verification-plugin copied to clipboard

Adding credibility signals feature

Open rosannamilner opened this issue 1 year ago • 5 comments

This new feature adds six credibility signal classifiers:

  • news framing (topic)
  • news genre
  • persuasion techniques
  • subjectivity
  • previous fact checks
  • machine generated text

Related to https://github.com/AFP-Medialab/InVID-Translations/pull/93

image (35)

rosannamilner avatar Aug 05 '24 13:08 rosannamilner

Just a check for Arabic (and LTR languages) but the rest looks good to me 👍

Please merge beta-master into your branch to also fix the conflicts

Thanks Valentin - noticing I don't have the languages drop down menu at the top, it appears empty and I'm struggling to work out why it's not appearing. (Checked for this branch and same on beta-master). Do you have any ideas why this could be happening?

image (36)

Looking into components/Navitems/languages/languages.jsx, storeLanguage prints out as "en" but languageList is empty.

rosannamilner avatar Aug 12 '24 09:08 rosannamilner

@rosannamilner this usually happens when you are pointing to the wrong branch or when you are offline (no internet connection)

Can you try the following troubleshooting?

  1. Merge beta-master into your branch to get the latest code (this will also allow you to fix remaining conflicts)
  2. Make sure your .env config uses REACT_APP_TRANSLATION_TAG=v0.82
  3. If you changed your .env configuration, run npm run dev again
  4. Uninstall / reinstall the plugin on Chrome or do a hard reload and clear the cache (open the Chrome inspector, then hold the refresh button in chrome to see the Empty Cache and Hard Reload option)
  5. Double check your internet connection just in case

Let me know if you still face the issue after this

Sallaa avatar Aug 12 '24 10:08 Sallaa

Also, let me know if you see error messages in the console. They could indicate where the problem is coming from

Sallaa avatar Aug 12 '24 10:08 Sallaa

Also, let me know if you see error messages in the console. They could indicate where the problem is coming from

I have done the above with no luck, but I do see these errors in the console:

Failed to load resource: net::ERR_FILE_NOT_FOUND    undefined/dictionaries/components/NavItems/defaultLanguage.tsv?lang=en&tag=v0.82:1
Failed to load resource: net::ERR_FILE_NOT_FOUND    undefined/languages?tag=v0.82:1    

rosannamilner avatar Aug 12 '24 11:08 rosannamilner

Also, let me know if you see error messages in the console. They could indicate where the problem is coming from

I have done the above with no luck, but I do see these errors in the console:

Failed to load resource: net::ERR_FILE_NOT_FOUND    undefined/dictionaries/components/NavItems/defaultLanguage.tsv?lang=en&tag=v0.82:1
Failed to load resource: net::ERR_FILE_NOT_FOUND    undefined/languages?tag=v0.82:1    

@Sallaa I'm missing REACT_APP_TRANSLATION_URL from my .env - can you let me know what that should be please?

rosannamilner avatar Aug 12 '24 12:08 rosannamilner