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 Bytestream Component #3

Open
jrgriffiniii opened this issue Sep 13, 2019 · 3 comments
Open

Implement a Bytestream Component #3

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

Comments

@jrgriffiniii
Copy link
Collaborator

This should model file resources in BrowseEverything which can be selected within the Upload form. I suspect that they should contain some file metadata and wrap the behavior of https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/checkbox (as they are going to be selected by users during the Upload submission process).

@jrgriffiniii
Copy link
Collaborator Author

Assigning to @randalldfloyd

@jrgriffiniii
Copy link
Collaborator Author

Please see a screenshot of the file entries in the current UI:
image

@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() container: Container;
@Prop() name!: string;
@Prop() size: number;
@Prop() mtime: number;
@Prop() mediaType: string

I would have preferred to use @Prop() id!: string;, but I'm afraid that Stencil does not permit id to be used.

@jrgriffiniii jrgriffiniii added the enhancement New feature or request label Feb 17, 2020
@jrgriffiniii jrgriffiniii added this to the 1.0.0.rc1 milestone Feb 17, 2020
@jrgriffiniii jrgriffiniii added this to To do in BrowseEverything Web Components via automation 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