jc7447 / betterdynadmin Goto Github PK
View Code? Open in Web Editor NEWRefreshing ATG Dyn Admin
License: GNU General Public License v2.0
Refreshing ATG Dyn Admin
License: GNU General Public License v2.0
Apply css at one time, avoiding multiple repaint / reflow of the browser.
Integration of code mirror in read-only mode
On a component page, make the link on the class file redirect to findClass.jhtml
Add instruction to explain how to install findClass.jhtml in the readme.md .
When clicking on the "hide/show raw xml" button on the repository query result, the "highlight and indent xml" is duplicate
Add installation directive for findclass.jhtml
Bug reproductible in Chrome but everything is OK in Firefox.
I'm fetching the item tree of an order in the order repository. When I click "Enter", the browser in stuck until BDA process completion whereas in Firefox I see the "x items retrieved" progressing.
In the main page of a pipeline manager, make chain name clickable.
On click, show pipeline details as XML with a graphical representation of the chain (http://stackoverflow.com/questions/7034/graph-visualization-library-in-javascript, http://www.graphdracula.net/)
When querying a repository, it would be more usable to search an item descriptor with wildcards.
Possible output format for the item tree feature :
Hey,
It would be neat to have the possibility to save parameterized queries, like
<query-item item-descriptor="order"> profileId=$1 and status=$2 </>
I use usually the same several components among multiple instances. Currently I have to do a backup/restore for sharing toolbar personnalization among instances but it's not very friendly and I have to do this every time I change my toolbar personnlization.
With Chrome, an item tree call may not place the selected item in first position.
This is because we are using javascript object as a Map, assuming that the keys order will be keep when iterating over it.
We should probably use ECMA script 6 map : https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map
Allow to edit value directly from html tabs result in a new pop-up.
Show a pop-up to confirm the query to execute.
Reload the page when the query is done.
For each query-item /add-item / update-item tags in the editor, show the properties of the selected descriptor.
The "Time Performance Data" tables in the Performance Monitor HTML pages have headers like "Operation", "Number of executions", "Average execution time (msec)", etc.
It would be nice if we could sort the tables in ascending and descending order of the values by clicking on the column headers.
When you do a get item tree, whatever repository or descriptor, the following will be logged on Google Chrome 47 console :
Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check http://xhr.spec.whatwg.org/.
VM5277:2647 descriptor : 55
Add screenshots of feature, descriptions, ...
Enhancement request :
In a query/print result, clicking on an a property value that is a repo item loads the item in the view.
I have 17 component shortcuts and when I click on backup only the 6 firsts and the 6 lasts are saved. In the middle I have "...".
Here is a sample of what I get:
{"components":[
{"componentPath":"/dyn/admin/nucleus/atg/commerce/order/OrderRepository/","componentName":"OrderRepository","colors":[24,173,174],"id":0},
{"componentPath":"/dyn/admin/nucleus/atg/content/media/MediaRepository/","componentName":"MediaRepository","colors":[46,82,75],"id":1},
{"componentPath":"/dyn/admin/nucleus/atg/multisite/SiteRepository/","componentName":"SiteRepository","colors":[17,54,120],"id":2},
{"componentPath":"/dyn/admin/nucleus/developmentData/DevelopmentDataLoader/","componentName":"DevelopmentDataLoader","colors":[210,210,62],"id":3},
{"componentPath":"/dyn/admin/nucleus/atg/userprofiling/ProfileAdapterRepository/","componentName":"ProfileAdapterRepository","colors":[112,5,210],"id":4},
{"componentPath":"/dyn/admin/nucleus/initialData/InitialDataLoader/","componentName":"InitialDataLoader","colors":[161,82,210],"id":5},
{"componentPath":"/dyn/admin/nucleus/logisticCoreData/LogisticCoreDataLoader/","componentName":"LogisticCoreDataLoader","colors":[210,55,21],"id"...//","componentName":"LocationRepository","colors":[210,180,35],"id": 10},
{"componentPath":"/dyn/admin/nucleus/atg/commerce/catalog/ProductCatalog/","componentName":"ProductCatalog","colors":[74,92,108],"id":11},
{"componentPath":"/dyn/admin/nucleus/atg/commerce/inventory/InventoryRepository/","componentName":"InventoryRepository","colors":[166,149,1],"id":12},
{"componentPath":"/dyn/admin/nucleus/com/decathlon/cube/communication/CubeEmailTools/","componentName":"CubeEmailTools","colors":[210,210,210],"id":13},
{"componentPath":"/dyn/admin/nucleus/com/decathlon/cube/media/MediaResolver/","componentName":"MediaResolver","colors":[210,155,100],"id":14},
{"componentPath":"/dyn/admin/nucleus/atg/rest/registry/ActorChainRestRegistry/","componentName":"ActorChainRestRegistry","colors":[61,184,62],"id":15},
{"componentPath":"/dyn/admin/nucleus/com/decathlon/cube/commerce/locations/imports/LocationImportSchedule/","componentName":"LocationImportSchedule","colors":[145,210,89],"id":16}
],"queries":[]}
Remark: I had to double the '/' to avoid having strange behavior from the syntax highlighter.
Please add some new @grant. Usefull for chrome user. Thanks
eg. window.focus() is used by codemirror
In query editor, when listing properties available for the current item descriptor, make then clickable to add then quickly in the editor
Version 1.1
Syntax highlighting only works for repositories.
It would also be useful on the following components using definitionFiles
Today, log like this are hide with the raw XML
------ Printing item with id: 531937
The goal is to show those lines in a log area.
sanitizeXML will not handle several line of comment.
Example :
<set-property name="property0"><![CDATA[11/8/2010 15:13:27]]></set-property>
<!-- rdonly <set-property name="property1"><![CDATA[value]]></set-property> -->
<!-- rdonly <set-property name="property2"><![CDATA[true]]></set-property> -->
Get id as comma separated value in the id field.
A print-item request with id = "myId1,myId2" gives :
<print-item id="myId1" />
<print-item id="myId2" />
Create a what's new popup only visible for a major BDA version.
This pop-up will summarize the changes of the new version
This will avoid to show an inaccurate part of the page
Persist toggles position (show more/less) in component page. This persistance should be share accross all components
Would be nice to remove this table and show a list of descriptor instead.
Supervision tool for several dyn/admin instance at the same time.
When increase the version in bda.js, Tampermonkey will not reload the CSS file bda.css.
May be, we need to add a parameter in the URL and change it every time we change the Javascript to be sure that TM reload it.
When adding a new element to the toolbar, show a pop-in that allow to select shortcut for methods execution and log level switch (true / false).
Those shortcuts must be available in the toolbar through the expandable panel of each component.
Avoid error when submitting xml tags with repository=""
Improve item tree output to looks like a tree with sub-level representation.
Item A
-- Sub item B
---- Sub Sub Item G
-- Sub item C
---- Sub sub item D
------ Sub sub ...
Item E
-- Sub Item F
Integration of code mirror : http://codemirror.net/ in
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.