shalvah / oldtweets.today

"On This Day" for Twitter #TwitterThrowback
http://oldtweets.today
113 stars 24 forks source link

Collapsible headers for each year #30

Closed shalvah closed 5 years ago

shalvah commented 5 years ago

For someone with a lot of tweets, after results have been fetched, it takes a lot of scrolling to get to tweets from an older year (say 2013). It would be nice if the year headers could be clicked to hide/show the content as needed.

The task is to modify the header shown for each year so that:

That is, an effect similar to Bootstrap's collapse https://getbootstrap.com/docs/4.3/components/collapse/

MichaelGee commented 5 years ago

I can fix it.

Frontend-io commented 5 years ago

Hi, I'm Jefferson, a frontend developer. I can make this. I have utilised it before building a CBT app interface. Questions are matched to their buttons, onclick the button, the question that matches the data attribute of the button is manipulated (shown, visible) and others are hidden or otherwise...

So...