Skip to content

Conversation

@laurynasgadl
Copy link
Member

@laurynasgadl laurynasgadl commented Jan 26, 2026

Summary by CodeRabbit

  • New Features

    • Added "edit" action to the file context menu for quick access to selected files.
  • Bug Fixes

    • Improved logout flow and session handling operations.

✏️ Tip: You can customize this high-level summary in your review settings.

@coderabbitai
Copy link

coderabbitai bot commented Jan 26, 2026

Caution

Review failed

The pull request is closed.

📝 Walkthrough

Walkthrough

These changes add an "edit" context menu action to the file listing interface that navigates to selected files using the router, and refactor the authentication logout flow to use a proxy utility function while deferring cookie clearance.

Changes

Cohort / File(s) Summary
Auth logout refactoring
frontend/src/utils/auth.ts
Replaces direct fetch calls with fetchURL utility for proxy logout. Defers cookie clearance to occur after proxy logout logic completes. Updates imports to include fetchURL from @/api/utils.
File editing feature
frontend/src/views/files/FileListing.vue
Adds "edit" context menu action for single non-directory file selection. Imports and initializes useRouter for navigation. Introduces editAvailable computed property to control action visibility and openSelectedFile function to navigate to selected file.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~12 minutes

✨ Finishing touches
  • 📝 Generate docstrings

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

@laurynasgadl laurynasgadl merged commit 37fb35b into master Jan 26, 2026
3 of 4 checks passed
@laurynasgadl laurynasgadl deleted the feat/edit-file-context-menu branch January 26, 2026 13:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant