ita-social-projects / StreetCode

MIT License
19 stars 8 forks source link

[Chronology] When the screen scale is 150, the first and last year are not displayed on the timeline. #1350

Open Tetiana1202 opened 6 months ago

Tetiana1202 commented 6 months ago

Environment: MacOS 13.6.6 (22G630), Google Chrome 123.0.6312.87 Reproducible: always Build found: a7d807f Preconditions:

  1. Open: https://streetcode.com.ua
  2. Adjust screen 933x484 px.

Steps to reproduce:

  1. Fill in the search field e.g. 'Михайло Грушевський'
  2. Go to the page from the list
  3. Screen scale 150
  4. Go to Chronology block
  5. Look at the far left of the scale: 1866 year and a square (20x20 pixels)
  6. Notice that the last year 1934 appears on the right of the timeline, with a square below it (20x20 pixels)

Actual result:

  1. The year 1866 in the far left scale and the square (20x20) are not displayed
  2. The year 1934 and the square (20x20 px) are not displayed on the rightmost scale

Expected result:

  1. The year 1866 and a square (20x20 pixels) are displayed on the far left of the timeline
  2. The year 1934 and a square (20x20 px) are displayed on the far right scale

User story: #39

Attachments:

Знімок екрана 2024-04-11 о 14 55 53 Знімок екрана 2024-04-11 о 15 01 39
mythter commented 1 month ago

The user story doesn't have any requirements for screen scale, only for screen width. Did I miss something?