Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
96 commits
Select commit Hold shift + click to select a range
419725c
Chore: update to 9.7.0 (#3044)
thewahome Mar 15, 2024
464ae59
Chore(deps): Bump follow-redirects from 1.15.0 to 1.15.6 (#3058)
dependabot[bot] Mar 20, 2024
5e9c4e2
Fix: Resource path causing app to crash (#3053)
ElinorW Mar 21, 2024
151f34a
Fix: [autocomplete] show dollar sign paths (#3052)
thewahome Mar 25, 2024
53c97bb
Fix: Canary urls crashing (#3062)
ElinorW Mar 26, 2024
d88a4f8
Chore: Update to 9.8.0 (#3067)
ElinorW Mar 27, 2024
f3e73d6
Fix: Dependabot upgrades - March (#3061)
ElinorW Apr 24, 2024
a84d7a4
Feature: support text csv (#3123)
thewahome Apr 29, 2024
38c3849
Fix: malformed json error (#3107)
thewahome Apr 30, 2024
d2fb7f5
Chore: Update to 10.0.0 (#3147)
thewahome May 15, 2024
5d4e874
Chore: app migration with feature flags (#3144)
thewahome May 15, 2024
7695bca
Chore: Update 10.1.0 (#3149)
thewahome May 27, 2024
499a107
refactor: use strong types in authentication module (#3164)
musale Jun 7, 2024
42599d7
Chore: Dependabot upgrades - April (#3124)
thewahome Jun 7, 2024
7c4ee1d
fix: remove character escape in json response formatting (#3163)
musale Jun 7, 2024
b2dcd19
Fix: add parameters to token request (#3218)
thewahome Jun 18, 2024
552a2cb
Chore: Update to 10.2.0 (#3220)
thewahome Jun 19, 2024
072f4e6
Fix: Monaco 404 errors (#3222)
ElinorW Jun 19, 2024
6e4266c
Chore: Update to 10.2.1 (#3224)
ElinorW Jul 3, 2024
d46a9f3
Fix: move getting resource version children to a function (#3244)
musale Jul 9, 2024
a7e142b
Fix: monaco errors (#3251)
thewahome Jul 15, 2024
5800f71
Chore: Update 10.3.0 (#3254)
thewahome Jul 25, 2024
676e113
Chore: onboard repository to release repository (#3097)
Mnickii Aug 7, 2024
b366636
Task: use redux toolkit (#3186)
thewahome Aug 7, 2024
6494f67
chore: update the versions used in GitHub action workflows (#3278)
musale Aug 7, 2024
09e272f
Task: basic markdown messages (#3280)
thewahome Aug 13, 2024
5257e29
Update bot to add items to Graph SDKs project (#3281)
andrueastman Aug 21, 2024
439726b
Chore: Update 10.4.0 (#3284)
thewahome Sep 2, 2024
53656fe
Chore: September dependabot upgrades (#3324)
ElinorW Sep 3, 2024
0ba6683
Fix: Inputting beta version results in getting beta endpoint suggesti…
ElinorW Sep 25, 2024
ab63ca0
chore: bootstrap release please to the dev branch (#3340)
musale Sep 25, 2024
974c3bc
fix: clone the resources and re-assign children to found values (#3337)
musale Sep 27, 2024
eafca36
chore: add starting commit where changelog commits gathering will sto…
musale Sep 27, 2024
d87b87a
Fix: Dependency security patch updates (#3355)
ElinorW Oct 2, 2024
6559844
chore: migrate releases to governed templates (#3377)
andrueastman Oct 3, 2024
fea4886
Fix: Update playwright tests (#3381)
ElinorW Oct 7, 2024
f017db5
chore: Remove reference to a deprecated rule (#3380)
musale Oct 7, 2024
b99029e
chore(dev): release 10.4.1 (#3376)
release-please[bot] Oct 7, 2024
9141255
fix: select only the required values from state and useEffect to get …
musale Oct 30, 2024
a5079d6
Chore: November dependabot updates (#3427)
ElinorW Nov 13, 2024
d239f8f
feat: API Permissions and Collections redesign (#3391)
ElinorW Dec 2, 2024
79e3b85
feat: add a notification banner to display for first time users (#3396)
musale Dec 2, 2024
ffd05dd
chore(dev): release 10.5.0 (#3397)
release-please[bot] Dec 2, 2024
a506f4a
Chore: December dependabot upgrades (#3480)
ElinorW Jan 2, 2025
89ecd8e
fix: Rollback adaptive-expressions version (#3523)
ElinorW Jan 7, 2025
32141c4
Chore(deps): security updates for Jan 2024 (#3522)
musale Jan 13, 2025
de97b42
chore (deps): security updates for January 2024 (#3538)
musale Jan 16, 2025
cd9fc04
chore(dev): release 10.5.1 (#3524)
release-please[bot] Jan 30, 2025
b285bbd
fix: make the dialog actions responsive in collections (#3493)
Mnickii Feb 6, 2025
bff988b
ci: updates outdated sonarcloud action (#3628)
baywet Feb 20, 2025
bda09d8
Chore(deps): security updates for February 2025 (#3597)
Mnickii Feb 24, 2025
b4dcca1
chore: add release please workflow targeting master (#3654)
ElinorW Feb 26, 2025
7388fd7
fix: disable save all button after saving changes (#3656)
Mnickii Feb 26, 2025
85c284c
chore(dev): release 10.5.2 (#3586)
release-please[bot] Feb 26, 2025
1642d4b
chore: remove tryIt staging and production deployment jobs (#3660)
ElinorW Feb 26, 2025
daf45cd
chore: update @babel/plugin-proposal-private-property-in-object depen…
Mnickii Feb 28, 2025
9123226
chore: Update to 10.5.3 (#3665)
ElinorW Feb 28, 2025
0a15bbc
fix: use connectionString for NSP enabled components (#3618)
musale Feb 28, 2025
710b22f
chore(dev): release 10.5.3 (#3668)
release-please[bot] Feb 28, 2025
9857345
chore: fix release 10.5.3 (#3671)
ElinorW Feb 28, 2025
d5f3012
fix: add deploy to blob storage task (#3694)
ElinorW Mar 5, 2025
abfe649
chore(dev): release 10.5.4 (#3695)
release-please[bot] Mar 5, 2025
1c9ef08
fix: ensure initialize completes before other invocations (#3714)
Mnickii Mar 17, 2025
60373a1
Dependabot upgrades - March (#3702)
ElinorW Mar 24, 2025
36ccd02
fix: update pipeline to include new service connection (#3733)
ElinorW Mar 28, 2025
31f8fab
feat: fluent v9 upgrades feature branch (#3428)
musale Apr 2, 2025
c2898b9
Revert "feat: fluent v9 upgrades feature branch (#3428)" (#3757)
Mnickii Apr 2, 2025
39df321
refactor!: Fluent V9 Migration upgrades (#3758)
Mnickii Apr 2, 2025
3f0b96c
fix: update doc links (#3729)
ElinorW Apr 2, 2025
57172e2
chore(dev): release 11.0.0 (#3717)
release-please[bot] Apr 2, 2025
7d5a215
fix: profile user iimage (#3784)
Mnickii Apr 15, 2025
289a1e3
fix: improve validation error display (#3792)
ElinorW Apr 15, 2025
02c32c4
fix: code snippet loads when a sample is selected (#3789)
ElinorW Apr 15, 2025
a2f2874
fix: tabs on expand modal occupy the modal space (#3790)
ElinorW Apr 15, 2025
e2faa7d
fix: share query button and documentation button are visible even whe…
ElinorW Apr 15, 2025
1d3666f
fix: code snippets UI enhancements (#3798)
ElinorW Apr 16, 2025
3a3faec
fix: display correct tenant (#3805)
Mnickii Apr 16, 2025
569d938
fix: update message bar intents for o-data (#3804)
Mnickii Apr 16, 2025
48dae26
fix(a11y): disable add button when no key, value in headers (#3808)
Mnickii Apr 16, 2025
4c99f98
fix: remove unnecessary scrollbars (#3774)
ElinorW Apr 17, 2025
fde437b
chore: remove need for issue assignment for ToTriage label (#3802)
Mnickii Apr 17, 2025
2a2c3a9
fix: set default sample auto selection on page load globally (#3799)
Mnickii Apr 17, 2025
6888b2d
feat: use window high contrast (#3782)
Mnickii Apr 17, 2025
48b35b0
fix: Add check for shared query url on page load (#3815)
ElinorW Apr 24, 2025
ad561dd
feat: add request/response area resizing (#3810)
ElinorW Apr 24, 2025
9f396c4
Chore(deps): April Dependabot upgrades (#3759)
Mnickii Apr 24, 2025
9735317
fix: update request body on PATCH request (#3817)
ElinorW Apr 25, 2025
e16aac1
feat: add theming to adaptive cards (#3818)
Mnickii Apr 25, 2025
bbb0e6c
fix: correct GE try-it mode view (#3800)
Mnickii Apr 25, 2025
391ad07
fix(a11y): add column headers to collections (#3809)
Mnickii Apr 25, 2025
76c9866
fix: refresh token silently (#3806)
Mnickii Apr 25, 2025
ed4cc0b
fix: correct history items order and request body updates (#3822)
ElinorW Apr 28, 2025
79f1fe7
chore(dev): release 11.1.0 (#3794)
release-please[bot] Apr 28, 2025
4d663e2
fix: request body input focus issue (#3849)
Highbury1993 May 14, 2025
9838257
chore(dev): release 11.1.1 (#3852)
release-please[bot] May 15, 2025
897350e
Merge branch 'master' into Release/11.1.1
ElinorW May 15, 2025
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: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "11.1.0"
".": "11.1.1"
}
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.

## [11.1.1](https://github.com/microsoftgraph/microsoft-graph-explorer-v4/compare/v11.1.0...v11.1.1) (2025-05-14)


### Bug Fixes

* request body input focus issue ([#3849](https://github.com/microsoftgraph/microsoft-graph-explorer-v4/issues/3849)) ([4d663e2](https://github.com/microsoftgraph/microsoft-graph-explorer-v4/commit/4d663e2ab8cdc7cc4b0323e2de458a4065abdb53))

## [11.1.0](https://github.com/microsoftgraph/microsoft-graph-explorer-v4/compare/v11.0.0...v11.1.0) (2025-04-28)


Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "graph-explorer-v2",
"version": "11.1.0",
"version": "11.1.1",
"private": true,
"dependencies": {
"@augloop/types-core": "file:packages/types-core-2.16.189.tgz",
Expand Down
2 changes: 1 addition & 1 deletion sonar-project.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ sonar.projectKey=microsoftgraph_microsoft-graph-explorer-v4
sonar.organization=microsoftgraph2
sonar.projectName=microsoft-graph-explorer-v4
// x-release-please-start-version
sonar.projectVersion=11.1.0
sonar.projectVersion=11.1.1
// x-release-please-end
sonar.host.url=https://sonarcloud.io

Expand Down
42 changes: 32 additions & 10 deletions src/app/views/common/monaco/Monaco.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { useEffect, useRef } from 'react';
import { useEffect, useMemo, useRef, useState } from 'react';
import { makeStyles } from '@fluentui/react-components';
import { Editor, OnChange } from '@monaco-editor/react';
import { editor } from 'monaco-editor';
Expand Down Expand Up @@ -32,6 +32,7 @@ const useStyles = makeStyles({
const Monaco = ({ body, onChange, language, readOnly, extraInfoElement, isVisible }: MonacoProps) => {
const styles = useStyles();
const editorRef = useRef<editor.IStandaloneCodeEditor | null>(null);
const [isEditorReady, setEditorReady] = useState(false);

const editorOptions: editor.IStandaloneEditorConstructionOptions = {
lineNumbers: 'off',
Expand All @@ -48,12 +49,15 @@ const Monaco = ({ body, onChange, language, readOnly, extraInfoElement, isVisibl
wordSeparators: '"'
};

let formattedBody: string | undefined;
if (typeof body === 'string') {
formattedBody = body;
} else if (body) {
formattedBody = formatJsonStringForAllBrowsers(body);
}
const formattedBody = useMemo(() => {
if (typeof body === 'string') {
return body;
}
if (body) {
return formatJsonStringForAllBrowsers(body);
}
return '';
}, [body]);

// Recalculate layout when the tab becomes visible
useEffect(() => {
Expand All @@ -62,23 +66,41 @@ const Monaco = ({ body, onChange, language, readOnly, extraInfoElement, isVisibl
}
}, [isVisible]);

// Update editor content without resetting cursor
useEffect(() => {
if (editorRef.current && isEditorReady) {
const currentValue = editorRef.current.getValue();
if (formattedBody !== currentValue) {
const model = editorRef.current.getModel();
if (model) {
editorRef.current.pushUndoStop();
model.pushEditOperations(
[],
[{ range: model.getFullModelRange(), text: formattedBody ?? '' }],
() => null
);
}
}
}
}, [formattedBody, isEditorReady]);

return (
<ThemeContext.Consumer>
{(theme) => (
<div id=' monaco-editor' className={styles.container}>
<div id='monaco-editor' className={styles.container}>
{extraInfoElement}
<Editor
key={formattedBody}
language={language || 'json'}
width='100%'
height='100%'
value={formattedBody}
options={editorOptions}
onChange={onChange}
theme={theme === 'light' ? 'vs' : 'vs-dark'}
onMount={(editorInstance) => {
editorRef.current = editorInstance;
editorInstance.layout();
editorInstance.setValue(formattedBody ?? '');
setEditorReady(true);
}}
/>
</div>
Expand Down
Loading