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

documents: improve detail views #258

Merged
merged 1 commit into from
Jul 21, 2020
Merged

documents: improve detail views #258

merged 1 commit into from
Jul 21, 2020

Conversation

sebdeleze
Copy link
Contributor

  • Improves detail views for documents.
  • Removes unused macros.
  • Removes unused filters functions.
  • Completes JSON test document.

Co-Authored-by: Sébastien Délèze [email protected]

@sebdeleze sebdeleze marked this pull request as ready for review July 8, 2020 08:29
@sebdeleze sebdeleze requested a review from BadrAly July 9, 2020 06:19
@pronguen pronguen self-requested a review July 15, 2020 13:26
Copy link
Contributor

@pronguen pronguen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • Field ORCID not displayed in professional editor (it is impossible to add an ORCID)
  • Bug keeping only first author when editing a document (i think the bug is already described for RERO ILS)
  • Thesis imported from RERO DOC don't have a date 😞 Date of thesis is stored in MARC field 502$9. We should update the conversions AND the date facet for this case.
  • According to mockups:
    • The affiliation is not displayed if there is no controlled affiliation > a solution?
    • The role is not displayed > should we display it only if it is not "creator" (cre)?
  • If an author has the role dgs, it is not displayed in the author list (brief + detailed view). It even creates a small punctuation error (see screenshot below). Check also other roles.
    image
  • ORCID should be stored in the data model as identifiers of type "bf:Local". There are now stored as "bf:Doi"
  • The abstract should be displayed in the interface language first (brief + detailed view). It is currently displayed in German first, whatever the interface language is (test this example)
  • [detail] Field controlled_affiliation should not be displayed/editable in professional editor
  • [detail] The preview at the end of the process "Deposit a publication" doesn't correspond to current detailed view.

@mmo
Copy link
Collaborator

mmo commented Jul 16, 2020

  • The affiliation is not displayed if there is no controlled affiliation > a solution? (currently, we show the affiliation as tooltip on the controlled affiliation)

Yes, the affiliation should be displayed in all cases. In addition, we might consider (now or later) to add a link to controlled affiliations allowing the user to bounce to a new search having that affiliation as criterion (and activating the corresponding facet entry).

  • The role is not displayed > should we display it only if it is not "creator" (cre)?

Sure, we should show the distinction between creators and the other roles. The proposal of showing the role label only for non-creators seems interesting. Later on, we might add the role label to creators as well, based on feedback from our users or clients.

@pronguen
Copy link
Contributor

@sebastiendeleze Result of a brief discussion with Miguel:

  • The affiliation is not displayed if there is no controlled affiliation > a solution? (currently, we show the affiliation as tooltip on the controlled affiliation)

Solution: display the controlled affiliation in the tooltip, and the other one next to the author (the inverse of current situation).

  • The role is not displayed > should we display it only if it is not "creator" (cre)?

Solution: display creators first, without role indication, and then the other roles (with indication in brackets, cf. image below)

image

Mockup has been updated on Switchdrive (\sonar_shared\WP3_user_interface\mockups\search_v4.pdf)

@sebdeleze
Copy link
Contributor Author

Some modifications have been done, here's my feedback:

  • Field ORCID not displayed in professional editor (it is impossible to add an ORCID)

I will correct that in the issue dedicated for the editor #230.

  • Bug keeping only first author when editing a document (i think the bug is already described for RERO ILS)

That's right and will be corrected in next ng-core release.

  • Thesis imported from RERO DOC don't have a date 😞 Date of thesis is stored in MARC field 502$9. We should update the conversions AND the date facet for this case.

This field will be imported in #254, which is ready to review. What's the priority of this field against other dates?

  • According to mockups:

    • The affiliation is not displayed if there is no controlled affiliation > a solution?

OK, corrected taking care of your additional comments.

  • The role is not displayed > should we display it only if it is not "creator" (cre)?

OK, corrected taking care of your additional comments.

  • If an author has the role dgs, it is not displayed in the author list (brief + detailed view). It even creates a small punctuation error (see screenshot below). Check also other roles.
    image

Corrected.

  • ORCID should be stored in the data model as identifiers of type "bf:Local". There are now stored as "bf:Doi"

Corrected

  • The abstract should be displayed in the interface language first (brief + detailed view). It is currently displayed in German first, whatever the interface language is (test this example)

Corrected

  • [detail] Field controlled_affiliation should not be displayed/editable in professional editor

This will be done in #230.

  • [detail] The preview at the end of the process "Deposit a publication" doesn't correspond to current detailed view.

Could you create another specific issue for that?

@pronguen pronguen self-requested a review July 20, 2020 14:09
Copy link
Contributor

@pronguen pronguen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great corrections, everything works 👌
I would just put the roles with first character in lower case.

@sebdeleze
Copy link
Contributor Author

Great corrections, everything works 👌

Thanks!

I would just put the roles with first character in lower case.

Done! This will be available after next deployment.

* Improves detail views for documents.
* Removes unused macros.
* Removes unused filters functions.
* Completes JSON test document.
* Adds a method to get permalink for a document in document API.
* Adds a configuration to set permalink URL format.
* Adds the permalink when document is serialized.
* Adds the text for `provisionActivity` and `partOf` when the document is serialized.
* Adds an outline to search button in frontpage.
* Specifies current language in admin page, to have the UI interface in the correct language.

Co-Authored-by: Sébastien Délèze <[email protected]>
@sebdeleze sebdeleze merged commit f113b1d into rero:dev Jul 21, 2020
@sebdeleze sebdeleze deleted the sed-document-detail-view branch July 21, 2020 16:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants