Coder Social home page Coder Social logo

atg-dynadmin-repository's Introduction

atg-dynadmin-repository

###What's this project? Simple user script for GreaseMonkey (firefox) or TamperMonkey (google chrome) plugins, which adds a couple of useful and user-friendly features to repository pages of "Dynamo admin" http UI of ATG platform. (think localhost:8080/dyn/admin/nucleus/)

If you don't feel like reading this readme.md, I have a spoiler: there are screenshots on the very end of this readme ;-)

###What features are added?

  1. New repository-level based UI-buttons, allowing you to quickly perform following actions:
  • Invalidate repository caches

  • Restart repository

  • Generate SQL (DDL) for the repository

    Note: So you basically don't need to hunt-down the "invalidateCaches" method over and over again

  1. New repository-item-level based UI buttons allowing you to quickly:
  • generate <query-items> script template for specified repository item

  • generate <add-item> script template for specified repository item

  • generate <remove-item> script template for specified repository item

  • generate <add-item> script template for specified repository item - including <set-property> tags for (either just required or all) item's properties

    Because nobody really likes to type stuff like <query-items item-descriptor="category">ALL</query-items> over and over again..

    For all of these buttons, there's a "secondary" mode: if you shift-click the button : eg. queries will be performed immediatelly after the click

  1. Whenever you execute a query, the browser will jump to the "Results:" section of the page.

No more annoying scrolling / searching!

  1. Some new useful keyboard shortcuts:
  • Alt+x = jump to XML (repository query) editor
  • Alt+t = jump to the start of repository Table (the one containing items & their properties)
  • Alt+s = jump to repository cache Statistics
  • Alt+r = jump to query Results
  • Alt+o = open repository choOser modal window (user can manage his own "bookmarks")
  • Alt+c = jump to Charts with cache hit/miss
  • Ctrl+Enter (in XML editor) = execute the query
  1. XML syntax highlighting
  • for query editor (XML-highlight-as-you-type)
  • for query results
  • for "Examine Repository Template Definition" page
  1. Repository cache-miss percentage statistics
  • (not so) fancy graphs at the bottom of the page (arguably useful)
  1. Clickable values in query results
  • if the property behind <set-property> tag in query results is a reference to another repository item (item-type or component-item-type) then the value will be clickable.
  • If you click the link, it will get you to the referenced item

###FAQ

  • Q: Why is the quality of the code so terrible ?

    • It was written "hack-until-it-somehow-works" approach
    • Features were randomly added without any planning.
    • I'm not a JS developer
    • I don't have time for complete rewrite (the code deserves it!)
  • Q: What if I just have some good idea about another cool feature?

    • Then don't be shy to tell me. If it will sound good (and will be easy-enough to implement) I might add it. Even better: you might implement it and share it ;-)
  • Q: Can I commit changes, fork this,..?

    • Sure! Any help is appriciated.

Screenshots:

  • #####Repository-level and repository-item-level buttons:

    • Repository-level and repository-item-level buttons:
  • #####XML syntax highlighting of results (incliding clickable items):

    • XML syntax highlighting of results (incliding clickable items):
  • #####XML syntax highlighting:

    • XML syntax highlighting:

atg-dynadmin-repository's People

Contributors

brdloush avatar

Watchers

vkscorpio3 avatar

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.