Ticket #180 (closed enhancement: fixed)

Opened 6 months ago

Last modified 6 months ago

DOM visibility

Reported by: tristan Owned by: fabian@…
Priority: minor Milestone: V2 Final
Component: Calenco UI Version: 2.0
Keywords: javascript Cc:

Description

Each time a page is displayed, the DOM is visible a few seconds

Attachments

calenco_1.png Download (60.4 KB) - added by tristan 6 months ago.

Change History

Changed 6 months ago by tristan

comment:1 Changed 6 months ago by fabian@…

Euh... the only glitch I find is that the 1st (not each) time the workspace list or the workspace is displayed, the page is a bit messy until all dojo UI components are loaded from the Internet and the page arranges itself in the 'final' layout.

If this is what you notice, please let me know so I can close this tkt with 'won't fix', because I cannot do much about network delays and browsers rendering engines...

Thanks.

comment:2 Changed 6 months ago by tristan

Yes that is the problem. One way to solve it is to use an element which contains all the others and which is not visible until others elements are ready to use. A classical example with Dojo is the accordion effect : the element is closed after construction so the user can see it open and then close. To avoid this effect, the solution is to hide the page until all the elements are ready (that's not only a download time problem).

The second way is to construct the DOM from javascript but this is an architecture totally different.

comment:3 Changed 6 months ago by fabian@…

  • Status changed from new to closed
  • Resolution set to fixed

Implemented in svn rev 683. Thanks for your ideas Tristan!

Note: See TracTickets for help on using tickets.