Wednesday, October 31, 2007

Control panel is done. New editor

Hi,
I have done the control panel (almost). A few features are remaining to be fixed and added:
1. Add spellchecker
2. Check how the print works
3. Change the default text style for editor
4. If no node is selected the Save button should not worked.
5. The Refresh node button
The last screenshot:


Bye
Time spent: 2,5 hours

Tuesday, October 30, 2007

To be continued...

Hi,
All the last bugs were fixed, hurrah!!!
There were:
1. DropDown and ContextMenu in Safari (thanks to Jack Hermanto)
2. Scrolling plus wrong appearance of edit text box (when you try to edit or add some node)

Time spent: 1,5 hours

Illness and troubles

Hi all,
these days I'm ill (bad pain in my throat and snivel) but I'm trying to work anyway.
The main task was to make over the control panel to it works in Safari. But there I confronted with sudden trouble - it turns out that NlsTree has bug and it can't have drop&down feature and context menu simeltaneously. I have spent about 3 hours to understand what's the problem and then I wrote to AddObjects and asked them to fix this bug. Today I have fix from Jack!
The one more problem is concerned with tree's size. It turns out that the tree sizes don't change and cause the useless scroll bar:



I think the solution is using the dojo panel just for tree.

Time spent (for these days): 6 hours

Friday, October 26, 2007

A few features more

Hi all,
Today I have done a few simple but important things:
1. Fixed some bugs with styles
2. Back and Forward buttons
3. After doc opening the first node content is shown.
There is a new screenshot:Bye,
Time spent: 2,5 hours

Thursday, October 25, 2007

A few bugs are fixed

Hi all,
I have fixed a few bugs:
1. Title - now the window has title that is project's name
2. MoveTo in IE... I just catch the exception because it seems to me there is security problem that can not be solved.
3. I excluded yje link to the prototype,js file adding my own XMLHttpRequest request in my code. Maybe it's not very nice solution but just now I jave no time to write code of dynamic loading of scripts.
4. Bug with scrolling was fixed
Bye

Time spent: 2,5 hours

Wednesday, October 24, 2007

A lot of problem was solved but a bulk of them remains...

Hi all,
These day I have spent enormous amount of time trying to avoid of using of frame. But I failed. Because in that case I should to create all the elements dynamically that can be very difficulty and unreliable.
The last prolems solved:
1. Opening and clisong window
2. Cross browsernity
3. Different bugs
I have these troubles now:
1. MoveTo doesn't work in IE
2. I sjould avoid using link to prototypr.js in user's code.
3. Window's title should be name of the project.
4. Bug with scrolling on Safari

That's what my doc frame look like to:

Bye,
Time spent: (24 hours)

Sunday, October 21, 2007

Split panels - yes!

Hi all,
I had very difficult work but very interesting experimenting with Dojo's split panels (http://www.dojotoolkit.org/). At first I had problems because panels didn't want to be splitted and locally without getting data from Internet. Then then didn't wanted to have 100% height. To solve this problem I take the example page from dojo's site, delete all the unnecessary content and insert the residual code into my page. Finally I got the perfect working page!!! With splitters and 100%- height and width!
I have done the following thinhs for these days:
1. Generation of code
2. Opening the doc as separate window, current window and as block.
3. Button for closing the doc
4. Splitted panels working well
5. Compatibility with IE6, IE7, Opera, FireFox and Safari! And (maybe with K-meleon and Netscape)

The nearest task are:
1. To load tree and content into splitted panels
2. Showing the content correspondingly the clicked link in the tree
3. Navigation - "back" and "forward" buttons
4. Printing the current content page
5. To get rid of the using of IFrame

Bye
Time spent (for these days): 7 hours

Friday, October 19, 2007

Links and windows

Hi all,
tha last deals were creating of new links and appropriate windows that will occured on the user'd screen.
The main troubles now are:
1. Dragging of doc when it's block
2. Very slow loading of content! It's really awful and disturbing.
As soon as I do the dragging I will show screenshots...
Bye
Time spent (these days): 11 hours

