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

Finish Project Details page - including Guidance section #943

Closed
stephaniesimms opened this issue Dec 13, 2017 · 9 comments
Closed

Finish Project Details page - including Guidance section #943

stephaniesimms opened this issue Dec 13, 2017 · 9 comments
Assignees
Labels

Comments

@stephaniesimms
Copy link

@briri on steps to complete #491. Alright, I reviewed the ticket and here's what's left to do:

  • Fix spacing between the 'mock/test project' checkbox and the input elements above and below it. It currently encroaches on 'Funder'
  • Make sure that only the first word in the field labels is capitalized (except for 'ORCID iD' which is the official name for that)
  • Finish implementing the guidance section. Note that it may be difficult to introduce a typeahead style autocomplete box like we use for Orgs since this list deals with a combination of Org name and Guidance Name (e.g. University of Edinburgh: Roslin Institute vs University of Somewhere Else: Somewhere Else guidance). If it proves to be very difficult I would recommend coming back to the team with a recommendation on an alternative implementation (e.g. a modal window that lists out all of the possibilities in several columns.
  • Please also move the migrate:plan_data_contacts rake task to the bugfix.rake rake task (maybe also rename that file to 'upgrade.rake') and add it as a task that gets run for v1.0. This extracts phone numbers and emails out of the old DMP contact info field and places them in the appropriate new columns and would need to be run by anyone upgrading.

Functional specs for Guidance section (blue notepad in screenshot):

  • This list should always include:
    [x] plan funder
    [x] plan organization
    [ ] user's organization if different from plan
    [x] DCC/CDL generic guidance
  • Plan funder should be selected and disabled– users can't turn it off.

screen shot 2017-12-12 at 7 27 23 pm

@stephaniesimms stephaniesimms added this to the Write plan pages milestone Dec 13, 2017
@stephaniesimms stephaniesimms changed the title Last details for Project Details page - including Guidance section Finish Project Details page - including Guidance section Dec 13, 2017
@briri briri assigned briri and bhavi and unassigned briri Dec 19, 2017
@briri
Copy link
Contributor

briri commented Jan 17, 2018

@bhavi Please disregard the instruction above that says 'Plan funder should be selected and disabled– users can't turn it off.'
The write plan page always shows question level guidance from the funder (aka annotations). The user cannot toggle those on or off. They should be able to uncheck the funder from the list on this page because it will allow them to turn off the themed guidance from the funder.

bhavi added a commit to CDLUC3/dmptool that referenced this issue Jan 23, 2018
add functional test for the select guidance list modal
briri added a commit that referenced this issue Jan 24, 2018
@stephaniesimms stephaniesimms assigned briri and unassigned bhavi Jan 24, 2018
@stephaniesimms
Copy link
Author

stephaniesimms commented Jan 25, 2018

changes are looking good. two things i noticed that need attention:

  • there's no restriction on the number of guidance boxes i can tick. please restrict total guidance selections to 6 per the instructions.
  • there's a usability problem when a user wants to save changes to guidance selections. the Save Selections button is straightforward when I click to expand the full list, but if I make any additional changes on the main Project details page it's not clear that I have to scroll down and click the Submit button. we need to tighten up the layout on this page anyway so users don't have to scroll down to find the Submit button. but it needs to be associated w/the guidance selection area too somehow. i'll consult w/UX and offer a solution by Mon.

@stephaniesimms
Copy link
Author

stephaniesimms commented Feb 12, 2018

same couple of issues persist for guidance selection @briri :

  • default/DCC guidance appears in the main list on Project Details page but is not ticked. This should be selected by default.
  • I can check more than 6 boxes, seems there is no limit (we should provide an error msg if a user selects more than 6 and tries to save the selection) "Error: Please select no more than 6 organisations and try submitting again."

1 - DCC should be checked by default
dcc-check-default

2 - Way more than 6 guidance selections
many-things

@stephaniesimms
Copy link
Author

I noted some cosmetic issues with guidance names in related issue #944
Everything in this issues appears to be working as expected. Closing but leaving here for @sjDCC to confirm. Of particular note: need to confirm that the hierarchical presentation of e.g. Edinburgh guidance is acceptable.

@sjDCC
Copy link
Contributor

sjDCC commented Feb 13, 2018

I'm reopening this as I found a couple of issues.

We've suggested a solution to the guidance display / hierarchy issue in ticket #944 so that should resolve this.

My main question related to the work in this ticket is the workflow to save selections. It's not clear what to do when you've clicked to 'see the full list' and made changes in the modal. Can we auto-save them or present this list outwith a separate window so the save button is on the same page? I thought we'd redesigned this page so it was on a single save button but we still have two - one for guidance selections and another for plan details?

The deselection of guidance or changing choices saved doesn't seem to work. I can untick selections but submitting changes doesn't remove these. I tried deselecting some and choosing others, but on 'submit' it retained old values and added new, leaving me with more than the permitted 6 choices. This seems to have jammed the selections now - I can deselect choices but not amend them for other ones. Re-saving via the 'submit' button doesn't remove those deselected.

guidance-deselection

@stephaniesimms
Copy link
Author

i created a new issue for the usability issues to address post MVP #1154

for now we just need to enable users to deselect guidance. current behavior prevents me from selecting more than 6 items as expected. but if try to deselect anything at any point and click Submit, the boxes return to being ticked. please fix to allow delection and saving changes @briri .

@stephaniesimms
Copy link
Author

@briri - i can deselect and save guidance now. but some other weird things are happening:

  • i can check more than 6 things now (screenshot 1)
  • when i click the x to close the modal I don't see my selections in the guidance list
  • if I click Submit, then it does add my selections to the list (all of them)

desired behavior is to allow a max of 6 selections (this was working before) and to add the checked items to the list on the main guidance page when i close the modal but before I click Submit (was also working before).

screen shot 2018-02-22 at 10 12 40 am

@stephaniesimms
Copy link
Author

everything working as expected now. just noting that outstanding issue to resolve hierarchy/guidance subsets is documented in a post MVP ticket. and clicking guidance tabs still results in jumping to the top of the page - this is a bootstrap problem that deserves attention post MVP also. closing this issue.

@sjDCC
Copy link
Contributor

sjDCC commented Feb 23, 2018

Guidance selections working nicely. Well done @briri Removing from board.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants