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

Implemented OrderSelect #16

Merged
merged 33 commits into from Sep 1, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
645f368
Implemented OrderSelect
NovaliX-Dev Aug 13, 2022
4473889
Added docs
NovaliX-Dev Aug 13, 2022
be019a6
minor fixe
NovaliX-Dev Aug 13, 2022
4c4908f
minor fixe
NovaliX-Dev Aug 13, 2022
e45e139
minor fixes and reformatting
NovaliX-Dev Aug 13, 2022
edc956b
Merge branch 'master' of https://github.com/NovaliX-Dev/requestty
NovaliX-Dev Aug 13, 2022
2eed507
Added example
NovaliX-Dev Aug 13, 2022
ec9e97d
Added index formatting
NovaliX-Dev Aug 14, 2022
cb0293d
added automatic testing
NovaliX-Dev Aug 15, 2022
1b03b98
Updated docs about choices type
NovaliX-Dev Aug 27, 2022
e303a94
Optimized index display
NovaliX-Dev Aug 27, 2022
b4033ae
Updated key handling algorithm and key docs
NovaliX-Dev Aug 27, 2022
7bd6d81
Updated choice input type as separators aren't allowed
NovaliX-Dev Aug 27, 2022
7836936
put insta tests backs
NovaliX-Dev Aug 27, 2022
b300600
Updated docs and added more concrete examples
NovaliX-Dev Aug 27, 2022
7455814
Added comments to the dots that were making the doctests fails
NovaliX-Dev Aug 27, 2022
35bd297
Merge branch 'Lutetium-Vanadium:master' into master
NovaliX-Dev Aug 28, 2022
abf651d
Updated argument type for filter, validate and transform function as …
NovaliX-Dev Aug 28, 2022
743c266
Put the filter, validate and transform functions implementation just …
NovaliX-Dev Aug 28, 2022
3659686
implemented implementation tests
NovaliX-Dev Aug 29, 2022
4faaee4
added a more concrete example on when function
NovaliX-Dev Aug 30, 2022
b49b93e
Fix validate test always failing because validation failed
NovaliX-Dev Aug 30, 2022
4e02352
made integration tests better
NovaliX-Dev Aug 30, 2022
620aee1
removed unused implementation on ListItem
NovaliX-Dev Aug 30, 2022
2c30a53
Removed unnecessary documentation
NovaliX-Dev Aug 30, 2022
79825ad
Updated names to more concrete one in test_filter
NovaliX-Dev Aug 30, 2022
6c177bc
Updated item name to be more explicit
NovaliX-Dev Aug 30, 2022
b51b074
updated some docs
NovaliX-Dev Aug 30, 2022
f3581d9
Fix the check example
NovaliX-Dev Aug 31, 2022
378f506
Updated index so they increment from 1 instead of 0
NovaliX-Dev Sep 1, 2022
684e71d
moved conversion trait from OrderSelectItem to ListItem
NovaliX-Dev Sep 1, 2022
7a413c3
small name fix
NovaliX-Dev Sep 1, 2022
09c9a0b
added snapshots
NovaliX-Dev Sep 1, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
@@ -0,0 +1,26 @@
---
source: src/question/order_select/tests.rs
expression: backend
---
┌──────────────────────────────────────────────────┐
│ ? message (Press <space> to take and place an│
│ option) │
│❯ 1. 0 │
│ 2. 1 │
│ 3. 2 │
│ 4. 3 │
│ 5. 4 │
│ 6. 5 │
│ 7. 6 │
│ 8. 7 │
│ 9. 8 │
│ 10. 9 │
│  │
│ │
│ │
│ │
│ │
│ │
│ │
│ │
└──────────────────────────────────────────────────┘
@@ -0,0 +1,28 @@
---
source: src/question/order_select/tests.rs
assertion_line: 117
expression: backend

---
┌──────────────────────────────────────────────────┐
│ ? message (Press <space> to take and place an│
│ option) │
│❯ 0. 0 │
│ 1. 1 │
│ 2. 2 │
│ 3. 3 │
│ 4. 4 │
│ 5. 5 │
│ 6. 6 │
│ 7. 7 │
│ 8. 8 │
│ 9. 9 │
│  │
│ │
│ │
│ │
│ │
│ │
│ │
│ │
└──────────────────────────────────────────────────┘
@@ -0,0 +1,26 @@
---
source: src/question/order_select/tests.rs
expression: backend
---
┌──────────────────────────────────────────────────┐
│ ? message (Press <space> to take and place an│
│ option) │
│ 1. 1 │
│ 2. 2 │
│ 3. 3 │
│ 4. 4 │
│ 5. 5 │
│ 6. 6 │
│ 7. 7 │
│ 8. 8 │
│ 9. 9 │
│❯ 10. 0 │
│  │
│ │
│ │
│ │
│ │
│ │
│ │
│ │
└──────────────────────────────────────────────────┘
@@ -0,0 +1,28 @@
---
source: src/question/order_select/tests.rs
assertion_line: 117
expression: backend

