Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Admin/Partners page] As an admin I want to create/update/delete partners #1491

Open
IrynaZavushchak opened this issue Jun 17, 2024 · 2 comments

Comments

@IrynaZavushchak
Copy link
Contributor

IrynaZavushchak commented Jun 17, 2024

As an Admin I want to add/remove/edit partners on the "Admin/Партнери" page

Description
This page allows Admins to add/remove/edit all information about project partners, in other words, people who support the project. It will also be able to flip through pages already created partners.

Acceptance Criteria 1 - page "Admin/Партнери"
1.Admin is able to open page "Admin/Партнери".
2. Page is optimized for desktop and mobile devices and prepared according to design.
3. The structure of the window "Admin/Parners":
i. The button "Створити партера".
ii. Partners information sheet (should include the ability to delete and edit).
iii. Рage counter.
5. Admin is able to open "Додати партнера" modal window via click on the button "Створити партнера" (Acceptance Criteria 2).
5. Admin is able to open "Підтвердження" pop-up window via click on an icon "Recycle bin" (Acceptance Criteria 3).
6. Admin is able to open "Редагувати партнера" modal window via click on an icon "Edit" (Acceptance Criteria 4).

Acceptance Criteria 2 - a modal window “Додати партнера”

  1. Admin is able to open "Додати партнера" modal window via click on the button "Створити партнера".
  2. The modal window "Додати партнера" shoud contain:
    i. Admin is able to enter a name of a partner. The mandatory field, symbols limit is 100.
    ii. Admin is able to add a link to the partner's website. Not a mandatory field, symbols limit is 200.
    iii. If a link was added, Admin is able to add a custom name for a link, which will be displayed as a hyperlink leading to entered URL. Not a mandatory field, symbols limit is 100.
    iv. Admin is able to add a description to a partner's card. Not a mandatory field, symbols limit is 450.
    v. Admin is able to add one logo of a partner as an image. This is a mandatory step.
    vi. Admin is able to add an existing streetcode page from a dropdown
    vii. Admin is able to add links to partner's social networks, mandatory steps for this action:
    -Admin should select a social network from the dropdown with the following options: Youtube, Instagram, Facebook, X. The mandatory field
    -Admin should add a link to the corresponding social network. The mandatory field
    -System validates if added link is for selected in dropdown social network.
    -Symbols limit for the link is 255.
    viii. Admin is able to mark a partner as a "Ключовий партнер" via a checkbox. If it was marked so - this partner should be displayed as a key main partner on a partner's page (bigger size - 350x106 px), if not - he will appear in "Партнери" page.
    ix. Admin is able to mark a partner as a "Видимий для всіх" via a checkbox. If it was marked so - this partner should be displayed on each existing StreetCode.
    x. Until all mandatory fields are filled in, the button "Зберегти" is inactive."
  3. Admin is able to close the modal window by clicking on the X button or outside the window.

Acceptance Criteria 3 - "Підтвердження" pop-up window
1.Admin is able to open "Підтвердження" pop-up window via click on an icon "Recycle bin".
2.The pop-up window "Підтвердження" shoud contain:
i. Warning text.
ii. Buttons "Cancel" and "OK".
3. Admin is able to close the pop-up window by clicking on the X button or outside the window.

"Acceptance Criteria 4 - a modal window "Редагувати партнера"
1 Admin is able to open "Редагувати партнера" modal window via click on an icon "Edit".
2. The modal window "Редагувати партнера" shoud contain:
i. Admin is able to enter a name of a partner. The mandatory field, symbols limit is 100.
ii. Admin is able to add a link to the partner's website. Not a mandatory field, symbols limit is 200.
iii. If a link was added, Admin is able to add a custom name for a link, which will be displayed as a hyperlink leading to entered URL. Not a mandatory field, symbols limit is 100.
iv. Admin is able to add a description to a partner's card. Not a mandatory field, symbols limit is 450.
v. Admin is able to add one logo of a partner as an image. This is a mandatory step.
vi. Admin is able to add an existing streetcode page from a dropdown
vii. Admin is able to add links to partner's social networks, mandatory steps for this action:
-Admin should select a social network from the dropdown with the following options: Youtube, Instagram, Facebook, X. The mandatory field
-Admin should add a link to the corresponding social network. The mandatory field
-System validates if added link is for selected in dropdown social network.
-Symbols limit for the link is 255.
viii. Admin is able to mark a partner as a "Ключовий партнер" via a checkbox. If it was marked so - this partner should be displayed as a key main partner on a partner's page (bigger size - 350x106 px), if not - he will appear in "Партнери" page.
ix. Admin is able to mark a partner as a "Видимий для всіх" via a checkbox. If it was marked so - this partner should be displayed on each existing StreetCode.
x. Until all mandatory fields are filled in, the button "Зберегти" is inactive.
3. Admin is able to close the modal window by clicking on the X button or outside the window

Epic link
Epic #114 link

Labels to be added
"User story", Correspondind Functionality (e.g. User), Priority ("pri: "), "Corresponding Epic"

Tasks

    • sample task.
@IrynaZavushchak IrynaZavushchak changed the title [Admin/Partners page] As an admin I want to create/apdate/delete partners [Admin/Partners page] As an admin I want to create/update/delete partners Jun 17, 2024
@AllaOsypenko
Copy link

AllaOsypenko added User Story (Epic#114) Admin/Partners page labels [on Jul 19, 2024]

@AllaOsypenko AllaOsypenko self-assigned this Jun 19, 2024
@mozhaieva
Copy link

Replacing the social network 'Twitter' with 'X'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Requirements
Development

No branches or pull requests

3 participants