Coder Social home page Coder Social logo

scratch-git's People

Contributors

ajskateboarder avatar steve0greatness avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

steve0greatness

scratch-git's Issues

Implement diffing via git diff

The current diffing system present in scratch-git's diff viewer is very fragile and full of issues. Addition/deletion of C-blocks just breaks it, for example. On the other hand, diff_match_patch git diff works flawlessly with a little imagination

I accidentally deleted my diffing changes... oops, time to make it my weekend project

This will function by having the old and new code patched/matched by said library, adding pluses and minuses at the beginning of every modified line, which signals to scratchblocks to add proper circling/crossing out of statements. From this, scratch-git can apply it's own highlighting style by finding/replacing scratchblocks's custom styles as needed.

There will also be a toggle to use plain scratchblocks highlighting in diffs

All to be implemented before #4

  • Create diff api endpoint
  • Modify scratchblock styling
  • Create toggle between text, normal scratchblock, and highlighted
  • Accessibility features eventually

Navbar buttons broken as of TurboWarp v1.10.1

Navbar sections and button placement have been changed substantially, and things like the Git menu simply don't append. The push project and commit button stylings also break a bit, though it's in the process of being removed anyways

  • Fix it
  • Accommodate responsiveness as other buttons do

Rewrite the server in Rust

It's a language that I'm familiar enough to use, and it will make it easier for users to setup scratch-git. All of the code in the server is non-specific and can be ported to Rust, if not any other language

Configuration screen

There should be a dialog which displays whenever TurboWarp is simply opened with no project file. It should ask the user if they want configure a new git project using a Git URL - nothing else. It should include an option to cancel and use TurboWarp as normal.

Authentication will be required to push to the repos, but we'll cross that bridge when we get to it because that could seem very sketchy ๐Ÿ˜– Never mind, users can be told to paste git commands into their terminal. I am no longer liable for stealing Git information, yay

Windows compatability

Windows cannot easily run BASH scripts, the scripting language of Windows PowerShell(terminal) is instead PowerShell(script format)(File ending: .ps1).

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.