Skip to content

Feat/detail panel filepath view in condition - #63304

Open
redsteadz wants to merge 3 commits into
nextcloud:masterfrom
redsteadz:feat/detail-panel-filepath-view-in-condition
Open

redsteadz wants to merge 3 commits into
nextcloud:masterfrom
redsteadz:feat/detail-panel-filepath-view-in-condition

Conversation

@redsteadz

@redsteadz redsteadz commented Aug 16, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • the context menu has an option 'View In Folder' menu item available in the Files app
  • Added a file path below the name in files detail page

TODO:

  • Need to add before and after changes for the frontend.

Before:

  • File Details:
image
  • File View In Folder context item:
image

After:

  • File Details
image - File View In Folder context item image

Checklist

AI (if applicable)

  • The content of this PR was partly or fully generated using AI
    The tests written were made using the help of GPT-5.6 Sol

@redsteadz
redsteadz requested review from a team and skjnldsv as code owners August 16, 2026 19:00
@redsteadz
redsteadz requested review from kristian-zendato and susnux and removed request for a team August 16, 2026 19:00
Assisted-by: OpenCode:gpt-5.6-sol
Signed-off-by: redsteadz <harcolemas@gmail.com>
@redsteadz
redsteadz force-pushed the feat/detail-panel-filepath-view-in-condition branch from 0567f26 to ed82de3 Compare August 16, 2026 19:24
}

// Only works outside of the main files view
if (view.id === 'files') {

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.

when is this needed? Meaning when is this action ever useful in the files view?
As the files view is already the action target view this would end up in?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

When doing search this action never appears, even though the file is within some xyz folder, and instead of just the file. I want to go to the actual folder. So instead of just disabling by view.id files, we can check if we are in the same folder as actual file, then no need to show this.

Comment on lines +25 to +26
<div class="filesSidebarSubname__path">
{{ node.path }}

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.

when the filepath is visible from the current path (e.g. files view or folder tree) then this is quite confusing to people. IMHO this should be move to its own section to make it a bit cleaner.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Okk, fair point, will update with a different section and a label

@joshtrichards joshtrichards added enhancement good first issue Small tasks with clear documentation about how and in which place you need to fix things in. 3. to review Waiting for reviews feature: files feature: search community pull requests from community labels Aug 19, 2026
inline
:path="mdiStar"
:name="t('files', 'Favorite')" />
<div :class="$style.filesSidebarSubname__path">

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.

I meant this one - the path should only be shown if its not in the current folder.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Ohh okk ok sure

@github-actions

Copy link
Copy Markdown
Contributor

Hello there,
Thank you so much for taking the time and effort to create a pull request to our Nextcloud project.

We hope that the review process is going smooth and is helpful for you. We want to ensure your pull request is reviewed to your satisfaction. If you have a moment, our community management team would very much appreciate your feedback on your experience with this PR review process.

Your feedback is valuable to us as we continuously strive to improve our community developer experience. Please take a moment to complete our short survey by clicking on the following link: https://cloud.nextcloud.com/apps/forms/s/i9Ago4EQRZ7TWxjfmeEpPkf6

Thank you for contributing to Nextcloud and we hope to hear from you soon!

(If you believe you should not receive this message, you can add yourself to the blocklist.)

@solracsf solracsf added this to the Nextcloud 36 milestone Sep 12, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews community pull requests from community enhancement feature: files feature: search feedback-requested good first issue Small tasks with clear documentation about how and in which place you need to fix things in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

File search: Information Tab should contain file path

4 participants