We are looking for a new date range/calendar selection component for our analytics portal. We need new functionality to compare periods ideally as Google has for example in AdWords or analytics.
The promising ones are these, but they don't allow comparison.
https://www.daterangepicker.com/#usage
https://github.com/nathanreyes/v-calendar
Thank you for a tip on a component or possibly which one to try to modify.
Of course, we searched, but we could not find a component with this functionality. The last option is to write it down, but that seems useless to me.
Related
I have a Google script that parses email notifications from my local library about due dates and pick-up notices, then creates calendar events on a Google calendar. It's not professional code, but it works and is serviceable enough for the family.
I would like to add a feature that allows one to open a calendar event, click on something (like a button or link) and an event that spans 5 days will get shortened to end on the day it is clicked. The calendar page gets pretty full with 5-day-long events that may have been picked up on the first day. I need to keep the event on the calendar, because it also serves as a history of checkouts that the library does not keep.
I can kluge together the logic to do the event manipulation, but it's the firing off that process that is stumping me. I've seen Google spreadsheet usage as a backend db-like service, but that really feels like using Access back in school, so I'd like to find a different approach.
So here's the deal. I'm creating a personal start page for every time I open up a new tab or window on my browser. In my current start page, I have a search field which immediately searches in Google for me. However, many times I search for images or videos or wikipedia etc. I want to eliminate having to click on (for example) Images after my Google search. I would like to have a dropdown box next to my search, and be able to choose images, following which it would automatically search in Google Images, instead of going to standard Google.
Here's an example of what I'm thinking about:
https://dribbble.com/shots/871091-Search-Box
So the default would be blue, which will do a standard Google search. If I want to search for an image, I click the red icon in the dropdown before the search, which would automatically do a Google Image search. I'd prefer having a dropdown box, and not an option list.
Is this possible? If so, can someone help me with how to go about doing it? I am not a web developer, but I am comfortable with basic and intermediary concepts of HTML, CSS and JavaScript. Linking me some tutorials to this would be helpful, if they exist. I wasn't able to find any in my searches, but maybe I've been using the wrong terms.
Cheers.
The feature you're looking for is called search engines. You can map a keyword to a search engine.
For instance I can type y nyancat in the omnibar to search for "nyancat" on YouTube.
Similarly you can set one up for google images.
I can cut and paste with the best of 'em, and using https://developers.google.com/maps/documentation/javascript/directions I created a map that allows users to select from dropdowns the travelMode to and from 10 MetroRail sites at http://www.helpasneeded.com/test-googlemapstai.
What I don't see is how to allow users to enter information, e.g., date and time of travel or unique start and end locations. Can someone help?
Thanks.
I should not answer this, yet I will.
One... you need some DOM, HTML for a user to Input Data and then to Use Javascript to pull that data.
http://codeacademy.com much better than overly technical code documents.
I'm using Google Tag Manager to add Universal Analytics to a page and triggering an event with the JavaScript API. I'm able to the see the event being sent using GA Debugger and on the "Real-Time -> Events" page in GA but it never seems to make it to the "Behaviour -> Events" page (no filters or segments on). The page has been live for about 2 months so I would have thought the raw data would be well and truly processed by now. Is anyone able to provide any insight on why this is happening?
I had a similar issue. Mine was resolved by changing the default tracking period from the default in the calendar (top right) on the Events Overview -page.
I came across this 'issue'.
I had integrated google tag manager into my site, and could see that the events were showing in realtime, but not in the historical data for behaviours/events.
The solution was, looking a the calendar. The historical events for me were, by default, looking at the previous months events. This makes sense then that the real time data I was seeing was not showing.
Below is the image of my realtime events coming through.
And here is an image of what I was seeing by default in the historical events view.
The day these images were taken was the 30th January 2017, as you can see, the calendar at the top right of the events graph is searching through December. Aha... makes sense now why the events are not showing right?
So I clicked the calendar, to change the date period being searched by the events graph and set it to my desired range, in this case, I set it to search for this Month (January), as I had only just implemented the tag manager logic.
Low and behold, after clicking apply on this new date range, the events appeared as I expected them to.
I'm unsure if this answers the OP's specific issue but this is what solved it for me.
I've been looking around for a good back-end independent HTML/CSS/JS widget for many-to-many/has_many relations with XHR filtering and I can't seem to find any.
I find hard to believe people are constantly re-inventing this wheel.
What am I missing?
EDIT: Ok, from the number of people that didn't understand it, this was a crappy question.
I believe that regular web interactions should come at minimal cost (it should either already be in HTML or a package install away).
That's true for most cases. However, I'm having a hard time finding something for picking up an item from a collection (Not autocomplete, something more elaborate than merely a string. If you want an example, assume you want to pick users and have their avatar displayed while picking.).
Picture this:
When you want the user to provide
a short string in a form, you give them an input box
a long text in a form, you give them a text area
a piece of HTML (for a blog post's body, for example), you give them a text area with CKEditor or TinyMCE
pick something from a short list, you give them a drop down menu (like a select box)
a string based on a wide range of known alternatives, you give them an input box with autocomplete (jQuery UI Autocomplete, YUI Autocomplete, etc..)
a set of items from a wide range of options, you give them... drumroll...
I don't know! And that's my question. I've searched a bit and could only come up with jquery-tokeninput as a credible option.