StreetCode icon indicating copy to clipboard operation
StreetCode copied to clipboard

Admin/Main StreetCode block

Open vladnvp opened this issue 2 years ago • 3 comments

Acceptance Criteria

The listed below fields are displayed and working according to described details.

  1. "Номер history-коду" field accepts only numerical values from 1 to 9999.
  2. "Тип стріткоду" dropdown has two options
  • Постать (Selected by default)
  • Подія.
  1. The field "Назва history-коду" is displayed. It contains from up to 100 characters.
  2. If "Постать" was selected in the previous field - the next fields are "Ім'я" and "Прізвище" are displayed If "Подія" was selected in the previous field - "Ім'я" and "Прізвище" are NOT displayed
  3. Date picker for "Роки життя / Дата або період події" is not prefilled, dates can be entered manually OR selected via calendar. The first date is mandatory. Field "Роки" displays how user will see selected dates. This field can be edited after first date was selected, for example, to add a double date.
  4. If admin clicks on an arrow on dropdown "Теги" list of tags with a scroll should be opened with tags sorted in alphabetical order, no more than 10 tags are visible at the moment. Admin is able to type in name of a tag in dropbox, so list of tags will be adjusted according to entered text. Click on a tag adds it as a separate element below and clears text field. Added tags can be deleted by pressing a 'close' icon. After adding tag, it shows as a separate element above the dropbox. If the background of tag is grey - it means that users can`t see this tag, if it is white - users can see this tag. image
  5. When the administrator hovers over the tooltip that is located near the "Tags" heading, he will be shown a short instruction.
  6. Hovering the cursor over a certain extension, the administrator should be shown how the tags will be placed on the main streetcode card
  7. Regardless of the extension, tags must be displayed in 2 lines. Only those tags that fit the extension conditions should be displayed. Tags that do not fit should not be displayed.
  8. In a text field for "Teaser" on the right bottom side quantity of symbols that can be entered, should be displayed. By default, the limitation is 520 symbols including spaces (if there is 1 paragraph). In case the paragraph was entered in the text field, the limitation should be changed to 455 symbols (if there are 2 paragraphs).
  9. In field "Анімація" user can attach only one animated image in GIF format. User can either drag and drop file or press on 'paper clip' to select a file from File Exploler
  10. In field "Чорнобіле" user can attach only one image. User can either drag and drop file or press on 'paper clip' to select a file from File Exploler
  11. In field "Аудіо" user can attach only one file in MP3 fromat. User can either drag and drop file or press on 'paper clip' to select a file from File Exploler image
  12. In field "URL" user is able to enter a text using latin alphabet, this text will be used as a text for URL, after https://streetcode.com.ua/ Each URL shoud be unique. This field is allowed to accept: small latin alphabet letters, special symbol "-" and numbers.
  13. In field "Короткий опис (для звʼязків історії)" user is able to enter text, which will be displayed on a card of this StreetCode when it is displayed on other StreetCode's section "Зв'язки історії"
  14. In field "Для зв'язків" user can attach only one image. This image will be used as a main image when StreetCode is displayed as a card in "Зв'язки історії" on another StreetCode. Also, image added to the "Для звʼязків" field should be displayed on this streetcode card on the catalog page. If an image was not added - "Чорнобіле" must be used.
  15. Symbols limitation for fields Назва стріткоду - 100 Ім'я - 50 Прізвище - 50 Короткий опис (для зв'язків історії) - 33 URL - 100 Теги - 50

Epic link

vladnvp avatar Feb 19 '23 19:02 vladnvp

UPD: 6. In a text field for "Teaser" in the right bottom side quantity of symbols that can be entered, should be displayed. By default, limitation is ~~450~~ 520 symbols including spaces. In case if the paragraph was entered in the text filed limitation should be changed to ~~400~~ 455 symbols.

NEW: 11. In field "URL" user is able to enter a text using latin alphabet, this text will be used as a text for URL, after https://streetcode.com.ua/ 12. In field "Короткий опис (для звʼязків історії)" user is able to enter text, which will be displayed on a card of this StreetCode when it is displayed on other StreetCode's section "Зв'язки історії" 13. Symbols limitation for fields Назва стріткоду - 100 Ім'я - 50 Прізвище - 50 Короткий опис (для зв'язків історії) - 33 URL - 100

vladnvp avatar Jul 10 '23 16:07 vladnvp

UPD 5. Date picker for "Роки життя/Дата або період події" is not prefilled, dates can be entered manually OR selected via calendar The first date is mandatory. Field "РОКИ" displays how user will see selected dates. This field can be edited after first date was selected, for example, to add a double date.

vladnvp avatar Jul 21 '23 15:07 vladnvp

Update to "Teaser": 10. In a text field for "Teaser" in the right bottom side quantity of symbols that can be entered, should be displayed. By default, limitation is 450 symbols including spaces. In case if the paragraph was entered in the text field limitation should be changed to 400 symbols.

What was wrong? Incorrect amount of valid symbols.

NEW to "Teaser": 10. In a text field for "Teaser" on the right bottom side quantity of symbols that can be entered, should be displayed. By default, the limitation is 520 symbols including spaces (if there is 1 paragraph). In case the paragraph was entered in the text field, the limitation should be changed to 455 symbols (if there are 2 paragraphs).

AlbinaVorobiova avatar Mar 26 '24 19:03 AlbinaVorobiova