
| Key: |
FLM-338
|
| Type: |
Bug
|
| Status: |
Open
|
| Priority: |
Major
|
| Assignee: |
Unassigned
|
| Reporter: |
Borys Musielak
|
| Votes: |
0
|
| Watchers: |
0
|
|
|
|
Currently when assigning films or people to reviews / forum posts, we fetch them (using ajax call) and then place the title/name in the text field. This leads to many problems, the main one being that if there are two films of the same title, users are unable to select one of them.
How to fix this?
- Improve displaying of the results of ajax searches by appending the film release date to each result, i.e. instead of "A Nightmare on Elm Street / Koszmar z uliczy wiązów" display "A Nightmare on Elm Street / Koszmar z uliczy wiązów [1984] or A Nightmare on Elm Street / Koszmar z uliczy wiązów [2010]"
- When item is selected, we display it below the search form like this:
[x] A Nightmare on Elm Street / Koszmar z uliczy wiązów [2010]
- Clicking on [x] removes the item from the list
- Clicking on the item takes us to the item site (e.g. film site or actor site) in a new tab
- Whatever the user leaves in the search field should be ignored when the form is submitted.
Exception cases:
- When the user selects the same item twice, we should not append it to the list (check using item object_id in JavaScript)
- Note that those changes should affect only Javascript-enabled users. Those without JavaScript should be able to use the form as before (entering a list of comma-saparated film titles). Yes, the error in case of identical film titles will still exist for those users. Let's ignore it for now.
|
|
Description
|
Currently when assigning films or people to reviews / forum posts, we fetch them (using ajax call) and then place the title/name in the text field. This leads to many problems, the main one being that if there are two films of the same title, users are unable to select one of them.
How to fix this?
- Improve displaying of the results of ajax searches by appending the film release date to each result, i.e. instead of "A Nightmare on Elm Street / Koszmar z uliczy wiązów" display "A Nightmare on Elm Street / Koszmar z uliczy wiązów [1984] or A Nightmare on Elm Street / Koszmar z uliczy wiązów [2010]"
- When item is selected, we display it below the search form like this:
[x] A Nightmare on Elm Street / Koszmar z uliczy wiązów [2010]
- Clicking on [x] removes the item from the list
- Clicking on the item takes us to the item site (e.g. film site or actor site) in a new tab
- Whatever the user leaves in the search field should be ignored when the form is submitted.
Exception cases:
- When the user selects the same item twice, we should not append it to the list (check using item object_id in JavaScript)
- Note that those changes should affect only Javascript-enabled users. Those without JavaScript should be able to use the form as before (entering a list of comma-saparated film titles). Yes, the error in case of identical film titles will still exist for those users. Let's ignore it for now. |
Show » |
|
(bugfixes: http://bitbucket.org/filmaster/filmaster-test/changeset/4f4ec783bf4e and http://bitbucket.org/filmaster/filmaster-test/changeset/40525388f22a)
Proper fix moved to an unspecified release.