Coder Social home page Coder Social logo

bbu's People

Contributors

aerugo avatar alinauroz avatar filipnystrom avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

skoteskote

bbu's Issues

User annotation collection

Allow a reading user to store annotations in their annotation collection in the session storage.

If a user is logged in, their collections persist in their account, and they can organize collected annotations in folders.

Implement fragment highlighting

We want to implement fragment highlighting in the UI.

  • Fragments can be identified in posts by toggling "highlighting". When a fragment is highlighted, the rest of the post text turns grey.
  • If multiple fragments in the same post are highlighted, they are black, while the rest of the post is grey.
  • If nothing is highlighted, then the entire post is black.
  • Highlighting is specific to a post. Highlighting only turns the rest of that post grey, not the other posts in the same topic.

A new column is introduced to show the highlight toggles

post-no-highlights

When highlights are toggled, the rest of the text in the post that is not highlighted turns grey. This transition should be to lower the opacity, and it should happen with a smooth but fast animation.

post two highlights

Highlights are specific to a post - posts above and below are unaffected.

posts without highlight selection stay unaffected

Update or delete codes

Codes can be updated or removed, either through the codebook or through a code page.

A code edit tool is brought up by clicking the description of a code (if you have the right permissionss), either on the codebook or a code page.

1  - codebook code edit

1  - code edit

UI Change: Post view

Changes:

  • Change hamburger icon to a thinner line-weight, that align with the font.
  • Replace code and arrow with simple arrow. Use > arrow from font.
  • Remove numbers from codes. (I don't think they are necessary here, the user gets that information anyhow when going to a code, and this way they will explore codes based on interest and not on numbers.)

Folded view:
post-view-folded

Unfolded view:
post-view2-unfolded

UI Change: Fragment view

Changes:

  • Move Fragment 2-3 lines down the page.
  • Replace post arrow with "From"
  • Remove code and network icon.
  • Add an extra linebreak before codes.
  • Add "Codes:" text above code list.
  • Remove numbers in black circles from before codes.
  • Add numbers in text after codes, e.g. anger, 27 annotations with 85 connections (@aerugo you can change the exact wording here to suit the methodology better)

fragment-view

UI Change: Menu view

Changes:

  • Move X to align with hamburger in other views.
  • Change X to thinner line weight that follows the general line-weight of the Baskerville font

menu-view

e

Add, edit and remove annotations

Logged-in users with the right permissions can add, edit and remove annotations.

Annotation spans can be shifted, multiple codes can be added to the same annotation, comments can be added.

We are planning to implement a modified version of RecogitoJS. See mockups below to see how the annotation tool should look and work.

Select a highlighted fragment by clicking on it once

1 - select fragment

Clicking on a highlighted fragment brings up the controllers that can be used to shift the span of the annotation-

2 - extend fragment

Double click on a selected fragment to bring up the annotation tool.

3 - fragment extended

4 - fragment double click

If multiple codes belong to the same annotation, the code description is for the last code added.

5 - annotation tool

When codes are selected, the code description is changed.

6 - select a code

7 - select another code

Note: When codes are added, you select them from an auto-complete dropdown. You can also create a new code by writing a new code into the prompt.

Comments can be added to annotations

8 - comment on annotation

Annotations are saved on close

9 - annotation closed

UI Change: Code view

Changes:

  • Add ":" after "X fragments refer to this code", ie: "X fragments refer to this code:"

Login, user management and permissions

We want to add simple login and user management. We also want to be able to administrate users and set simple permissions.

**Login through the menu. The login screen is a very simple magic link email prompt. **

menu login

Admins can see and manage users and permissions.

1 - view user

Admins can invite new users.

2 - invite user

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.