Giter Site home page Giter Site logo

knotro's People

Contributors

dependabot[bot] avatar rohanshiva avatar rud avatar xeust avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

knotro's Issues

Internal server error (500) when accessing empty note

When I click on edit to change the text of a note, clear everything and save it then this results in a 500 response when accessing it. Here is the final trace of the logs.

pydantic.error_wrappers.ValidationError: 1 validation error for Note
content
  none is not an allowed value (type=type_error.none.not_allowed)

Edit: I found out how to delete an empty note using the deta run cli: deta run del -- --name :note_name

Doesn't save

I got this running this in Deta (cool platform, TIL), but it doesn't save.

I would click "edit", change the note and then click "save". But if I revisited the not it would just display the default:

image

Do I need to configure a database or something?

Create Public Notes

2 PRs:

Backend:

  • have an is_public field which can be modified via an api route (when someone clicks the lock in the frontend).
  • serve a different version of the note

Frontend:

  • different version of the note
  • route substitution logic for links / backlinks needs to include the /public route
  • Move backlinks / links sidebar to the left, remove left sidebar entirely
  • Include 'Install on Deta' button somewhere in the note (likely the bottom bar)

Internal Server Error

I'm lost. I managed to deploy to deta, but I don't know what's wrong with my setup.
I didn't touch anything, yet I get this error. BTW I'm a windows user.

I can't provide more context. The server and deta's logs just output "Internal Server Error".

image

"/notes/:note_name?json=true" is the way to "GET" notes, right?
Do we have to "PUT" something in order for the server to have something to work with?

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.