-
Notifications
You must be signed in to change notification settings - Fork 28
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
Show comparisons between versions in history viewer #33
Merged
robbieaverill
merged 44 commits into
silverstripe:1
from
creative-commoners:pulls/1/different-rebase
Aug 13, 2018
Merged
Changes from 40 commits
Commits
Show all changes
44 commits
Select commit
Hold shift + click to select a range
0fc7660
NEW Add diff view form transform for comparisons
e025e91
Add redux support for comparison view
2a45f25
Add compare button on active version view
11ea083
NEW Adding a compare mode active notice to the history viewer
ScopeyNZ 359a260
NEW Dropdown atop history viewer for holding actions
raissanorth db72f6d
NEW Adjust history viewer to allow for compare mode
fb28afa
Refactor history viewer components to be more maintainable
robbieaverill f365395
Add tests to HistoryViewerHeading and slightly refactor it by derefer…
raissanorth 75c2c85
NEW Add schema endpoint and shell method for returning compareForm
robbieaverill c48f5a1
Refactor compare warning into own component
ScopeyNZ e029b73
NEW Alter components to allow for compare mode
a47bdd0
Add jest unit tests for the historyViewerReducer
robbieaverill f3f6a56
MINOR Refactor HistoryViewerController to centralise input validation…
robbieaverill a8e0d63
NEW styles and fixes for styling and code cleanliness
robbieaverill 92eab59
FIX selecting two rows in list view UI issues
ScopeyNZ 9d26ba0
Fix margins when choosing versions to compare (#11)
raissanorth 09de65b
Refactoring compare properties to a consistent shoaped object (#15)
ScopeyNZ 72938ef
Add colours to dels and ins (#16)
raissanorth 55dc009
FIX SET_COMPARE_MODE reducer no longer clears previously set compareF…
robbieaverill aeaaa86
Logic for Diff rendering moved from Transformation to new Field
0cdd00c
Refactor tests to use Enzyme and add tests for HistoryViewer and Hist…
raissanorth c8e9047
Removing the addition of old render methods that were previously extr…
ScopeyNZ 9ac05c7
FIX Set min-width for compare enabled table to 100% to prevent margin…
robbieaverill 35afd7f
FIX Padding and scrolling around detail views is now consistent
robbieaverill 064bb9a
NEW Add behat tests for using compare mode
robbieaverill 4900fed
Simplifying actions definitions that dispatch a single action
ScopeyNZ 6c421b5
FIX Badge margin is moved to the text to allow it to break lines nice…
robbieaverill 6a8b7ea
Removing option to fix compare notice & adding padding under it
ScopeyNZ 3dabca1
Use classnames helper on object defined classes
ScopeyNZ 3e044dc
FIX History viewer list is now rendered as an unordered list instead …
robbieaverill dee3fc2
NEW History Viewer now uses ViewModeToggle to control the preview panel
robbieaverill 786990c
Add tests for HistoryViewerVersion
raissanorth 6b5b3d4
Update feature context since the versions are list items now instead …
raissanorth 2758348
fix rebase
47e3ae2
API Versions from and to are now stored as objects in the store (#29)
NightJar 763138f
FIX remove double-margins from version comparison
8e611ac
FIX Convert compareType to use version objects, restructure tests and…
robbieaverill 58d128e
FIX Update case on viewModeActions import and recompile
robbieaverill 855e1f2
FIX Margins are correct when both in and out of a GridField, and colo…
robbieaverill 2614804
FIX getLatestVersion now looks at the LatestDraftVersion version prop…
robbieaverill aed0726
FIX Add roles to list and list items, make list items keyboard access…
robbieaverill eed1ca9
FIX Change list item anchor for span with role="button" to justify us…
robbieaverill 8611e47
FIX Allow more width for version numbers in list, so alignment of sta…
raissanorth b5a8286
Update Behat tests to remove merge conflict and old references to anc…
robbieaverill File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We've been using the condition as the value more commonly in this PR so perhaps we should do that: