Skip to content
This repository has been archived by the owner on Mar 18, 2021. It is now read-only.

Feature/dashboard redesign #104

Merged
merged 1 commit into from
Nov 30, 2015
Merged

Feature/dashboard redesign #104

merged 1 commit into from
Nov 30, 2015

Conversation

tonmoy18
Copy link
Contributor

No description provided.

@publishables = []
# there is almost certainly a better way to do this!!!
Collection.find(depositor: current_user.user_key).each do |collection|
unless DoiRequest.find_by_asset_id(collection.id)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

check if it has identifier

@tonmoy18
Copy link
Contributor Author

Dashboard tabs grouping needs to be centralized

Batch apply metadata needs to be in describe group

All references of compile should be changed to organize

Collections/Show needs removal of Files Button
Collections/Show needs removal request DOI
Collections/Show needs dashboard tabs

@tonmoy18 tonmoy18 force-pushed the feature/dashboard-redesign branch 4 times, most recently from bc0f4eb to 3cef17d Compare November 19, 2015 16:06
@tonmoy18
Copy link
Contributor Author

@rotated8 Fixed all the issues brought up during the meeting. Now admins can view all files they have view access to, and normal users can only view their own files (not even files shared with them - this is current behavior). Also had to make the specs pending, I will need time to figure out why they are acting strange. I will create a different pull request with the fixed specs.

@rotated8
Copy link
Collaborator

Please add the specs to this PR. This is where they're relevant.

@tonmoy18
Copy link
Contributor Author

@rotated8 you are right. I fixed the specs, they should be working now. I just realized I need to add the pagination for files (at least for admin users). I will do that by tonight

@tonmoy18
Copy link
Contributor Author

@rotated8 Pagination of the add-files page is going to be a non-trivial task. Because currently all the checked files are sent as an array, files that are not in the page won't be sent and be removed from the array. I could use a jquery pagination, but that will still download all the files and use JS to do pagination

- Add Dashboard icons
- Add Publishable view and controller
- Implemented draft for dashboard breadcrumb
- Remove collections from my facets
- Add add files action link for collections list
- Fix specs to match new dashboard design
- Make dashboard tab groupping centralized in a new helper
- Add spec for publishables controller
- Add spec for new views
- Fix spec for admin users add file
rotated8 added a commit that referenced this pull request Nov 30, 2015
@rotated8 rotated8 merged commit 689323e into master Nov 30, 2015
@rotated8 rotated8 deleted the feature/dashboard-redesign branch January 14, 2016 18:53
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants