Git Product home page Git Product logo

orgpad's Introduction

ORGPAD

                                         

Universal tool for thoughts managing and co-sharing.

Dev

  • Requirements

  • Installation

    • clone git repo git clone [email protected]:tomby42/orgpad.git
    • run cd orgpad
    • run ./scripts/install-local-repos.sh
    • run lein deps
    • run lein npm install
    • run lein less once
  • Running dev env

    • run lein figwheel and connect from your web browser to http://localhost:3449
  • Running tests

    • run lein doo phantom test
  • Building production version

    • run lein clean
    • run lein cljsbuild once prod
  • File structure

    • arxiv - materials related to orgpad development
    • dev-resources - local development resuorces for development
    • doc - documentation
    • notes - various development notes
    • resources
      • public
        • index.html - orgpad root html file
      • test
        • test.html - orgpad root html file for tests
    • src/orgpad
      • components - react components
      • core - core functionality
      • data - data structures
      • dataflow - dataflow parts
      • effects - effects functions
      • parsers - read/mutate functions for components
      • styles - css styles
      • tools - various tools
      • config.cljs - configuration for orgpad modules to load
    • tests - directory where tests reside
    • README.md - this file
    • project.clj - project file

Life cycle

Life cycle

orgpad's People

Contributors

pavel-klavik avatar tomby42 avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

orgpad's Issues

Licenses

Go through licenses and pick one for code and one for usage.

Invisible units outside of screen

If you have a unit outside of the screen and you move with the screen to see it while holding mouse down, it is invisible, and appears when you press mouse up.

Style and more pages problem

  1. Create new style and change something
  2. Create new unit
  3. Add new page to unit
  4. Change style in one of the pages
  5. move to other page

It will not change style and throws

Uncaught TypeError: Cannot read property 'length' of null
    at orgpad$components$map$unit$format_color (unit.js:113)
    at Function.<anonymous> (unit.js:129)
    at Function.cljs.core.apply_to_simple.cljs$core$IFn$_invoke$arity$6 (core.js:13024)
    at Function.cljs.core.apply_to_simple.cljs$core$IFn$_invoke$arity$5 (core.js:12988)
    at Function.cljs.core.apply_to_simple.cljs$core$IFn$_invoke$arity$4 (core.js:12976)
    at Function.cljs.core.apply_to_simple.cljs$core$IFn$_invoke$arity$3 (core.js:12964)
    at Function.cljs.core.apply.cljs$core$IFn$_invoke$arity$3 (core.js:13249)
    at cljs$core$apply (core.js:13191)
    at render (core.js:218)
    at Object.render (core.js:79)

If continue to edit it can ends by completely stuck orgpad.

Life cycle

Basic app life cycle parts. DB schema. Think about om-next.

Wrong horizontal centering of units

The content of each unit has three divs: map-tuple-clicker-left, map-tuple-child and map-tuple-clicker-right. Map-tuple-child is on the right of clicker-right, but overlaps with clicker-right, so it is not placed in the center.

hotkeys

map view - ctrl, alt or shift for create unit and selection
open/close/remove current unit
read/write mode
save/load
undo/redo
add/delete new page

Unit red borders get stucked while moving

Sometimes when moving a unit, its borders get stuck somewhere and appear out of sync with mouse cursor. When mouse up, the unit is move where move cursor is, not where its borders are.

Undo of scaling causes error

Uncaught Error: Cannot compare {:translate [-129.9502687500002 -107.3221125], :scale 1.2155062500000002} to {:translate [-166.59778218750023 -137.58821812500003], :scale 1.2762815625000004}
at cljs$core$compare (core.cljs:2366)
at datascript$db$cmp_val (db.cljc?rel=1515344552000:301)
at datascript$db$cmp_datoms_eavt (db.cljc?rel=1515344552000:311)
at datascript$btset$binary_search_l (btset.cljc?rel=1515344550933:72)
at datascript$btset$_seek (btset.cljc?rel=1515344550933:962)
at datascript$btset$_slice (btset.cljc?rel=1515344550933:990)
at Function.datascript.btset.slice.cljs$core$IFn$_invoke$arity$3 (btset.cljc?rel=1515344550933:1001)
at datascript$btset$slice (btset.cljc?rel=1515344550933:996)
at Function.datascript.btset.slice.cljs$core$IFn$_invoke$arity$2 (btset.cljc?rel=1515344550933:999)
at datascript$btset$slice (btset.cljc?rel=1515344550933:996)

Change/highlight the icon to leave the current unit

This icon is not visible enough, so it might be confusing to new users. I would consider either choosing a different icon/add label/change title, or making the icon more visible by some highlighting (for instance a different background color??).

Bottom toolbar throws error when trying to exit to the top window

To reproduce, create one notepad unit in the root map, with three pages. The last page is a map, containing one notepad unit with three pages. Open the last page. Then click to unit 0 in the status bar, it throws the following error:

Uncaught Error: Index -1 out of bounds [0,1]
at Y.x.de (orgpad.js:9881)
at Y.x.ca (orgpad.js:9886)
at wd (orgpad.js:9644)
at Function.Hf.o (orgpad.js:9720)
at Function.Vi.A (orgpad.js:9872)
at Function.Vi.da (orgpad.js:9872)
at Se (orgpad.js:9804)
at Function.Ui.A (orgpad.js:9869)
at Function.Ui.da (orgpad.js:9869)
at Se (orgpad.js:9804)

If instead you click button Leave current unit twice, nothing fails.

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.