Giter Site home page Giter Site logo

Comments (14)

collectiveaccess avatar collectiveaccess commented on July 28, 2024

Can you give us a specific example?

from providence.

yellowDave avatar yellowDave commented on July 28, 2024

Unfortunately we don't have a public access to this CA, anyway our workaround is to comment out line 116:
$vs_buf .= caGetTooltipJS(TooltipManager::$opa_tooltips[$ps_namespace], $vs_class);
In /app/lib/ca/TooltipManager.php

We will provide more info if you need them.

Thanks,
Dave

from providence.

collectiveaccess avatar collectiveaccess commented on July 28, 2024

Can you give us details about the context in which it gets slow? How is the screen set up, how many elements on the screen, how much metadata is in each element, etc? For most users removing tooltips is a non-starter.

from providence.

yellowDave avatar yellowDave commented on July 28, 2024

Actually the problem seems to appear when there are more then 150 metadata available, we can send you our CA profile, can be useful?

Dave

from providence.

collectiveaccess avatar collectiveaccess commented on July 28, 2024

Yes please.

To be clear, you have 150 metadata elements on a single screen?

from providence.

yellowDave avatar yellowDave commented on July 28, 2024

Not really on a single screen but available in the user interfaces where there is the metadata elements list. I can't send you the profile in this moment but we have many different CA 1.5.1 installation with different profiles having the same problem - with 195 metadata element and the browser (Chrome or Firefox) freeze waiting for the script termination. We really need to fix it.

Thanks,
Dave

from providence.

leftclickben avatar leftclickben commented on July 28, 2024

Dave is referring to the UI Screen Editor. We have also noticed that this is very slow. The page loads from the server fine, but the javascript on the page, in particular the drag-and-drop metadata placement widget, is causing a long delay. We haven't had it crash the browser yet but it seems a logical eventual result with more and more metadata elements.

from providence.

collectiveaccess avatar collectiveaccess commented on July 28, 2024

Ah I see now. We'll look into it as time allows.

from providence.

yellowDave avatar yellowDave commented on July 28, 2024

Thanks Ben! You got the problem! Do you know if it's only on 1.5.1 or also in 1.5/1.4?

Dave

from providence.

collectiveaccess avatar collectiveaccess commented on July 28, 2024

That configuration editor hasn't changed in a while. I think it's from 1.2.

from providence.

kehh avatar kehh commented on July 28, 2024

Yup it's been pretty slow with lots of metadata elements from around 1.3.
I've taken to doing most of my profile development using PHPStorm and it's
great XML editor which derives a whole load of rules for the file using
profile.xsd. It also means you can copy/paste and use other IDE features on
the file.

On Thu, 1 Oct 2015 at 21:13 CollectiveAccess [email protected]
wrote:

That configuration editor hasn't changed in a while. I think it's from
1.2.


Reply to this email directly or view it on GitHub
#224 (comment)
.

from providence.

leftclickben avatar leftclickben commented on July 28, 2024

I've just fixed this problem. PR coming soon. It's not pretty, but it works.

from providence.

collectiveaccess avatar collectiveaccess commented on July 28, 2024

Great. The whole screen needs a redesign, but that's not likely to happen for a bit.

from providence.

leftclickben avatar leftclickben commented on July 28, 2024

Yeah this is only a few lines changed, so that the settingsForm (which is the form inside the popup) doesn't get inserted into the DOM until the user clicks the button to display it. The page renders much faster now :-)

from providence.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.