akdasa / akdasa/shlokas

🚀 User can remove verse from Inbox deck

Đang mở
#17 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Vue
Star
3
Fork
4
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

```feature
Feature: Decks / Inbox Deck

Background: Verse library
Given Verse library contains the following verses:
| Verse Number | Text | Translation |
| BG 1.1 | dharma-ksetre kuru-ksetre | O Sanjaya, after my sons |
| BG 1.2 | drstva tu pandavanikam | King, after looking ... |
| BG 1.3 | pasyaitam pandu-putranam | O my teacher, behold ... |

Rule: User can remove verses from the Inbox deck

Scenario: User removes previously added verse from the Inbox deck
I, as a user, want to remove the previously added verse If I found it
hard to memorize and return back to it later

Given Inbox deck has the following cards:
| Verse Number | Card Type |
| BG 1.1 | Translation |
| BG 1.3 | Translation |
| BG 1.3 | Text |
When I remove verse "BG 1.3" from the Inbox deck
Then Inbox deck contains the following cards:
| Verse Number | Card Type |
| BG 1.1 | Translation |

Scenario: User reverts accidentally removed verse from the Inbox deck
I, as a user, want to revert accidentally removed verse

Given Inbox deck has the following cards:
| Verse Number | Card Type |
| BG 1.1 | Translation |
| BG 1.3 | Translation |
| BG 1.3 | Text |
When I remove verse "BG 1.3" from the Inbox deck
And I revert the last action
Then Inbox deck contains the following cards:
| Verse Number | Card Type |
| BG 1.1 | Translation |
| BG 1.3 | Translation |
| BG 1.3 | Text |

```

- [x] akdasa-studios/shlokas-core#11

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.