-
Notifications
You must be signed in to change notification settings - Fork 370
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ozone] Dedicated Ozone browser in Hue #3189
Conversation
3ad1636
to
12f1468
Compare
12f1468
to
5dd10ef
Compare
65e10e0
to
4588703
Compare
The PR is ready for review. |
The PR description has been added. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Super nice!
This one is touching quite some legacy UI code and some things can be shortened/improved but I decided not to comment about that as we can better spend time cleaning up as part of moving the File Browser to React.
A few nits but all-in-all looks good to me!
}); | ||
|
||
self.isOFSVol = ko.pureComputed(function () { | ||
return self.isOFS() && self.currentPath().split("/").length === 3 && self.currentPath().split("/")[2] !== ''; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: Instead of split, why not .. && self.currentPath().toLowerCase() === 'ofs://'
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I didn't get this.
Here we are checking, that current path is at volume level (ofs://volume) or not.
so I was splitting the path like this -> ['ofs:', '', 'volume']
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome work folks.
I have put up some questions. Please check.
- Add ofs as a separate fs in proxyfs - Add ozone to user and group permissions - Update APIs with ofs - Default users to ofs root directory
- Check for fs_defaultFS null scenarios and raise error. - Use urlparse for better code readability. - Improve comments.
PR is rebased, merging now. |
- Add ofs as a separate fs in proxyfs - Add ozone to user and group permissions - Update APIs with ofs - Default users to ofs root directory (cherry picked from commit f050809) (cherry picked from commit 2e78a51) Change-Id: I1f1e7d03f9bb603927f3198d4b981ce062cae1f1 (cherry picked from commit 6034816)
What changes were proposed in this pull request?
The PR can be divided into following sub-sections:
LOAD DATA INPATH "ofs://...
.How was this patch tested?