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

Enhancement: History section doesn't make sense #1493

Closed
clarkepaul opened this issue May 11, 2016 · 10 comments
Closed

Enhancement: History section doesn't make sense #1493

clarkepaul opened this issue May 11, 2016 · 10 comments

Comments

@clarkepaul
Copy link
Contributor

clarkepaul commented May 11, 2016

The history section UI doesn't make sense to me. The search doesn't work, the toggle view is unrelated as well as the title "Pages", feels like development wasn't really finished here.

pasted_image_11_05_16__4_49_pm

I put together a quick idea to give it a refresh in the UX https://invis.io/YT79NDWK6#/157419810_CMS_History1 although it is missing the comparison screen and the option to view drafts or just published versions so would need more work.

@tractorcow tractorcow added this to the 4.0.0-alpha2 milestone May 20, 2016
@sminnee sminnee modified the milestones: CMS 4.0.0-beta1, CMS 4.0.0-alpha2 Aug 8, 2016
@hoKRa1
Copy link
Contributor

hoKRa1 commented Jan 19, 2017

I am not able to see the search in Chromium 55.0.2883.87 and Firefox 50.1.0. Has it been removed?

screenshot from 2017-01-19 14-58-48

@clarkepaul
Copy link
Contributor Author

Between the time the screenshots have been made a bit of styling has changed with the introduction of Bootstrap. I think the whole top toolbar in that panel is hidden under the history versions as it either didn't work or was the wrong context eg. Pages title with no site tree.
The UX of this area is pretty bad in that changing to the History tab changes the content of the previous panel.

@clarkepaul
Copy link
Contributor Author

Marking as impact high as without modifications the history area is unusable on smaller devices.

@clarkepaul
Copy link
Contributor Author

clarkepaul commented Jun 26, 2017

New mockups are in progress to ensure the files area works on smaller screens and that the following issues are resolved.

Issues with current UI:

  • No colour key for new/removed content
  • No version number in the list of versions
  • Actual page name is not at the top of page (Should replace "Pages")
  • Versions are not contained in the history tab (cover page tree), which means the UI is not responsive.
  • Revert button should probably be green (not disabled looking)

Potential enhancements

  • No HTML view (would help for links, classes etc), could have a view/html toggle
  • Do we need to keep all draft versions—perhaps just need drafts since last published?

pasted_image_26_06_17__1_47_pm

pasted_image_26_06_17__1_54_pm

pasted_image_26_06_17__1_56_pm

pasted_image_26_06_17__1_46_pm

@clarkepaul clarkepaul self-assigned this Jun 27, 2017
@jamessilverstripe
Copy link

@chillu
Copy link
Member

chillu commented Jul 10, 2017

Marking as impact high as without modifications the history area is unusable on smaller devices.

I disagree on the impact assessment, for reasons I've discussed on silverstripe/silverstripe-framework#1943 (and with Paul in person). Viewing the history of a page, comparing pages and reverting to an older version is a specialised use case that I don't see as a common action in a mobile phone context. We're positioning the mobile support for SS4 as "good for quick edits". The one use case that I think has merit on mobile is approving a workflow request, and quickly reviewing changes before doing so.

Also, if we're touching this area, I think we should convert it to a React-based UI and make it independant of SiteTree - this view will be just as useful for other versioned records (in a GridField context). And it should take into account ownership models of nested versioned records. @clarkepaul How do you see an author reviewing a publish action on a page which also published a few content blocks and related assets? It's kind of a mini-campaigns view, but with diffs rather than just a preview.

I agree this section needs attention, and the new designs look awesome. But for now lets focus on fixing obvious bugs with the current implementation, and look at the redesign in the bigger picture. If the section is unuseable on mobile, then let's hide it there. I'm unsetting the milestone, but happy to review more focused bugfixes if you want to create tickets for them.

@chillu chillu removed this from the Recipe 4.0.0-beta2 milestone Jul 10, 2017
@clarkepaul
Copy link
Contributor Author

I just want to say that even desktop users often have their browser window over half of their monitor rather than full screen. Smaller viewport doesn't alway mean mobile (mobile is the extreme). As for making this into a reusable react component... nice!

There are two main approaches to viewing the history of components that I see. The first one is to only include the content changes on the page they live on (not practical if that component is used on multiple pages though), and the other is that all items require their own history which could be a huge piece of work. I think this needs to be raised as part of the content blocks work.

@chillu
Copy link
Member

chillu commented Jul 13, 2017

The ability to show history on arbitrary objects has also come up in our current content blocks research

@chillu
Copy link
Member

chillu commented Aug 23, 2017

I've created a higher level ticket for this to account for all kinds of versioned records: silverstripe/silverstripe-versioned#37. This will become important in terms of content blocks, but we likely won't get around to an implementation for another couple of months. I'd expect there to be a bit of discussion and design revisions on how we want to handle nested versioned dependants, so it'll be good to start the designs earlier

@clarkepaul clarkepaul removed their assignment Oct 1, 2017
@chillu
Copy link
Member

chillu commented Feb 1, 2019

We've completely refactored this section and implemented @clarkepaul's redesign, closing.

@chillu chillu closed this as completed Feb 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants