Code Monkey home page Code Monkey logo

donkey's People

Contributors

chocoladisco avatar lolleko avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

donkey's Issues

Reload open tabs if meta data is added or updated.

Right now if you have the abilities file "npc_abilities_custom.txt" or "DOTAAbilities" open and change the tooltip data via the sidebar the tab will not reload.

Maybe add a file reload function to the FileManager.

Move Up/Down, shortcut not firing.

The KV Element Move UP/DOWN command is not triggered with the shrotcut, seems to be a windows only problem.

EDIT: Broken on all platforms.

New KVParser & Comment support

Rewrite the stock KVParser (make a custom one) that allows comments to be edited.

  • Comments need to be marked somehow in a data map: key:!DonkeyInternal:Comment that could cause problems if someone creates a key with that name (should never happen but is a possibility).

  • Display comments as big text input in Editor DOM.

  • Parse multiline comments comment string with \n to fancy multiline comments:

    //-------------------------------------
    // Multi-Line Comment
    // Line2
    //-------------------------------------

Upgrade all custom Elements to use v1 specs.

As soon electron updates to Chrome 54 custom elements will use a new spec: https://developers.google.com/web/fundamentals/primers/customelements/

Upgrading existing elements requires the following:

  • Changing document.registerElement() => customeElements.define()
  • createdCallback() => constructor()
  • window.customElements.get(name) to fetch constructor instead of using document.createElement()
  • Using window.customElements.get(name) will also allow AutocompleteInput to extend HTMLInputElement (with <input is="autocomplete-input"> syntax)
  • attached => connected
  • detached => disconnected (Improve Detach & attach behaviour of KeyValue and ParentKey)
  • Use static get observedAttributes() instead of data-xxx change-callbacks (especially data-key, data-value and data-path)

buildPath in rebuild.js should be absolute

echo 'Installing app dependencies!' && npm --prefix ./app install ./app && node rebuild.js

Installing app dependencies!
Rebuilding natvie modules.
You are using the old API, please read the new docs and update to the new API
Building modules didn't work!
Error: Expected buildPath to be an absolute path

Auto updating

Auto updates for the editor.

  • Release server (nuts)
  • Implement electrons auto-updater module

New Data Structure for VDF data

Replace the js-builtin Map data structure.

New data structure specs:

  • should allow inserting and deleting via kvpaths
  • insertBefore & insertAfter for kvpaths and single keys

Packages Menu Entry

Create a Menu Entry for packages, with a subentry for each Package that defines a Menu (Atom-Like).

Tooltip Generator

Requirements #5 & #6

Add a Generate tooltip menuItem to the Dota2 package menu, that will generate tooltips. Similar to D2Modkit. But will also utilize the comments from #5. Taking comments into account when generation. AbilitySpecial support should also be builtin.

For example:

//---------------------------
//"Name" "Solar Strike"
//"Description" "Global nuke."
//"Lore" "It burns."
//---------------------------
"invoker_sun_strike"
{
--snip--
}

Result:

"DOTA_Tooltip_ability_sun_strike"             "Solar Stike"
"DOTA_Tooltip_ability_sun_strike_Description" "Global Nuke"
"DOTA_Tooltip_ability_sun_strike_Lore"        "It burns"

Note: If name not specified use Dota_Tooltip_ability__name1_name2_ -> Name1 Name2

Selecting of multiple KVElements

This is important for copying multiple KeyValue entries at once.
This will also require some changes to the SpecialCopy, SpecialCut commands.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.