asterics / AsTeRICS-Grid

Free and simple to use app for augmentative and alternative communication (AAC) with offline support, flexible input methods and media access
https://grid.asterics.eu/
GNU Affero General Public License v3.0
50 stars 17 forks source link

Feature cross out images 305 #394

Closed tchjohanna closed 1 month ago

tchjohanna commented 1 month ago

Changes made:

Addition of a handleCross method to manage the addition and removal of the red cross on grid elements. Use of the isCrossed method to determine whether an element has been crossed. Addition of a crossed CSS class to display a red cross on elements. Addition of CSS rules for displaying a red cross on crossed elements.

klues commented 1 month ago

This PR also contains the changes of PR https://github.com/asterics/AsTeRICS-Grid/pull/393, so it's mixing #305 and #303. Please try to keep changes separate by creating a new branch based on master for each issue. So for starting working on a new issue do:

git checkout master
git pull
git checkout -b "issue#xyz/short-issue-description"

and continue working from there.

Apart from this, again this PR contains many changes, which are not related to crossing out images (#305). I've already started working on it some time ago in this branch: https://github.com/asterics/AsTeRICS-Grid/tree/issue%23305/cross-out-images - so you could continue working based on this branch. So in this case you wouldn't have to do the commands I've written before, but only git checkout issue#305/cross-out-images and continue working from there.