Code Monkey home page Code Monkey logo

foucault's Introduction

Hi there ๐Ÿ‘‹

I'm a young student who love CS and maths. I like to try bunch of different things, from websites to games or art, everything. My Skills Top Langs My Github Stats

foucault's People

Contributors

adi-df avatar

Watchers

 avatar

foucault's Issues

Links are computed at note edit

The problem...

Links are currently stored as pairs of note IDs, and only computed when a note is edited.
So when I reference a non-existing note and then create it, the link won't be inserted in the database until the original note is edited. The same thing happens when a note is renamed (In fact, note renaming doesn't update any link, so it's a really dumb feature that should maybe be removed).

How to reproduce:

  1. Create a note A.
  2. Edit note A and add a cross-reference to a note B which doesn't exist.
  3. Create a note B.
  4. Admire the absence of link A to B in the database.
  5. Enjoy.

Potential fix:

Store names instead of IDs in the link table. However, it should be better to first refactor the way Links are stored in code.

Conclusion:

Good luck, future me.

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.