Conversation
…n fileBrowser.jsx
Fixed Unknown Property ‘directory’ in React File Input in fileBrowser.jsx
Fixed ESLint Error because of empty accessible text in label
Integrated Monaco Code Editor, removed unwanted upper save and save as buttons, as now only editor window scrolls not the whole screen.
Remove some unnecessary details.
fixed workflow failure
Workflow Issue Fixed
Alert Issue Fixed #217
Prompt issue fixed
Fixed Order Of Imports in FileEdit.jsx
Merge Dev to Main.
Bumps the pip group with 5 updates in the /server directory: | Package | From | To | | --- | --- | --- | | [dnspython](https://github.com/rthalley/dnspython) | `2.1.0` | `2.6.1` | | [flask](https://github.com/pallets/flask) | `2.0.1` | `2.2.5` | | [pymongo](https://github.com/mongodb/mongo-python-driver) | `3.12.0` | `4.6.3` | | [gunicorn](https://github.com/benoitc/gunicorn) | `20.0.4` | `22.0.0` | | [flask-cors](https://github.com/corydolphin/flask-cors) | `3.0.10` | `4.0.2` | Updates `dnspython` from 2.1.0 to 2.6.1 - [Release notes](https://github.com/rthalley/dnspython/releases) - [Changelog](https://github.com/rthalley/dnspython/blob/main/doc/whatsnew.rst) - [Commits](rthalley/dnspython@v2.1.0...v2.6.1) Updates `flask` from 2.0.1 to 2.2.5 - [Release notes](https://github.com/pallets/flask/releases) - [Changelog](https://github.com/pallets/flask/blob/main/CHANGES.rst) - [Commits](pallets/flask@2.0.1...2.2.5) Updates `pymongo` from 3.12.0 to 4.6.3 - [Release notes](https://github.com/mongodb/mongo-python-driver/releases) - [Changelog](https://github.com/mongodb/mongo-python-driver/blob/master/doc/changelog.rst) - [Commits](mongodb/mongo-python-driver@3.12.0...4.6.3) Updates `gunicorn` from 20.0.4 to 22.0.0 - [Release notes](https://github.com/benoitc/gunicorn/releases) - [Commits](benoitc/gunicorn@20.0.4...22.0.0) Updates `flask-cors` from 3.0.10 to 4.0.2 - [Release notes](https://github.com/corydolphin/flask-cors/releases) - [Changelog](https://github.com/corydolphin/flask-cors/blob/main/CHANGELOG.md) - [Commits](corydolphin/flask-cors@3.0.10...4.0.2) --- updated-dependencies: - dependency-name: dnspython dependency-type: direct:production dependency-group: pip - dependency-name: flask dependency-type: direct:production dependency-group: pip - dependency-name: pymongo dependency-type: direct:production dependency-group: pip - dependency-name: gunicorn dependency-type: direct:production dependency-group: pip - dependency-name: flask-cors dependency-type: direct:production dependency-group: pip ... Signed-off-by: dependabot[bot] <support@github.com>
Bumps the npm_and_yarn group with 2 updates in the / directory: [react-scripts](https://github.com/facebook/create-react-app/tree/HEAD/packages/react-scripts) and [xml2js](https://github.com/Leonidas-from-XIV/node-xml2js). Updates `react-scripts` from 4.0.3 to 5.0.1 - [Release notes](https://github.com/facebook/create-react-app/releases) - [Changelog](https://github.com/facebook/create-react-app/blob/main/CHANGELOG-4.x.md) - [Commits](https://github.com/facebook/create-react-app/commits/react-scripts@5.0.1/packages/react-scripts) Updates `xml2js` from 0.4.23 to 0.5.0 - [Commits](https://github.com/Leonidas-from-XIV/node-xml2js/commits/0.5.0) Updates `ansi-html` from 0.0.7 to 0.0.9 - [Commits](https://github.com/Tjatse/ansi-html/commits) Updates `ansi-regex` from 2.1.1 to 5.0.1 - [Release notes](https://github.com/chalk/ansi-regex/releases) - [Commits](chalk/ansi-regex@2.1.1...v5.0.1) Updates `loader-utils` from 1.4.2 to 2.0.4 - [Release notes](https://github.com/webpack/loader-utils/releases) - [Changelog](https://github.com/webpack/loader-utils/blob/v2.0.4/CHANGELOG.md) - [Commits](webpack/loader-utils@v1.4.2...v2.0.4) Updates `browserslist` from 4.14.2 to 4.24.4 - [Release notes](https://github.com/browserslist/browserslist/releases) - [Changelog](https://github.com/browserslist/browserslist/blob/main/CHANGELOG.md) - [Commits](browserslist/browserslist@4.14.2...4.24.4) Updates `dns-packet` from 1.3.4 to 5.6.1 - [Changelog](https://github.com/mafintosh/dns-packet/blob/master/CHANGELOG.md) - [Commits](mafintosh/dns-packet@v1.3.4...v5.6.1) Updates `ejs` from 2.7.4 to 3.1.10 - [Release notes](https://github.com/mde/ejs/releases) - [Commits](mde/ejs@v2.7.4...v3.1.10) Updates `minimatch` from 3.0.4 to 3.1.2 - [Changelog](https://github.com/isaacs/minimatch/blob/main/changelog.md) - [Commits](isaacs/minimatch@v3.0.4...v3.1.2) Updates `node-forge` from 0.10.0 to 1.3.1 - [Changelog](https://github.com/digitalbazaar/forge/blob/main/CHANGELOG.md) - [Commits](digitalbazaar/forge@0.10.0...v1.3.1) Updates `postcss` from 7.0.36 to 7.0.39 - [Release notes](https://github.com/postcss/postcss/releases) - [Changelog](https://github.com/postcss/postcss/blob/7.0.39/CHANGELOG.md) - [Commits](postcss/postcss@7.0.36...7.0.39) Updates `shell-quote` from 1.7.2 to 1.8.2 - [Changelog](https://github.com/ljharb/shell-quote/blob/main/CHANGELOG.md) - [Commits](ljharb/shell-quote@v1.7.2...v1.8.2) Updates `terser` from 4.8.1 to 5.39.0 - [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md) - [Commits](terser/terser@v4.8.1...v5.39.0) Updates `ws` from 6.2.3 to 7.5.10 - [Release notes](https://github.com/websockets/ws/releases) - [Commits](websockets/ws@6.2.3...7.5.10) --- updated-dependencies: - dependency-name: react-scripts dependency-type: direct:production dependency-group: npm_and_yarn - dependency-name: xml2js dependency-type: direct:production dependency-group: npm_and_yarn - dependency-name: ansi-html dependency-type: indirect dependency-group: npm_and_yarn - dependency-name: ansi-regex dependency-type: indirect dependency-group: npm_and_yarn - dependency-name: loader-utils dependency-type: indirect dependency-group: npm_and_yarn - dependency-name: browserslist dependency-type: indirect dependency-group: npm_and_yarn - dependency-name: dns-packet dependency-type: indirect dependency-group: npm_and_yarn - dependency-name: ejs dependency-type: indirect dependency-group: npm_and_yarn - dependency-name: minimatch dependency-type: indirect dependency-group: npm_and_yarn - dependency-name: node-forge dependency-type: indirect dependency-group: npm_and_yarn - dependency-name: postcss dependency-type: indirect dependency-group: npm_and_yarn - dependency-name: shell-quote dependency-type: indirect dependency-group: npm_and_yarn - dependency-name: terser dependency-type: indirect dependency-group: npm_and_yarn - dependency-name: ws dependency-type: indirect dependency-group: npm_and_yarn ... Signed-off-by: dependabot[bot] <support@github.com>
Update buildAndDeploy.yml
Merge dev to main
Zoom Component Will now update zoom level on zooming through mouse scroll
…r/pip-56e27855de Bump the pip group across 1 directory with 5 updates
Added FullScreen Functionality
…n any two parallel edges
Display a normal pop-up message instead of windows alert at file upload directory and close tab in graph workspace. fix issue #248
Add dark mode UI throughout the concore-editor.
Add gemini AI pull request review
Refactor: Replace UA sniffing with feature detection
Add first-interaction greetings workflow
add missing pr-review.yaml file
|
/gemini-review |
| steps: | ||
| - name: PR Info | ||
| run: | | ||
| echo "Comment: ${{ github.event.comment.body }}" |
Check failure
Code scanning / CodeQL
Code injection Critical
Show autofix suggestion
Hide autofix suggestion
Copilot Autofix
AI about 16 hours ago
General fix: Avoid using ${{ github.event.comment.body }} directly in a run step. Instead, assign it to an environment variable in the step’s env: block using expression syntax, and reference that variable using shell syntax ($VAR) inside the script.
Concrete best fix here:
- In the
PR Infostep (lines 19–24), movegithub.event.comment.body,github.event.issue.number, andgithub.repositoryinto environment variables via anenv:block. - Update the
runscript to use$COMMENT_BODY,$ISSUE_NUMBER, and$REPOSITORYinstead of${{ ... }}. - This changes only how values are passed into the shell, not what is logged, so functionality remains the same.
Changes are limited to the PR Info step in .github/workflows/PR-review.yaml around lines 19–24. No new imports or external dependencies are needed.
| @@ -17,10 +17,14 @@ | ||
| contains(github.event.comment.body, '/gemini-review') | ||
| steps: | ||
| - name: PR Info | ||
| env: | ||
| COMMENT_BODY: ${{ github.event.comment.body }} | ||
| ISSUE_NUMBER: ${{ github.event.issue.number }} | ||
| REPOSITORY: ${{ github.repository }} | ||
| run: | | ||
| echo "Comment: ${{ github.event.comment.body }}" | ||
| echo "Issue Number: ${{ github.event.issue.number }}" | ||
| echo "Repository: ${{ github.repository }}" | ||
| echo "Comment: $COMMENT_BODY" | ||
| echo "Issue Number: $ISSUE_NUMBER" | ||
| echo "Repository: $REPOSITORY" | ||
|
|
||
| - name: Checkout Repo | ||
| uses: actions/checkout@v3 |
There was a problem hiding this comment.
@GREENRAT-K405 see if this solution makes sense (and if it does, please use that in your fix.)
There was a problem hiding this comment.
@pradeeban I have made changes in PR-review.yaml and will raise PR soon in all three repos.
| - name: Checkout Repo | ||
| uses: actions/checkout@v3 | ||
| with: | ||
| fetch-depth: 0 | ||
| ref: refs/pull/${{ github.event.issue.number }}/head | ||
|
|
||
| - name: Get PR Details |
Check failure
Code scanning / CodeQL
Checkout of untrusted code in trusted context High
The dev branch as of now is the one that is currently deployed at https://controlcore-project.github.io/concore-editor/