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 #12272

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

Show a welcome screen if no database is open #12272

tobiasdiez opened this issue Dec 5, 2015 · 38 comments
Labels
good first issue An issue intended for project-newcomers. Varies in difficulty.

Comments

@tobiasdiez
Copy link
Member

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
Member

koppor commented Dec 5, 2015

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

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

@simonharrer
Copy link
Contributor

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
Contributor

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
Member

Or something like this:
intellij

@simonharrer
Copy link
Contributor

👍

@koppor koppor mentioned this issue Aug 19, 2021
3 tasks
@koppor koppor added the good first issue An issue intended for project-newcomers. Varies in difficulty. label Sep 22, 2021
@calixtus
Copy link
Member

@koppor
Copy link
Member

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: https://github.com/koppor/jabref/issues/374)

@calixtus
Copy link
Member

complex.bib from testresources?

@koppor
Copy link
Member

koppor commented Jan 2, 2023

Offered default preferences:

  • I am a "I don't care user" and want all cool features activated
  • I am a pro-user wanting to manage BibTeX files only and thus do not want JabRef to do fancy stuff (reefs Deactivate fulltextsearch as default #9491)

@koppor
Copy link
Member

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
Member 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
Member

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
Member

koppor commented Jan 3, 2023

Also think of the empty database case

However, this is handled at JabRef#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
Member

koppor commented Oct 18, 2023

@u7229988-Rabie Yes, go ahead. Do that what tobias suggested at https://github.com/koppor/jabref/issues/96#issuecomment-1369502257

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
Member 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
Member

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
Member

Note that the most recent version of java is 21.0.1

@Siedlerchr
Copy link
Member

@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
Member

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

@calixtus
Copy link
Member

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
Member

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
Member

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
Member

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
Member

@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
Member

That looks great! Go ahead

@surymishra
Copy link

Hello,

I have read through this issue and was wondering if it is still available to take on. I downloaded JabRef but did not see a welcome screen when I opened the app. I have read the CONTRIBUTING.md file and would love to tackle this feature. I am asking to be assigned due to a university group project.

@ThiloteE
Copy link
Member

ThiloteE commented Oct 9, 2024

As a general advice for newcomers: check out https://github.com/JabRef/jabref/blob/main/CONTRIBUTING.md for a start. Also, https://devdocs.jabref.org/getting-into-the-code/guidelines-for-setting-up-a-local-workspace is worth having a look at. Feel free to ask if you have any questions here on GitHub or also at JabRef's Gitter chat.

Try to open a (draft) pull request early on, so that people can see you are working on the issue and so that they can see the direction the pull request is heading towards. This way, you will likely receive valuable feedback.

@HaynesCrossley-ANU
Copy link

Hello,

I have read through this issue and was wondering if it is still available to take on. I downloaded JabRef but did not see a welcome screen when I opened the app. I have read the CONTRIBUTING.md file and would love to tackle this feature. I am asking to be assigned due to a university group project.

Hi All,

I am working with @surymishra on this issue as part of our university group assignment. We were able to add a welcome screen that loads when no database is open/selected. It dismisses when a tab is open, and if no tabs are open it appears again.

Can I please confirm that this the expected/wanted behaviour? If yes, we will next work on making the welcome screen more useful, like in the suggestions from above comments rather than just text as it is currently.

java_bz5CdK3cMA

@koppor
Copy link
Member

koppor commented Oct 16, 2024

Looks good initally. Seems to fulfill the wish that it is shown if no database is opened.

image

You can submit a pull request so that more persons can comment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue An issue intended for project-newcomers. Varies in difficulty.
Projects
Status: Free to take
Status: Normal priority
Development

No branches or pull requests