-
Notifications
You must be signed in to change notification settings - Fork 109
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
Permanent portal entities #437
Draft
le-jeu
wants to merge
40
commits into
IITC-CE:master
Choose a base branch
from
le-jeu:update_marker
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from all commits
Commits
Show all changes
40 commits
Select commit
Hold shift + click to select a range
2a64ff6
update portal marker instead of delete/create
le-jeu 951148b
add PortalMarker class
le-jeu 2f80172
small factor
le-jeu 442ad3e
handle style inside portal class
le-jeu ac01aea
test if portal has details
le-jeu 4e1eed0
use portal entity marker to get details
le-jeu cc90284
add details getter
le-jeu ffee660
merge data/details in a single object
le-jeu 94fda6f
move portal marker hook
le-jeu 69d4d8f
marker store selected
le-jeu 6ae8eaf
handle portal location edit
le-jeu 83acc21
move renderPortalDetails call to marker mechanism
le-jeu 38c28c9
implement new portal data check in marker
le-jeu e329408
set marker style once
le-jeu ae46d7a
highlighter may return the applied style
le-jeu eae4ed6
add event name to portalSelected hook
le-jeu e8a144f
remove portalMarker.reset
le-jeu a24f110
render portal base on portal marker details
le-jeu 68443e8
add portal health function
le-jeu fb4ef1e
use portal detail cache on new portal entities
le-jeu 2bf85b0
remove obsolete data from portal details cache
le-jeu eb9344a
placeholder: use timestamp from link/field
le-jeu bcce300
fixup 97ed9a7fd46fab7bcd2a3f2234e75df7dbb05cc6
le-jeu b0f9a57
portalmarker: init select state
le-jeu 9303425
render details on new selected portal entity
le-jeu c053363
fix: use this._details
le-jeu 78e5ef0
better placeholder handling
le-jeu 9c0bf28
render details: select if forced or not selected
le-jeu 5e61254
handle missing history
le-jeu 91215e2
keep portals attached to visible links/fields
le-jeu 0840652
Revert "keep portals attached to visible links/fields"
le-jeu 3066487
dont recreate markers when outside view
le-jeu 1b13892
marker: update all data available
le-jeu 009567c
portal edits change the timestamp
le-jeu f13ff25
apply to all placeholders
le-jeu 3fda197
move portal style as statics of L.PortalMarker
le-jeu 38bfdb7
portal location edit changes the timestamp
le-jeu e62410f
add comment #1
le-jeu 8a4e4cf
fixup! placeholder: use timestamp from link/field
le-jeu cbd43a1
lint
le-jeu File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the hook is misleading now since the marker is the same marker. Only the data changed.
In this case, we are closer to the
portalDetailLoaded
but with eventually no details (i.e. from core to summary/extended)There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But that was expected, that's why
previousData
provided. I suppose we should leave it as it.May be we should add some property to denote placeholders.
But we can revise that from scratch when implementing #217.