Project

General

Profile

Bug #27060

add ability to select a specific file using file-explorer.

Added by Vaibhav Chauhan almost 3 years ago. Updated almost 3 years ago.

Status:
Resolved
Priority:
Regression
Assignee:
ChenTao Wang
Category:
GUI (new)
Severity:
New
Reason for Closing:
Reason for Blocked:
Needs QA:
Yes
Needs Doc:
Yes
Needs Merging:
Yes
Needs Automation:
No
Support Suite Ticket:
n/a
Hardware Configuration:
ChangeLog Required:
No

Description

please add back ability to select specific file using file explorer.

History

#1 Updated by Bonnie Follweiler almost 3 years ago

  • Status changed from Untriaged to Unscreened

#2 Updated by Lola Yang almost 3 years ago

Hi Chentao,

We already have getFilesystemListdirChildren and getDatasetsAndZvolsListChildren in entity-form.services, which can be used to list all directories, files or zvols. Maybe we can add one more property, like exploer_type: zvol/directory/file. How do you think?

#3 Updated by ChenTao Wang almost 3 years ago

  • Status changed from Unscreened to Fix In Progress

#4 Updated by ChenTao Wang almost 3 years ago

Hi Lola,

That's a good idea. I will add a new attribute(explorer_type) in form-explorer component as you referred.

#5 Updated by ChenTao Wang almost 3 years ago

In file explorer,

A new property, "explorerType" was added. "explorerType" property has three values, "zvol", "directory", "file".
The default value is "file".

Please take the code as an example.

{
type: 'explorer',
name: 'filesystem',
placeholder: 'ZFS Filesystem',
explorerType: "zvol",
initial: '/mnt'
}

#6 Updated by ChenTao Wang almost 3 years ago

  • Status changed from Fix In Progress to Needs Developer Review

#7 Updated by ChenTao Wang almost 3 years ago

  • Status changed from Needs Developer Review to Fix In Progress

#8 Updated by ChenTao Wang almost 3 years ago

  • Status changed from Fix In Progress to Needs Developer Review

#9 Updated by Dru Lavigne almost 3 years ago

  • Status changed from Needs Developer Review to Resolved

Also available in: Atom PDF