-
Notifications
You must be signed in to change notification settings - Fork 20
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
Add organisations in project editor #1746
Comments
@KasperBrandt For a modal dialog to add organisations, what set of fields would we need to support? The full set in the Django admin for adding organisations? |
[#1746] Add organisations in project editor
Just looked at this via http://rsr.test.akvo.org/en/myrsr/project_editor/3591/ The screenshot below shows 3 different Akvo's. It seems that name and long name need to be exactly the same, otherwise you can add the same organisation multiple times. I foresee a lot of duplications here. Furthermore wondering why we do not add certain fields anymore: location, contact details, website url etc. We could rethink what we want to show at an organisation page. Do we still want to show all information that has always been there? Or e.g. is the name of an organisation and the website url sufficient? |
We can certainly make the check for existing organisations case-insensitive. We could go further, and strip out spaces before checking for equality, so that any leading or trailing whitespace won't matter. This is a very simple change to make. |
good idea |
[#1746] Improvement of the 'Add organisation' functionality
Test plan
GIVEN the project editor
WHEN looking at section 3, partners
THEN there should be an 'Add new organisation' button
GIVEN the 'Add new organisation' button is clicked
WHEN the modal appears
THEN it should be possible to add a new organisation with a name, long name, IATI organisation ID, organisation type, and description
WHEN adding a new organisation
THEN the name and long name fields should be filled in
AND the name, long name and IATI organisation ID should not already exist in the database yet
WHEN an organisation has been added
THEN the modal should disappear
AND the new organisation should be selectable in the organisation typeaheads, except for the reporting organisation typeahead
Issue description
It should be possible for organisation Admins to add a new organisation while they're in the project editor, so that they don't have to visit the old admin.
The text was updated successfully, but these errors were encountered: