Coder Social home page Coder Social logo

njcreaderapp's People

Contributors

jwnpoh avatar

Watchers

 avatar

Forkers

beertino

njcreaderapp's Issues

Better logging

Now logging a whole bunch of unnecessary log in failures, and/or unhelpful error messages.

  • Stop logging log in errors
  • Add a "PROFANITY" log level

Vercel times out for long requests

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??

Edit prompts in add-notes form

Under tldr - Mental Models (problem, stakeholders, causes, consequences, solutions, implications)

  1. Under "Further notes", cna we add Does this article remind you of something else you have read or watched?

Check pagination

The offset for pagination might be wrong. Double check the code.

Re-arrange column fields in edit articles interface

Date should be more immediately visible in terms of fields that are likely to contain errors that need editing.

Either:

  1. change the order of must read and date
    and/or
  2. check css to make the whole table visible on smaller screen

image

Change behaviour of form response in edit-article

When there are several articles that need updating, the green msg should disappear after changes are saved.

i.e., right now, in between updating qns, the green msg stays there from the initial updating.

image

Use regex to parse long article entries

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.

Is there a bug in update note function?

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.

image

Change password returns 500 error

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.