lab-antwerp-1 / home

https://lab-antwerp-1.github.io/home/randomizer
MIT License
3 stars 13 forks source link

Ömer: Individual Project, 2 #367

Open omerjava opened 2 years ago

omerjava commented 2 years ago

Week 1

Check-In

I Need Help With:

  -

What went well?

What went less well?

Lessons Learned

Sunday Prep Work

colevandersWands commented 2 years ago

And also group project is coming. There will be another mess sure :)

: )

colevandersWands commented 2 years ago

@yoshimalaise

omerjava commented 2 years ago

Now, I have a new interesting problem. I made an experiment, I post a message including a website link, it is saved in Strapi content manager but didn't return to my frontend as data. From that moment, things became strange. I sent some other posts. They have been all saved in Strapi database but not showed in fetch response. Later, I delete those posts with http links from DB. But still same things. I have 35 messages in my DB for example. When I fetch from react, I get only first 25 messages. The last recorded messages after those http link messages doesnt appear in response. I tried relevant endpoint in browser also. It is same. My experiment costs a lot to me. Anyway, it will be solved somehow. Hopefully.

I solved this problem by creating new messages table in Strapi database. Not ideal maybe, but better to move forward in short term. I must take care of link messages. Maybe , I should write some guard code in frontend to prevent api call if userInput includes links.

omerjava commented 2 years ago

The problem above is happened again. After some point, my messages in the databases were not coming in the response. In fact, only first 25 messages were available in the Response data. Then, I figured out that there is a default limitation by Strapi in response data as 25 items. This limitation can be changed in the source file as shown in the link. So, it was not because of website link input which I supposed as cause of error. It seems that my above experiment just coincided with Strapi limitation :)

omerjava commented 2 years ago

Week 1

Check-In

I Need Help With:

What went well?

What went less well?

Lessons Learned

Sunday Prep Work

omerjava commented 2 years ago

chat-o

Screenshot of project from localhost servers