Skip to content

fix(ui): correct “modified” indicator state across collection, folder, request, and presets/auth tabs (#3386) - #8027

Merged
bijin-bruno merged 24 commits into
usebruno:mainfrom
sharan-bruno:fix/modified-indicator-shown-incorrectly-on-collection-folder-request-tab
Jun 8, 2026
Merged

bijin-bruno merged 24 commits into
usebruno:mainfrom
sharan-bruno:fix/modified-indicator-shown-incorrectly-on-collection-folder-request-tab

Conversation

@sharan-bruno

@sharan-bruno sharan-bruno commented May 18, 2026 •

Copy link
Copy Markdown
Contributor

Jira link: https://usebruno.atlassian.net/browse/BRU-3386
https://usebruno.atlassian.net/browse/BRU-3421

Description

Fixes the false "modified" indicator dot shown on the Auth tab for requests and folders when auth mode is inherit. Previously the dot was driven purely by auth.mode !== 'none', which is always true for inherit — so the dot lit up even when the resolved inherited auth chain produced no actual auth.

The dot now reflects the effective auth: it follows the inherit chain up through parent folders to the collection root, and only shows when the resolved auth mode is set and not none.

Scope:

  • HTTP, gRPC, WebSocket, and GraphQL request panes — auth indicator now resolves inherited auth before deciding to render the dot.
  • Folder settings — same resolution applied to the folder's Auth tab indicator.

Refactor:

  • Extracted the duplicated getEffectiveAuthSource(collection, item) helper (previously inlined in RequestPane/Auth, GrpcAuth, WSAuth, HttpRequestPane, and FolderSettings/Auth) into a shared utility at packages/bruno-app/src/utils/auth/index.js. The util handles both request and folder shapes and explicitly skips the item itself when walking the tree.

Filestore fix:

  • parseFolder.ts was returning request: null for folders that had no folder-level config on disk, causing inconsistent shape and downstream null-reference issues during save. The parser now always initializes request with the default empty shape ({ headers: [], auth: toBrunoAuth(...), script, vars, tests }) — matching how the request parsers already behave.

Additionally fixes BRU-3421

This PR also resolves the three issues tracked in BRU-3421 — Auth inheritance issues in nested folders and No Auth selection state:

  1. Nested folder inheriting auth from an incorrect (non-immediate) parent folder.
  2. Child folder falling back to collection auth when its parent is set to No Auth.
  3. No Auth option not highlighted as the selected value in the auth dropdown.

See the linked ticket for full repro steps and expected vs. current behavior.

Contribution Checklist:

  • I've used AI significantly to create this pull request
  • The pull request only addresses one issue or adds one feature.
  • The pull request does not introduce any breaking changes
  • I have added screenshots or gifs to help explain the change if applicable.
  • I have read the contribution guidelines.
  • Create an issue and link to the pull request.

Note: Keeping the PR small and focused helps make it easier to review and merge. If you have multiple changes you want to make, please consider submitting them as separate pull requests.

Publishing to New Package Managers

Please see here for more information.

Summary by CodeRabbit

  • New Features

    • Presets tab now shows an active indicator when a non-default preset type or URL is configured.
  • Bug Fixes

    • Auth indicators consistently reflect effective/inherited authentication across requests, folders, and collections.
  • Tests

    • Added E2E tests for presets indicator and expanded effective-auth coverage; added YAML fixtures and parsing tests.
    • Test utilities extended with request-type selection and auth mode label constants.
  • Refactor

    • Centralized auth-inheritance and supported-mode logic for consistent behavior.

Review Change Stack

@coderabbitai

coderabbitai Bot commented May 18, 2026 •

Copy link
Copy Markdown
Contributor

Note

Reviews paused

It looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the reviews.auto_review.auto_pause_after_reviewed_commits setting.

Use the following commands to manage reviews:

  • @coderabbitai resume to resume automatic reviews.
  • @coderabbitai review to trigger a single review.

Use the checkboxes below for quick actions:

  • ▶️ Resume reviews
  • 🔍 Trigger review

Walkthrough

Centralizes auth-inheritance logic, adds preset request-type constants and BrunoPresets types, updates filestore parsing and fixtures, wires effective-auth detection into request panes and settings for StatusDot indicators, and adds tests and test ids validating behavior.

Changes

Auth Inheritance and Presets Indicators

Layer / File(s) Summary
Type definitions, constants, and converter imports
packages/bruno-converters/src/opencollection/types.ts, packages/bruno-converters/src/opencollection/bruno-to-opencollection.ts, packages/bruno-converters/src/opencollection/opencollection-to-bruno.ts, packages/bruno-app/src/utils/common/constants.js, packages/bruno-app/src/components/CollectionSettings/index.js
Introduce BrunoPresets and BrunoPresetsExtension types, add PRESET_REQUEST_TYPES and DEFAULT_PRESET_REQUEST_TYPE, and update converter imports and CollectionSettings to use the default preset constant.
Filestore parsing, fixtures, and parse tests
packages/bruno-filestore/src/formats/yml/parseCollection.ts, packages/bruno-filestore/src/formats/yml/parseFolder.ts, packages/bruno-filestore/src/types.ts, packages/bruno-filestore/src/formats/yml/tests/fixtures/presets/*, packages/bruno-filestore/src/formats/yml/tests/parseCollection.spec.js
Add typed BrunoPresetsExtension, default presets.requestType/requestUrl to empty strings, initialize folder.request.auth during folder parsing, add multiple YAML fixtures, and add Jest tests for parseCollection presets behavior.
Shared auth inheritance utilities
packages/bruno-app/src/utils/auth/index.js
Add getEffectiveAuthSource(collection, item) and hasEffectiveAuth(collection, item, supportedModes) to resolve inherited auth and to detect effective auth presence with optional supported-mode filtering.
Folder and Request Auth views
packages/bruno-app/src/components/FolderSettings/Auth/index.js, packages/bruno-app/src/components/RequestPane/Auth/index.js, packages/bruno-app/src/components/FolderSettings/index.js
Replace local tree-walk inheritance logic with shared getEffectiveAuthSource, update imports, and use AUTH_MODES.NONE for comparisons; add data-testid="inherited-auth-mode".
AuthMode test ids and StatusDot test id
packages/bruno-app/src/components/CollectionSettings/Auth/AuthMode/index.js, packages/bruno-app/src/components/FolderSettings/AuthMode/index.js, packages/bruno-app/src/components/RequestPane/Auth/AuthMode/index.js, packages/bruno-app/src/components/StatusDot/index.js
Add data-testid attributes for auth-mode selectors/labels and add data-testid="status-dot" to StatusDot.
HTTP & GraphQL Request Pane indicators
packages/bruno-app/src/components/RequestPane/HttpRequestPane/index.js, packages/bruno-app/src/components/RequestPane/GraphQLRequestPane/index.js
Drive indicators/auth presence from hasEffectiveAuth(collection, item) and render StatusDot when effective auth exists; update memo deps.
gRPC & WS Request Pane and auth components
packages/bruno-app/src/components/RequestPane/GrpcRequestPane/*, packages/bruno-app/src/components/RequestPane/WSRequestPane/*
Use shared SUPPORTED_GRPC_AUTH_MODES / SUPPORTED_WS_AUTH_MODES, import getEffectiveAuthSource/hasEffectiveAuth, and update validation/reset logic and inherit-mode rendering to rely on shared utilities.
RequestPane memo/dependency updates
Various RequestPane files
Update memo dependency lists to include derived hasAuth values (instead of raw auth.mode) so tab indicators remain in sync.
Playwright tests and test utils
tests/auth/*, tests/collection/presets-indicator.spec.ts, tests/utils/page/*
Add E2E tests for effective auth resolution, auth modified indicator, Presets status dot behavior; add AUTH_MODE_LABELS, extend test actions to support requestType, and re-export constants for tests.

Estimated code review effort

🎯 4 (Complex) | ⏱️ ~60 minutes

Possibly related PRs

Suggested labels

size/L

Suggested reviewers

  • lohit-bruno
  • naman-bruno
  • bijin-bruno
  • helloanoop

Auth roots found by a single quest,
Presets lit when types diverge from rest.
Dots on tabs, tests that sing,
One shared path to rule the thing. ✨

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately captures the main objective: fixing the modified indicator state across multiple UI components (collection, folder, request tabs and presets/auth sections).

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 7

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@packages/bruno-app/src/components/RequestPane/GraphQLRequestPane/index.js`:
- Line 26: The auth-resolution logic in GraphQLRequestPane incorrectly filters
out the string 'none', causing a parent folder explicitly set to No Auth to be
ignored and inheritance to continue; update the functions/blocks around the
auth-dot computation (the code handling environment/auth lookup—see references
to findEnvironmentInCollection and getTreePathFromCollectionToItem and the auth
filtering at lines ~176-202 and 184) to stop excluding 'none' from consideration
and instead treat 'none' as a valid resolved value that should short-circuit
inheritance and result in no auth indicator; ensure both places where auth
values are filtered/checked treat 'none' as an explicit value (not
undefined/null) so the parent folder's No Auth is respected.

In `@packages/bruno-app/src/components/RequestPane/GrpcRequestPane/index.js`:
- Around line 11-13: The auth-resolution logic in GrpcRequestPane incorrectly
skips ancestor folders with auth.mode === 'none', allowing collection-level auth
to leak through; update the helper(s) that use getTreePathFromCollectionToItem /
getPropertyFromDraftOrRequest so that when traversing ancestor folders an
auth.mode of 'none' is treated as the effective auth (i.e. stop traversal and
return 'none' instead of falling through to parent/collection auth). Apply the
same change to the other helper block around lines 59-74 so parent-folder 'none'
is consistently honored.

In `@packages/bruno-app/src/components/RequestPane/WSRequestPane/index.js`:
- Around line 5-10: The current resolver in WSRequestPane uses
getPropertyFromDraftOrRequest and getTreePathFromCollectionToItem but fails to
stop inheritance when an ancestor folder has folderAuth.mode === 'none'; update
the logic to call the shared auth resolver (the same function used elsewhere in
the app) instead of the ad-hoc walk so that if any ancestor folder has
folderAuth.mode === 'none' you short-circuit and return no auth; specifically
replace the current manual inheritance checks in WSRequestPane with a call to
the shared resolver and/or add an explicit check that inspects folderAuth.mode
=== 'none' on the tree path returned by getTreePathFromCollectionToItem and
stops propagation (no fallthrough to collection root), so the tab indicator and
auth view remain in sync.

In `@packages/bruno-filestore/src/formats/yml/parseCollection.ts`:
- Around line 39-40: The preset fields requestType and requestUrl are currently
copied directly from YAML and may be non-string types; update the parsing in
parseCollection (where the local presets object is mapped into
brunoConfig.presets) to coerce these values to strings at parse time (e.g.,
replace direct references to presets.request.type and presets.request.url with a
string-coercion that falls back to '' for null/undefined/non-string), ensuring
requestType and requestUrl always become '' or a proper string to avoid leaking
invalid types downstream.

In `@packages/bruno-filestore/src/formats/yml/tests/parseCollection.spec.js`:
- Around line 8-51: The tests in this spec (describe 'yml parseCollection -
presets', the it blocks that call parseCollection(loadFixture(...)), and all
expect/assert lines) are missing trailing semicolons; update every statement in
this file (including const declarations like const { brunoConfig } =
parseCollection(...), expect(...) lines, and closing statements in each it
block) to include a semicolon so the file consistently follows the repo's
"always use semicolons" rule.

In `@tests/collection/presets-indicator.spec.ts`:
- Around line 5-71: The file lacks semicolons on many statements (e.g., the
top-level test.describe call, const collectionName declaration, let presetsTab,
all await expressions within test.step blocks, and expect/assert lines); update
the spec to terminate each statement with a semicolon to match repo formatting
rules—add semicolons after declarations (collectionName, presetsTab), after each
await line (createCollection(...);, presetsTab.click();, expect(...) assertions;
etc.), and after all standalone expressions inside the test and test.step blocks
so every statement (including calls to createTmpDir, page.locator/... checks,
click(), fill(), and expect(...) calls) ends with a semicolon.
- Around line 6-8: The cleanup currently runs in test.afterAll using the
test-scoped page fixture (closeAllCollections(page)), which is invalid because
page isn't available at worker scope; change the hook to test.afterEach(async ({
page }) => { await closeAllCollections(page); }) so each test's page is cleaned
up, or if you truly need a single afterAll, switch to using the browser fixture
to create a page (e.g., const page = await browser.newPage()) then call
closeAllCollections(page) and close the page; update the hook surrounding
closeAllCollections accordingly.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 3fc0510f-b926-4a20-9fb0-f92c00ae694f

📥 Commits

Reviewing files that changed from the base of the PR and between e8468ac and 4836681.

📒 Files selected for processing (24)
  • packages/bruno-app/src/components/CollectionSettings/index.js
  • packages/bruno-app/src/components/FolderSettings/Auth/index.js
  • packages/bruno-app/src/components/RequestPane/Auth/index.js
  • packages/bruno-app/src/components/RequestPane/GraphQLRequestPane/index.js
  • packages/bruno-app/src/components/RequestPane/GrpcRequestPane/GrpcAuth/index.js
  • packages/bruno-app/src/components/RequestPane/GrpcRequestPane/index.js
  • packages/bruno-app/src/components/RequestPane/HttpRequestPane/index.js
  • packages/bruno-app/src/components/RequestPane/WSRequestPane/WSAuth/index.js
  • packages/bruno-app/src/components/RequestPane/WSRequestPane/index.js
  • packages/bruno-app/src/utils/auth/index.js
  • packages/bruno-app/src/utils/common/constants.js
  • packages/bruno-converters/src/opencollection/bruno-to-opencollection.ts
  • packages/bruno-converters/src/opencollection/opencollection-to-bruno.ts
  • packages/bruno-converters/src/opencollection/types.ts
  • packages/bruno-filestore/src/formats/yml/parseCollection.ts
  • packages/bruno-filestore/src/formats/yml/parseFolder.ts
  • packages/bruno-filestore/src/formats/yml/tests/fixtures/presets/empty-request.yml
  • packages/bruno-filestore/src/formats/yml/tests/fixtures/presets/no-presets.yml
  • packages/bruno-filestore/src/formats/yml/tests/fixtures/presets/no-request-key.yml
  • packages/bruno-filestore/src/formats/yml/tests/fixtures/presets/type-only-realistic.yml
  • packages/bruno-filestore/src/formats/yml/tests/fixtures/presets/with-type-and-url.yml
  • packages/bruno-filestore/src/formats/yml/tests/parseCollection.spec.js
  • packages/bruno-filestore/src/types.ts
  • tests/collection/presets-indicator.spec.ts

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 3

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@packages/bruno-app/src/components/FolderSettings/index.js`:
- Around line 35-36: The folder Auth indicator currently uses the raw auth mode
(const auth = get(folderRoot, 'request.auth.mode')) which treats 'inherit' as
active; change it to use the effective auth resolution instead: compute an
effective mode (e.g., const effectiveAuth = get(folderRoot,
'request.auth.effectiveMode') or call the existing
resolveEffectiveAuth/resolveAuth helper if present) and then set hasAuth =
effectiveAuth && effectiveAuth !== AUTH_MODES.NONE so the dot only shows when
the resolved/effective auth is not NONE; update the references to auth/hasAuth
in this component to use effectiveAuth and the revised hasAuth check.

In `@packages/bruno-app/src/utils/auth/index.js`:
- Line 82: The auth lookup for items currently sets const auth = item?.draft ?
get(item, 'draft.request.auth') : get(item, 'request.auth') which misses folder
auth stored at root.request.auth; update the expression to fall back to
get(item, 'root.request.auth') when request.auth is undefined (mirroring the
pattern used earlier around the lines that check draft vs request vs root), so
that folder items resolve their auth and the subsequent inheritance logic (the
code referencing auth after this assignment) runs correctly.
- Line 64: The ancestor-folder auth lookup in resolveInheritedAuth currently
uses get(i, 'root.request.auth') and thus ignores unsaved draft changes; update
the logic where folderAuth is computed to first check i?.draft and, if present,
read from the draft path (e.g., 'draft.request.auth') otherwise fall back to
'root.request.auth' (use the same safe get helper) so that resolveInheritedAuth
and any traversal over ancestor items respect draft auth overrides.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 65ba6618-f93b-4366-a859-a2ef06018955

📥 Commits

Reviewing files that changed from the base of the PR and between 4836681 and 651187d.

📒 Files selected for processing (9)
  • packages/bruno-app/src/components/FolderSettings/index.js
  • packages/bruno-app/src/components/RequestPane/GraphQLRequestPane/index.js
  • packages/bruno-app/src/components/RequestPane/GrpcRequestPane/GrpcAuth/index.js
  • packages/bruno-app/src/components/RequestPane/GrpcRequestPane/index.js
  • packages/bruno-app/src/components/RequestPane/HttpRequestPane/index.js
  • packages/bruno-app/src/components/RequestPane/WSRequestPane/WSAuth/index.js
  • packages/bruno-app/src/components/RequestPane/WSRequestPane/index.js
  • packages/bruno-app/src/utils/auth/index.js
  • packages/bruno-app/src/utils/common/constants.js
🚧 Files skipped from review as they are similar to previous changes (4)
  • packages/bruno-app/src/utils/common/constants.js
  • packages/bruno-app/src/components/RequestPane/GrpcRequestPane/GrpcAuth/index.js
  • packages/bruno-app/src/components/RequestPane/HttpRequestPane/index.js
  • packages/bruno-app/src/components/RequestPane/WSRequestPane/WSAuth/index.js

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

♻️ Duplicate comments (2)
packages/bruno-app/src/utils/auth/index.js (2)

82-82: ⚠️ Potential issue | 🟠 Major | ⚡ Quick win

Add folder-shape fallback in hasEffectiveAuth.

Line 82 misses root.request.auth fallback for folder items, which can incorrectly report no effective auth.

Proposed fix
-  const auth = item?.draft ? get(item, 'draft.request.auth') : get(item, 'request.auth');
+  const auth = item?.draft
+    ? get(item, 'draft.request.auth')
+    : (get(item, 'request.auth') ?? get(item, 'root.request.auth'));
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@packages/bruno-app/src/utils/auth/index.js` at line 82, The current
assignment for auth in hasEffectiveAuth only checks draft.request.auth and
request.auth and misses folder-level auth (root.request.auth); update the logic
in hasEffectiveAuth (where auth is computed) to fall back to get(item,
'root.request.auth') for folder items (or when request.auth is absent), so auth
= item?.draft ? get(item, 'draft.request.auth') : (get(item, 'request.auth') ||
get(item, 'root.request.auth')); ensure you reference the hasEffectiveAuth
function and the auth variable when making the change.

64-64: ⚠️ Potential issue | 🟠 Major | ⚡ Quick win

Use draft-aware folder auth when resolving ancestor inheritance.

Line 64 ignores unsaved folder draft auth, so effective auth can be stale while editing.

Proposed fix
-    const folderAuth = get(i, 'root.request.auth');
+    const folderAuth = i?.draft ? get(i, 'draft.request.auth') : get(i, 'root.request.auth');
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@packages/bruno-app/src/utils/auth/index.js` at line 64, The code currently
reads folder auth with get(i, 'root.request.auth') which ignores unsaved draft
auth; update the resolution to prefer draft-aware auth by checking
root.request.draft.auth first and falling back to root.request.auth when absent
(i.e., use the draft value if present for folderAuth and any ancestor
inheritance logic), and update the symbol(s) folderAuth and the
ancestor-resolution logic that uses i/root.request to use this draft-first
lookup.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Duplicate comments:
In `@packages/bruno-app/src/utils/auth/index.js`:
- Line 82: The current assignment for auth in hasEffectiveAuth only checks
draft.request.auth and request.auth and misses folder-level auth
(root.request.auth); update the logic in hasEffectiveAuth (where auth is
computed) to fall back to get(item, 'root.request.auth') for folder items (or
when request.auth is absent), so auth = item?.draft ? get(item,
'draft.request.auth') : (get(item, 'request.auth') || get(item,
'root.request.auth')); ensure you reference the hasEffectiveAuth function and
the auth variable when making the change.
- Line 64: The code currently reads folder auth with get(i, 'root.request.auth')
which ignores unsaved draft auth; update the resolution to prefer draft-aware
auth by checking root.request.draft.auth first and falling back to
root.request.auth when absent (i.e., use the draft value if present for
folderAuth and any ancestor inheritance logic), and update the symbol(s)
folderAuth and the ancestor-resolution logic that uses i/root.request to use
this draft-first lookup.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 9cd4c4f6-ef59-410b-85bd-5f58424aa4bb

📥 Commits

Reviewing files that changed from the base of the PR and between 651187d and 7450e0b.

📒 Files selected for processing (1)
  • packages/bruno-app/src/utils/auth/index.js

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@tests/auth/auth-mode/effective-auth-mode.spec.ts`:
- Line 86: Remove the debug breakpoint call page.pause() from the E2E test so it
no longer blocks CI; locate the usage of page.pause() in the
effective-auth-mode.spec test and delete that call (or replace it with an
explicit wait/assertion if synchronous timing is required), ensuring any needed
waiting is done via deterministic Playwright waits like page.waitForSelector or
expect(...).toBeVisible rather than pausing the browser.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 1db0415a-a5c3-4167-9c7a-820fdb9916ad

📥 Commits

Reviewing files that changed from the base of the PR and between 7450e0b and 16585fe.

📒 Files selected for processing (11)
  • packages/bruno-app/src/components/CollectionSettings/Auth/AuthMode/index.js
  • packages/bruno-app/src/components/FolderSettings/Auth/index.js
  • packages/bruno-app/src/components/FolderSettings/AuthMode/index.js
  • packages/bruno-app/src/components/RequestPane/Auth/AuthMode/index.js
  • packages/bruno-app/src/components/RequestPane/Auth/index.js
  • packages/bruno-app/src/components/StatusDot/index.js
  • tests/auth/auth-mode/effective-auth-mode.spec.ts
  • tests/auth/auth-mode/modified-indicator-for-auth.spec.ts
  • tests/utils/page/actions.ts
  • tests/utils/page/constants.ts
  • tests/utils/page/index.ts
✅ Files skipped from review due to trivial changes (5)
  • tests/utils/page/index.ts
  • packages/bruno-app/src/components/StatusDot/index.js
  • tests/utils/page/constants.ts
  • packages/bruno-app/src/components/CollectionSettings/Auth/AuthMode/index.js
  • packages/bruno-app/src/components/FolderSettings/AuthMode/index.js
🚧 Files skipped from review as they are similar to previous changes (2)
  • packages/bruno-app/src/components/FolderSettings/Auth/index.js
  • packages/bruno-app/src/components/RequestPane/Auth/index.js

@sharan-bruno
sharan-bruno force-pushed the fix/modified-indicator-shown-incorrectly-on-collection-folder-request-tab branch from eea6e4d to ce76303 Compare June 2, 2026 12:47
@sharan-bruno sharan-bruno changed the title fix: 3386 Modified indicator shown incorrectly on collection, folder, and request tabs (including presets/Auth sections). fix(ui): correct “modified” indicator state across collection, folder, request, and presets/auth tabs (#3386) Jun 4, 2026
…w constants file and update import in folder-no-auth-stops-inheritance.spec.ts
… and request tabs (including presets/Auth sections).
… and request tabs (including presets/Auth sections).
@sharan-bruno
sharan-bruno force-pushed the fix/modified-indicator-shown-incorrectly-on-collection-folder-request-tab branch from e0f587e to c75091d Compare June 8, 2026 06:28
@bijin-bruno
bijin-bruno merged commit 2d4d4e4 into usebruno:main Jun 8, 2026
16 of 25 checks passed
abhishekp-bruno pushed a commit to abhishekp-bruno/bruno that referenced this pull request Jun 17, 2026
…, request, and presets/auth tabs (usebruno#3386) (usebruno#8027)

* fix: 3296 Folder-level No Auth inheritance is ignored; requests still use Collection Auth
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants