Comments (19)
Thank you very much! This is shaping up to be a great tool! 🚀
from scholarsome.
Progress are not saved even save button was clicked when worked for too long.
Could you elaborate on this? Are you saying it will not save if the time spent on the creation/editing page is too long?
Progress saved are deleted if you go back and forth from home to your set
Does this occur after clicking create/save?
Reloading page will delete all the progress >> it seems like it's having problem fetching data after paged refreshed.
Are you saying that all progress was lost before clicking create/save? If so, this is expected. Save must be clicked, otherwise the data will not be saved.
from scholarsome.
The save function is working.
The loading of the page is the issue or the process, IDK what's the technical term.
But after saving the progress and you reload the page, go back and forth pages, suddenly my progress disappear.
What I did, the first time I encounter this when my progress was halved, I quickly edit the SET and half of the progress retains.
second time I experience it, upon refreshing the retain half was gone, the SET contains 0 items. I decided to delete the SET to make a new one.
For quite some time and many attempts, I realize that after you save your progress, the issue came from the page loading.
IDK the term, but it's having hard time to fetch the most recent data. So, after reloading the page, I get 0 progress, after a few seconds and refresh the page or back and forth through the pages or even login log out, the progress back to normal.
Sorry for my English, I think my english is confusing.
from scholarsome.
Alright - to check, the issue occurs when the page is reloaded too quickly after creating a set, e.g. without giving it a few seconds? This is an issue that has been observed before, but unable to be replicated.
No problem about the English. I've got friends too who are learning.
from scholarsome.
actually it's like 5 seconds at least? it's really not a real quick.
Even giving it a few more seconds, sometimes it occurs.
I even thought I have problem with my ISP connection. but I don't have problem loading other pages.
I'll try replicating it again today, PST
from scholarsome.
No worries. Let me know whether it is occurring when creating new sets and updating existing ones. i.e. does the issue occur when you update a set that already exists using the save "button," and also when creating new ones using the "create" button?
from scholarsome.
OKay so I tried again,
The image below is the result of create button.
Gonna start over again
from scholarsome.
How many cards did you have present in the set when you tried creating it, did any of them have pictures or text formatting?
from scholarsome.
at least 10, just a plain text.
from scholarsome.
I experience it again.
whenever I create, proceed adding cards, worked for too long without saving by clicking the button create,
The /404 page will show up.
So what I did now was create new set,
Named the set
add term and definition on 1 pre created card
Hit the Create button
error page didn't show this time.
I think, since it has not saved yet, it doesn't have a place to hold temporally the data inputted.
Will you change the creation of set?
like if you create a SET, a pop-up window will be prompted , fill-up the Create SET form, then hit save/create SET.
AFter hitting the button, the SET is saved and created before you can add cards.
from scholarsome.
Progress saving is a real pain.
specially when you made a lot of formatting.
it's so depressing. hahaha
saving and reloading page really lose all data............
Hope to see new updates very soon
from scholarsome.
Will definitely be looking into this issue later this week. If you want to try a quick fix, log out and log back in. Expired cookies can sometimes play havoc with authentication when creating sets.
For right now until this issue is fixed, don't add a bunch of cards all at once when creating sets. Add small amounts at a time after initially creating incase the issue occurs.
from scholarsome.
I already did that.
Definitely, 1 at a time.
from scholarsome.
I'll take a look into this since this seems to be pretty major.
If you found any patterns of behaviors that may cause the issue, feel free to list them.
from scholarsome.
I had written out about 50 cards and then pressed save, and it all disappeared. Likely due to me navigating away before the request was done. Very unfortunate.
from scholarsome.
I had written out about 50 cards and then pressed save, and it all disappeared. Likely due to me navigating away before the request was done. Very unfortunate.
Did you navigate away while the request was still in progress - i.e. it hadn't redirected you to where the new set's page should be? Were you uploading many images while creating the cards?
Been trying to wrestle this issue for weeks.
from scholarsome.
@Green-Robot-Dev-Studios @ffsb07
A temporary fix for this issue has been applied in the latest release.
from scholarsome.
@hwgilbert16
I know what the issue is. Even though the "Save" button turns into "Edit" right away, the request continues. If you refresh or leave the page before that request returns 200, then you are technically not saving even though the UI makes you think that it is saved.
A spinner and disabled Save button until the save request returns 200 should solve the issue.
The same issue also happens if you haven't been refreshing the page for some time. In that case, what I do is I open another tab to keep my session refreshed, then click save on the flashcard page with that new session that I got from other page. This failed session operation will also be overlooked if you just look at the UI (save button).
Oh by the way, thank you so much for the tool :)
from scholarsome.
The same issue also happens if you haven't been refreshing the page for some time. In that case, what I do is I open another tab to keep my session refreshed, then click save on the flashcard page with that new session that I got from other page. This failed session operation will also be overlooked if you just look at the UI (save button).
You're right. The issue was that the logic that refreshes the authentication tokens was being superseded by the individual authentication checks for privileged routes.
@Green-Robot-Dev-Studios @ffsb07 @OrkunDzgn
I pushed a permanent fix for this. If you're using the public version at https://scholarsome.com - the bug is fixed. If you're using a selfhosted local version, then this fix will be in the next update.
from scholarsome.
Related Issues (20)
- Feature request: adding tags to cards HOT 1
- Handle special characters in title/description HOT 1
- Always jump user to their newly-created set after .csv upload HOT 1
- Add descriptive API error messages
- Add sitemaps
- Enforce semantic commit messages HOT 6
- Fix wrong cursor when hovering over image HOT 1
- Error deploying after v1.2 update HOT 2
- All data form set LOST! HOT 5
- Added new cards to existing one deletes all the card in the set HOT 2
- Add dark mode support HOT 1
- Broken "Export to Quizlet" Link HOT 2
- Importing custom card types from anki not working HOT 1
- Different options for self-hosted installs
- Switch from prisma relationMode to foreignkeys
- Require selection for card to be eligible for written quiz questions
- Support newer apkg file format
- Remove requirement for cards to have both term and definition filled in HOT 4
- First card of second run of progressive mode wrongly flips
- Redis Connection Error HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from scholarsome.