Commit Graph

12 Commits

Author SHA1 Message Date
Guy Marriott
309dc97a32 FIX Pages should use rollback recursive to revert to previous versions (#2329) 2018-11-23 13:07:01 +13:00
Aaron Carlino
3f4d5ae03e BUGFIX: Bypass cached versions to prevent stale state 2018-11-05 09:55:51 +13:00
Robbie Averill
d1951c946f FIX Sort history viewer versions in descending order 2018-09-25 18:18:40 +02:00
Luke Edwards
2fbeda1564
ADD New search component for SiteTree (#2224) 2018-09-04 13:13:33 +12:00
Robbie Averill
e7cb0156c6 FIX Use LatestDraftVersion in GraphQL query to determine latest draft version 2018-08-08 14:05:28 +12:00
Robbie Averill
e3237f9638 NEW Add revert mutation and refactor injector transformations (#2158)
* NEW Add revert mutation and refactor injector transformations

Removing the existing HOC component and just using Injector transformations to apply the GraphQL query and mutation

* Refetch versions after performing the revert mutation

* WIP Provide additional context
2018-05-17 15:36:46 +12:00
Robbie Averill
c4f8af543c NEW Add AbsoluteLink to history viewer page GraphQL query (#2142) 2018-04-11 15:40:12 +12:00
Robbie Averill
cee2e48025 Rename readOnePage GraphQL query to ReadHistoryViewerPage 2018-03-27 13:46:09 +13:00
Robbie Averill
8daf907c4b Reduce wildcard to specific list of fields and use object spread operators in query 2018-03-22 15:46:59 +13:00
Robbie Averill
8d2dd0e208 Add react-apollo and graphql-tag to dependencies and fix linting in history viewer components 2018-03-22 10:51:53 +13:00
Robbie Averill
1a82f0364a NEW Add page GraphQL query HOC for history viewer component
Relies on silverstripe/versioned-admin being installed on SS 4.2 or above.
2018-03-22 10:51:53 +13:00
Damian Mooyman
496b9c8c04 API Implement insert-anchor modal 2017-09-20 13:35:25 +12:00