Re: incubator-netbeans-website, lightbox and issues

2018-02-27 Thread Antonio

Hi,

Thanks again, Neil, these do make a great difference.

https://netbeans.vieiro.net/download/nb90/

Kind regards,
Antonio

On 27/02/18 11:14, Antonio wrote:

Thanks, Neil.

I'll add these changes. You're my hero.

Kind regards,
Antonio

On 27/02/18 10:58, Neil C Smith wrote:

On Tue, 27 Feb 2018 at 07:24 Antonio  wrote:


Ahh, that's the piece I was missing!



But, unfortunately possibly not all of it ...



Maybe that path is worth exploring, Neil, instead of using this ColorBox
plugin.



I think Colorbox would be a good stand in at least for now.  There are 
some

examples of Reveal Lightbox galleries, but I think we'd need to customize
some code, so something to look at later IMO.

The PR is good, but noticed two issues -

* It's not responsive so breaks out of the viewport - IIRC need to 
pass in

maxWidth and maxHeight in the colorbox netbeans.js code - I seem to have
set them both to 98% on old sites I have it on - think 100% caused 
issues.


* There doesn't seem to be a close button?  Maybe need to integrate 
one of

the (other) Colorbox themes?

An old personal site with Colorbox on (with some pictures of a 
NetBeans RCP

app ... really!) -
https://www.digitalprisoners.co.uk/projects/meeting-point/  It's pretty
much using stock theme 3 I think, which is the one that worked best with
mobiles and desktop.  This is an archived Drupal site that's now 
static, so

making sense of the setup is a little awkward!

Best wishes,

Neil




-
To unsubscribe, e-mail: dev-unsubscr...@netbeans.incubator.apache.org
For additional commands, e-mail: dev-h...@netbeans.incubator.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists





Re: incubator-netbeans-website, lightbox and issues

2018-02-27 Thread Antonio

Thanks, Neil.

I'll add these changes. You're my hero.

Kind regards,
Antonio

On 27/02/18 10:58, Neil C Smith wrote:

On Tue, 27 Feb 2018 at 07:24 Antonio  wrote:


Ahh, that's the piece I was missing!



But, unfortunately possibly not all of it ...



Maybe that path is worth exploring, Neil, instead of using this ColorBox
plugin.



I think Colorbox would be a good stand in at least for now.  There are some
examples of Reveal Lightbox galleries, but I think we'd need to customize
some code, so something to look at later IMO.

The PR is good, but noticed two issues -

* It's not responsive so breaks out of the viewport - IIRC need to pass in
maxWidth and maxHeight in the colorbox netbeans.js code - I seem to have
set them both to 98% on old sites I have it on - think 100% caused issues.

* There doesn't seem to be a close button?  Maybe need to integrate one of
the (other) Colorbox themes?

An old personal site with Colorbox on (with some pictures of a NetBeans RCP
app ... really!) -
https://www.digitalprisoners.co.uk/projects/meeting-point/  It's pretty
much using stock theme 3 I think, which is the one that worked best with
mobiles and desktop.  This is an archived Drupal site that's now static, so
making sense of the setup is a little awkward!

Best wishes,

Neil




-
To unsubscribe, e-mail: dev-unsubscr...@netbeans.incubator.apache.org
For additional commands, e-mail: dev-h...@netbeans.incubator.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists





Re: incubator-netbeans-website, lightbox and issues

2018-02-27 Thread Neil C Smith
On Tue, 27 Feb 2018 at 07:24 Antonio  wrote:

> Ahh, that's the piece I was missing!
>

But, unfortunately possibly not all of it ...


> Maybe that path is worth exploring, Neil, instead of using this ColorBox
> plugin.
>

I think Colorbox would be a good stand in at least for now.  There are some
examples of Reveal Lightbox galleries, but I think we'd need to customize
some code, so something to look at later IMO.

The PR is good, but noticed two issues -

* It's not responsive so breaks out of the viewport - IIRC need to pass in
maxWidth and maxHeight in the colorbox netbeans.js code - I seem to have
set them both to 98% on old sites I have it on - think 100% caused issues.

* There doesn't seem to be a close button?  Maybe need to integrate one of
the (other) Colorbox themes?

An old personal site with Colorbox on (with some pictures of a NetBeans RCP
app ... really!) -
https://www.digitalprisoners.co.uk/projects/meeting-point/  It's pretty
much using stock theme 3 I think, which is the one that worked best with
mobiles and desktop.  This is an archived Drupal site that's now static, so
making sense of the setup is a little awkward!

Best wishes,

Neil