Monday, October 15, 2007

Generating links

Hi all,
I had no time to do this work for a few days... It's a pity, but now I'm commisioned now. And now my task is to generate links devending of view properties of showing doc. For example, if some doc should be shoved in a separate window with 2 frames, we should get the one code, if this doc is showing as a block on a page - another one.
Yesterday I had spent about 1,5 hours to find some library that allows me to show contents as splitted blocks and one free library is Dojo. I have spent about 1,5 hours more to provide the appropriate code.
Time spent (for these days): 6 hours

Thursday, October 11, 2007

Saving the view parameters

Hi all,
Finally I made the form save data into database. Now user can set up the display parameters on the future doc: how many frames does it have and how will be it displayes and more.
Time spent: 0,5 hours

Tuesday, October 9, 2007

General settings again

Hi all,
Two last days I spent to the general settings. And I can't say that all the things work well yet...
Moreover 2 troubles arrived:
1. It turns out that Control Panel is ugly in IE6. I think I will work over the panel.
2. I have the potential problem with non-english symbols. I don't know if this problem is on live server...
Time spent (for 2 days): 5,5 hours

Monday, October 8, 2007

General settings page

Hi,
Today I have added the generak settings page. But I have not develope the code to provide an access to the database, only the layout:

Time spent: 2 hours

Sunday, October 7, 2007

Appearance v.1 is done!

Hi all!
Today I have done the first version of my appearance settings page. Now an user can set up not only fonts and color but icons too. Just now you can change icons for root node, normal, selected normal and normal and selected parent ones. You can select from predefined list or input web-address and preview it just now!
Time spent: 5 hours
Bye!

Saturday, October 6, 2007

For 2 days

Yesterday I had no strength to write diary so I do that today. That's what I have done for this time:
1. Fixed bugs with saving of styles
2. Now an user can set up the appearance of tree fully! See image:



3. Separate the appearance page into 2 tabs - Appearance and icons:
4.Created a new table for icon settings, saved data into database (although this process is with bugs that I will fix tomorrow).
Bye
Time spent (yesterday): 4 hours
Time spent (today): 6,5 hours

Thursday, October 4, 2007

Saving data and colors block

Hi,
today I have took about 4 hours to provide optimal saving data to the server from Appearance page. I had to save values of 60 controls! I'm interested, how fast it will work on remote server...
More, I have added the color block to the page. To be true, for one button only. It looks nice, especially in Safari:


Bye!
Time spent: 6 hours

Wednesday, October 3, 2007

Styles settings page

Hi,
today I have done the new page - styles settings where user can set up all the settings how he wants the tree to look. I have just made settings for node itself without icons. Here is the page looks:

Not too much and not to nise, I agree... but it's only sketch actually.
Of course, I have developed data changes with database in asyncronous mode.
One more trouble appears: my control page doesn't work in Safari! I should fix it later.
Time spent: 6 hours
Bye

Tuesday, October 2, 2007

Really hard day...

Hi all
It was really hard day - because I tryed to use tinyMCE and I had big problems with data. I think it was because I used tynyMCE and prototype library together and they as it turned out, are not good friends. It first I had problems with viewing of toolbar. It looks well in IE7 and Opera but bad in FF. Then I had problems with getting data - something was wrong, to be true, I didn't what exactly. Then the troubles began with saving data. In short, after 5 (!) hours of fighting I decided to return to the first variant.
After that, I have fixed the big bug with moving of nodes.
And I began to make the interface for styles settings. I have created table, file of handler and interface file. Moreover, I have made some refactoring of code (and then fixed its consequences).
Time spent: 8,5 hours

Monday, October 1, 2007

Routine

I have done some tasks:
1. Move up, move down
.... that's all...
Good luck
Time spent: 1,5 hours