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

Calculator сreation page #950

Open
8 tasks
lkshkmia opened this issue Nov 14, 2024 · 0 comments
Open
8 tasks

Calculator сreation page #950

lkshkmia opened this issue Nov 14, 2024 · 0 comments

Comments

@lkshkmia
Copy link
Collaborator

lkshkmia commented Nov 14, 2024

As a user I want to use the calculator easily so that it will be a useful thing for me

Description
Calculator сreation page with requirements

Acceptance Criteria

1. The user must see the following fields:
1.1. Calculator name
1.2. "Add formula" button (can create no more than 20 formulas)
1.3. "Save" button (not active until at least one formula is added)

2. After filling in field 1.1, the user clicks the 1.2 button, after which the following fields appear:
2.1. Formula (the user enters the formula following the instructions below)
(for a formula field, a field of type TextArea)
2.2. "Add variable" button (no more than 30 variables per formula)
(rounding the results of calculations to 2 decimal places)

3. After filling in field 2.1, the user clicks the 2.2 button, after which the following fields appear:
3.1. Variable name
3.2. Public name of the variable
3.3. Description of variables
3.4. Variable type

4. The User presses the 1.3 button, then:
4.1. If any links were found in the data, then:
4.2. The user is redirected back to the form with the data he entered, where he sees highlighted in red
color fields that contain errors and a detailed description of what exactly caused the error

5. After creation, the program should transfer to the page of this calculator in the admin panel

6. Add a field of the "Additional notes" type with a TinyMCE text editor, to have a second block (is located after the calculator)
image

7. The user should be able to download:
The calculator logo
The user should be able to download an icon for a specific formula

8. Make it possible to specify the number for the formula and sort by it on the public page

9 Сhange the display of formulas in the calculator constructor, use the form as in Site Settings with titles (such as Formula 1, Formula 2, Formula x)

Tasks:

Epic link
#939

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant