openaustralia / righttoknow

Theme for, and issues specific to, Right To Know.
https://www.righttoknow.org.au/
MIT License
21 stars 15 forks source link

Intro text on some authorities is really long #651

Open henare opened 8 years ago

henare commented 8 years ago

e.g. https://www.righttoknow.org.au/new/tasmanian_department_of_health_and_human_services

selection_001

In this case it's because we included all the hospital names as a hack so that when you search you find this authority. Maybe this needs to be behind a "More..." reveal on our theme?

Keerti-Gautam commented 7 years ago

Hi @henare, I think it would be a good idea to list all the hospitals within a "See the list of Covered hospitals" link just after "... medical clinics throughout Tasmania" line. This, in my opinion, would increase the readability of the visitors of the website. What do you suggest?

garethrees commented 7 years ago

As a quick win, you could use a <details> element:

<p>The Department of Health and Human Services provides a comprehensive, high quality, safe and sustainable health and human system for Tasmanians.</p> <details> <p><summary>It’s portfolio covers hospitals and medical clinics throughout Tasmania,</summary> including: Tasmanian Health Organisation North, Launceston General Hospital, St Helens District Hospital, Deloraine District Hospital, George Town District Hospital and Community Centre, North East Soldiers Memorial Hospital and Community Centre, Beaconsfield MPS, Campbell Town MPS, Flinders Island MPC, St Marys Community Health Centres, Cape Barren Island Nursing Centre, John L Grove Rehabilitation Unit, Mayne Street Day Centre, Ravenswood Community Health Centres, Westbury Community Health Centres, Northern Integrated Care Service, Kings Meadows Community Health Centres, Toosey Inc (Longford), Longford Community Health Centres, Tasmanian Health Organisation South, Royal Hobart Hospital, New Norfolk District Hospital, Swansea Community Health Centres, Midlands MPHC, Central Highlands Community Health Centres, Triabunna / Spring Bay Community Health Centres, Bridgewater / Brighton Community Health Centres, Glenorchy Community Health Centres, Clarence ICC, Sorell Community Health Centres, Clarence Plains / Rokeby Community Health Centres, Kingston Community Health Centres, Huon Community Health Centres, Cygnet Community Health Centres, Bruny Island Community Health Centres, Hobart Repatriation Centre, Tasmanian Health Organisation North West, North West Regional Hospital, Mersey Community Hospital, Smithton District Hospital, King Island District Hospital, West Coast District Hospital, Burnie Community Health Centres, Central Coast Community Health Centres - Ulverstone, Devonport Community Health Centres, James Muir Community Health Centres - Wynyard, Rosebery Community Health Centres, Strahan Community Health Centres, Zeehan Community Health Centres, King Island District Hospital and Health Centre, West Coast District Hospital, Correctional Primary Health Service, the Family Violence Counselling and Support Service. and then Disability and Community Service.</p> </details>

screen shot 2017-03-27 at 10 02 18

benrfairless commented 7 years ago

Does that work with our current version of Alaveteli? Might need to ensure it's in the CSS (ping @equivalentideas).

Any change will need to be made in Admin console not via a pull request.

-- Ben Fairless Volunteer - Right to Know - @RightToKnowAu

A project of the OpenAustralia Foundation

Sent from my iPhone, potentially using dictation. Apologies for any spelling or grammar mistakes

On 27 Mar 2017, at 5:02 pm, Gareth Rees notifications@github.com wrote:

As a quick win, you could use a

element:

The Department of Health and Human Services provides a comprehensive, high quality, safe and sustainable health and human system for Tasmanians.