-- 
Neil C Smith
Artist & Technologist
www.neilcsmith.net

Praxis LIVE - hybrid visual IDE for creative coding - www.praxislive.org


Re: incubator-netbeans-website, lightbox and issues

2018-02-26 Thread Antonio



On 26/02/18 23:18, Neil C Smith wrote:

There is support for modals in general though which might work for this -
https://foundation.zurb.com/sites/docs/reveal.html


Ahh, that's the piece I was missing!

Maybe that path is worth exploring, Neil, instead of using this ColorBox 
plugin.


If you submit a more sensible PR I'll close the previous one!

Thanks,
Antonio



Best wishes,

Neil



-
To unsubscribe, e-mail: dev-unsubscr...@netbeans.incubator.apache.org
For additional commands, e-mail: dev-h...@netbeans.incubator.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists





Re: incubator-netbeans-website, lightbox and issues

2018-02-26 Thread Antonio

Hi Neil,

D'oh! I'm afraid I'm in the mood or something, I hate having things 
hanging on me. We have now


https://github.com/apache/incubator-netbeans-website/pull/9

with this colorbox stuff. Seems to we working fine
https://netbeans.vieiro.net/download/nb90/ (requires reload).

Anyway feel free to do enhancements or request modifications to the PR 
or discard it completely. I haven't tried with "retina" images yet.


I'm not very good at this Javascript stuff, so for sure there's room for 
improvement there. I just hope I didn't break anything.


Kind regards,
Antonio


On 26/02/18 23:18, Neil C Smith wrote:

Hi,

On Mon, 26 Feb 2018 at 20:54 Antonio  wrote:



http://www.jacklmoore.com/colorbox/

Which is MIT licensed. That could be a good choice. I'll try to
integrate it as transparently as possible, so as not to have to write
any HTML-specifics in the pages.



I was going to have a look at this, but can't for a few days so no problem
if you want to look into it.  I've used Colorbox in the past on a few
client sites, although am using Lightbox2 on my own for now.

However, the one thing I was going to look at first was what Foundation has
out of the box.  I think 5 had a Lightbox that hasn't made it into 6? -
https://foundation.zurb.com/sites/docs/v/5.5.3/components/clearing.html

There is support for modals in general though which might work for this -
https://foundation.zurb.com/sites/docs/reveal.html

Best wishes,

Neil



-
To unsubscribe, e-mail: dev-unsubscr...@netbeans.incubator.apache.org
For additional commands, e-mail: dev-h...@netbeans.incubator.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists





Re: incubator-netbeans-website, lightbox and issues

2018-02-26 Thread Neil C Smith
Hi,

On Mon, 26 Feb 2018 at 20:54 Antonio  wrote:

>
> http://www.jacklmoore.com/colorbox/
>
> Which is MIT licensed. That could be a good choice. I'll try to
> integrate it as transparently as possible, so as not to have to write
> any HTML-specifics in the pages.
>
>
I was going to have a look at this, but can't for a few days so no problem
if you want to look into it.  I've used Colorbox in the past on a few
client sites, although am using Lightbox2 on my own for now.

However, the one thing I was going to look at first was what Foundation has
out of the box.  I think 5 had a Lightbox that hasn't made it into 6? -
https://foundation.zurb.com/sites/docs/v/5.5.3/components/clearing.html

There is support for modals in general though which might work for this -
https://foundation.zurb.com/sites/docs/reveal.html

Best wishes,

Neil
-- 
Neil C Smith
Artist & Technologist
www.neilcsmith.net

Praxis LIVE - hybrid visual IDE for creative coding - www.praxislive.org


Re: AW: incubator-netbeans-website, lightbox and issues

2018-02-26 Thread Antonio

Hi,

So do I: I love removing unrequired dependencies everywhere!

But Foundation 6 requires jQuery, I'm afraid.

Cheers,
Antonio

On 26/02/18 21:57, Christian Lenz wrote:

I would like to reamove jQuery as good as possible, because it is not needed in 
my eyes and my opinion anymore. The Colorbox is a plugin as I understand it 
right for jQuery.


Cheers

Chris

Von: Antonio
Gesendet: Montag, 26. Februar 2018 21:54
An: dev@netbeans.incubator.apache.org
Betreff: Re: incubator-netbeans-website, lightbox and issues



On 26/02/18 21:41, Wade Chandler wrote:



On Feb 26, 2018, at 1:55 PM, Antonio <anto...@vieiro.net> wrote:

Hi all,

I was wondering if anybody is working on the "lightbox" support for the website 
features page, I may have some spare time during the week and may tackle if, if nobody is 
already working on that.


