Giter VIP home page Giter VIP logo

graph-notes's Introduction

Hi, I'm Olly.

I'm Olly! I'm currently working as a SWE @ Collective Benefits striving to help the lives of people though the way I best know how; delivering quality, stable and beautiful software.

Founded ts-rest to help deliver type safe APIs to teams across the world, helping them focus on what matters most.

My Principles

  • Keep it simple
  • Collaboration over being a individual contributor
  • Tailor your project to your needs not your desires
  • Actively seek out and destroy obstacles to productivity
  • Avoid preemptive optimisations
  • In person (or video) chats > messaging

Spicy Takes ๐ŸŒถ๏ธ

  • Monoliths are underrated
  • Servers are great
  • Scrum is for estimation, not targets
  • Teams of engineers not programmers

My Preferences

techs.filter(tech => ['Typescript', 'Rust'].includes(tech))

graph-notes's People

Contributors

oliverbutler avatar

Stargazers

 avatar  avatar  avatar

graph-notes's Issues

Re-structure application concept/structure

Currently, offline only with an SQLite DB.

Poposed

Migrate to (RxDB)[https://github.com/pubkey/rxdb] and share notes between "Nodes" in your "network". And example network could look like this:

rxdb-structure

Normalize redux data and introduce backlinks.

Look into https://github.com/paularmstrong/normalizr

Currently

Redux stores pages as an array of blocks with no children
To query a pages children we currently just filter all pages, this has some benefits

  • Small number of pages not much slowdown
  • Easy to update records this way

Proposed

Work out how best to store, in a normalized way:

  • Outline of all pages (for sidebar etc)
  • For certain blocks, all of their content/children
  • Database/property content

Ideally - we want no duplication of data.

Develop a hook for field editing

Use a hook to be used for every "editable" block/title. Each updated property will be debounced and saved appropriately to redux (and DB).

Implement Redux for State Management

Configure Redux to manage state. Currently, the state is disjointed throughout the application, all state needs to be migrated into a central system to ensure all CRUD operations are synced throughout and performed ONLY through actions.

Otherwise, if one component directly interfaces with SQLite, and fails to alert Redux, the applications state will become unstable and bugs could be introduced.

Better understand 2xpackage.json structure

Electron React Bootstrap (ERB) by default comes with two package.json's, I believe this to be related to the dev/prod cycle and the usage of webpack... This must be solved ASAP to ensure functionality in the long run.

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.