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

Tasks Improvements #9

Open
wants to merge 66 commits into
base: 7.x-3.x
Choose a base branch
from
Open

Tasks Improvements #9

wants to merge 66 commits into from

Conversation

jonpugh
Copy link
Member

@jonpugh jonpugh commented Oct 31, 2016

Using for review. May not ever merge this.

jonpugh added 30 commits August 6, 2016 12:12
…ect/hosting into 11494427-hosting-task-js-remove
…ting Vue.js.

 - Rewrite hosting_task.js to follow Drupal.behaviours pattern and to implement Vue.js app.
 - Return JSON results via hosting/tasks/queue hosting_task_ajax_queue() menu callback.
 - Add views template for hosting-task-list tables to allow embedding of Vue.js markup.
 - Add hostingTasks javascript settings and vue.js to View hosting_task_list-block.
…ting Vue.js.

 - Add a views_post_execute hook to alter task data.
 - Wrap TR in template so we can apply class to TR.
…ting Vue.js.

 - Adding "View" button to task logs.
…ting Vue.js.

 - Renaming table views template to only affect the block.
…ting Vue.js.

 - Renaming table views template to only affect the block.
…ting Vue.js.

 - Removing unused experimental vue.js class binding.
…ting Vue.js.

 - Creating a custom theme function/template for available tasks table.
 - Moving hosting task settings to hook_prepreprocess_page() so it loads on every page. Load available tasks on pages node pages.
 - Combining tasks and available tasks in a single payload.
 - Adding vue model for available tasks.
…ting Vue.js.

 - Add a watch function to allow for attachingBehaviors
…ting Vue.js.

 - Only show view link if there is a task nid.
…ting Vue.js.

 - Hide tasks if they are not permitted and they have no task NID.
 - Add "disabled" buttons.
 - Hide the entire row if the task is "hidden".
…ting Vue.js.

 - Adding content type to Hosting Task View and template so it reads "Verify Site:" instead of "Verify".
 - Adding jQuery "timeago" plugin  and adding timestamps so we can dynamically update "time ago". See http://timeago.yarp.com/
 - Styling "time ago" text to not be too obtrusive.
…s come it. This ensures new tasks restart at "0 seconds".
…e type. Adding a helper function hosting_task_type_name() to get a readable name from a task type.
…jects: Verify Site, Verify Platform, Verify Server.
- Added update to enabling timeago module and save date format.
- Added hook hook_date_format_types() to enable a "Dynamic Time Ago" format.
- Exporting the hosting_task_list view to use the Dynamic Time Ago format.
…ps Drupal.behaviors in order to uncomplicate things. All logic can be contained in the Vue object.

Also, commenting out our timeago code in order to use the drupal modules settings.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant