[release]

This commit is contained in:
crschnick 2023-04-05 14:41:02 +00:00
parent e37f6c9658
commit 3b313855b8
3 changed files with 21 additions and 3 deletions

View file

@ -5,13 +5,15 @@ import io.xpipe.app.fxcomps.SimpleComp;
import io.xpipe.app.fxcomps.impl.PrettyImageComp;
import io.xpipe.app.fxcomps.impl.TextFieldComp;
import io.xpipe.app.fxcomps.util.PlatformThread;
import io.xpipe.core.impl.FileNames;
import io.xpipe.app.fxcomps.util.Shortcuts;
import javafx.beans.property.BooleanProperty;
import javafx.beans.property.SimpleBooleanProperty;
import javafx.beans.property.SimpleStringProperty;
import javafx.geometry.Insets;
import javafx.geometry.Pos;
import javafx.scene.control.*;
import javafx.scene.input.KeyCode;
import javafx.scene.input.KeyCodeCombination;
import javafx.scene.layout.*;
import org.kordamp.ikonli.feather.Feather;
import org.kordamp.ikonli.javafx.FontIcon;
@ -51,6 +53,7 @@ public class OpenFileSystemComp extends SimpleComp {
var refreshBtn = new Button(null, new FontIcon("mdmz-refresh"));
refreshBtn.setOnAction(e -> model.refresh());
Shortcuts.addShortcut(refreshBtn, new KeyCodeCombination(KeyCode.F5));
var terminalBtn = new Button(null, new FontIcon("mdi2c-code-greater-than"));
terminalBtn.setOnAction(e -> model.openTerminalAsync(model.getCurrentPath().get()));
@ -61,6 +64,7 @@ public class OpenFileSystemComp extends SimpleComp {
creatingProperty.set(true);
});
addBtn.disableProperty().bind(PlatformThread.sync(model.getNoDirectory()));
Shortcuts.addShortcut(addBtn, new KeyCodeCombination(KeyCode.PLUS));
var filter = new FileFilterComp(model.getFilter()).createRegion();

View file

@ -292,10 +292,10 @@ final class OpenFileSystemModel {
}
public void back() {
history.back().ifPresent(currentPath::set);
history.back().ifPresent(s -> cd(s));
}
public void forth() {
history.forth().ifPresent(currentPath::set);
history.forth().ifPresent(s -> cd(s));
}
}

14
dist/changelogs/0.5.33.md vendored Normal file
View file

@ -0,0 +1,14 @@
## Changes in 0.5.33
- Fix backward and forward buttons not working in file browser
- Add F5 shortcut to refresh file browser
- Add + shortcut to create a file/directory
- Add automated VirusTotal analysis to download page
## Changes in 0.5.32
- Add file type icons to file browser
- Add shift-select ability to select range of files to file browser
- Fix various file browser bugs
- Improve memory footprint
- Properly update last used time for connections
- Show changelog when prompting for an update installation
- Improve icon semantics in connection overview