-
Notifications
You must be signed in to change notification settings - Fork 154
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Simplify lazy detail lookup #4140
Comments
reckart
added a commit
that referenced
this issue
Aug 5, 2023
- Remove getLazyDetails() methods that produced the queries - Remove all classes related to the queries - Make lookupLazyDetails produce all the details on the fly when asked for details for a given VID
reckart
added a commit
that referenced
this issue
Aug 5, 2023
- Remove getLazyDetails() methods that produced the queries - Remove all classes related to the queries - Make lookupLazyDetails produce all the details on the fly when asked for details for a given VID
reckart
added a commit
that referenced
this issue
Aug 5, 2023
- Remove getLazyDetails() methods that produced the queries - Remove all classes related to the queries - Make lookupLazyDetails produce all the details on the fly when asked for details for a given VID
reckart
added a commit
that referenced
this issue
Aug 5, 2023
- Remove getLazyDetails() methods that produced the queries - Remove all classes related to the queries - Make lookupLazyDetails produce all the details on the fly when asked for details for a given VID
reckart
added a commit
that referenced
this issue
Aug 5, 2023
- Remove getLazyDetails() methods that produced the queries - Remove all classes related to the queries - Make lookupLazyDetails produce all the details on the fly when asked for details for a given VID
reckart
added a commit
that referenced
this issue
Aug 5, 2023
- Remove getLazyDetails() methods that produced the queries - Remove all classes related to the queries - Make lookupLazyDetails produce all the details on the fly when asked for details for a given VID
reckart
added a commit
that referenced
this issue
Aug 5, 2023
…lify-lazy-detail-lookup #4140 - Simplify lazy detail lookup
reckart
added a commit
that referenced
this issue
Aug 10, 2023
…annotation-editors * main: #4140 - Simplify lazy detail lookup % Conflicts: % inception/inception-api-schema/src/main/java/de/tudarmstadt/ukp/inception/rendering/Renderer.java
reckart
added a commit
that referenced
this issue
Sep 2, 2023
…ing-after-a-longer-pause * main: #4150 - Upgrade dependencies #4155 - Better annotation suggestion IDs #4155 - Better annotation suggestion IDs #4150 - Upgrade dependencies #4150 - Upgrade dependencies #1861 - Add viewport offsets to external recommender #4155 - Better annotation suggestion IDs #4155 - Better annotation suggestion IDs #4139 - Reusable popover component for annotation editors #4139 - Reusable popover component for annotation editors #4139 - Reusable popover component for annotation editors Issue #4148: Switch PDF editor to compact model v2 #4139 - Reusable popover component for annotation editors Issue #4139: Reusable popover component for annotation editors #4140 - Simplify lazy detail lookup Issue #4139: Reusable popover component for annotation editors No issue. Set version to 30.0-SNAPSHOT % Conflicts: % Jenkinsfile % inception/inception-active-learning/src/main/java/de/tudarmstadt/ukp/inception/active/learning/sidebar/ActiveLearningSidebar.java % inception/inception-brat-editor/src/main/ts/src/annotator_ui/ResizeManager.ts
reckart
added a commit
that referenced
this issue
Sep 2, 2023
* main: (94 commits) #4150 - Upgrade dependencies #4155 - Better annotation suggestion IDs #4155 - Better annotation suggestion IDs #4150 - Upgrade dependencies #4150 - Upgrade dependencies #1861 - Add viewport offsets to external recommender #4155 - Better annotation suggestion IDs #4155 - Better annotation suggestion IDs #4139 - Reusable popover component for annotation editors #4139 - Reusable popover component for annotation editors #4139 - Reusable popover component for annotation editors Issue #4148: Switch PDF editor to compact model v2 #4139 - Reusable popover component for annotation editors [maven-release-plugin] prepare for next development iteration [maven-release-plugin] prepare release inception-29.0 #3673 - Update dependencies Issue #4139: Reusable popover component for annotation editors #4140 - Simplify lazy detail lookup Issue #4139: Reusable popover component for annotation editors No issue. Set version to 30.0-SNAPSHOT ... % Conflicts: % inception/inception-diam/pom.xml % inception/inception-docker/src/main/docker/Dockerfile % inception/inception-io-xmi/src/main/resources/META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports % inception/inception-project-export/src/test/java/de/tudarmstadt/ukp/inception/project/export/controller/ExportServiceControllerImplTest.java % inception/inception-recommendation/src/test/java/de/tudarmstadt/ukp/inception/recommendation/footer/RecommendationEventWebsocketControllerImplTest.java % inception/inception-remote/pom.xml % inception/inception-ui-core/src/main/java/de/tudarmstadt/ukp/clarin/webanno/ui/core/page/ApplicationPageBase.java % inception/pom.xml
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the refactoring action
The current lazy details sends a set of queries along with the rendered data. Those queries is then sent back to the server when the user hovers over an annotation. Finally, the result to the queries are rendered in the popover.
It is unnecessary to send the query as part of rendering. It would be sufficient for the server to get a request for lazy details for a given annotation when the user hovers over it and then the server could immediately respond with all the details.
Expected benefit
Smaller render size, less code to maintain.
The text was updated successfully, but these errors were encountered: