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

Files app clean history base #1040

Merged
merged 30 commits into from
Apr 15, 2021
Merged

Files app clean history base #1040

merged 30 commits into from
Apr 15, 2021

Conversation

ericfranz
Copy link
Contributor

No description provided.

@ericfranz ericfranz force-pushed the files_app_clean_history_base branch from 4bc0d9b to 5b3f44a Compare April 14, 2021 01:44
ericfranz and others added 19 commits April 14, 2021 09:27
Co-authored-by: Mario Squeo <msqueo@osc.edu>
UI for the files app with buttons for various actions not yet implemented

basic implementations for:

1. Open In Terminal
2. Show Dotfiles and Show Owner/Mode (Mario)
3. Filter box clearing on navigating to new directory (Mario)
4. Change directory via AJAX by selecting directory, clicking up, or specifying path in Change directory dialog
5. Copy path button
6. Sorting by Size and Modified at (Mario)

Co-authored-by: Mario Squeo <msqueo@osc.edu>
- Transfer resource allows executing the action synchronously or asynchronously via ActiveJob
- When using ActiveJob we use Rails built in support for GlobalID of the Transfer object
- Transfer manages its own in memory array of Transfer objects
- Client side, each transfer that is asynchronous has its own polling cycle
- Server side validations are enforced using ActiveModel validations
- System tests are added for end to end testing
Directory uploads include empty dirs only when a directory upload is initiated via drag and drop

This is due to HTML5 limitations

When using an <input type="file" webkitdirectory> you get back a FileList of File objects
When using drag and drop you get a transfer object that gives you access to the File and Directory Entries API
@ericfranz ericfranz merged commit 351caaf into master Apr 15, 2021
@ericfranz ericfranz deleted the files_app_clean_history_base branch April 15, 2021 00:57
@ericfranz ericfranz mentioned this pull request Apr 26, 2021
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants