Skip to content

Refine regex in function wordToFiles( word ) #51

@hugolpz

Description

@hugolpz

Need to define issue better. It seems to work as intended within the top right popup. Search of accueil returns video of accueil (lieu). Maybe was just caching issue with the API.

Current intersection from (1) clicked-word via window.select() and (2) list of videos recordings is handled by function wordToFiles( word ).

This function is too restrictive and must be more inclusive.

May need edit 3 background-script.js sections :

Additional cases to handle

Selected word Existing word string Existing filename string
coucou coucou (accrocher le regard) File:LL-Q33302_(fsl)-Hugo_en_résidence-coucou_(accrocher_le_regard).webm
accueil accueil (lieu)
accueil
File:LL-Q33302_(fsl)-Hugo_en_résidence-accueil_(lieu).webm
File:LL-Q33302_(fsl)-Taliba31-accueil.webm

Screenshot

As of Monday noon , it failed. (Recording on Saturday noon...)

Recorded video file exists, but SignIt don't find it !

In the 4th image, an other video (File:LL-Q33302_(fsl)-Taliba31-accueil.webm) is shown but only it. A second one (File:LL-Q33302_(fsl)-Hugo_en_résidence-accueil_(lieu).webm) should be available.

[EDIT]

As of Monday evening , it works. (Recording on Saturday noon...)


Participative listing

Other cases are observed to not work. You can add them in the table above to ease the work of the developer.

Metadata

Metadata

Labels

PurifyClean up code, remove obsolete, optimizebugSomething isn't workinggood first issueGood for newcomers

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions