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

Things to amend - June 2023 #1323

Open
6 of 7 tasks
nclopezo opened this issue Jun 26, 2023 · 6 comments
Open
6 of 7 tasks

Things to amend - June 2023 #1323

nclopezo opened this issue Jun 26, 2023 · 6 comments
Assignees

Comments

@nclopezo
Copy link
Member

nclopezo commented Jun 26, 2023

  • 1. Add a custom sorting for the release date filter in documents.
  • 2. Remove time from release date. Screenshot 2023-11-01 at 09 31 57
  • 3. Show Molecule Features for all the compounds
  • 4. Delete text 'Synthetic' from 'Synthetic Small Molecule'
  • 5. Add new icon for chemical probe.
  • 6. Add new icon for natural product.
  • 7. Fix the overlapping of texts in the histogram bars:
Screenshot 2023-07-04 at 14 06 44
@nclopezo nclopezo self-assigned this Jun 26, 2023
@nclopezo
Copy link
Member Author

@juanfmx2 I checked and regarding 2 it would be better if we had a text from elasticsearch without the time part ('T00:00:00'), because it will be fixed from the source, instead to having to apply the parsing everywhere it appears on the interface.

@nclopezo
Copy link
Member Author

nclopezo commented Jul 4, 2023

Regarding task 1, now we can set up a custom configuration for certain properties. For example, for ChEMBL Release in documents, now you can select up to 100 bars, this means that you can see all the releases in the histogram:

Screen.Recording.2023-07-04.at.15.54.34.mov

Now you can also sort by either key or count, this means that you can sort by the release name instead of the number of items of the bar:

Screen.Recording.2023-07-04.at.15.57.40.mov

As it was expected, the order is lexicographic. I tried to add a custom script to sort it in a 'natural' way, but it was not possible, and we will have the same problem when sorting on the table. I think is better to make a field with a name like 'release_label' that has the number first, and the values are something like:

  • '1. CHEMBL_1'
  • '2. CHEMBL_2'
  • '3. CHEMBL_3'
  • '4. CHEMBL_4'

That way we can sort it in a natural way easily.

@juanfmx2
Copy link
Member

juanfmx2 commented Jul 4, 2023

I think even if the number is leading it will not solve the sorting issue, because is will still be a string the only way to solve it is to add leading zeros to the the releases with a single digit (CHEMBL_01, CHEMBL_02, CHEMBL_03 . . . CHEMBL_09)

@nclopezo
Copy link
Member Author

nclopezo commented Jul 5, 2023

Yes, you are right, my bad, the way to fix it would be to add leading zeros.

@nclopezo
Copy link
Member Author

nclopezo commented Nov 1, 2023

There is a new custom sorting for the ChEMBL release filter:
Screenshot 2023-11-01 at 09 34 19

More releases appear as the number of bars is increased.
Screenshot 2023-11-01 at 09 35 34

@BZdrazil
Copy link

BZdrazil commented Nov 1, 2023

It looks great now, thank you!

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

No branches or pull requests

3 participants