Not I.


I'll take it then. That'd be NETBEANS-429

https://issues.apache.org/jira/browse/NETBEANS-429?jql=project%20%3D%20NETBEANS%20AND%20component%20%3D%20website

By looking at incubator-netbeans-website-cleanup it seems netbeans.org
was using "colorbox"

https://github.com/apache/incubator-netbeans-website-cleanup/blob/master/src/content/features/index.html

http://www.jacklmoore.com/colorbox/

Which is MIT licensed. That could be a good choice. I'll try to
integrate it as transparently as possible, so as not to have to write
any HTML-specifics in the pages.






Also I thought we could open JIRA tickets for the web as well


There are some tickets already there for some bits of the site. Do you see 
them? Those should use the same component to be accurate. But, yes I favor 
issues in Jira to help track them, and give visibility into who is doing what; 
IMO.


We're using the "website" component in JIRA.

https://issues.apache.org/jira/issues/?jql=project%20%3D%20NETBEANS%20AND%20component%20%3D%20website

I'll try to close some of those as things evolve.




, and was wondering if we want git<->JIRA integration in the 
"incubator-netbeans-website" repository, so JIRA issues are related with that 
repository commits.

I don't know if it's possible to connect JIRA to two different repos, but I'd 
be happy to either ask or make a request to INFRA, if you want.


Seems like it does, and it links them by the issue key which contains the 
project code, so it should just work when a repository is added:
https://confluence.atlassian.com/adminjiraserver072/linking-a-bitbucket-or-github-repository-with-jira-828787604.html
 
<https://confluence.atlassian.com/adminjiraserver072/linking-a-bitbucket-or-github-repository-with-jira-828787604.html>


Great news.



They may already be doing this automatically, but can’t hurt to ask.


I chatted with them a while back, it seems all NetBeans repos can be
integrated with JIRA, even different repos.

I just didn't know we had this already set up. These guys at infra do
really rock!

Cheers,
Antonio



Thanks,

Wade


===

Wade Chandler
e: cons...@wadechandler.com
t: @wadechandler
https://www.linkedin.com/in/wade-chandler




-
To unsubscribe, e-mail: dev-unsubscr...@netbeans.incubator.apache.org
For additional commands, e-mail: dev-h...@netbeans.incubator.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists







-
To unsubscribe, e-mail: dev-unsubscr...@netbeans.incubator.apache.org
For additional commands, e-mail: dev-h...@netbeans.incubator.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists





AW: incubator-netbeans-website, lightbox and issues

2018-02-26 Thread Christian Lenz
I would like to reamove jQuery as good as possible, because it is not needed in 
my eyes and my opinion anymore. The Colorbox is a plugin as I understand it 
right for jQuery.


Cheers

Chris

Von: Antonio
Gesendet: Montag, 26. Februar 2018 21:54
An: dev@netbeans.incubator.apache.org
Betreff: Re: incubator-netbeans-website, lightbox and issues



On 26/02/18 21:41, Wade Chandler wrote:
> 
>> On Feb 26, 2018, at 1:55 PM, Antonio <anto...@vieiro.net> wrote:
>>
>> Hi all,
>>
>> I was wondering if anybody is working on the "lightbox" support for the 
>> website features page, I may have some spare time during the week and may 
>> tackle if, if nobody is already working on that.
> 
> Not I.

I'll take it then. That'd be NETBEANS-429

https://issues.apache.org/jira/browse/NETBEANS-429?jql=project%20%3D%20NETBEANS%20AND%20component%20%3D%20website

By looking at incubator-netbeans-website-cleanup it seems netbeans.org 
was using "colorbox"

https://github.com/apache/incubator-netbeans-website-cleanup/blob/master/src/content/features/index.html

http://www.jacklmoore.com/colorbox/

Which is MIT licensed. That could be a good choice. I'll try to 
integrate it as transparently as possible, so as not to have to write 
any HTML-specifics in the pages.


> 
>>
>> Also I thought we could open JIRA tickets for the web as well
> 
> There are some tickets already there for some bits of the site. Do you see 
> them? Those should use the same component to be accurate. But, yes I favor 
> issues in Jira to help track them, and give visibility into who is doing 
> what; IMO.

We're using the "website" component in JIRA.

https://issues.apache.org/jira/issues/?jql=project%20%3D%20NETBEANS%20AND%20component%20%3D%20website

I'll try to close some of those as things evolve.

