Skip to content

Commit 8bd4ff0

Browse files
authored
Merge branch 'main' into task-get-test-of-consistency-check-running-again
2 parents f28d7b5 + 1835b84 commit 8bd4ff0

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+143
-219
lines changed

.jbang/JabSrvLauncher.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
//DEPS info.picocli:picocli:4.7.7
6666
//DEPS org.postgresql:postgresql:42.7.7
6767
//DEPS org.bouncycastle:bcprov-jdk18on:1.81
68-
//DEPS com.konghq:unirest-modules-gson:4.5.0
68+
//DEPS com.konghq:unirest-modules-gson:4.5.1
6969
//DEPS jakarta.ws.rs:jakarta.ws.rs-api:4.0.0
7070
//DEPS org.glassfish.jersey.core:jersey-server:3.1.11
7171
//DEPS org.glassfish.jersey.inject:jersey-hk2:3.1.11
@@ -77,7 +77,7 @@
7777
//DEPS org.glassfish.grizzly:grizzly-framework:4.0.2
7878
//DEPS jakarta.validation:jakarta.validation-api:3.1.1
7979
//DEPS org.hibernate.validator:hibernate-validator:9.0.1.Final
80-
//DEPS com.konghq:unirest-modules-gson:4.5.0
80+
//DEPS com.konghq:unirest-modules-gson:4.5.1
8181
//DEPS com.google.guava:guava:33.4.8-jre
8282
//DEPS org.jabref:afterburner.fx:2.0.0
8383
//DEPS net.harawata:appdirs:1.4.0

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ Note that this project **does not** adhere to [Semantic Versioning](https://semv
120120
- We fixed an issue where "Copy to" was enabled even if no other library was opened. [#13280](https://github.com/JabRef/jabref/pull/13280)
121121
- We fixed an issue where the groups were still displayed after closing all libraries. [#13382](https://github.com/JabRef/jabref/issues/13382)
122122
- Enhanced field selection logic in the Merge Entries dialog when fetching from DOI to prefer valid years and entry types. [#12549](https://github.com/JabRef/jabref/issues/12549)
123+
- We improved consistency in the Add Buttons. [#13791](https://github.com/JabRef/jabref/pull/13791)
123124
- We fixed an issue where theme or font size are not respected for all dialogs [#13558](https://github.com/JabRef/jabref/issues/13558)
124125
- We removed unnecessary spacing and margin in the AutomaticFieldEditor. [#13792](https://github.com/JabRef/jabref/pull/13792)
125126

build-logic/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ repositories {
1010

1111
dependencies {
1212
implementation("com.adarshr:gradle-test-logger-plugin:4.0.0")
13-
implementation("com.autonomousapps:dependency-analysis-gradle-plugin:3.0.0")
13+
implementation("com.autonomousapps:dependency-analysis-gradle-plugin:3.0.1")
1414
implementation("com.github.andygoossens:gradle-modernizer-plugin:1.11.0")
1515
implementation("org.gradlex:extra-java-module-info:1.13")
1616
implementation("org.gradlex:java-module-dependencies:1.9.2")

build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
plugins {
22
id("org.jabref.gradle.base.repositories")
33
id("org.jabref.gradle.feature.compile") // for openrewrite
4-
id("org.openrewrite.rewrite") version "7.14.1"
4+
id("org.openrewrite.rewrite") version "7.15.0"
55
id("org.itsallcode.openfasttrace") version "3.1.0"
66
}
77

88
// OpenRewrite should rewrite all sources
99
// This is the behavior when applied in the root project (https://docs.openrewrite.org/reference/gradle-plugin-configuration#multi-module-gradle-projects)
1010

1111
dependencies {
12-
rewrite(platform("org.openrewrite.recipe:rewrite-recipe-bom:3.13.0"))
12+
rewrite(platform("org.openrewrite.recipe:rewrite-recipe-bom:3.14.0"))
1313
rewrite("org.openrewrite.recipe:rewrite-static-analysis")
1414
rewrite("org.openrewrite.recipe:rewrite-logging-frameworks")
1515
rewrite("org.openrewrite.recipe:rewrite-testing-frameworks")

docs/code-howtos/walkthrough.md

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
---
2+
parent: Code Howtos
3+
---
4+
5+
# Walkthrough
6+
7+
All walkthroughs are written using the internal declarative API (see `org.jabref.gui.walkthrough.declarative`) and are
8+
defined in the `WalkthroughAction` class. Each walkthrough is a linear series of steps, where each step is either a UI
9+
highlight (`VisibleComponent`) or an invisible side effect (`WalkthroughSideEffect`). The walkthroughs are built using a
10+
builder API (`Walkthrough.Builder`). To launch a walkthrough, simply construct a new `WalkthroughAction` and pass the
11+
name of the desired walkthrough.
12+
13+
The `WalkthroughOverlay` renderer takes the output of the declarative API (`Walkthrough`) and renders it for the user.
14+
At a high level, a walkthrough primarily highlights GUI elements (nodes in the scene graph).
15+
16+
The following step types are supported:
17+
18+
## Highlights
19+
20+
1. `Ring`: Shows a small, accent-colored circle in the upper-right corner of the node to be highlighted.
21+
![A blue, semi-transparent circle highlighting the "Preferences" button](../images/ring.png)
22+
2. `Spotlight`: Highlights the node of interest by darkening the rest of the window.
23+
![The "File" menu item highlighted with a spotlight effect](../images/backdrop.png)
24+
3. `FullScreenDarken`: Darkens the entire window, typically to display a panel in the center.
25+
![The entire application window darkened](../images/fullscreen-darken.png)
26+
27+
## Visual Steps
28+
29+
1. `TooltipStep`: Shows a tooltip next to a specified node. This step must be associated with a node to display
30+
correctly.
31+
![A tooltip pointing to "Use Main File Directory"](../images/tooltip.png)
32+
2. `PanelStep`: Shows a panel with rich text and info boxes on the top, left, bottom, or right of the screen.
33+
![A information panel displayed at the top of the screen.](../images/panel-step.png)
34+
35+
## Side Effects
36+
37+
1. `OpenLibrarySideEffect`: Opens a specified example library.
38+
2. `EnsureSearchSettingsSideEffect`: Forces a search preference into a desired state.
39+
40+
All walkthroughs are currently launched from the `Walkthroughs` component, which is located exclusively on the
41+
`WelcomeTab`.
42+
43+
![The "Walkthroughs" section of the Welcome Tab, showing a list of available walkthroughs](../images/walkthroughs.png)
44+
45+
## Quick Settings
46+
47+
Since walkthroughs are only supposed to highlight UI components and guide the user through JabRef, quick settings are
48+
create so as to provide a convenient entry point for the user to edit the common settings like theme, online services,
49+
and main file directory. All the quick settings items are present in the `org.jabref.gui.welcome.components.QuickSettings`
50+
component, which is visible in the `WelcomeTab`.
51+
52+
![The 'Quick Settings' section of the Welcome Tab, showing options for main file directory, theme, online settings, etc](../images/quicksettings.png)

docs/images/backdrop.png

82.2 KB
Loading

docs/images/fullscreen-darken.png

82.4 KB
Loading

docs/images/panel-step.png

74.7 KB
Loading

docs/images/quicksettings.png

110 KB
Loading

docs/images/ring.png

22.4 KB
Loading

0 commit comments

Comments
 (0)