Giter Site home page Giter Site logo

airlatex.vim's People

Contributors

braun-steven avatar c3r34lk1ll3r avatar da-h avatar dmadisetti avatar moetayuko avatar sbrodehl avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

airlatex.vim's Issues

Package (nix)

Package so that you can just call airlatex, opposed to having to launch

Need sqlite3 + pip deps

Option to Ignore comments

Sometimes I respond to a comment, but don't resolve (for discussion). It'd be nice to have an "ignore" option

Github sync

GET https://www.overleaf.com/project/<project>/github-sync/status

reponse: {"enabled":true,"merge_status":"success","repo":"dmadisetti/<repo>","unmerged_branch":null}


GET https://www.overleaf.com/project/<project>/github-sync/commits/unmerged

response: {"diverged":false,"commits":[]}


Not sure if needed?

PUT https://www.overleaf.com/editingSession/<project>

Could skip to just this:

POST https://www.overleaf.com/project/<project>/github-sync/merge

payload: {message: "A commit!"}

Print out current users on page

We show the cursors, but it would be nice to know WHO is on the page. I think we can do this with echo, no need for more buffers

Add some e2e CI

overleaf provides some docker containers. With 5547262 I was able to test that airlatex works with these containers.

TrackChanges works, but comments do not since they require a totally difference service. No clear way of turning this one, but could still do tests for:

interaction:

  • - connect to project
  • - disconnect from project
  • - open up multiple files

Mutation

  • - addition
  • - remove
  • - replace lines
  • - w/ track changes

Find appropo sync rate.

I think the heart beat is too slow for actual collaborative working. We need to figure out a reasonable rate, otherwise it crashes. Need to have someone (@adyotag?) edit a doc at the same time to help find a better rate.

Comment buffer

Thought process:

user                           time
the comment and such and such
-----------------------------------
other user                 time
another reply and such and such
----------------------------------



(intentionally blank space)

Entering insert mode in a section posted by you, allows you to edit
Entering insert mode in the blank section is crafting a response. submission on save
dd resolves the comment
removing all content of a comment deletes the comment

visual mode for comment creation

Refresh

Leave doc and rejoin to refresh all comments and buffer in case things get too far out of wack.

Update comment intervals on edit

Using interval tree. Currently not updating interval, so highlights will get out of sync with buffer if too much editing occurs.

Firefox plugin for PDF sync

I mean. May as well use this properly. You can do editor/ PDF split mode, but they use browser channels to communicate. AirLatex -> socket -> FireFox Plugin -> PDF mode will allow this functionality from vim. Have partial prototype

Deeper Cleanup

  • Buffer Base class
  • Remove nvim from session project handler
  • Doc strings
  • Change format to f strings
  • Use objects instead of dictionary responses
  • project manager requests

Comment refresh issues

resolve and reopen need to refresh
new comments on the thread need to refresh
new comment should show correctly

Also issue if you directly comment on something without opening the comment buffer first, it might be full of junk.
I think this is actually a race condition

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.