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

Test/delete bucket #88

Open
wants to merge 73 commits into
base: dev
Choose a base branch
from
Open

Test/delete bucket #88

wants to merge 73 commits into from

Conversation

chaoen
Copy link
Contributor

@chaoen chaoen commented May 26, 2016

work in progress

  • bucket service
  • bucket controller
  • delete controller

JamieHo3312 and others added 30 commits April 18, 2016 16:27
Remove `angular-breadcrumb` because it doesn't support nested path. And
I re-implement a new breadcrumb component.

* Remove angular-breadcrumb from dependencies
* Add layout/breadcrumb component
* Add a method call to $bucket for update the bucket length
* Add file.css
* Add file.html
When user clicked the bucket on bucket list, we will change the state
whcih is the user selected.

* Add `selectBucket` method to BucketController
* Update the view of bucket component
When the user enter into `file` state, the FileController will set the
path to $file service and get file list. For testing the UI flow, I add
a fake API call to $file service.

* Add `getFiles` method to $file service for fetch file list
* Add `setPaths` method to $file service for set the API prefix
* Add basic view for view the state of FileController
We redesign the bucket list by md-list of Angular Material
Add file controller properties to file.html for UI display.

* import file styles in file module
* bind properties
* paths.folders is Array
* add `prefix` parameters to api call
Add method to breadcrumb for update the paths and update file
module. This commit can display bucket and files, but not yet
support display folder.

* add `updateFilePath` to $breadcrumb
* add necessary method call to file controller
jigsawye and others added 30 commits May 18, 2016 16:24
Modify the state of upload service, because the privous are not useable
in transfer. All files(pending, uploading, success...) in state.files
now, and use `status` for control.

* Refactor state tree.
* Refactor methods.
* Update totalSize
The authentication will throw a `token_invalid` fails so add new
condition for handle it.

* Update config/http.config.js
Move all upload object to transfer service, because the transfer should
display upload status and delete status, so the both data must be handle
in same service.

* Move methods to transfer service
* Add some translations
* Move app's updating status to $transfer and renamed to processing
Implement the `none`, `properties`, `transfers` button.

* Add `properties` to layout state
* Add `openTransfers`, `openProperties` and `closeSidePanels` methods
Update the component let user can select buckets.

* Renamed selectBucket to clickBucket
* Add selectBucket to bucket ctrl
* Add selectBucket to bucket service
* Add data format to buckets
Add feature delete bucket.

* Add deleteDialog, selectBucket, deleteBucket to bucket service
* Add delete bucket controller
* Add method to action-navbar for delete bucket
Testing all function in bucket service.
Testing all function both bucket controller and delete controller.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants