51 lines
1.6 KiB
Markdown
51 lines
1.6 KiB
Markdown
# Opportunities Extension 1.0.0
|
|
|
|
Browser extension that adds the "Opportunities Extension" shortcut to the permitted Oracle Fusion pages, retrieves opportunities, and displays them in a filterable table.
|
|
|
|
## Development Structure
|
|
|
|
- `src/content.js`: single source file maintained by the project.
|
|
- `scripts/build.mjs`: generates browser-specific packages.
|
|
- `dist/chromium/`: output for Google Chrome and Microsoft Edge.
|
|
- `dist/firefox/`: output for Firefox.
|
|
|
|
## Build
|
|
|
|
Use Node.js:
|
|
|
|
```bash
|
|
npm run build
|
|
```
|
|
|
|
The build recreates `dist/chromium` and `dist/firefox` from the same source.
|
|
|
|
## Release 1.0.0
|
|
|
|
- Paginated opportunity retrieval with filters for reference, customer, owner, status, stage, and text search.
|
|
- Column sorting, links to opportunities and accounts, opportunity number copying, and stage indicators.
|
|
- Opportunity type view preferences persisted in the browser.
|
|
- Light and dark themes based on Oracle Redwood.
|
|
- Separate outputs for Chromium/Edge and Firefox.
|
|
|
|
## Loading in Development Mode
|
|
|
|
### Chrome ou Microsoft Edge
|
|
|
|
1. Open `chrome://extensions` or `edge://extensions`.
|
|
2. Enable Developer mode.
|
|
3. Click **Load unpacked**.
|
|
4. Select the `dist/chromium` folder.
|
|
|
|
### Firefox
|
|
|
|
1. Open `about:debugging#/runtime/this-firefox`.
|
|
2. Click **Load Temporary Add-on**.
|
|
3. Select the `dist/firefox/manifest.json` file.
|
|
|
|
## Supported Pages
|
|
|
|
- `https://eeho.fa.us2.oraclecloud.com/hcmUI/faces/FuseWelcome`
|
|
- `https://eeho.fa.us2.oraclecloud.com/fscmUI/faces/FuseWelcome`
|
|
|
|
When it finds the `#yourapps_groupNode_sales` group, the extension adds the tile before the `.flat-grid-cell.flat-grid-cell-addicon` item. Clicking the tile opens the opportunities interface.
|