Comments (14)
Can you give us a specific example?
from providence.
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.
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.
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.
Yes please.
To be clear, you have 150 metadata elements on a single screen?
from providence.
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.
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.
Ah I see now. We'll look into it as time allows.
from providence.
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.
That configuration editor hasn't changed in a while. I think it's from 1.2.
from providence.
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.
I've just fixed this problem. PR coming soon. It's not pretty, but it works.
from providence.
Great. The whole screen needs a redesign, but that's not likely to happen for a bit.
from providence.
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)
- Install profile: typeRestrictions not being obeyed in placement element HOT 1
- CSRF check failed - measure features HOT 1
- Icon images cannot be deleted? HOT 1
- Viewer Overlay Performance Bugs HOT 1
- IIIF Service Should Allow Client Caching
- [Feature request] Restart unfinished processes on widget HOT 2
- PHP Error in loadExporterByCode() breaks download of object representations files in CA 2.0 HOT 4
- In Firefox, Can't Add Multiple Related Places
- 3rd-Party Tracking Installed by login.css HOT 1
- Quick Add UI's don't show tooltip help text HOT 1
- fsockopen a Weak Choice for IPv6 Environments HOT 1
- Error exporting `.docx` with the default `report_img` configuration HOT 1
- Move simplesaml include from /var/ to its location in /vendor HOT 1
- incorrect labels being set on install HOT 3
- XOAUTH2 SMTP authentication method HOT 1
- IDNO Indexing HOT 3
- Subsequent batch edits in the same task queue run fail HOT 2
- Call to undefined function caLogError() in dev/php8
- Object Representation restrict by type HOT 2
- Set of list_items only shows one in set items list HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from providence.