---
┌──────────────────────────────────────────────────┐
│ ? message (Press <space> to take and place an│
│ option) │
│ 0. 1 │
│ 1. 2 │
│ 2. 3 │
│ 3. 4 │
│ 4. 5 │
│ 5. 6 │
│ 6. 7 │
│ 7. 8 │
│ 8. 9 │
│❯ 9. 0 │
│  │
│ │
│ │
│ │
│ │
│ │
│ │
│ │
└──────────────────────────────────────────────────┘
@@ -0,0 +1,26 @@
---
source: src/question/order_select/tests.rs
expression: backend
---
┌──────────────────────────────────────────────────┐
│ ? message (Press <space> to take and place an│
│ option) │
│❯ 1. 0 │
│ 2. 1 │
│ 3. 2 │
│ 4. 3 │
│ 5. 4 │
│ 6. 5 │
│ 7. 6 │
│ 8. 7 │
│ 9. 8 │
│ 10. 9 │
│  │
│ │
│ │
│ │
│ │
│ │
│ │
│ │
└──────────────────────────────────────────────────┘
@@ -0,0 +1,28 @@
---
source: src/question/order_select/tests.rs
assertion_line: 117
expression: backend

---
┌──────────────────────────────────────────────────┐
│ ? message (Press <space> to take and place an│
│ option) │
│❯ 0. 0 │
│ 1. 1 │
│ 2. 2 │
│ 3. 3 │
│ 4. 4 │
│ 5. 5 │
│ 6. 6 │
│ 7. 7 │
│ 8. 8 │
│ 9. 9 │
│  │
│ │
│ │
│ │
│ │
│ │
│ │
│ │
└──────────────────────────────────────────────────┘
@@ -0,0 +1,26 @@
---
source: src/question/order_select/tests.rs
expression: backend
---
┌──────────────────────────────────────────────────┐
│ ? message (Press <space> to take and place an│
│ option) │
│❯ 1. 0 │
│ 2. 1 │
│ 3. 2 │
│ 4. 3 │
│ 5. 4 │
│ 6. 5 │
│ 7. 6 │
│ 8. 7 │
│ 9. 8 │
│ 10. 9 │
│  │
│ │
│ │
│ │
│ │
│ │
│ │
│ │
└──────────────────────────────────────────────────┘
@@ -0,0 +1,28 @@
---
source: src/question/order_select/tests.rs
assertion_line: 117
expression: backend

---
┌──────────────────────────────────────────────────┐
│ ? message (Press <space> to take and place an│
│ option) │
│❯ 0. 0 │
│ 1. 1 │
│ 2. 2 │
│ 3. 3 │
│ 4. 4 │
│ 5. 5 │
│ 6. 6 │
│ 7. 7 │
│ 8. 8 │
│ 9. 9 │
│  │
│ │
│ │
│ │
│ │
│ │
│ │
│ │
└──────────────────────────────────────────────────┘
@@ -0,0 +1,26 @@
---
source: src/question/order_select/tests.rs
expression: backend
---
┌──────────────────────────────────────────────────┐
│ ? message (Press <space> to take and place an│
│ option) │
│❯ 1. 0 │
│ 2. 1 │
│ 3. 2 │
│ 4. 3 │
│ 5. 4 │
│ 6. 5 │
│ 7. 6 │
│ 8. 7 │
│ 9. 8 │
│ 10. 9 │
│  │
│ │
│ │
│ │
│ │
│ │
│ │
│ │
└──────────────────────────────────────────────────┘
@@ -0,0 +1,28 @@
---
source: src/question/order_select/tests.rs
assertion_line: 117
expression: backend

---
┌──────────────────────────────────────────────────┐
│ ? message (Press <space> to take and place an│
│ option) │
│❯ 0. 0 │
│ 1. 1 │
│ 2. 2 │
│ 3. 3 │
│ 4. 4 │
│ 5. 5 │
│ 6. 6 │
│ 7. 7 │
│ 8. 8 │
│ 9. 9 │
│  │
│ │
│ │
│ │
│ │
│ │
│ │
│ │
└──────────────────────────────────────────────────┘
@@ -0,0 +1,26 @@
---
source: src/question/order_select/tests.rs
expression: backend
---
┌──────────────────────────────────────────────────┐
│ ? message (Press <space> to take and place an│
│ option) │
│❯ 1. 0 │
│ 2. 1 │
│ 3. 2 │
│ 4. 3 │
│ 5. 4 │
│ 6. 5 │
│ 7. 6 │
│ 8. 7 │
│ 9. 8 │
│ 10. 9 │
│ 11. 10 │
│ 12. 11 │
│ 13. 12 │
│ 14. 13 │
│(Move up and down to reveal more choices) │
│  │
│ │
│ │
└──────────────────────────────────────────────────┘
@@ -0,0 +1,28 @@
---
source: src/question/order_select/tests.rs
assertion_line: 124
expression: backend

---
┌──────────────────────────────────────────────────┐
│ ? message (Press <space> to take and place an│
│ option) │
│❯ 0. 0 │
│ 1. 1 │
│ 2. 2 │
│ 3. 3 │
│ 4. 4 │
│ 5. 5 │
│ 6. 6 │
│ 7. 7 │
│ 8. 8 │
│ 9. 9 │
│ 10. 10 │
│ 11. 11 │
│ 12. 12 │
│ 13. 13 │
│(Move up and down to reveal more choices) │
│  │
│ │
│ │
└──────────────────────────────────────────────────┘