This repository has been archived by the owner on Dec 27, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 11
Schedule UI for snapshot in customizer #68
Merged
Merged
Changes from all commits
Commits
Show all changes
62 commits
Select commit
Hold shift + click to select a range
30df6bd
[WIP] Schedule UI for snapshot in customizer
PatelUtkarsh b01a91e
Template and css update
PatelUtkarsh 069fbbe
Update template, refactor js for slidedown and add js function for da…
PatelUtkarsh c744de8
Update publish date from update call and add js update function to up…
PatelUtkarsh 9766502
Working prototype for scheduling UI in customizer
PatelUtkarsh 95e0573
Fix scheduling edit_date issue
PatelUtkarsh 6492b66
Disable update button if snapshot schedule date changed
PatelUtkarsh 7deb456
Schedule request only if schedule date is in future
PatelUtkarsh 136ed7d
rename variable to isSnapshotHasUnsavedChanges
PatelUtkarsh 9e04395
Add populateInputs and refactor populateSetting
PatelUtkarsh 132dc8a
Change button text to schedule if snapshot post status is schedule
PatelUtkarsh 8f20ab7
Add remain time to publish text
PatelUtkarsh 0eba899
Add rest button
PatelUtkarsh d1fa9d5
Fix text domain
westonruter 26399a1
Install eslint so checks can run
westonruter 94d234b
Bump node.js to 5.x on Travis for sake of ESLint
westonruter 6460b48
Add nvm use 4 to Travis
westonruter 345294a
Do nvm install before nvm use
westonruter 6311e36
Fix eslint issues
PatelUtkarsh a6c381d
Fix control visbility
valendesigns 7be3a5b
Fix merge conflicts
valendesigns d8a1edb
Fix error on updateScheduledCountdown when controls are not initialized
PatelUtkarsh 08a2171
On reset update UI settings
PatelUtkarsh 4ef7d54
On snapshot change schedule icon should be visible
PatelUtkarsh c2281d0
Visibility of schedule toggle icon fix on publish and normalize date …
PatelUtkarsh 9a58741
Fix edit link not visible on snapshot create
PatelUtkarsh 73c1817
Fix unit test
PatelUtkarsh a8a614c
Code reivew changes
PatelUtkarsh 0d21f51
Fix date issue on snapshot update after scheduling
PatelUtkarsh 1ee150a
Fix eslint complexity
PatelUtkarsh 256f7b6
On snapshot schedule/update call populateSetting to update UI
PatelUtkarsh 96cba79
Refactor
valendesigns d7848cf
Fix eslint issues
valendesigns 0f5634d
Fix typo
valendesigns 2772725
Reset schedule variables when snapshot publish
PatelUtkarsh ccf7a86
Add unit-test for schedule snapshot
PatelUtkarsh ee64c74
Fix unit test for multisite
PatelUtkarsh 5640162
Fix unit test for multisite for real
PatelUtkarsh 976c740
Ensure a scheduled Snapshot is published after the Customizer is saved
valendesigns 7d1a8cc
Fix tests
valendesigns a5294bd
Format template output
valendesigns f0391dd
Fix edit link visiblity issue on dirty snapshot state
PatelUtkarsh 00a674c
Optimize extend in js
PatelUtkarsh 1daff6c
Fix error args not undefine
PatelUtkarsh 2f3fa54
Fix UI issue
PatelUtkarsh 11b5acd
Remove extra semicolon
PatelUtkarsh e98c6f1
Simplify the z-index issue, only slightly
valendesigns 244debe
Merge branch 'develop' of https://github.com/xwp/wp-customize-snapsho…
westonruter 096d44c
Add unit-test for get_month_choices and override_post_date_default_data
PatelUtkarsh add9311
Title and screen reader text add
PatelUtkarsh 00857ba
Check post exists check more readable
PatelUtkarsh ae7189d
Fix js dateValueOf function
PatelUtkarsh 59a7484
Update unit-test
PatelUtkarsh f825bea
Add test for Customize_Snapshot_Manager::preview_snapshot_settings();…
westonruter 4ea308b
Add test for Customize_Snapshot_Manager::import_snapshot_data()
westonruter 85e590c
Add target blank on snapshot-edit link
PatelUtkarsh 3e5ce8a
Merge branch 'feature/schedule-ui-customizer' of github.com:xwp/wp-cu…
PatelUtkarsh 14572fe
Add test for setup_preview_ajax_requests in admin-ajax
westonruter 4589448
Test last line of override_request_method
westonruter e416ced
Add test for Customize_Snapshot_Manager::preview_early_nav_menus_in_c…
westonruter 1ed08b6
Add tests for customize_preview_init and enqueue_preview_scripts
westonruter 535cbd5
Add test for filter_customize_refresh_nonces
westonruter 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
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.
Why do we need node version 4, what is this fixing?
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.
ESLint requires Node 4 now.
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.
There was an ESLint fatal error otherwise since Node<4 doesn't support
let
. ESLint would also warn in the Travis build about the old version of node, before ultimately it would fatal error.