Skip to content

Text edition should have a clear exit option (see #371)#434

Merged
benel merged 1 commit into
mainfrom
improvement-371
Jun 28, 2026
Merged

Text edition should have a clear exit option (see #371)#434
benel merged 1 commit into
mainfrom
improvement-371

Conversation

@Samellaperes

Copy link
Copy Markdown
Contributor

We, Samella LEUKOUO, FOTSO Vanelle, Othmane Houasli, hereby grant to Hyperglosae maintainers the right to publish our contribution under the terms of any licenses the Free Software Foundation classifies as Free Software Licenses.

@Samellaperes

Copy link
Copy Markdown
Contributor Author

Comme nous n'avons pas eu besoin de modifier le scénario, aucune modification n'étais nécessaire au niveau des tests. Donc nous avons eu uniquement a modifier le editable.js pour rajouter un bouton. Aucune autre fonctionnalité n'a eu besoin d'être modifier.

@benel benel changed the title IMPROVEMENT: Text edition should have a clear exit option (see #371) Text edition should have a clear exit option (see #371) Jun 14, 2026

@benel benel left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @Samellaperes and @othmaneutt for your contribution.
Here are a few changes to bring to your files.

<button
type="button"
className="btn btn-success btn-sm mt-1"
onMouseDown={handleBlur}

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

By firing up this event, handleBlur got invoked twice.
This generates a conflict when you edit and save several times in a row.

Comment thread frontend/src/components/EditableText.jsx Outdated
@benel benel force-pushed the main branch 3 times, most recently from 69f00a6 to 5c4b1c8 Compare June 15, 2026 13:10
@Samellaperes Samellaperes force-pushed the improvement-371 branch 3 times, most recently from 9341d11 to cacd5ac Compare June 17, 2026 18:45
@Samellaperes Samellaperes reopened this Jun 17, 2026

@Samellaperes Samellaperes left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

corrections done

Co-authored-by: Othmane Houasli <othmane.houasli@utt.fr>
Co-authored-by: Vanelle Fotso <vanellefotso21@gmail.com>
@benel benel force-pushed the improvement-371 branch from cacd5ac to 1ccf767 Compare June 28, 2026 15:35
@benel benel merged commit 1ccf767 into main Jun 28, 2026
3 checks passed
@benel benel deleted the improvement-371 branch June 28, 2026 15:42
@benel

benel commented Jun 28, 2026

Copy link
Copy Markdown
Member

Thank you for your contribution @Samellaperes @othmaneutt @vanellefotso21-crypto.

Your contribution is live on the production server! Well done 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants