GithubHelp home page GithubHelp logo

l-spiecker / sdb2 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mathisdt/sdb2

0.0 0.0 0.0 51.19 MB

lyrics presentation on a digital projector, e.g. for church services

Home Page: https://zephyrsoft.org/sdb

License: GNU General Public License v3.0

Java 99.51% Shell 0.49%

sdb2's People

Contributors

dependabot[bot] avatar l-spiecker avatar mathisdt avatar snyk-bot avatar

Watchers

 avatar

sdb2's Issues

Check if all patches could be applied.

Inside PatchController.applyPatches we currently do not check if all patches could be applied.
If not, add the Song before applying changes to the conflicted songs to let the user compare the latest version with the version before.

Merge remote changes with current opened song

Inside MainWindow.setModels - songsModel.addSongsModelListener the current changes inside the editor are thrown away, if the same song changes in Background (file/remote).

Approach 1: (Conflict/Mergetool)

  • Show a song changed in Background dialog.
  • Add changed song before overwriting it to conflicts
  • Overwrite song and fields with remote/file changes
  • Show a notification and let the user open the diff.

Approach 2: (Rebase)

  • Extract diff, apply remote diff, apply diff again. (May fail)
  • Highlight changes from remote, and local changes.
  • Show dialog, to hit ok before saving it.

handle rejected published patches

This could be done by implementing a boolean return of updateSongs/removeSong/update/changeSongs in PatchController.

Or without waiting: Simply adding those patches inside rejectPatch to a list of merge conflicts to let the user decide later.

feat: mergetool

Implement a mergetool for all conflicts with overwritten local and rejected changes.

  • Save those changes in a separate xml.
  • Add an icon to the GUI and open a list on click.
  • Open conflicts directly in the edit song tab?

Instant jump position

If a song changes one has to send the song and the position.

If both are received, sdb2 should show the song directly at the wanted position, instead of the position 0.0.

Add an initial position to the present functions. Allow users to open a song in the mainwindow without presenting it. (Eg. by pressing Alt+Click) Then use null as the initial Position.

Implement behaviour inside RemoteController.handleSongChange

Empty position message as blank presentation

Use empty position message as blank presentation instead of sending an empty song message.

This would allow untoggle blank screen. This would fasten the transition from blank to the current song again. And we would still know the current song, to switch to next/previous one.

Add moveToLine function to the MainWindow

Currently the active line is not changing, when changed via remote.

Add a moveToLine function next to the present function of MainWindow and use it inside handleSongPositionChange of RemoteController.

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.