208 Commits

Author SHA1 Message Date
Stefan Breunig
1de0e166e0 Merge pull request #99 from cmrn/transparent-sidebar
Transparent sidebar, like the chat box (patch by cmrn)
2013-02-11 02:45:13 -08:00
Stefan Breunig
64bf9e1f70 this patch fixes several issues:
fix #103 by always re-rendering resonator details.
  A follow-up patch could also avoid re-rendering resos if they did not
  change. Given that there are only a few on these high zoom levels, perf
  improvement might be negligible though.
- fix #91. This avoids drawing portals/links/fields again if they are
  hidden. The patch looks for those hidden entities and either removes
  them before re-drawing (portals) or skips re-drawing altogether:
- Fields and Links are assumed to never change as long as their GUID is
  the same. This avoids deleting and re-creating links/fields all the
  time and might improve speed. Haven’t tested though.
2013-02-11 11:30:56 +01:00
Stefan Breunig
781ee0dd3b be less verbose about sidebar updates 2013-02-11 11:29:17 +01:00
Cameron Moon
74be29ea29 Made the sidebar transparent like the chat box 2013-02-11 12:33:44 +11:00
Stefan Breunig
c5d2366cf7 leaflet zoom buttons would be at wrong location after shrinking chat again 2013-02-11 00:23:15 +01:00
Stefan Breunig
71fa7eb656 Merge pull request #81 from cmrn/collapsable-sidebar
Collapsable sidebar (patch by cmrn)
2013-02-10 15:20:15 -08:00
Cameron Moon
0ac05647df merged upstream changes 2013-02-11 10:06:40 +11:00
Stefan Breunig
210cbbfcc5 increase max size for portals, otherwise unclaimed ones are really hard to see 2013-02-11 00:05:12 +01:00
Stefan Breunig
e92a9e13b1 add permalink feature 2013-02-10 23:49:01 +01:00
Cameron Moon
9c56d64447 Made toggle arrow longer & removed unneeded DOM manipulations 2013-02-11 09:42:18 +11:00
Stefan Breunig
1bbbe05a86 add hooks framework and add hook for portal added (fixes #87) 2013-02-10 23:07:33 +01:00
Stefan Breunig
d0df5b84a3 probably fix #90 2013-02-10 22:30:24 +01:00
Stefan Breunig
0bd102e823 avoid rendering portal details for hidden portals. They do not get updated and thus outdated info might be shown. 2013-02-10 21:13:17 +01:00
Stefan Breunig
8c7e63a7f8 don’t remove & re-render portals if nothing changed for them. 2013-02-10 20:50:31 +01:00
Stefan Breunig
2dc8714a63 Merge pull request #84 from scrool/clipboard_friendly_chat
Use invisible formatting for clipboard copy-paste
2013-02-10 11:06:52 -08:00
Stefan Breunig
1816e153f6 fix #85 2013-02-10 20:05:46 +01:00
Stefan Breunig
a6ae188548 size portals by their level. Slightly modified patch by OshiHidra. Fixes #24, #29 2013-02-10 19:45:25 +01:00
Stefan Breunig
fb656a4982 Merge pull request #78 from Xelio/patch-map-resonator
draw resonators for each portal on map for high zoom levels (17+). Patch by Xelio.
2013-02-10 10:26:52 -08:00
Pavol Babincak
c66bc0f171 Hide elements used only for clipboard & removed unused selector 2013-02-10 19:22:35 +01:00
Xelio
7b7f229ac5 Change resonators render min zoom level and radius
Change:
Resonators render minimum zoom level 16 -> 17
Resonators render radius 4 -> 3
Some cleanup and performance tuning
2013-02-11 02:22:35 +08:00
Xelio
36aabc3216 Comment correction
Correct comment of "portalResonatorGuid"
2013-02-10 22:58:08 +08:00
Xelio
370f34a793 Change guid format of resonator
Change:
Guid format of resonator change to following,
[portal guid]-resonator-[slot]

Some code cleanup
2013-02-10 22:52:11 +08:00
Pavol Babincak
0cfb86eff0 Use invisible formatting for clipboard copy-paste
When text is copied from browser it looks like "00:00 <nick> text."
Firefox adds new lines between records. It would be good to get rid of
it.
2013-02-10 15:44:28 +01:00
Xelio
6936ef1d05 Resonators deletion of zoom level move
Change:
Move resonators deletion to 'zoomend' event of map.
Some clean up of code.
2013-02-10 22:23:01 +08:00
Xelio
f781c6ebd4 Resonators deletion of portal move
Move Resonators deletion to 'remove' event of portal
2013-02-10 21:14:54 +08:00
Stefan Breunig
63bdff0eb9 fix 'report issue' for places with single or double quotes in their names. Fixes #68 2013-02-10 14:08:35 +01:00
Xelio
444bcce988 Code cleanup and minor change
Change:
Code cleanup
Loop over all portalsLayers when delete resonator
2013-02-10 20:58:15 +08:00
Cameron Moon
2647d58e60 Added toggle to collapse sidebar (without old code this time) 2013-02-10 23:03:10 +11:00
Cameron Moon
79b1f2b840 Revert "Added toggle to collapse sidebar" due to old code in commit
This reverts commit 9440e432de91816b5c7d72ea4e12038f88e87bed.
2013-02-10 22:56:53 +11:00
Cameron Moon
9440e432de Added toggle to collapse sidebar 2013-02-10 22:51:54 +11:00
Stefan Breunig
d5285ca26c fix fields not being cleared from the map if they weren’t used for field counting 2013-02-10 09:51:02 +01:00
Xelio
eecec0b4a4 Move resonator layer back to layerGroup "portalsLayers",
to make it work with portal level filter.
And modify cleanup code to work with this change.
2013-02-10 16:06:13 +08:00
Stefan Breunig
f2400d1f8b fix #79 and part of #39 2013-02-10 09:02:08 +01:00
Xelio
c34d7ee3a2 Resonator on map
Change:
Add "RESONATOR_DISPLAY_ZOOM_LEVEL" to control minimum zoom level resonator will display
Add layerGroup "resonatorsLayers" to draw resonators on it.
Add "window.resonators" to store references to resonators on map

Resonator will have guid of portal with ".11" or ".12" replaced with ".r0"~".r7"
Add function "window.renderResontor" to draw resonators (use sorgo's code [sorgo](https://github.com/sorgo))
"window.renderPortal" will call "window.renderResontor" before add portal to portalsLayers
Change "window.removeByGuid" to handle resonators
Change "window.cleanUp" to handle resonators cleanup
2013-02-10 14:12:26 +08:00
Stefan Breunig
fc58676b7f place fields counter somewhere else so it doesn’t reorder the whole detail table 2013-02-10 00:29:47 +01:00
Stefan Breunig
53ff334fe1 move getTypeByGuid to utils_misc.js and clean it up a little 2013-02-10 00:26:27 +01:00
Stefan Breunig
5762b8cb79 Merge branch 'pr' of git://github.com/phoenixsong6/ingress-intel-total-conversion into phoenixsong6-pr 2013-02-10 00:24:43 +01:00
Stefan Breunig
eb74f55f95 Merge branch 'gh-pages' of github.com:breunigs/ingress-intel-total-conversion into gh-pages 2013-02-10 00:21:47 +01:00
Stefan Breunig
5bbb764133 resonators are now roughly ordered by their octant (fixes #35)
N    NE
     NW    E
      W    SE
     SW    S
2013-02-10 00:20:45 +01:00
Eashwar Ranganathan
dc4cea2ed7 Display control field count 2013-02-09 15:13:58 -08:00
Pavol Babincak
904be9b5b1 Display current energy for whole portal 2013-02-09 17:42:01 +01:00
Stefan Breunig
c9045aa988 handle load fails better 2013-02-09 15:19:41 +01:00
Stefan Breunig
db5747fb73 only pull in data from GitHub pages to reduce risk of being down. 2013-02-09 15:06:48 +01:00
Stefan Breunig
6b19e79e07 add plugin basics and fix #31 by providing it as plugin 2013-02-09 13:52:10 +01:00
Stefan Breunig
b9ec6328f8 color portal mods by their rare-ness. Patch by @OshiHidra. Fixes #28. 2013-02-09 11:42:17 +01:00
Jakub Ludwig
c9e2701890 AP for destroying portal
Calculate AP gained from destroyed resonators + link
TODO: fields :)
2013-02-09 11:10:53 +01:00
Stefan Breunig
d09e59049c Merge pull request #54 from Xelio/patch-resonator-pct
Add resonator energy% to resonator detai
2013-02-08 10:56:46 -08:00
Stefan Breunig
a8f76ebb5b make nick highlighting not depend on case 2013-02-08 19:54:29 +01:00
Xelio
98b0d36859 Change:
Move resonator energy% to tooltip
2013-02-09 02:11:53 +08:00
Xelio
86eb0a9025 Add resonator energy% to resonator detail
Change:
Add resonator energy% to resonator detail.
Change shadow color of resonator level and energy% to #808080, more clear for L1 and L2 resonator
2013-02-09 01:18:13 +08:00