-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/GSOC-improve-collab-dialog' in…
…to GSOC-merge-fields * upstream/GSOC-improve-collab-dialog: (221 commits) Display information about the selected change in the bottom detail node Display a preview of the deleted entry Don't open the advanced merge dialog when 'makeChange()' is called on 'EntryChangeViewModel' Open the advanced merge dialog when 'Merge...' is clicked Select the first change after opening the dialog Enable the 'Merge...' button only if the selected change has an advanced merge dialog Close dialog when all changes are resolved Remove old UI code Cleanup FXML Apply changes when before the dialog Rename 'Accept Theirs' to 'Accept' and 'Accept Yours' to 'Deny' Allow selecting multiple changes Remove 'Accept changes' and 'Dismiss' buttons from the dialog Populate table view with changes Convert change name to a StringProperty instead of a raw string Wrap the UI in a dialog pane Implement a method for opening an advanced merge dialog for modified entries Design the ExternalChangesResolverDialog Create ExternalChangesResolverViewModel Rename ChangeDisplayDialog.java to ExternalChangesResolverDialog.java ...
- Loading branch information
Showing
17 changed files
with
308 additions
and
179 deletions.
There are no files selected for viewing
114 changes: 0 additions & 114 deletions
114
src/main/java/org/jabref/gui/collab/ChangeDisplayDialog.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
46 changes: 46 additions & 0 deletions
46
src/main/java/org/jabref/gui/collab/ExternalChangesResolverDialog.fxml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
|
||
<?import javafx.geometry.Insets?> | ||
<?import javafx.scene.control.Button?> | ||
<?import javafx.scene.control.DialogPane?> | ||
<?import javafx.scene.control.TableColumn?> | ||
<?import javafx.scene.control.TableView?> | ||
<?import javafx.scene.layout.AnchorPane?> | ||
<?import javafx.scene.layout.HBox?> | ||
<?import javafx.scene.layout.VBox?> | ||
<?import org.controlsfx.control.MasterDetailPane?> | ||
|
||
<?import javafx.scene.control.ButtonType?> | ||
<?import javafx.scene.layout.BorderPane?> | ||
<DialogPane prefHeight="400.0" prefWidth="700.0" xmlns="http://javafx.com/javafx/17" xmlns:fx="http://javafx.com/fxml/1" fx:controller="org.jabref.gui.collab.ExternalChangesResolverDialog"> | ||
<content> | ||
<AnchorPane> | ||
<MasterDetailPane fx:id="materDetailPane" detailSide="BOTTOM" dividerPosition="0.6" AnchorPane.bottomAnchor="0.0" AnchorPane.leftAnchor="0.0" AnchorPane.rightAnchor="0.0" AnchorPane.topAnchor="0.0"> | ||
<masterNode> | ||
<HBox> | ||
<TableView fx:id="changesTableView" layoutX="34.0" layoutY="46.0" maxWidth="Infinity" prefHeight="236.0" HBox.hgrow="ALWAYS"> | ||
<columns> | ||
<TableColumn fx:id="changeName" prefWidth="400.0" text="Name" /> | ||
</columns> | ||
</TableView> | ||
<VBox maxHeight="1.7976931348623157E308" maxWidth="1.7976931348623157E308" minHeight="-Infinity" minWidth="-Infinity" spacing="8.0" HBox.hgrow="NEVER"> | ||
<Button onAction="#acceptChanges" text="Accept" maxWidth="1.7976931348623157E308"/> | ||
<Button onAction="#denyChanges" text="Deny" maxWidth="1.7976931348623157E308"/> | ||
<Button fx:id="openAdvancedMergeDialogButton" maxWidth="1.7976931348623157E308" onAction="#openAdvancedMergeDialog" text="Merge.." /> | ||
<HBox.margin> | ||
<Insets left="8.0" right="8.0" top="8.0" /> | ||
</HBox.margin> | ||
</VBox> | ||
</HBox> | ||
</masterNode> | ||
<detailNode> | ||
<BorderPane fx:id = "changeInfoPane" prefHeight="100"> | ||
</BorderPane> | ||
</detailNode> | ||
</MasterDetailPane> | ||
|
||
</AnchorPane> | ||
|
||
</content> | ||
<ButtonType fx:id="close" text="%Close" buttonData="CANCEL_CLOSE"/> | ||
</DialogPane> |
Oops, something went wrong.