energy-data / energydata.info

energydata.info - open data and analytics for a sustainable energy future
http://energydata.info
MIT License
26 stars 6 forks source link

Organize the tags (countries, topics, etc.) by alphabetical order on facet list #304

Closed jodiegardiner closed 4 years ago

jodiegardiner commented 5 years ago

see title

jodiegardiner commented 4 years ago

@hy347mc

Items within tags now listed alphabetically. Check the left hand menu to see the change in effect here: https://energydata.staging.derilinx.com/dataset

If satisfied, please comment here and I will push to prod and close the ticket.

Thank you.

hy347mc commented 4 years ago

@hy347mc

Items within tags now listed alphabetically. Check the left hand menu to see the change in effect here: https://energydata.staging.derilinx.com/dataset

If satisfied, please comment here and I will push to prod and close the ticket.

Thank you.

Hi Jodie,

I cannot see this by clicking the link you shared with me. I got 502 Bad Gateway.

jodiegardiner commented 4 years ago

Hi @hy347mc,

That happens whilst the site is in the process of rebuilding (something I am doing quite often as I work on new features and test). If you see that, simply wait roughly 30 seconds and try again.

Thanks!

hy347mc commented 4 years ago

Hi @hy347mc,

That happens whilst the site is in the process of rebuilding (something I am doing quite often as I work on new features and test). If you see that, simply wait roughly 30 seconds and try again.

Thanks!

Hi Jodie,

I can see it now and the tags are indeed displayed alphabetically; however, I did notice one thing that doesn't make sense to me and needs to be modified. Please see below.

After clicking "show more organizations", the list of organizations will be extended correctly; however, the word displayed under all organizations is "only show popular organizations". But if we actually click that, we will go back to the organization names listed by alphabetical order not the popularity.

I suggest that we stick with displaying the tags alphabetically, since we already have had the "order by" and the option "popular" on the top right. Hence, we might need to change the wording to "Show less organizations" or something else. What do you think?

Capture2

jodiegardiner commented 4 years ago

Agree with your suggestion and implemented. Looks great!