librelist archives

« back to archive

Let's start developing Shoes 4 manual.

Let's start developing Shoes 4 manual.

From:
ashbb
Date:
2012-12-28 @ 13:48
Hi all,

In order to release Shoes 4 next year, let's start developing built-in
manual.

I've uploaded the commit porting built-in manual from Purple Shoes.

https://github.com/shoes/shoes4/commit/a6e41477669e7aa244f2a7aa6017391decd31cd2

So, please try out sample99.rb and let us know new issues you found. ;-)

To-do list for now:

- update whole contents (descriptions, snippets and snapshots)
- rewrite Classes List
- run code highlighter
- make html manual

Cheers,
ashbb

Re: [shoes] Let's start developing Shoes 4 manual.

From:
Davor
Date:
2012-12-29 @ 04:47
Hey Ash!

Good work! I couldn't get it to run before I added a hpricot dependency 
to the gemfile.

The manual is quite slow. After clicking on a link it took more a couple 
of seconds before any content actually showed up. I first thought that I 
had misclicked so I clicked the link a couple of more times and that 
sort of froze up the program.

Scrolling is a bit weird, since it scrolls in large increments through 
the content. At least on OS X.

Clicking on "to_html" produces a crash to desktop with the following 
message https://gist.github.com/89630f65458a65ebf0b8

The slow speed is the biggest issue. I'm not sure if this is due to 
shoes4 or the app itself. Is it much faster under Purple Shoes?
-- 
Davor Babic
davor@davor.se


ashbb wrote:
> Hi all,
>
> In order to release Shoes 4 next year, let's start developing built-in
> manual.
>
> I've uploaded the commit porting built-in manual from Purple Shoes.
>
> https://github.com/shoes/shoes4/commit/a6e41477669e7aa244f2a7aa6017391decd31cd2
>
> So, please try out sample99.rb and let us know new issues you found. ;-)
>
> To-do list for now:
>
> - update whole contents (descriptions, snippets and snapshots)
> - rewrite Classes List
> - run code highlighter
> - make html manual
>
> Cheers,
> ashbb

Re: [shoes] Let's start developing Shoes 4 manual.

From:
ashbb
Date:
2012-12-29 @ 09:51
Hi Davor,

Thanks for trying out sample99.rb with Shoes 4. :)

> I couldn't get it to run before I added a hpricot dependency
> to the gemfile.
Oh, sorry, I forgot to do so.
But Tobi said on github "We should probably step away from hpricot to
nokogiri since hpricot is dead."

https://github.com/shoes/shoes4/issues/175

> Scrolling is a bit weird, since it scrolls in large increments
> through the content.
Yes, this is a problem.
If once minimize a window and reopen the window, the scroll bar will be the
correct size. But I'm not sure why...

> The manual is quite slow. ... Is it much faster under Purple Shoes?
Umm,...
On Windows, it's not very fast but not very slow. It's the same as Purple
Shoes.

But,.. I realized the weird behavior: It fails to respond to clicking the
link right after opening the new page. If once after moving the scroll bar,
it responds to clicking the link.
I'm not sure why. This weird behavior happens only on Shoes 4, not on
Purple Shoes.

> Clicking on "to_html" produces a crash
Yeah, not implemented yet. This is on the to-do list for now. ;-)

Regards,
ashbb

Re: [shoes] Let's start developing Shoes 4 manual.

From:
Tobias Pfeiffer
Date:
2012-12-29 @ 12:19
On 12/29/2012 10:51 AM, ashbb wrote:
> > I couldn't get it to run before I added a hpricot dependency
> > to the gemfile.
> Oh, sorry, I forgot to do so.
> But Tobi said on github "We should probably step away from hpricot to 
> nokogiri since hpricot is dead."
>
> https://github.com/shoes/shoes4/issues/175
>
Yep but there is said to be an hpricot like API in nokogiri. We should 
open an issue for that.
> > Clicking on "to_html" produces a crash
> Yeah, not implemented yet. This is on the to-do list for now. ;-)
Okidoke good to know :-) Smells like another issue.

I think I'll go and open the 2 of them.

Cheers,
Tobi