You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ponymail.apache.org by sebb <se...@gmail.com> on 2016/10/28 17:09:44 UTC

Coffee and cake branch

I have been having a look at the coffee files.
They now build OK on my system and generate the same output as before.

However I cannot work out how the generated Javascript is supposed to be used.
The HTML files still invoke ponymail.js

I tried renaming ponymail-coffee.js as ponymail.js.
However the HTML files call entry points which don't exist in
ponymail-coffee.js.

How are the coffee files supposed to work?
I would have expected the generate Javascript to be a drop-in replacement.
But that's not the case at present.

Re: Coffee and cake branch

Posted by sebb <se...@gmail.com>.
On 28 October 2016 at 18:46, Daniel Gruno <hu...@apache.org> wrote:
> On 10/28/2016 07:45 PM, sebb wrote:
>> On 28 October 2016 at 18:17, Daniel Gruno <hu...@apache.org> wrote:
>>> On 10/28/2016 07:09 PM, sebb wrote:
>>>> I have been having a look at the coffee files.
>>>> They now build OK on my system and generate the same output as before.
>>>>
>>>> However I cannot work out how the generated Javascript is supposed to be used.
>>>> The HTML files still invoke ponymail.js
>>>>
>>>> I tried renaming ponymail-coffee.js as ponymail.js.
>>>> However the HTML files call entry points which don't exist in
>>>> ponymail-coffee.js.
>>>>
>>>> How are the coffee files supposed to work?
>>>> I would have expected the generate Javascript to be a drop-in replacement.
>>>> But that's not the case at present.
>>>>
>>> there should be a list2.html which correctly uses the new JS. I didn't
>>> want to break the old system right away, so I made a new list html page
>>> for testing.
>>
>> I see.
>>
>> However that is not integrated with anything else; it only seems to
>> work on its own.
>>
>
> yes, it's a work in progress, not really much else apart from the bsic
> list view right now.

Would it not make sense to replace list.html with list2.html?
That would at least make it easier to test it situ.

Likewise when work has progressed sufficiently on other pages.

Since the work is in a separate branch it's easy enough to compare
with the existing code.

> I had hoped to work more on it this month,
> but...meh, dayjob...
>
> Hopefully I'll have more time in November
>
> With regards,
> Daniel
>

Re: Coffee and cake branch

Posted by Daniel Gruno <hu...@apache.org>.
On 10/28/2016 07:45 PM, sebb wrote:
> On 28 October 2016 at 18:17, Daniel Gruno <hu...@apache.org> wrote:
>> On 10/28/2016 07:09 PM, sebb wrote:
>>> I have been having a look at the coffee files.
>>> They now build OK on my system and generate the same output as before.
>>>
>>> However I cannot work out how the generated Javascript is supposed to be used.
>>> The HTML files still invoke ponymail.js
>>>
>>> I tried renaming ponymail-coffee.js as ponymail.js.
>>> However the HTML files call entry points which don't exist in
>>> ponymail-coffee.js.
>>>
>>> How are the coffee files supposed to work?
>>> I would have expected the generate Javascript to be a drop-in replacement.
>>> But that's not the case at present.
>>>
>> there should be a list2.html which correctly uses the new JS. I didn't
>> want to break the old system right away, so I made a new list html page
>> for testing.
> 
> I see.
> 
> However that is not integrated with anything else; it only seems to
> work on its own.
> 

yes, it's a work in progress, not really much else apart from the bsic
list view right now. I had hoped to work more on it this month,
but...meh, dayjob...

Hopefully I'll have more time in November

With regards,
Daniel


Re: Coffee and cake branch

Posted by sebb <se...@gmail.com>.
On 28 October 2016 at 18:17, Daniel Gruno <hu...@apache.org> wrote:
> On 10/28/2016 07:09 PM, sebb wrote:
>> I have been having a look at the coffee files.
>> They now build OK on my system and generate the same output as before.
>>
>> However I cannot work out how the generated Javascript is supposed to be used.
>> The HTML files still invoke ponymail.js
>>
>> I tried renaming ponymail-coffee.js as ponymail.js.
>> However the HTML files call entry points which don't exist in
>> ponymail-coffee.js.
>>
>> How are the coffee files supposed to work?
>> I would have expected the generate Javascript to be a drop-in replacement.
>> But that's not the case at present.
>>
> there should be a list2.html which correctly uses the new JS. I didn't
> want to break the old system right away, so I made a new list html page
> for testing.

I see.

However that is not integrated with anything else; it only seems to
work on its own.

Re: Coffee and cake branch

Posted by Daniel Gruno <hu...@apache.org>.
On 10/28/2016 07:09 PM, sebb wrote:
> I have been having a look at the coffee files.
> They now build OK on my system and generate the same output as before.
> 
> However I cannot work out how the generated Javascript is supposed to be used.
> The HTML files still invoke ponymail.js
> 
> I tried renaming ponymail-coffee.js as ponymail.js.
> However the HTML files call entry points which don't exist in
> ponymail-coffee.js.
> 
> How are the coffee files supposed to work?
> I would have expected the generate Javascript to be a drop-in replacement.
> But that's not the case at present.
> 
there should be a list2.html which correctly uses the new JS. I didn't
want to break the old system right away, so I made a new list html page
for testing.