Skip to content
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

Implement a Container Component #4

Open
jrgriffiniii opened this issue Sep 13, 2019 · 1 comment
Open

Implement a Container Component #4

jrgriffiniii opened this issue Sep 13, 2019 · 1 comment
Labels
enhancement New feature or request
Milestone

Comments

@jrgriffiniii
Copy link
Collaborator

Very similar to #3, but this should instead model directories/folders which are provided by the Rails API. These too should wrap the behavior of a https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/checkbox Element, but will also need to be extended to provide a tree-like interface (https://codeburst.io/practical-recursion-implementing-a-file-tree-view-in-react-electron-af62e7b46d26 seems to provide a simple example of how this might be implemented in React - please ignore any Redux integration, as this is going to be handled in https://github.com/jrgriffiniii/browse-everything-react)

@jrgriffiniii
Copy link
Collaborator Author

As modeled within the BrowseEverything API, the properties for this should resemble something along the following:

@Prop() uuid!: string;
@Prop() location!: string;
@Prop() containers: Array<Container>;
@Prop() bytestreams: Array<Bytestream>;
@Prop() name!: string;
@Prop() size: number;
@Prop() mtime: number;

@jrgriffiniii jrgriffiniii added the enhancement New feature or request label Feb 17, 2020
@jrgriffiniii jrgriffiniii added this to To do in BrowseEverything Web Components via automation Feb 17, 2020
@jrgriffiniii jrgriffiniii added this to the 1.0.0.rc1 milestone Feb 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
No open projects
Development

No branches or pull requests

1 participant