# Suggestion : Topic History Modal

**URL:** https://meta.discourse.org/t/suggestion-topic-history-modal/79161
**Category:** UX
**Created:** [1월 27, 2018, 6:24오후 UTC](https://meta.discourse.org/t/suggestion-topic-history-modal/79161 "2018-01-27T18:24:11Z")
**Posts on this page:** 18
**Page:** 1

<div class="post-metadata">

### Author: ![RobMeade](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/robmeade/32/109119_2.png) [@RobMeade](https://meta.discourse.org/u/RobMeade)
#### Post date: [1월 27, 2018, 6:24오후 UTC](https://meta.discourse.org/t/suggestion-topic-history-modal/79161/1 "2018-01-27T18:24:11Z")

</div>

Hi,

Sometimes I need to _Hide Revision_ on lengthy topics, as such, I have to scroll to the bottom of the post within the _History_ modal in order to click the button, if a slight tweak was made to this modal, I wouldn’t need to.

Instead of doing this;

 ![image](https://global.discourse-cdn.com/meta/original/3X/2/8/28263d3a98337de7cf42f9a49680c0d086b356fc.png)

Could we have this?

 ![image](https://global.discourse-cdn.com/meta/original/3X/6/6/66834215e3560381b57edbd4a4abe6e48c7a2d12.png)

You’ll note that the _footer_ of the modal which contains the buttons is separate from the scroll bar, as per the _header_ of the modal which contains the _Close_ button and the heading;

![image](https://global.discourse-cdn.com/meta/original/3X/6/1/611717e60a9dddf61b756507f386996197b8e4ac.png)

This would still allow for reviewing of the entire topic where necessary but also provide the ability for quick action by having the buttons visible without scrolling.

Thanks in advance 🙂

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [1월 28, 2018, 4:47오전 UTC](https://meta.discourse.org/t/suggestion-topic-history-modal/79161/2 "2018-01-28T04:47:35Z")

</div>

Sure great idea, is this possible @awesomerobot ?

---

<div class="post-metadata">

### Author: ![RobMeade](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/robmeade/32/109119_2.png) [@RobMeade](https://meta.discourse.org/u/RobMeade)
#### Post date: [1월 28, 2018, 8:42오전 UTC](https://meta.discourse.org/t/suggestion-topic-history-modal/79161/3 "2018-01-28T08:42:55Z")

</div>

Thanks Jeff, obviously I hope it wouldn’t _only_ benefit myself 😉

---

<div class="post-metadata">

### Author: ![jomaxro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jomaxro/32/126216_2.png) [@jomaxro](https://meta.discourse.org/u/jomaxro)
#### Post date: [1월 28, 2018, 11:43오전 UTC](https://meta.discourse.org/t/suggestion-topic-history-modal/79161/4 "2018-01-28T11:43:46Z")

</div>

I swear I requested this before (can’t find it right now…), but while we’re making the footer sticky, it’d be nice to also make the header sticky - particularly the previous/next buttons. For the same reasons @RobMeade brings up, it’d be nice to be able to change revisions without needing to scroll up all the way. Very useful when comparing multiple long edits. Bonus points if the history modal remembered where it was scrolled to when changing revisions 😃.

 ![image](https://global.discourse-cdn.com/meta/original/3X/b/2/b265365c70d9f79ce1ab36e4a5930b4ed28e497e.png)

Edit: Found it!

> [@Improving usability of wiki post editing?](https://meta.discourse.org/t/improving-usability-of-wiki-post-editing/57009/19):
>
> This would be nice for the edit log regardless of if the post is a wiki. I could’ve sworn I suggested this before, but I can’t for the life of me find that post…

Seems I had similar issues finding this request back in June 😉.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [1월 28, 2018, 11:44오전 UTC](https://meta.discourse.org/t/suggestion-topic-history-modal/79161/5 "2018-01-28T11:44:15Z")

</div>

Can’t say I agree with that – make everything “sticky” and there’s no display room for anything else.

We should pick one, though.

---

<div class="post-metadata">

### Author: ![jomaxro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jomaxro/32/126216_2.png) [@jomaxro](https://meta.discourse.org/u/jomaxro)
#### Post date: [1월 28, 2018, 11:47오전 UTC](https://meta.discourse.org/t/suggestion-topic-history-modal/79161/6 "2018-01-28T11:47:13Z")

</div>

> [@codinghorror](#):
>
> make everything “sticky” and there’s no display room for anything else.

I agree. Let me make a quick mockup of an idea.

---

<div class="post-metadata">

### Author: ![RobMeade](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/robmeade/32/109119_2.png) [@RobMeade](https://meta.discourse.org/u/RobMeade)
#### Post date: [1월 28, 2018, 11:50오전 UTC](https://meta.discourse.org/t/suggestion-topic-history-modal/79161/7 "2018-01-28T11:50:40Z")

</div>

I must confess, on this one I didn’t think to search first before posting, sorry - I normally try to to prevent duplicating.

Thanks both for the support with this one, look forward to seeing a mockup 🙂

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [1월 28, 2018, 11:51오전 UTC](https://meta.discourse.org/t/suggestion-topic-history-modal/79161/8 "2018-01-28T11:51:20Z")

</div>

Sure we can combine these topics, then.

---

<div class="post-metadata">

### Author: ![jomaxro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jomaxro/32/126216_2.png) [@jomaxro](https://meta.discourse.org/u/jomaxro)
#### Post date: [1월 28, 2018, 11:52오전 UTC](https://meta.discourse.org/t/suggestion-topic-history-modal/79161/10 "2018-01-28T11:52:01Z")

</div>

Umm…don’t think we should. My request is buried in a topic about wiki improvements…unless someone can find my original request for this feature.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [1월 28, 2018, 11:53오전 UTC](https://meta.discourse.org/t/suggestion-topic-history-modal/79161/11 "2018-01-28T11:53:39Z")

</div>

Oh you’re right, _that one_ should be closed because the default action on wiki posts is now edit (rather than reply). My bad.

---

<div class="post-metadata">

### Author: ![jomaxro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jomaxro/32/126216_2.png) [@jomaxro](https://meta.discourse.org/u/jomaxro)
#### Post date: [1월 28, 2018, 12:02오후 UTC](https://meta.discourse.org/t/suggestion-topic-history-modal/79161/13 "2018-01-28T12:02:02Z")

</div>

Here’s our current edit history modal when scrolled to the top:

 ![image](https://global.discourse-cdn.com/meta/original/3X/6/1/612d9d5aa871ebc7bed058b7cdb362cc6efdae32.png)

and here’s the modal when scrolled down:

 ![image](https://global.discourse-cdn.com/meta/original/3X/3/5/35b2b3bc7568834ff6fcf375decb79acf01f2029.png)

The “controls” area takes up over 100px for the previous and next buttons as well as the user who edited it. The footer takes up ~60px.

Instead of making both the header and the footer sticky, perhaps we can collapse the controls into the already sticky header (that currently says “History”) like so:

### Scrolled up view

 ![image](https://global.discourse-cdn.com/meta/original/3X/4/9/49db9456ce66fc32a15d4956e8b82c2a107535dd.png)

### Scrolled down view

 ![image](https://global.discourse-cdn.com/meta/original/3X/1/3/1324fc87d57d280279bc19c7533730970f26b28c.png)

When scrolled all the way to the top the modal should look as it currently does, but with the sticky footer. When scrolled down we should collapse the previous, next, user, and view type buttons into the header.

Thoughts?

---

<div class="post-metadata">

### Author: ![RobMeade](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/robmeade/32/109119_2.png) [@RobMeade](https://meta.discourse.org/u/RobMeade)
#### Post date: [1월 28, 2018, 12:09오후 UTC](https://meta.discourse.org/t/suggestion-topic-history-modal/79161/14 "2018-01-28T12:09:05Z")

</div>

I like the idea, my initial criticism (sorry), is that you lose the revision # / ## indication. Possibly not the be all and end all, perhaps if there isn’t room for it, could it appear when you hover over the controls?

I rarely use the history functionality on my mobile, but would this be a consideration also, e.g making sure someone like myself with large, ape-like, thumbs doesn’t hit the wrong buttons? 🙂

---

<div class="post-metadata">

### Author: ![jomaxro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jomaxro/32/126216_2.png) [@jomaxro](https://meta.discourse.org/u/jomaxro)
#### Post date: [1월 28, 2018, 12:17오후 UTC](https://meta.discourse.org/t/suggestion-topic-history-modal/79161/15 "2018-01-28T12:17:14Z")

</div>

> [@RobMeade](#):
>
> my initial criticism (sorry)

No need to apologize - feedback is good!

So nothing is being lost - when scrolled to the top you should see the full “controls” area like you do now. ( ~~I see that my mockup is confusing because it’s scrolled to the top…I’ll fix that~~ fixed). Only when scrolled down would the controls collapse. I’m not against adding more info to the collapsed header, we’d just have to ensure that it all fits.

> [@RobMeade](#):
>
> I rarely use the history functionality on my mobile

Mobile is a whole different issue. We show a desktop-sized modal that requires scrolling sideways to see everything. I’m all for improving it but that may need a topic of its own - it’s not pretty right now.

---

<div class="post-metadata">

### Author: ![RobMeade](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/robmeade/32/109119_2.png) [@RobMeade](https://meta.discourse.org/u/RobMeade)
#### Post date: [1월 28, 2018, 1:03오후 UTC](https://meta.discourse.org/t/suggestion-topic-history-modal/79161/16 "2018-01-28T13:03:18Z")

</div>

Gotcha, in that case this sounds good to me.. 🙂

---

<div class="post-metadata">

### Author: ![awesomerobot](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/awesomerobot/32/142900_2.png) [@awesomerobot](https://meta.discourse.org/u/awesomerobot)
#### Post date: [1월 29, 2018, 2:50오후 UTC](https://meta.discourse.org/t/suggestion-topic-history-modal/79161/17 "2018-01-29T14:50:35Z")

</div>

Appears to be a fairly simple enhancement to make, I should be able to add it this week. Thanks again, @RobMeade!

---

<div class="post-metadata">

### Author: ![RobMeade](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/robmeade/32/109119_2.png) [@RobMeade](https://meta.discourse.org/u/RobMeade)
#### Post date: [1월 29, 2018, 3:01오후 UTC](https://meta.discourse.org/t/suggestion-topic-history-modal/79161/18 "2018-01-29T15:01:57Z")

</div>

Fantastic, many thanks 🙂

---

<div class="post-metadata">

### Author: ![awesomerobot](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/awesomerobot/32/142900_2.png) [@awesomerobot](https://meta.discourse.org/u/awesomerobot)
#### Post date: [2월 3, 2018, 3:49오전 UTC](https://meta.discourse.org/t/suggestion-topic-history-modal/79161/19 "2018-02-03T03:49:44Z")

</div>

Made this change earlier in the week.

[https://github.com/discourse/discourse/commit/2eef9b32956e5e99ab5873a7c23bb99b8c99c4ce](https://github.com/discourse/discourse/commit/2eef9b32956e5e99ab5873a7c23bb99b8c99c4ce)

---

<div class="post-metadata">

### Author: ![awesomerobot](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/awesomerobot/32/142900_2.png) [@awesomerobot](https://meta.discourse.org/u/awesomerobot)
#### Post date: [2월 3, 2018, 3:49오전 UTC](https://meta.discourse.org/t/suggestion-topic-history-modal/79161/20 "2018-02-03T03:49:48Z")

</div>