> 
>> , and was wondering if we want git<->JIRA integration in the 
>> "incubator-netbeans-website" repository, so JIRA issues are related with 
>> that repository commits.
>>
>> I don't know if it's possible to connect JIRA to two different repos, but 
>> I'd be happy to either ask or make a request to INFRA, if you want.
> 
> Seems like it does, and it links them by the issue key which contains the 
> project code, so it should just work when a repository is added:
> https://confluence.atlassian.com/adminjiraserver072/linking-a-bitbucket-or-github-repository-with-jira-828787604.html
>  
> <https://confluence.atlassian.com/adminjiraserver072/linking-a-bitbucket-or-github-repository-with-jira-828787604.html>

Great news.

> 
> They may already be doing this automatically, but can’t hurt to ask.

I chatted with them a while back, it seems all NetBeans repos can be 
integrated with JIRA, even different repos.

I just didn't know we had this already set up. These guys at infra do 
really rock!

Cheers,
Antonio

> 
> Thanks,
> 
> Wade
> 
> 
> ===
> 
> Wade Chandler
> e: cons...@wadechandler.com
> t: @wadechandler
> https://www.linkedin.com/in/wade-chandler
> 
> 

-
To unsubscribe, e-mail: dev-unsubscr...@netbeans.incubator.apache.org
For additional commands, e-mail: dev-h...@netbeans.incubator.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists






Re: incubator-netbeans-website, lightbox and issues

2018-02-26 Thread Wade Chandler

> On Feb 26, 2018, at 1:55 PM, Antonio  wrote:
> 
> Hi all,
> 
> I was wondering if anybody is working on the "lightbox" support for the 
> website features page, I may have some spare time during the week and may 
> tackle if, if nobody is already working on that.

Not I.

> 
> Also I thought we could open JIRA tickets for the web as well

There are some tickets already there for some bits of the site. Do you see 
them? Those should use the same component to be accurate. But, yes I favor 
issues in Jira to help track them, and give visibility into who is doing what; 
IMO.

> , and was wondering if we want git<->JIRA integration in the 
> "incubator-netbeans-website" repository, so JIRA issues are related with that 
> repository commits.
> 
> I don't know if it's possible to connect JIRA to two different repos, but I'd 
> be happy to either ask or make a request to INFRA, if you want.

Seems like it does, and it links them by the issue key which contains the 
project code, so it should just work when a repository is added:
https://confluence.atlassian.com/adminjiraserver072/linking-a-bitbucket-or-github-repository-with-jira-828787604.html
 


They may already be doing this automatically, but can’t hurt to ask.

Thanks,

Wade


===

Wade Chandler
e: cons...@wadechandler.com
t: @wadechandler
https://www.linkedin.com/in/wade-chandler



AW: incubator-netbeans-website, lightbox and issues

2018-02-26 Thread Christian Lenz
What exactly do you mean with lightbox for the Features page?
Please keep in mind, that all pages, should work mobile friendly too BUT only 
that they should looking good to navigate and not to zoom etc.

Please be Aware of this.


Cheers

Chris
Von: Antonio
Gesendet: Montag, 26. Februar 2018 19:56
An: dev@netbeans.incubator.apache.org
Betreff: incubator-netbeans-website, lightbox and issues

Hi all,

I was wondering if anybody is working on the "lightbox" support for the 
website features page, I may have some spare time during the week and 
may tackle if, if nobody is already working on that.

Also I thought we could open JIRA tickets for the web as well, and was 
wondering if we want git<->JIRA integration in the 
"incubator-netbeans-website" repository, so JIRA issues are related with 
that repository commits.

I don't know if it's possible to connect JIRA to two different repos, 
but I'd be happy to either ask or make a request to INFRA, if you want.

Thanks,
Antonio

-
To unsubscribe, e-mail: dev-unsubscr...@netbeans.incubator.apache.org
For additional commands, e-mail: dev-h...@netbeans.incubator.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists






incubator-netbeans-website, lightbox and issues

2018-02-26 Thread Antonio

Hi all,

I was wondering if anybody is working on the "lightbox" support for the 
website features page, I may have some spare time during the week and 
may tackle if, if nobody is already working on that.


Also I thought we could open JIRA tickets for the web as well, and was 
wondering if we want git<->JIRA integration in the 
"incubator-netbeans-website" repository, so JIRA issues are related with 
that repository commits.


I don't know if it's possible to connect JIRA to two different repos, 
but I'd be happy to either ask or make a request to INFRA, if you want.


Thanks,
Antonio

-
To unsubscribe, e-mail: dev-unsubscr...@netbeans.incubator.apache.org
For additional commands, e-mail: dev-h...@netbeans.incubator.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists