Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions .github/FUNDING.yml

This file was deleted.

2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,5 @@ resources/codemirror/htmlmixed.html
resources/codemirror/javascript.html
resources/codemirror/jsxjava.html
clipboard.experimental.js
*.bak
devstudio/devstudio_notes.js
52 changes: 51 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,56 @@
{
"cSpell.ignoreWords": [
"filtertable",
"openlanding"
"openlanding",
"Recordkey"
],
"cSpell.words": [
"agilestudio",
"bgcolor",
"closetag",
"Cntr",
"codemirror",
"contextmenu",
"ctxmenu",
"datapage",
"datatransform",
"deploymentmanager",
"devstudio",
"endregion",
"foldcode",
"foldgutter",
"fullscreen",
"htmlmixed",
"Huebee",
"inanchor",
"logfile",
"Marcin",
"matchtags",
"OOTB",
"origprocess",
"pagesort",
"Pega",
"pegacloud",
"prweb",
"rightborder",
"ruleform",
"ruleset",
"rulesets",
"rulespecific",
"Subflow",
"TABANCHOR",
"TABSPAN",
"tabtitle",
"threadname",
"tracertop",
"uicolors",
"valign",

"bsimplelayout",
"editaction",
"Leśniak",


"Tinycon"
]
}
9 changes: 6 additions & 3 deletions PegaDevTools.code-workspace
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,11 @@
"codemirror",
"contextmenu",
"Copypz",
"copypzinskey",
"datapage",
"deploymentmanager",
"devstudio",
"favico",
"foldcode",
"foldgutter",
"fullscreen",
Expand All @@ -29,16 +31,16 @@
"lesniak",
"Leśniak",
"marcin",
"Marcin",
"matchtags",
"nocopy",
"noopener",
"noreferrer",
"ootb",
"OOTB",
"pagesort",
"Pega",
"pegacloud",
"portalharnessinsname",
"prweb",
"pzInskey",
"PRXML",
"Recordkey",
"Ruleset",
Expand All @@ -47,6 +49,7 @@
"t",
"tabanchor",
"threadname",
"tracertop",
"Tinycon",
"tooltiptext",
"valign"
Expand Down
78 changes: 39 additions & 39 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,52 +1,52 @@
# **PegaDevTools (PDT)**
# **PegaDevTools**

PDT is a browser-based developer productivity tool for Pega 8, designed to enhance your development experience without the need for ruleset deployment. The extension primarily targets Chromium-based browsers (Chrome, Edge, Opera, etc.).
PDT is browser-only (i.e. no ruleset deployment is required) Pega 8 developer productivity tool.

**Check out available features in the [PDT Wiki](https://github.com/marcin-l/PegaDevTools/wiki)**

**[Explore the PDT Wiki](https://github.com/marcin-l/PegaDevTools/wiki)** to learn about the available features.
Extension development is mostly targeting chromium-based browsers, but it should for the most part work in Firefox.

## Installation
1. Download or clone the extension using the green *Code* button at the top of this page and selecting `Download ZIP`
<br><img src="https://raw.githubusercontent.com/wiki/marcin-l/PegaDevTools/images/installation.png" />
1. Extract downloaded ZIP file


1. Load unpacked extension
- For Chrome and Edge:
- Navigate to the browser settings and click `Extensions`
- Enable `Developer mode`
- Click `Load Unpacked` and select the extracted ZIP file directory
## Issues and feature requests
Check the [Issues](https://github.com/marcin-l/PegaDevTools/issues) page to see things to be fixed and features to be implemented.

- For Firefox
- Open `about:debugging` URL
- Click the `This Firefox` button on the left
- Click the `Load Temporary Add-on...` button
- Navigate to the extracted ZIP file directory, select any file, and click *Open*.
<br>Please note that this method is not persistent. Extension needs to be loaded for each Firefox session.
If you found a bug or have a new idea/feature for the extension, [you can report them](https://github.com/marcin-l/PegaDevTools/issues/new).

## Post-Installation
- Go to PDT [Extension Options](https://github.com/marcin-l/PegaDevTools/wiki/Configuration). In the *Site config* section add your environment domain name (e.g. `client-dt1.pegacloud.net`, without `https://`) and click *Save site configuration*.
- Turn on features in the *Settings* section and click `Save settings`.
## How to use
- Download (or clone) the extension using green button on the top of this page
**Code -> Download ZIP**
- Unpack downloaded zip file

<img src="https://raw.githubusercontent.com/wiki/marcin-l/PegaDevTools/images/installation.png" />

### Chrome and Edge
- Go to Chrome/Edge settings
- Click **Extensions**
- Enable **Developer mode**
- Click on **Load Unpacked** and select your unpacked zip file directory

### Firefox
- go to **about:debugging** URL
- click on **This Firefox** button on the left
- click on **Load Temporary Add-on...** button
- navigate your unpacked zip file directory
- select any file in the directory and click **Open**
- Please note that this method is not persistent. Extension needs to be loaded for each Firefox session.

### Post-installation steps
- Go to [Extension Options](https://github.com/marcin-l/PegaDevTools/wiki/Configuration). In the **Site config** section add your environment by domain name (e.g. *client-dt1.pegacloud.net*, without *https://*) and click **Save site configuration**. Turn on features in the **Settings** section and click **Save settings**.
- Reload your Pega tabs if needed
<br>Some features will not work if this step is skipped

## Updating to a New Version
### Updating
- Overwrite extension with new download, your settings will be left intact
- Go to Chrome/Edge settings
- Click `Extensions`
- Click **Extensions**
- Reload PegaDevTools
- Check the PDT Extension Options to see if there are any new features to be enabled

## Known Issues and Limitations
- System rules customizations in Dev Studio will stop working when a rule is refreshed (to be addressed in the future). Reopen the rule to restore customizations.
- Some features may not work when Dev Studio language is set to something other than English. Use the `ignore locale` option in user preferences as a workaround.
- Not all customizations will load if you open your application in App or Admin Studio. Set _Developer_ portal as the default for your Access Group to circumvent this issue.
- Firefox support is currently unavailable but coming soon.

## Issue Reporting and Feature Requests
Visit the [Issues](https://github.com/marcin-l/PegaDevTools/issues) page to view pending fixes and upcoming features.
- Check the PDT Options to see if there are any new features to be enabled

If you find a bug or have a new idea/feature for the extension, feel free to [report them](https://github.com/marcin-l/PegaDevTools/issues/new).
## Known issues and limitations
- System rules customizations in Dev studio will stop working when a rule is refreshed (to be addressed in the future). Reopening the rule will restore customizations.
- Some features will not work when Dev Studio is language other than English. I recommend to use the "ignore locale" option in user preferences.
- Not all customizations will load if you open your application in App or Admin Studio. As a workaround set _Developer_ portal as default one for your Access Group.

## Credits
Tracer feature to navigate to first Error and Message is based on Piotr Olejniczak's idea.
Expand All @@ -57,8 +57,8 @@ Tracer feature to navigate to first Error and Message is based on Piotr Olejnicz
### Third-party libraries (MIT license)
- [arrive.js](https://github.com/uzairfarooq/arrive)
- [CodeMirror](https://codemirror.net/)
- [ContextmenuJS](https://github.com/m-thalmann/contextmenujs)
- [ctxmenu.js](https://github.com/nkappler/ctxmenu)
- [Huebee](https://huebee.buzz)
- [jQuery](https://jquery.com/)
- [jQuery.FilterTable](https://github.com/sunnywalker/jQuery.FilterTable)
- [Tinycon](https://github.com/tommoor/tinycon)
- [Tinycon](https://github.com/tommoor/tinycon)
2 changes: 1 addition & 1 deletion agilestudio/agilestudio.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
if(window.location.href.includes("agilestudio")) {

PDT.setScriptsApplied();
console.log("agilestudio.js");

if (PDT.isAgilestudioEnabled()) {
Expand Down
3 changes: 3 additions & 0 deletions background.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<html>
<script type="text/javascript" src="background.js"></script>
</html>
Loading