Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show a welcome screen if no database is open #96

Open
tobiasdiez opened this issue Dec 5, 2015 · 34 comments
Open

Show a welcome screen if no database is open #96

tobiasdiez opened this issue Dec 5, 2015 · 34 comments

Comments

@tobiasdiez
Copy link
Collaborator

JabRef looks really naked If no database is opened. Instead one could display a nice picture (of what?) and a message inviting the user to open/create a database.

@koppor
Copy link
Owner

koppor commented Dec 5, 2015

Maybe we can bring back the image of our splash screen somehow (JabRef#89)? The splash screen was liked by some users: JabRef#360

Possibly, an example library should be displayed with some example entries and example groups to show the power of JabRef?

@simonharrer
Copy link

Atom cycles through tips/tricks when no file is opened. This is really nice.

I think we do not need the splash screen again.

@oscargus
Copy link

oscargus commented Dec 6, 2015

Tips and tricks would be very nice! There are so many features of JabRef that people are not aware of (which recent emails clearly have shown).

@matthiasgeiger
Copy link
Collaborator

Or something like this:
intellij

@simonharrer
Copy link

👍

@calixtus
Copy link
Collaborator

@koppor
Copy link
Owner

koppor commented Nov 10, 2022

It should be possible to create an example data base:

For new users, an example lib would be good. It should be named example.bib and showing some features. Maybe a howto. Showing groups etc.

(old issue: #374)

@calixtus
Copy link
Collaborator

complex.bib from testresources?

@koppor
Copy link
Owner

koppor commented Jan 2, 2023

Offered default preferences:

@koppor
Copy link
Owner

koppor commented Jan 2, 2023

Welcome screen if no library is open

(might happen if all libraries are closed and JabRef restarted)

It is not the same, something leightweight (see below)

Is this same-same as walkthrough? No, we remove preferences setting ("full text search", "include telemetry", ... ) after first close.

Welcome walkthrough

Welcome "screen" on first start (after installation) showing features, offering sensible defaults, ...

@tobiasdiez
Copy link
Collaborator Author

Please don't put too much information on the welcome screen. It should help people getting started (first users) or provide shortcuts to the most commonly used features (existing users).

As a datapoint (verified by user research as described in microsoft/vscode#63152), VS code moved from the busy old version

to the more minimal new page
image

I would argue that for us the simple "Open / create library" plus a list of recent libraries is sufficient as well. Maybe add a link to our docs, since our user interface is definitely not as self explanatory as the one of vscode.

For new users, VScode has a nice walkthrough but I don't see us implementing something like this soon (given our manpower, but maybe this would be a nice gsoc project?):

@koppor
Copy link
Owner

koppor commented Jan 3, 2023

With "Welcome screen on first start (after installation)", I meant the "walkthrough" by VS.Code. I had a single page in mind, but a walkthrough is better, because of the different areas we cover. A quick implementation could have it on one page though.

For the walkthrough, we IMHO need experienced JabRef users, to really cover all features.

I move this discussion to another place to focus here on the "welcome screen"

@koppor
Copy link
Owner

koppor commented Jan 3, 2023

Also think of the empty database case

However, this is handled at #384.

grafik

@u7229988-Rabie
Copy link

Hi, I am a first-time contributor, can I be assigned to this issue? I am a university student whose assignment requires me to contribute to open-source projects.

@koppor
Copy link
Owner

koppor commented Oct 18, 2023

@u7229988-Rabie Yes, go ahead. Do that what tobias suggested at #96 (comment)

I would argue that for us the simple "Open / create library" plus a list of recent libraries is sufficient as well. Maybe add a link to our docs, since our user interface is definitely not as self explanatory as the one of vscode.

@u7229988-Rabie
Copy link

@u7229988-Rabie Yes, go ahead. Do that what tobias suggested at #96 (comment)

I would argue that for us the simple "Open / create library" plus a list of recent libraries is sufficient as well. Maybe add a link to our docs, since our user interface is definitely not as self-explanatory as the one of vscode.

Thank you for assigning me this issue.

@u7229988-Rabie
Copy link

Hello, can anyone suggest the design of the welcome page? For Instance, what kind of information do the maintainers want me to add on the welcome screen (anything particular)? I.e, buttons linking to other pages, information regarding Jabref etc.

Thank you.

@tobiasdiez
Copy link
Collaborator Author

Something like this:
210321312-7cb0b0ed-b3d0-49bd-8d1f-3039aeac1fbd

@u7229988-Rabie
Copy link

u7229988-Rabie commented Oct 19, 2023

I am running the latest version of Gradle (8.4). However, I am still getting "Gradle Deprecated problems". The error suggests that I should be using Gradle 9.0. Can anyone please suggest how I can solve this error? I think Gradle 8.4 is the latest Gradle version.

Thank you

image

@calixtus
Copy link
Collaborator

Please use the latest version of java to run jabref as described in the documentation (https://devdocs.jabref.org/getting-into-the-code/guidelines-for-setting-up-a-local-workspace/intellij-12-build.html)

@calixtus
Copy link
Collaborator

Note that the most recent version of java is 21.0.1

@Siedlerchr
Copy link
Collaborator

@calixtus jdk 21 is not yet working with gradle . You need 20

@u7229988-Rabie
Copy link

I have added a Welcome tab screen when the app is opened! As shown in the image below I have only added these 3 functionalities. I have created a new WelcomeTab class for this. This welcome tab only shows if a user's file history is empty. I am still working on the design for the UI, but please let me know if I should submit a PR request for this.

Also, let me know if I should add a particular functionality.

Thank you

image

@Siedlerchr
Copy link
Collaborator

Looks great so far, I would also add a another option to open an existing file.
Go ahead with a PR

@calixtus
Copy link
Collaborator

Can you instead of implementing this as a separate tab do this as the placeholder when no tab is opened? I can help you with this, if you want.

@u7229988-Rabie
Copy link

Hi @calixtus I apologise for replying late. Can you please explain more about your suggestion?

What I have understood is that you want me to put this as a separate window (maybe) or a pop-up on the screen for new users.

@koppor
Copy link
Owner

koppor commented Oct 24, 2023

@u7229988-Rabie I think, what was meant is the follwoing setting:

image

See, no library opened. Blank space. This blank could be filled. According to @calixtus.


Note that VS.Code does not show anything if nothing is opened:

image

VS.Code uses a seprate tab:

image

Mirroring this in JabRef is more difficult than filling the blank area.

@u7229988-Rabie
Copy link

@koppor Okay, now I understand what you want for the welcome page. I have actually implemented it as a welcome tab and for now, it works. I will implement the way you have suggested and update the PR request linked to this issue.

@calixtus
Copy link
Collaborator

The benefit of a placeholder is, that it is always shown, if no other tab is opened, and automatically shown again, if all tabs are closed. And it is not shown on startup, if the user already worked with jabref: then no welcome tab is shown, but instead the last opened files.

@calixtus
Copy link
Collaborator

I'm not sure if a TabPane supports a placeholder by default, bit I think I saw a stackoverflow code snippet some weeks ago doing that.

@u7229988-Rabie
Copy link

I'm not sure if a TabPane supports a placeholder by default, bit I think I saw a stackoverflow code snippet some weeks ago doing that.

Hi, I have changed the WelcomeTab class to a WelcomePage class. I am putting the WelcomePage in a separate placeholder as you suggested. I set the Welcome container in the center of the screen and remove it as soon as tabs are opened. However, I am having some problems where it doesn't remove itself once tabs are opened. Any suggestions?

@calixtus
Copy link
Collaborator

@u7229988-Rabie
Copy link

I have completed the welcome Page class where Welcome Screen only appears if no tabs are open:
image

and once tabs/libraries are open the Screen disappears:
image

Finally, it reapears if all tabs/libraries are closed.

I will update the pull request linked to this issue. Is that okay?

@Siedlerchr
Copy link
Collaborator

That looks great! Go ahead

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

8 participants