It’s portfolio covers hospitals and medical clinics throughout Tasmania, including: Tasmanian Health Organisation North, Launceston General Hospital, St Helens District Hospital, Deloraine District Hospital, George Town District Hospital and Community Centre, North East Soldiers Memorial Hospital and Community Centre, Beaconsfield MPS, Campbell Town MPS, Flinders Island MPC, St Marys Community Health Centres, Cape Barren Island Nursing Centre, John L Grove Rehabilitation Unit, Mayne Street Day Centre, Ravenswood Community Health Centres, Westbury Community Health Centres, Northern Integrated Care Service, Kings Meadows Community Health Centres, Toosey Inc (Longford), Longford Community Health Centres, Tasmanian Health Organisation South, Royal Hobart Hospital, New Norfolk District Hospital, Swansea Community Health Centres, Midlands MPHC, Central Highlands Community Health Centres, Triabunna / Spring Bay Community Health Centres, Bridgewater / Brighton Community Health Centres, Glenorchy Community Health Centres, Clarence ICC, Sorell Community Health Centres, Clarence Plains / Rokeby Community Health Centres, Kingston Community Health Centres, Huon Community Health Centres, Cygnet Community Health Centres, Bruny Island Community Health Centres, Hobart Repatriation Centre, Tasmanian Health Organisation North West, North West Regional Hospital, Mersey Community Hospital, Smithton District Hospital, King Island District Hospital, West Coast District Hospital, Burnie Community Health Centres, Central Coast Community Health Centres - Ulverstone, Devonport Community Health Centres, James Muir Community Health Centres - Wynyard, Rosebery Community Health Centres, Strahan Community Health Centres, Zeehan Community Health Centres, King Island District Hospital and Health Centre, West Coast District Hospital, Correctional Primary Health Service, the Family Violence Counselling and Support Service. and then Disability and Community Service.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.
garethrees commented 7 years ago

Yeah, I think the notes field has always rendered HTML. Might want to check browser support of <details> and compare to your user base (Google Analytics should show browser usage).

equivalentideas commented 7 years ago

@garethrees I really like that solution, and caniuse suggests our 70% of our users have support for <details>.

screen shot 2017-03-28 at 12 01 59 pm

@garethrees this does seem like something that might be best handled by the software, rather than error prone humans—but what do you recon? Is this something it might be worth automating upstream?

Thanks for getting this issue going again @Keerti-Gautam 👍

I think it would be a good idea to list all the hospitals within a "See the list of Covered hospitals" link just after "... medical clinics throughout Tasmania" line. This, in my opinion, would increase the readability of the visitors of the website.

Do you mean with a little disclosure toggle like in @garethrees’s mock up here? https://github.com/openaustralia/righttoknow/issues/651#issuecomment-289394857

garethrees commented 7 years ago

Is this something it might be worth automating upstream?

I think it would be quite tricky to add to Alaveteli, and unlikely to be something that we'd be able to prioritise soon. It wouldn't be obvious what to put in the <summary> and what should be hidden by default. We also have partners using the notes field for extra contact info and various other ways, so actually I think its better for this to be manual.

equivalentideas commented 7 years ago

so actually I think its better for this to be manual.

That makes sense, thanks @garethrees 👍

benrfairless commented 7 years ago

So if we are going to do this manually, there are 63 authorities on Right to Know that have more than 100 words in the details.

These are they (in order of biggest words) - I'll go through these in the Admin console and see if the details tab will work.

benrfairless commented 7 years ago

Details seems to be working pretty well:

651-3 651-4
Keerti-Gautam commented 7 years ago

@benrfairless I see there are a lot of authorities here. I was searching for something which would automate this, so you wouldn't have to do this manually for every authority, but without any avail. Let me know if you find something that can be helpful! I'd be glad to know. Also, tell me if I can be of any help. :smiley:

benrfairless commented 7 years ago

Hey @Keerti-Gautam it might be possible to do via CSV - I got a CSV of the attached here, and did some excel magic to work out the number of words. I know that we can upload CSVs to perform mass edits of documents, this would save me having to update each authority individually.

Keerti-Gautam commented 7 years ago

OH! This is severely cool! :smile: Great! Thanks a lot for telling me!