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

Make reset button (flashcard review modal) enabled for both new and due cards #650

Merged
merged 8 commits into from
Mar 10, 2024
Merged

Make reset button (flashcard review modal) enabled for both new and due cards #650

merged 8 commits into from
Mar 10, 2024

Conversation

polyipseity
Copy link
Contributor

This allows putting the flashcard back temporarily while learning it.

Currently I simply add <!--SR:!<date of today>,1,250--> to my flashcards whenever I learn them to enable the reset button. It would be nice to have this ability builtin instead.

This allows putting the flashcard back temporarily while learning it.

Signed-off-by: William So <polyipseity@gmail.com>
@polyipseity polyipseity requested a review from st3v3nmw as a code owner March 17, 2023 15:05
Signed-off-by: William So <polyipseity@gmail.com>
Signed-off-by: William So <polyipseity@gmail.com>
Signed-off-by: William So <polyipseity@gmail.com>
Copy link
Owner

@st3v3nmw st3v3nmw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi, thanks for the contribution 😄!

Sorry the underlying code has gone through a major refactor recently. I'm not sure if you're still available to help resolve the merge conflicts.

Stephen,

Signed-off-by: William So <polyipseity@gmail.com>

# Conflicts:
#	src/flashcard-modal.tsx
Signed-off-by: William So <polyipseity@gmail.com>
@polyipseity polyipseity requested a review from st3v3nmw October 21, 2023 14:45
@polyipseity
Copy link
Contributor Author

Done.

@ronzulu ronzulu changed the title Make reset button always enabled Make reset button (flashcard review modal) enabled for both new and due cards Mar 10, 2024
@ronzulu
Copy link
Collaborator

ronzulu commented Mar 10, 2024

Hi @polyipseity

Thanks for this, I updated the PR title from "Make reset button always enabled" because the button isn't "always" enabled.

It is still disabled whilst the question is shown, but always shown when the answer is.

Cheers
Ronny

@ronzulu ronzulu dismissed st3v3nmw’s stale review March 10, 2024 11:58

Dismissing Steven's review because I can't seem to approve it (after I've reviewed)

Copy link
Collaborator

@ronzulu ronzulu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All good

@ronzulu ronzulu merged commit c3bbc92 into st3v3nmw:master Mar 10, 2024
1 check passed
@polyipseity polyipseity deleted the always-resetable branch March 10, 2024 12:41
@st3v3nmw
Copy link
Owner

st3v3nmw commented Mar 14, 2024

I was about to make a release and after testing the changes, it looks like a change in #873 reverted some of your changes (apologies for that). I've fixed that by reintroducing the missing changes (locally). It looks like the reset button now behaves the same way as skipping the new card 🤔. Am I missing something?

I was thinking that it should put the new card at the back of the queue so that you can see it later. Sorta like a version of the Again button in Anki.

Thoughts?

@st3v3nmw
Copy link
Owner

Opened the draft PR here -> #902

st3v3nmw added a commit that referenced this pull request Mar 19, 2024
@polyipseity
Copy link
Contributor Author

Yes, it works as expected. Thanks for the heads up.

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

Successfully merging this pull request may close these issues.

3 participants