Skip to content

text-size-optimization

schneider210 requested to merge feature/#287-merge-text-size-optimization into develop

Feature

Summary

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
  • Code reviewed
  • Acceptance criteria met
  • Functional tests passed
  • Non-Functional requirements met
  • Product Owner accepts the User Story

Documentation

  • I updated the README (if applicable)
  • I provided my functions with appropriate documentation
  • I adjusted other parts of the documentation (if applicable)

Tests

Are we able to test this new feature?

  • Yes, everything can be done via unit tests.
  • Yes, you can test by following these steps:

as usual:

  • 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.

Changelog

  • I added a statement to the CHANGELOG.

Related Tickets

Add all related issues and especially those to be closed.

Related

#287 (closed)

Closes

closes #287 (closed)

Logs and Screenshots

/cc Mathias Göbel, Frank Schneider, Michelle Weidling

Merge request reports

Loading