Git Product home page Git Product logo

Comments (5)

thommcgrath avatar thommcgrath commented on August 25, 2024

I really like this idea and have wanted to put it into Beacon for a while, but I don't have a way to actually show the results. I'll leave this open just in case something changes in the future, but I don't think this is one that I'll likely be able to implement.

from beacon.

swekaj avatar swekaj commented on August 25, 2024

My thought was during the deploy, have an option to "show changes" or "show diff" that displays the standard diff output (lines prefixed + for added, - removed, etc.). I don't know about xojo, but Python and Javascript both have libraries available for generating the diffs (python javascript).

from beacon.

thommcgrath avatar thommcgrath commented on August 25, 2024

I do have a library for generating the text-based diffs, but those are too difficult to read for the average user. It's possible in a pinch, but not good enough that I'd actually want it for a feature. Beacon 1.6 will be using the Scintilla text editor, so it's plausible I could brute-force some line coloring to produce something similar to GitHub's diffs. Ideally I'd want a side-by-side, but that's not realistically going to happen.

from beacon.

Forien avatar Forien commented on August 25, 2024

I do have a library for generating the text-based diffs, but those are too difficult to read for the average user. It's possible in a pinch, but not good enough that I'd actually want it for a feature. Beacon 1.6 will be using the Scintilla text editor, so it's plausible I could brute-force some line coloring to produce something similar to GitHub's diffs. Ideally I'd want a side-by-side, but that's not realistically going to happen.

I was thinking about it, and I think "simple" line with "Name | Old | New" would be enough. Just make it look like actual edit, but with two disabled form inputs?

On a similar note, what I would really love (wasn't sure if I should make a new Issue for that) is to be able to hide unchanged values for easier management. Sometimes I simply want to check what was changed. This would help with General Settings the most. Especially with mods like Super Structures etc.

from beacon.

thommcgrath avatar thommcgrath commented on August 25, 2024

Hiding unchanged lines is actually a pretty good idea for something easy to implement with a big impact.

from beacon.

Related Issues (20)

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.