jwnpoh / njcreaderapp Goto Github PK
View Code? Open in Web Editor NEWHome Page: the-njc-reader.vercel.app
License: MIT License
Home Page: the-njc-reader.vercel.app
License: MIT License
Check the on:click logic?
User sometimes forgets to "save to database" after queuing articles. Update interface to help make sure that this step is not forgottn.
long_topics table is no longer in use, no need to insert/update into long_topics.
njcreaderapp/backend/external/pscale/long.go
Line 119 in 83b1316
Now logging a whole bunch of unnecessary log in failures, and/or unhelpful error messages.
I was unable to add users today as the request timed out. Vercel has a 5s timeout.
Have not tried yet but I assume that any attempt to add more long articles might time out too.
Need to think.
One solution is to resolve the request without waiting for the api to return a response. Perhaps have the api to separately send a confirmation of success/failure of transaction via email to the user, as a workaround. Alternatively, purchase a pro plan on vercel??
"...as stated..." detected as "ass"
add exception rule or change the profanity detection to apply only to public notes?
Under tldr - Mental Models (problem, stakeholders, causes, consequences, solutions, implications)
The offset for pagination might be wrong. Double check the code.
Tags seem to be overwritten with a blank array when submitting an edited note.
Current implementation requires user to use semicolon as separator between url and topic, which requires a change in their habits. Try using regex to pick up the " - " separator that they are more used to.
Logging in on phone logs me out on the computer and vice versa. Figure out how I might be able to implement multi-device log-in.
The likes count on a note seems to randomly reset. Now I know that this particular note was edited. Could it be that the edit function resets the likes count?
Clearly my like is still registered, but the count reflected on the note isn't. Perhaps changing the logic to use a SQL JOIN
statement to get the likes
count from the following
table instead of hard-coding it in the notes
table.
2023-01-27T03:01:13.448Z 82f0cd4e-f054-4369-9af4-7387c7cd9e95 ERROR SyntaxError: Unexpected end of JSON input
at JSON.parse ()
at Response.json (/var/task/node_modules/undici/lib/fetch/body.js:404:19)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async updateUser (file:///var/task/.svelte-kit/output/server/entries/pages/user-profile/_page.server.js:34:22)
at async handle_action_request (file:///var/task/.svelte-kit/output/server/index.js:325:18)
at async render_page (file:///var/task/.svelte-kit/output/server/index.js:1290:23)
at async resolve (file:///var/task/.svelte-kit/output/server/index.js:1953:22)
at async Object.handle (file:///var/task/.svelte-kit/output/server/chunks/hooks.server.js:41:10)
at async respond (file:///var/task/.svelte-kit/output/server/index.js:1991:22)
at async Server.default (file:///var/task/.svelte-kit/vercel-tmp/index.js:31:3)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.