Giter Club home page Giter Club logo

fiduswriter's People

Contributors

afshinsadeghi avatar johanneswilm avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Forkers

aw3s0me

fiduswriter's Issues

Not deleting comments properly

For testing created 4 comments and removed them using different methods. than after reloading i have 1 piece of text - highlighted

Database, comment column is empty

After rerendering page multiple times, still highlighted

removed

Comments that have semantic structure

Examples for semantic comments (just to explain the broader context – let's turn the extra features into a separate issue later, but for now start with a simple subject classification of comments):

  • "the selected text is related to my topic of interest <topic...>"
  • "the selected text is related to something on the Web <e.g. URL of publication>"
  • from a reviewer to an author: "Here, you should have used "

Feature request: be able to filter/search such comments, e.g. "display only those comments that are related to <topic...>"

Task: (help to) define how semantic structures in comments can be preserved in Fidus Writer

Imagine a hierarchical subject classification scheme like MSC in mathematics. (implemented in SKOS here: http://msc2010.org/resources/MSC/2010/info/.)

Something similar exists for social science; please download TheSoz from http://www.gesis.org/en/services/research/thesauri-und-klassifikationen/social-science-thesaurus/ and see http://www.semantic-web-journal.net/sites/default/files/swj279_2.pdf for a conceptual overview.

Requirements:

  • The author of a comment types a label of a concept into an input field. (For now, let's have one such input field per comment.) Auto-completion guides the user in finding the desired SKOS Concept (one of those that have a label matching the user's input)
  • the comment is then annotated with <comment> dct:subject <URI of chosen concept> (in future there could be multiple subjects per comment)
  • Any reader of a document should be able to filter comments by subject. The UI for choosing the subject should be similar to the above. After a subject S has been entered, all those comments should be displayed that are annotated with that subject S, or with a subject that is skos:narrower than S (also transitively, i.e. S skos:narrower S1 . S1 skos:narrower SubjectOfSomeComment).

Different cursor sizes

  1. Add text. 2) Add multiple newlines 3) Add after newlines text () 4) We can see that above text () caret is smaller:
    image

Filtering server side by role

support for adding discussion comments in different roles and with different visibility profiles

  • readers should be able to ask questions to the authors in public or confidentially;
  • authors’ comments should be configurable to be invisible to reviewers;
  • reviewers’ comments should be configurable to be visible to the editorial board only, or to others, etc.),
  • for a filtered and ordered lookup of comments (e.g., all comments by reviewer 1, major concerns first).

User logout and profile dropdown doesn't work after clicking once

User logout and profile menu dropdown doesn't work after clicking once.

How to reproduce: Click logout menu dropdown that is located on the top right. When dropdown shows, click anywhere on the page to close this dropdown. Now try again the same thing, menu will not open.

Possible cause: This issue usually occurs due to not handling DOM events properly. Registering an event multiple times causes multiple tigers of the same event.

Filtering client side

Filtering by user roles and user names

Interface: Instead of button comments show/hide we have dropdown with list:

  • filter by readers
  • filter by reviewers
  • filter by authors
  • filter by editors
  • filter by name [-> then appears centered - input for a name with ok button]
  • show/hide [depends on the state]

Not updating comments correctly

How to recreate:

  1. Create document
  2. Open 5 tabs.
  3. Add some comments
  4. User 1, close and reopen document
  5. User 1. add new comment.
  6. This comment will not appear on other users screens

Why it happens. The problem can be caused by ProseMirror Update Scheduler. Need to check theEditor.mod... and theEditor.pm.mod...
How to see comments: theEditor.doc.comments

Roles for a document

Adding json to top of document . :

{ ....,
  roles: { "user1" : "author",
              "user2" : "reader",
              "user3" : "reviewer",
              "user4" : "editor" }
}

Why json - to enable real-time filtering. Client just hides comments which are not relevant by filter

Important. For timebeing we assign users in a hardcode way

