Dirk Dougherty
fc61720cd5
Support "ID" lang code in place of "IN".
...
Change-Id: I56632e638fdda81e494cbb7080502b35393a291f
2016-09-21 18:29:18 -07:00
smain@google.com
4f3a05a2c6
Merge all of templates-sdk-dev into templates-sdk.
...
I actually just deleted templates-sdk/ then made a copy of templates-sdk-dev/
and then renamed it to templates-sdk/. So this is a clean copy.
Once this goes through cleanly, I'll delete templates-sdk-dev/ and update
all doc targets to use templates-sdk/.
Change-Id: I276695969e02fcf718370564e84b077a9d43725e
2016-08-31 11:30:02 -07:00
Scott Main
4d6e15df03
Revert "add studio survey button to header."
...
40k responses is probably enough.
This reverts commit 075aad742a
.
Change-Id: I0c1964fda243c32f57156e762edec511314d9cb5
2016-05-06 16:08:56 +00:00
smain@google.com
075aad742a
add studio survey button to header.
...
adds JS to save in local storage whether the user already clicked the
survey. The button appears only if they have not clicked it yet.
Change-Id: Ifc5a100a8bb8505c47d95c7cfb5aaa8cdbfdc8bd
(cherry picked from commit f887aec708
)
2016-04-29 16:28:40 +00:00
Amanda Kassay
2bb3328965
Added html escape for search queries to fix XSS issue
...
b/28135307
Change-Id: Ifd1a0eadbdb726558446af4860986d1af55b77ae
2016-04-14 16:48:37 +00:00
Dirk Dougherty
c607a4d4d5
Update modal download dialogs for sdk/ndk download.
...
Revise the redirect behavior once download completes.
Add more appropriate title and download message when installing SDK tools only.
Force refresh when the Studio download dialog is dismissed, to avoid leaving the dialog in stale state.
Add styles for the Studio download page.
Change-Id: Ibc4ddb4a6130ab8bd8d6044472022465829f2000
2016-04-04 12:45:04 -07:00
Amanda Kassay
843649bab1
Migrating web search api to custom search api on templates-sdk
...
akassay.nyc.corp.google.com:9000/#q=mobile
Change-Id: I71bdc7dbfede7bff0361ce00abef8081b852dd36
2016-03-31 16:40:35 +00:00
smain@google.com
c040187f63
update zippy icons to use material arrow (up/down instead of right/down).
...
fixes bug 27695580, which was caused because I previously
submitted an update to the code doclava templates to do this but
did not update the current site templates in kind.
Change-Id: I33a4ef90359838c02def90beb486e5a2dc21cbf7
2016-03-16 11:48:23 -07:00
Dirk Dougherty
49a5668d6f
Fix broken suggestions for preview.
...
Change-Id: I1a13a3a9d9e38470ac040a37cdd04319bd6340e6
2016-03-09 14:36:34 -08:00
Scott Main
519da3e6b3
Revert "Search for suggestion matches across PREVIEW_RESOURCES."
...
This broke search suggestions.
This reverts commit 882adaed0e
.
Change-Id: I830339887955dfe86d502e54860d90ce59394d69
2016-03-09 20:42:29 +00:00
Dirk Dougherty
882adaed0e
Search for suggestion matches across PREVIEW_RESOURCES.
...
Change-Id: I8290aca2488a55da53905a658c98c0496709a8cb
2016-03-03 14:47:35 -08:00
Dirk Dougherty
8612002d89
Add Preview to templates-sdk develop nav and global nav in templates-sdk-dev. Remove dependence on -includePreview.
...
Change-Id: I1456c3c94522f58c7d1c899ff96dd95cdc6ada7c
2016-03-01 18:46:39 -08:00
Dirk Dougherty
6f10d4d761
Rebased Updated templates, styles, scripts for dac.
...
Change-Id: Ida1a7f39cb6df0255f8f9c8e96a2270a0283c59e
2016-01-28 18:28:16 -08:00
Dirk Dougherty
a2c9b9191a
Let ChangeNavLang switch lang for p as well as a element.
...
Change-Id: I2e9e450c8d773765b61c6967a3f6529eb29b8dc2
2015-10-16 22:14:43 +00:00
Quddus Chong
2cb2f687f8
docs: Removed navigation heading for Develop > Preview
...
Change-Id: Id6b86346bf5bcb562c167d48f2e8b3b73d94e0de
2015-09-04 15:10:21 -07:00
Dirk Dougherty
0b9e204df0
Support matching unicode characters in suggestions by changing match(regex) to indexOf(string).
...
Change-Id: I460a5cb43e4be6ff552a7b2d41b6d3957f2d02a2
2015-07-02 14:21:55 -07:00
Dirk Dougherty
825c1aa1a7
Highlight Essentials tab for distribute/tools content.
...
Change-Id: I8cc4a73dc1b507940d02b8e40e03aed966ab44b0
2015-05-26 14:45:09 -07:00
Dirk Dougherty
cbe032f87a
Sync style changes from external (sync3).
...
Change-Id: I590557ccc3bde1172e80f5a9bc0a2be2f30e23b8
2015-05-22 13:20:16 -07:00
Dirk Dougherty
cf7a3b9eb3
Highlight "Preview" subtab on preview pages. Support templating for ndk files within templates-sdk.
...
Change-Id: Iade5ac4630c9e763c377ab5749f16832e3ba47b7
2015-05-22 09:42:35 -07:00
Dirk Dougherty
a8bbfca3d0
Change "M Preview" tab to "Preview", change "monetize" subtab to "Earn". Highlight preview subtab on preview pages. Change "About" link to latest version of Android.
...
Change-Id: I80124a8a05311976a7c373dfdaf5bb984a9c3bc7
2015-05-15 17:05:38 -07:00
Dirk Dougherty
f97b2ef21a
Style and template updates to support responsive layout, mobile nav, email signup, updated styles (sync2).
...
Change-Id: I6e33dd10e1c9e8b378080464b4b70ac6b10df8b7
2015-05-13 13:54:09 -07:00
Joe Fernandez
a9d796a4f9
docs: Add navigation heading for Develop > Preview
...
Change-Id: I133672c6ecb5e778f49c31d091812ed7b6dc6b24
2015-05-06 22:24:31 -07:00
Dirk Dougherty
29e934367b
Swap templates-sdk and templates-sdk-dev files to enable redesign builds by default.
...
Change-Id: I9eabbbcd823fb29bd2209172c458cb9dad5f24d2
2015-05-05 18:17:13 -07:00
smain@google.com
d162be5b5f
change video analytics to distinguish between start and resume events.
...
also scrub out any additional parameters from the videoId before passing to analytics
Change-Id: Idf3351028e62d0d03c0f680a904bb83ef8353797
2015-02-05 17:49:49 -08:00
Dirk Dougherty
529a107f9d
Add new subtab under Distribute tab.
...
Change-Id: I991c3295dea40629fdb9dde4a8ccbecad25f8136
2015-01-15 16:27:39 -08:00
smain@google.com
94e0b53086
fix bug that allowed only one video in the shadowbox per page
...
bug: 18777918
Change-Id: I07c75f795128165e2f1472112cf8ba1a1ee782c7
2014-12-16 19:07:08 -08:00
smain@google.com
3de83c1bcd
make shadowbox video always centered to fit the window height
...
Change-Id: I03f8ffac555dbbbbd5538fedf13413aca031fd74
2014-12-15 09:27:48 -08:00
smain@google.com
481f15c172
set youtube player lang based on user pref and enable captions when not English
...
Change-Id: I3208074713d3f7b571a22a7ef8f18a9131827e98
2014-12-12 11:57:27 -08:00
smain@google.com
d24088c08d
add analytics event to track from which page a video was started
...
Change-Id: I9ba1f992c09fb9e18c55bca5bf3892e50f37012a
2014-12-12 11:37:22 -08:00
smain@google.com
ed677d7a0e
update analytics event for searches to make query case-insensitive
...
and save the URL instead of doc title.
Change-Id: Iad8c5f4873173f6964fc4ebffee8aef878891a8e
2014-12-12 10:19:17 -08:00
smain@google.com
570c2210b8
add support for shadowbox videos with start time specified with #t= in video url
...
Change-Id: I165620326f44f8e95bb34a2b623e67fc3b7dcc50
2014-11-25 19:03:56 -08:00
smain@google.com
f75ee21c34
add analytics event tracking for shadowbox player and
...
rig the 'notice-developers-video' style links to also use shadowbox for video playback
Change-Id: Ib48a7c5243ad926345ce9ae9bd572d59aea035f4
2014-11-24 10:47:07 -08:00
smain@google.com
698fff028a
add style and script to play videos in a shadowbox
...
anytime that a link appears in the page with class "video-shadowbox-button"
the link must also have the youtube video set in the href with the ?v parameter
Change-Id: I4af84f003075b8d2c43acd3295ce3955b141cc97
2014-11-21 09:56:42 -08:00
Dirk Dougherty
b87e300056
Support langs.
...
Change-Id: Ia01e4b41f0ebf2c54669428eef143dce5611d0bd
2014-11-19 23:31:03 +00:00
smain@google.com
6bdcb981ce
followup to recent cookie max-age change to remove parameter and use 2-year for all cookies
...
bug: 17781603
Change-Id: Id0da9d41e01c6a45672d1362fc1c5aa39e558904
2014-11-14 11:53:07 -08:00
smain@google.com
80e38f4872
remove cookie expiration and add max-age of 2 years.
...
bug: 17781603
Change-Id: Idab3cae786fde4d0318ba03d3c7f5f678882b815
(cherry picked from commit f51f30d7f1
)
2014-11-03 19:40:48 +00:00
Dirk Dougherty
9b7f8f20ac
Doc change: start search suggestions at two characters instead of three, so that tv suggestions are enabled.
...
Change-Id: Ib7968010b0d0707a82ec51b1e63611628b8d465a
2014-11-01 20:33:25 -07:00
smain@google.com
11fc009469
fix scroll offset when loading non-header pages
...
Change-Id: I7a90ccf760eb06c291e88a3ace04c8c7498f75c1
2014-10-16 22:10:00 -07:00
smain@google.com
2f077190ab
fix bug causing anchors to fail on preview landing page;
...
exit the onhashchange listener if there's no searchbar on the page
Change-Id: I7bdd31d0ea997e408b997856450822d1bc56af92
2014-10-09 18:04:10 -07:00
smain@google.com
08f336eaff
fix regression from Change-Id: I88c1e8192f1cbb5373af592b9e9f9a04ffe6fc7c
...
that causes anchors in most docs other than reference to stop working
Change-Id: I58ed0f7a84c4478d482d63e675693a197088019a
2014-10-03 17:40:00 -07:00
smain@google.com
633f322b38
update the analytics tracking event calls to use new API for analytics.js
...
bug: 16331906
Change-Id: I015b5aae825525822ca767d293b473f9f332961a
2014-10-03 15:49:45 -07:00
smain@google.com
9a818f55f4
more fixes to scroll offset for the sticky header.
...
This offsets the layout position of all <a name=""> tags so they naturally
show up below the sticky nav bar... though this is only for API reference,
which uses <a> tags as anchors for all API members.
bug: 16924057
Change-Id: I88c1e8192f1cbb5373af592b9e9f9a04ffe6fc7c
2014-10-03 18:34:20 +00:00
smain@google.com
abf34118c3
more tweaks fixes to the next/prev logic. Fix the way 'articles'
...
include the links. was broken for design docs, all appeared disabled.
also add 'white' style for links that appear on colored background
Change-Id: I6f59b91c1429014a90cb887a9e46880ebde0f75a
2014-06-23 11:47:12 -07:00
smain@google.com
c91ecb7093
update the wear device frame style. rename and make frame part of css.
...
also update some logic with next/prev links to make navigation prev
possible while in design docs (or others that allow cross-boundary nav)
and simply remove the 'next' link in the footer when at the end of a set.
Change-Id: I83008e313fb07c9bc028e27c06e0e8478fa525f0
2014-06-23 10:42:07 -07:00
smain@google.com
cda1a9a756
add "static" class to allow hand-written version of collection card for the homepage
...
and add "no-section" override to resource widget to enable title+description only card layout
and make the landing-secondary button blue
Change-Id: I4432c2ff267c20cb64f9c87524560b2d779c9e91
2014-06-19 18:24:28 -07:00
smain@google.com
5bc3a1acb0
revisions to the next/prev page link layout.
...
make "next" link in footer align left, remove previous link in footer,
add doc title to next link in footer, move g+ to the right
Change-Id: Id7c18a1a1a42344e96d0fa17c35908eb87d62612
2014-06-17 20:02:53 -07:00
smain@google.com
3b77ab5a01
fix xss vulnerabilities
...
bug: 15597152
bug: 15405607
Change-Id: I10582d5cd767b977fc2af0f2cf2642802feeffab
2014-06-17 11:57:27 -07:00
smain@google.com
95948b88ec
add script and style for toggling which IDE instructions to show.
...
Change-Id: Ief094a4f58c7ebb4625948d6639fed713adcc0c7
2014-06-16 19:25:14 -07:00
Robert Ly
e7eeb40029
add support for microsites
...
Change-Id: If41551747df098f679bdf18fe3460b727fc094fb
2014-06-15 14:07:31 -07:00
smain@google.com
6040ffa1e8
add About secondary nav bar
...
and delete the Wear custom header
Change-Id: If7ac93556586d369a2dbf7e1fc4044473ace7bc9
2014-06-13 22:10:37 +00:00