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

Finish Introduction tour #2331

Merged
merged 12 commits into from
Jul 27, 2015
Merged

Conversation

ccordoba12
Copy link
Member

This PR adds the missing contents of the Introduction tour.

I decided to create it given that this was @goanpeca's work, so I'd like to know his thoughts about my additions.

@ccordoba12 ccordoba12 changed the title Finish Interactive tutorial [WIP] Finish Interactive tutorial Apr 15, 2015
@ccordoba12 ccordoba12 added this to the v3.0 milestone Apr 15, 2015
@ccordoba12 ccordoba12 self-assigned this Apr 15, 2015
@goanpeca
Copy link
Member

Hey @ccordoba12 thanks for working on this. It looks fine on a quick look, but there is an issue that needs to be solved, maybe the ipython console is not intalled, so we need to include this in the logic of the tours.py

@ccordoba12 ccordoba12 changed the title [WIP] Finish Interactive tutorial [WIP] Finish Introduction tours Apr 16, 2015
@ccordoba12 ccordoba12 changed the title [WIP] Finish Introduction tours [WIP] Finish Introduction tour Apr 16, 2015
"code in this console. This will be useful to show "
"you other important Spyder features." % \
qtconsole_link),
'widgets': [sw.ipython_console],
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will blow if ipython is not installed...

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, we need to verify that ipython_console exists before adding this part to the tour.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ccordoba12 can you please use 'Text {0}'.format(variable) instead of %, I think is better and more flexible.

@goanpeca
Copy link
Member

What should be the default behavior when a widget is not there?
skip it? make it non-selectable? make it like grayed out in the combobox?

Depending on this I can make a PR to correct this, and also include the suggestion of @Nodd of using a dummy dockwidget instead of making it transparent to events (the temporal fix used right now...)

@Nodd
Copy link
Contributor

Nodd commented Apr 20, 2015

It would be bad to skip it completely since the tour is there to show all features of spyder to new users.

Maybe add a warning that the corresponding widget it not active ?

@ccordoba12
Copy link
Member Author

The only plugin that can be missing right now is the IPython console (which is loaded on demand). All other plugins (even the Pylint one) load fine.

But @Nodd has a good point: if the IPython Console is missing, the tour should show a warning and guide the user on how to install it.

@Nodd
Copy link
Contributor

Nodd commented Apr 20, 2015

There is also the case where a panel is not enabled. Is this manager ? (if I remember well, @goanpeca told me it was working, but it was a long time ago)

@goanpeca
Copy link
Member

If the panel is not enabled, it should be a problem... as far as I remember (it will be enabled and brought to the front)

Sure, we can then display a replacement content indicating how to install ipython.

@ccordoba12
Copy link
Member Author

I want to make clear that the purpose of this PR is only to add missing contents to the Introduction tour.

I'm not going to touch the other issues mentioned by @goanpeca and @Nodd to keep things simple :-)

@ccordoba12 ccordoba12 changed the title [WIP] Finish Introduction tour Finish Introduction tour Jul 27, 2015
@ccordoba12
Copy link
Member Author

@goanpeca, this is ready for a review. I added reasonable contents to all the Intro tour slides.

@goanpeca
Copy link
Member

Cool, will test it later on :-)

@ccordoba12
Copy link
Member Author

@goanpeca, I think this is ready for merge too ;-)

@goanpeca
Copy link
Member

Go for it!

@ccordoba12
Copy link
Member Author

Oki doki! ;-)

ccordoba12 added a commit that referenced this pull request Jul 27, 2015
@ccordoba12 ccordoba12 merged commit 4df2722 into spyder-ide:master Jul 27, 2015
@ccordoba12 ccordoba12 deleted the finish-itutorial branch July 27, 2015 21:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants