Closed sagargg closed 2 years ago
@sagargg looks good but I think we could start with a single view option so that it is radio buttons instead of checkboxes.
@sagargg @anuveyatsu thank you for this estimate.
Please Note: I am adding a 1hr buffer to the estimates to handle any contingencies. Therefore, the final total estimate is 7.5h
The client is interested to have views on the dataset page similar to the HDX dataset page.
Acceptance Criteria
Tasks
[ ] Analysis of how it can be implemented. [30 min]
[ ] Add a new field to the views to store the state of selection eg.
featured_dataset: true
. [est. 1 hr][ ] Create a helper function and action to return available all views from the dataset. eg
package_views_list
[est. 2 hr][ ] Add a new tab in the dataset template and implement UI inside that tab for users to select views. (with checkbox and submit button) [ est. 1.5hr]
[ ] Create a controller to save the selected view in the database. [est. 1.5 hr]
Buffer to handle any contingencies - 1 hr
TOTAL ESTIMATE: 7.5
Implementation approach
The idea is to add new tab
views
on the dataset page where the user sees all views and selects one of them to display it on the dataset page. ex: