This MR provides:
the resizing of the text / content in the text panel by button click (+ / -) taking size limits into account
the default fontsize is set to 1em which corresponds to 16px.
either click on a button in- or rather decreases the fontsize by 0.125em which corresponds to 2px per click.
the minimum is set to 0.875em (14px) and the maximum to 1.5em (24px)
Does the result of the MR comply to our "definition of done"?
Unit tests passed
Acceptance criteria met
Functional tests passed
Non-Functional requirements met
Product Owner accepts the User Story
I updated the README (if applicable)
I provided my functions with appropriate documentation
I adjusted other parts of the documentation (if applicable)
Are we able to test this new feature?
Yes, everything can be done via unit tests.
Yes, you can test by following these steps:
- checkout the branch:
git checkout feature/#287-merge-text-size-optimization
- start your dev env:
npm run dev
- switch to your browser and point it to localhost:8080
- select an arbitrary item of your liking and click on a button at the top of the text panel to in-/decrease the text(-size) therein only
No, it is not possible.
I added a statement to the CHANGELOG.
Add all related issues and especially those to be closed.
closes #287 (closed)