Merge lp:~wallyworld/launchpad/sharing-picker-title-959417 into lp:launchpad
Status: | Merged |
---|---|
Approved by: | Curtis Hovey |
Approved revision: | no longer in the source branch. |
Merged at revision: | 15030 |
Proposed branch: | lp:~wallyworld/launchpad/sharing-picker-title-959417 |
Merge into: | lp:launchpad |
Diff against target: |
314 lines (+136/-62) 2 files modified
lib/lp/registry/javascript/sharing/shareepicker.js (+78/-58) lib/lp/registry/javascript/sharing/tests/test_shareepicker.js (+58/-4) |
To merge this branch: | bzr merge lp:~wallyworld/launchpad/sharing-picker-title-959417 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Curtis Hovey (community) | code | Approve | |
Review via email: mp+99459@code.launchpad.net |
Commit message
Improve the title and step title displayed by the sharee picker and fix the re-selection of a sharee.
Description of the change
== Implementation ==
The branch fixes 2 issues with the sharee picker:
1. Improve title and step title
2. After selecting a sharee, if the Back button is used and a new sharee is selected, the old sharee was still being used.
The picker displays different text for title and step title depending on if a new sharee is being added or if an existing sharee is being updated.
New sharee:
Share with a user or team
Select sharing policies for Fred
Edit sharee:
Update sharing policies
Update sharing policies for Fred
A bit of refactoring was done to move the code to render the step 2 content to a separate method.
== Tests ==
Update test_shareepick
== Lint ==
Linting changed files:
lib/lp/
lib/lp/
thank you.