wasabee-project / wasabee-iitc Goto Github PK
View Code? Open in Web Editor NEWENL DrawTools and Op Management
License: Apache License 2.0
ENL DrawTools and Op Management
License: Apache License 2.0
We added some places in the JSON where both GoogleID and IngressName is passed (markers, links). This is dumb. Pass just the GoogleID, resolve in the code. Functions exist for this. Use them.
Once this is complete in both the app and IITC plugin, remove from server.
marker.completedBy is the ugliest, passes name but no GoogleID, will require a coordinated change.
When assigning outbound links via the Portal Marker on draws, its assigning that marker to All links.. be it Inbound or Outbound.
The Quick Draw Mouseover should be called Fielding Options. The side menu being Quick Draw (Current functionality), MultiMax, Fanfield, and the other fielding Types.
Add Links would become a standalone option for now (unless there's other types of links someone could think of....)
In Fielding:
Railroaded Flip Flop Fans
Same as Above, BUT
Mechanics are the same as Flip Flop, but has to check if throwing from each of the spines would put that portal in a different "cell" of the fields. (This results in some portals that will NOT be used, but could throw for all But one of the S anchors.
Throw order would be same as Flip Flop fan fields, but after Anchor1 is complete, VIRUS Anchor1, and throw same as Anchor 1 at S2-S10.
I think they should also have translations
Seems like we should only call window.map.on("layeradd"...)
once, not every time the function is called.
which ones?
"assign all outbound links" on anchor marker should not be visible if not logged in.
find all such things and wrap in if (WasabeeMe.isLoggedIn()) { ... }
It would be a nice feature to see if you have unintentionally created crossing links.
trawl lanes looking for blockers (load tiles under drawn items)
Liberally sprinkle
.on(a, "click", L.DomEvent.preventDefault)
.on(a, "click", L.DomEvent.stopPropagation)
to L.DomEvent. calls.
css is bad
Fielding >> Cobweb
https://www.youtube.com/watch?v=yvvrHEtkxGc
Looks at and figures for all portals Inside them.
Possibly with being able to go to each anchor area(save the portal GUID and location) and figure for larger areas in that fashion.
make it so that every language can have its own icons/etc, not just the SECONDARY_LANGUAGE...
0.18
People will need to share ops without using the server, so make sure export/import works.
The legacy qbin (simple share/sharing links) can go away though.
The Wasabee plugin v.0.13.0 don't works or don't show the panels on IITC CE v0.29.1.20190315.122355.
requires a lot of work, including in the mobile app
track key movement from agent to agent
Learn something new, undo bad ways of doing stuff.
Get non-team stuff out of the team menu
"send location" can go to settings
"about" needs a home, but I don't know where.
need the ability to create a team join link in IITC.
seems redundant with drawn links but ok
For each item (From, Set1, Set2), add a Clear which clears just that single portal.
Could also add a Clear All at the bottom as well which clears all in this menu.
For this to be truly mobile friendly, we have to rework some of the UI to use touch events.
It would be nice to see variation in the Key List box if you are Short, correct, or Long in the keys on hand (Assuming they're already put in)
i.e If I have 5 keys and Need 6 for a draw, the background of On Hand could go pale yellow. If there's 0 on hand, it goes Red to indicate None available(right now). If I change around the draw(swap links , etc... )and the above mentioned needing 6 ends up dropping to 5 or below, the background (or entire row) could go Green to easially show Keys are available.
Course when Assigning, a New Column could be added to indicate they're "In the right place" or with the thrower.
Can there be an alert(popup or else) to alert the user when drawing layers( Non Max or Fan fields) when one drawn layer would "block" another drawn layer. Similar to Cross-link detection, but instead for Live links, be for the Drawn links.
This could even be in the "Blockers Dialog" but would be exempt of the automark box.
implement in server, add IITC calls
Any portals marked with this marker would be added to a list dialog showing
last activity
name
level
mods
charge level
link level (?)
Future plans for storing/sharing historical data if possible.
Need a set of marker icons (cw?)
requested by AxForest
click one portal, click next portal, click next portal... don't auto-draw layers or anything, just links.
Crystalwizard (ENL L16 AZ), [06.04.20 15:23]
I have a concern btw - each language has so many keys that translations.json is going to get huge, fast. should we be thinking about multiple translations files?
deviousness (Scot ๐ข D/FW ิ13), [06.04.20 15:24]
Yes.
Crystalwizard (ENL L16 AZ), [06.04.20 15:24]
okay so how about this, then - a directory called translations and each language in its own json file
deviousness (Scot ๐ข D/FW ิ13), [06.04.20 15:24]
exactly.
deviousness (Scot ๐ข D/FW ิ13), [06.04.20 15:24]
import them in static.js
Crystalwizard (ENL L16 AZ), [06.04.20 15:25]
okay. I'll start working on changing that structure
deviousness (Scot ๐ข D/FW ิ13), [06.04.20 15:25]
thanks!
Crystalwizard (ENL L16 AZ), [06.04.20 15:25]
sure :)
deviousness (Scot ๐ข D/FW ิ13), [06.04.20 15:25]
we can probably do an "english only" build for those who want to save space, and a "all the languages" build for everyone else.
Crystalwizard (ENL L16 AZ), [06.04.20 15:26]
that would be cool, too
To reproduce: In Tampermonkey, move Wasabee to the top of the load list and refresh.
Expected behavior: Wasabee plugin should still work and be loaded by IITC when it finally loads.
Actual behavior:
Uncaught TypeError: Cannot read property 'extend' of undefined
at eval (webpack:///./src/code/leafletDrawImports.js?:6)
at Module../src/code/leafletDrawImports.js (:1178:3)
at webpack_require (:808:32)
at eval (webpack:///./src/code/quickDrawLayers.js?:3)
at Module../src/code/quickDrawLayers.js (:1310:3)
at webpack_require (:808:32)
at eval (webpack:///./src/code/addButtons.js?:6)
at Module../src/code/addButtons.js (:1094:3)
at webpack_require (:808:32)
at eval (webpack:///./src/code/init.js?:9)
Notes: Do not try to use any Leaflet features until the setup() function is called, to guarantee they do actually exist.
There is a need to be able to put multiple markers of different types on a portal, but wasabee should not allow 2 markers of the same type to be assigned to the same portal. Right now there is no limit to the number of duplicate markers that can be assigned (5 destroy, 7 capture, etc)
agent -> their blocker-keys links on a new layer, checking crosslinks w/ both drawn and real (can I block from here?)
just a dialog
save cross-links in the JSON format, store in database, so zoom level doesn't impact op planning... something like TRACE in Arc.
adjusting the base code for size and text, then adding additional code to deal differently with iOs than android.
Reason to do this is if an agent is able to load keys they're throwing From and you are short on one end, but long on the other, the link Direction could be swapped to change the key need.
This could Also be used as an ADHOC "Rechargers" List for people to alert when the portal comes under attack(If able to at the time of course)
somewhere, somehow.... probably the popup?
requires assign task to multiple agents
remove it with fire
In Fielding:
Flip Flop Fan Fields.
*Mechanics:
I still don't know why we need to embed the icons in the javascript at all, but we should allow hosting images on the servers so we don't need to keep them tiny to keep the script small.
In Fielding, new option of Homogeneous Field.
Homogeneous Fielding Ops.
considers ONLY the portals INSIDE
*Mechanics:
Counts all portals
splits them into 3 equal groups
Draws 2nd layer to those groups
Splits each group in 3, and draws a layer inside each area.
Continues to a MAX of 6 Layers, OR until there is a inner field that does NOT have a portal inside it. If not 6, then it message pops up " Only 5 Homogeneous layers available here."
As Reference:
https://www.youtube.com/watch?v=0xoQsG3-vLA on Homogeneous fielding Ops.
We've not used the marker colors until now. They are bad and need work.
defined in static.js
visible in marker popups.
I have some suggestions about metadata improvements
// ==UserScript==
// @id wasabee
// @name IITC Plugin: Wasabee Draw Tools
// @namespace http://tampermonkey.net/
// @version 0.13.1-deviousness
// @updateURL http://server.wasabee.rocks/static/dev/wasabee.meta.js
// @downloadURL http://server.wasabee.rocks/static/dev/wasabee.user.js
// @description Wasabee is not for dating. Period.
// @category Draw
// @author Wasabee
// @include https://*.ingress.com/*
// @include http://*.ingress.com/*
// @match https://*.ingress.com/*
// @match http://*.ingress.com/*
// @include https://*.ingress.com/mission/*
// @include http://*.ingress.com/mission/*
// @match https://*.ingress.com/mission/*
// @match http://*.ingress.com/mission/*
// @grant none
// ==/UserScript==
Docs are here: https://wiki.greasespot.net/Metadata_Block
What is important:
@id
is not standard property.@name
now begins with IITC Plugin:
, it's rather convention, but most of scripts have 'plugin' in low case (IITC plugin: Wasabee Draw Tools
)@namespace
is important for updating, together with @name
they define uniqueness of plugin.@updateURL
, @downloadURL
- must have https
, otherwise updating will not work.@include
and @match
are synonyms.// @include https://intel.ingress.com/*
@match
, that would be equal in our case.A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.