Documentation generation doesn't work

Project documentation that is available in 3.0 branch doesn't generate html files. User can not generate documentation from reStructured Text sources.

How to reproduce: Run make html from inside docs directory. It generates several errors and doesn't create _build directory where documentation in html format should auto generate.

Possible reasons: Incorrect dependencies and configuration.

Closer look: Found few lines of code that has no relation with the project structure and project source code. Appears to have been copied from third party source as it is. Project is using Django 1.9.x but dependency configured for document generation was Django 1.8. This breaks how Django loads models for sphinx to access them.

not up to date, accidental forking

Hey, @vinaymodi Could you please undo d442ad2 . As I mention in the comment there, this was fixed upstream a week ago, so the two fixes on top of each other mean that it's now breaking. You should probably pull the latest version directly from the fiduswriter repo.

@aw3s0me According to @vinaymodi's comments here, it sounds as if the sphinx code was copied from somewhere else. This is generally not a problem, as long as the license of the original code is so permissive that it allows you to commit this as if it were your own code. May I ask: Where did you find this?

Submit empty comment box by other user

When user 1 click on comment button, comment box appears immediately on user 2 editor too.
User 2 can write on the comment box which opened by user 1 and pressed "submit" and now it looks like that comment was made by user 1.

Writer converter to RDF graph

Write converter to RDF Graph

(Do it on server side, format (probably jsonld), same URI on server side router).
On client side there should be button (export to RDF). export only comments.

Comments:
you will only be able to describe the comments. The backend doesn't understand the structure of the document itself, and...
10:44
you only have access to the document the last time it was saved. which may be 2 minutes old
10:45
other people connecting to the editor will get the current version.

akorovin
10:46 PM so you mean that outside it is not possible to get document? it needs to be saved during 2 minutes time threshold?
10:46
for example: nobody accesses the document and some user outside wants info about annotations
10:46
it is not possible
johanneswilm
10:46 PM it is possible to see what is in the comments, yes.
10:47
but it's not possible to see what is in the document, or where the comments connect in the document
10:47
and the comments may be up to two minutes delayed, if someone is in the document.
10:47
if noone is in the document, the comments will be current.

if the last user leaves, it is saved immediately
10:50
also if the user changes the title
10:51
other than that every 2 minutes, if there have been changes to the text content
10:51
if the user just has changed comments or answered comments for half an hour, the document may be half an hour old

Working with the basic implemention of tables in Prosemirror

A basic implementation of tables is added by a patch in prosemirror repository.
As the tables are essensial for us and maybe nobody else works on it entensive, Johannes sujected to work with it to find the bugs and report to the prosemirror group in order to minimize bugs in the next release.

OJS:FW document identification

Once a document that is sent from OJS to FW, it must be recognized by FW later again by later access, and its history, including comments etc, must be kept and remembered by FW by later access that originates from OJS.

OJS:FW User identification

A user belonging to OJS should not need to be made again inside FW, but both FW and OJS must remember which user in OJS is active in FW and know their history.

Figure out how to send link to OJS (or document info)

The both OJS and Fidus use curl interface to interact with each other. So it is possible to send the link via this.
Also, the REST interface is being developed on OJS, so maybe there will be a possibility to avoid curl.

After reconnecting the editor creates new document and redirects to this document

I started to write document wrote Title then below it wrote me disconnected then I wrote some sentence in body and program interrupted me in some moment and auto-updated. I lost all my changes.
image
Lost all changes after reconnection. It can be seen that Id is different. This is the new document.
image
Actually, after going back to document list, I realized that it saved document with 69 ID and some changes, but partly:
image

Link with ontology

Connect annotations with ontology

Document json file //

{
  "@context": "http://fidus.com/contexts/oscoss.json"
}

Oscoss.json file:
link to ttl ontology

{
  "@context": "http://fidus.com/contexts/ontology.ttl"
}

Each metadata should contain namespace:

{ ...., review:isMajor : true }

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.