Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
frontend
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Jira
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
minerva
frontend
Merge requests
!78
Resolve
MIN-189
"/display general overlays"
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Resolve
MIN-189
"/display general overlays"
MIN-189/display-general-overlays
into
development
Overview
9
Commits
4
Pipelines
10
Changes
51
Merged
Tadeusz Miesiąc
requested to merge
MIN-189/display-general-overlays
into
development
1 year ago
Overview
9
Commits
4
Pipelines
10
Changes
51
Expand
Description
This PR introduces basic overlay functionality.
Things done
render
one
overlay
fetch bioEntities for overlay
fetch configuration (to use default colors later)
get color value based on linear value from configuration
display overlay on
view
click
How it works
fetch bioEntities for overlay
parse them to object containing upper left corner and bottom left corner coordinates + color value - this allow rendering
in
useOlMapOverlaysLayer
bioEntities for current selected map are selected
based on coordinates add rectangle in
getOverlayFeatures
function and set their color
add features to layer
add layer to map
render
Cases not covered
Did not cover case where receiving color in different properties from API - coming in next PR
Things not done
switching overlay off
rendering multiple overlays
testing - I did not test hooks, and store function since there will be few quite big changes in next PR - it would be waste of time
0
0
Merge request reports
Compare
development
version 4
15f9bd3f
1 year ago
version 3
d1862203
1 year ago
version 2
cbaaed64
1 year ago
version 1
373acc01
1 year ago
development (base)
and
latest version
latest version
b2282dfd
4 commits,
1 year ago
version 4
15f9bd3f
3 commits,
1 year ago
version 3
d1862203
3 commits,
1 year ago
version 2
cbaaed64
2 commits,
1 year ago
version 1
373acc01
2 commits,
1 year ago
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
51
Search (e.g. *.vue) (Ctrl+P)
Loading