Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1448)

Issue 12521030: Extension docs: Include sidenav in 404 pages (Closed)

Created:
7 years, 9 months ago by 方觉(Fang Jue)
Modified:
7 years, 6 months ago
CC:
chromium-reviews, Aaron Boodman, chromium-apps-reviews_chromium.org
Base URL:
https://src.chromium.org/svn/trunk/src/
Visibility:
Public.

Description

Extension docs: Include sidenav in 404 pages Include sidenav in 404 pages of extension/app docs to make them easy to navigate away from and look consistent with other pages. BUG=223579 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=203435

Patch Set 1 #

Patch Set 2 : #

Total comments: 13

Patch Set 3 : #

Total comments: 4

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 : rebase #

Patch Set 8 : #

Patch Set 9 : Extension docs: Include sidenav in 404 pages #

Total comments: 8

Patch Set 10 : #

Patch Set 11 : chrome-apps-doc #

Patch Set 12 : assert content broke instance_servlet_test #

Total comments: 9

Patch Set 13 : #

Total comments: 2

Patch Set 14 : fileName -> href #

Patch Set 15 : see last comment #

Total comments: 2

Patch Set 16 : paths in *_sidenav.json are absolute now #

Patch Set 17 : #

Total comments: 1

Patch Set 18 : done #

Patch Set 19 : sidenav.json #

Patch Set 20 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+297 lines, -171 lines) Patch
M chrome/common/extensions/docs/server2/app.yaml View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/extensions/docs/server2/cron.yaml View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +4 lines, -4 lines 0 comments Download
M chrome/common/extensions/docs/server2/cron_servlet.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +1 line, -2 lines 0 comments Download
M chrome/common/extensions/docs/server2/instance_servlet.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +1 line, -2 lines 0 comments Download
M chrome/common/extensions/docs/server2/patch_servlet.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/extensions/docs/server2/patch_servlet_test.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/extensions/docs/server2/render_servlet.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +5 lines, -1 line 0 comments Download
M chrome/common/extensions/docs/server2/server_instance.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 5 chunks +6 lines, -5 lines 0 comments Download
M chrome/common/extensions/docs/server2/sidenav_data_source.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 3 chunks +23 lines, -5 lines 0 comments Download
M chrome/common/extensions/docs/server2/sidenav_data_source_test.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 3 chunks +22 lines, -2 lines 0 comments Download
M chrome/common/extensions/docs/server2/template_data_source.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/common/extensions/docs/server2/template_data_source_test.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +1 line, -1 line 0 comments Download
A chrome/common/extensions/docs/server2/test_data/sidenav_data_source/absolute_path_sidenav.json View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +45 lines, -0 lines 0 comments Download
A chrome/common/extensions/docs/server2/test_data/sidenav_data_source/absolute_path_sidenav_expected.json View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +55 lines, -0 lines 0 comments Download
M chrome/common/extensions/docs/server2/test_data/sidenav_data_source/test_sidenav.json View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +6 lines, -6 lines 0 comments Download
A chrome/common/extensions/docs/templates/articles/404.html View 1 2 3 11 12 13 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/common/extensions/docs/templates/json/apps_sidenav.json View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 10 chunks +71 lines, -72 lines 0 comments Download
M chrome/common/extensions/docs/templates/json/extensions_sidenav.json View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 8 chunks +44 lines, -44 lines 0 comments Download
M chrome/common/extensions/docs/templates/private/sidenav_item.html View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +4 lines, -4 lines 0 comments Download
D chrome/common/extensions/docs/templates/public/404.html View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +0 lines, -18 lines 0 comments Download
A chrome/common/extensions/docs/templates/public/apps/404.html View 1 2 3 4 5 10 12 13 15 16 17 18 1 chunk +1 line, -0 lines 0 comments Download
A chrome/common/extensions/docs/templates/public/extensions/404.html View 1 2 3 4 7 8 11 13 14 16 18 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 39 (0 generated)
方觉(Fang Jue)
This is what it looks like with the patch: http://goo.gl/5ISgn http://goo.gl/plk33 I didn't remove public/404.html ...
7 years, 9 months ago (2013-03-26 05:46:04 UTC) #1
方觉(Fang Jue)
https://chromiumcodereview.appspot.com/12521030/diff/3001/chrome/common/extensions/docs/templates/private/404.html File chrome/common/extensions/docs/templates/private/404.html (right): https://chromiumcodereview.appspot.com/12521030/diff/3001/chrome/common/extensions/docs/templates/private/404.html#newcode9 chrome/common/extensions/docs/templates/private/404.html:9: position: relative; This fixes problem with scrolling on 404 ...
7 years, 9 months ago (2013-03-26 13:52:11 UTC) #2
not at google - send to devlin
awesome, thanks for looking at this. https://chromiumcodereview.appspot.com/12521030/diff/3001/chrome/common/extensions/docs/server2/server_instance.py File chrome/common/extensions/docs/server2/server_instance.py (right): https://chromiumcodereview.appspot.com/12521030/diff/3001/chrome/common/extensions/docs/server2/server_instance.py#newcode78 chrome/common/extensions/docs/server2/server_instance.py:78: response.out.write(templates.Render('extensions/404')) As a ...
7 years, 9 months ago (2013-03-26 16:12:19 UTC) #3
方觉(Fang Jue)
https://chromiumcodereview.appspot.com/12521030/diff/3001/chrome/common/extensions/docs/templates/private/404.html > File chrome/common/extensions/docs/templates/private/404.html (right): > > https://chromiumcodereview.appspot.com/12521030/diff/3001/chrome/common/extensions/docs/templates/private/404.html#newcode6 > chrome/common/extensions/docs/templates/private/404.html:6: <base > href="/{{branchInfo.current}}/{{platform}}s/"> > <base>? ...
7 years, 9 months ago (2013-03-26 23:44:03 UTC) #4
方觉(Fang Jue)
Other comments addressed. https://chromiumcodereview.appspot.com/12521030/diff/3001/chrome/common/extensions/docs/server2/server_instance.py File chrome/common/extensions/docs/server2/server_instance.py (right): https://chromiumcodereview.appspot.com/12521030/diff/3001/chrome/common/extensions/docs/server2/server_instance.py#newcode78 chrome/common/extensions/docs/server2/server_instance.py:78: response.out.write(templates.Render('extensions/404')) I tried to extract the ...
7 years, 9 months ago (2013-03-27 00:43:46 UTC) #5
not at google - send to devlin
https://chromiumcodereview.appspot.com/12521030/diff/14001/chrome/common/extensions/docs/templates/articles/404.html File chrome/common/extensions/docs/templates/articles/404.html (right): https://chromiumcodereview.appspot.com/12521030/diff/14001/chrome/common/extensions/docs/templates/articles/404.html#newcode2 chrome/common/extensions/docs/templates/articles/404.html:2: <p>No API or URL found with that name.</p> in ...
7 years, 9 months ago (2013-03-27 03:52:36 UTC) #6
方觉(Fang Jue)
On 2013/03/27 03:52:36, kalman wrote: > https://chromiumcodereview.appspot.com/12521030/diff/14001/chrome/common/extensions/docs/templates/articles/404.html > File chrome/common/extensions/docs/templates/articles/404.html (right): > > https://chromiumcodereview.appspot.com/12521030/diff/14001/chrome/common/extensions/docs/templates/articles/404.html#newcode2 > ...
7 years, 9 months ago (2013-03-27 05:01:30 UTC) #7
方觉(Fang Jue)
After I used absolute paths in sidenav (in patchset 5), another problem arose. For stable ...
7 years, 9 months ago (2013-03-27 14:38:10 UTC) #8
not at google - send to devlin
hey looks good, but I'm heading on vacation so won't be able to get to ...
7 years, 9 months ago (2013-03-28 00:39:13 UTC) #9
not at google - send to devlin
(if I haven't gotten back to you by end of Tuesday pacific time, ping me ...
7 years, 9 months ago (2013-03-28 00:39:32 UTC) #10
not at google - send to devlin
Hey - let's get back to this. I fixed the sidebar scrolling thing separately (although ...
7 years, 8 months ago (2013-04-27 01:10:13 UTC) #11
方觉(Fang Jue)
On 2013/04/27 01:10:13, kalman wrote: > Hey - let's get back to this. I fixed ...
7 years, 8 months ago (2013-04-27 01:12:47 UTC) #12
not at google - send to devlin
Ok fair enough :)
7 years, 8 months ago (2013-04-27 01:29:38 UTC) #13
not at google - send to devlin
ping
7 years, 7 months ago (2013-05-23 17:06:24 UTC) #14
方觉(Fang Jue)
On 2013/05/23 17:06:24, kalman wrote: > ping I noticed that there're absolute URLs in *_sidenav.json ...
7 years, 7 months ago (2013-05-23 23:37:58 UTC) #15
not at google - send to devlin
yep, sidenav_data_source should deal with it.
7 years, 7 months ago (2013-05-23 23:39:02 UTC) #16
方觉(Fang Jue)
Extension docs: Include sidenav in 404 pages Include sidenav in 404 pages of extension/app docs ...
7 years, 7 months ago (2013-05-24 01:30:07 UTC) #17
方觉(Fang Jue)
Docs staged at https://chrome-apps-doc-test.appspot.com/_patch/12521030/extensions/getstarted.html. Test 404 pages: https://chrome-apps-doc-test.appspot.com/_patch/12521030/extensions/aeuoeu.html https://chrome-apps-doc-test.appspot.com/_patch/12521030/apps/eauoe.html https://chrome-apps-doc-test.appspot.com/_patch/12521030/euae/oaeueo
7 years, 7 months ago (2013-05-24 02:02:41 UTC) #18
not at google - send to devlin
thanks! https://chromiumcodereview.appspot.com/12521030/diff/85001/chrome/common/extensions/docs/server2/render_servlet.py File chrome/common/extensions/docs/server2/render_servlet.py (right): https://chromiumcodereview.appspot.com/12521030/diff/85001/chrome/common/extensions/docs/server2/render_servlet.py#newcode98 chrome/common/extensions/docs/server2/render_servlet.py:98: content = templates.Render('404') third branch here seems unnecessary. ...
7 years, 7 months ago (2013-05-24 16:58:28 UTC) #19
方觉(Fang Jue)
https://chromiumcodereview.appspot.com/12521030/diff/85001/chrome/common/extensions/docs/server2/render_servlet.py File chrome/common/extensions/docs/server2/render_servlet.py (right): https://chromiumcodereview.appspot.com/12521030/diff/85001/chrome/common/extensions/docs/server2/render_servlet.py#newcode98 chrome/common/extensions/docs/server2/render_servlet.py:98: content = templates.Render('404') On 2013/05/24 16:58:29, kalman wrote: > ...
7 years, 7 months ago (2013-05-25 00:08:38 UTC) #20
not at google - send to devlin
sorry was a public holiday yesterday. https://chromiumcodereview.appspot.com/12521030/diff/85001/chrome/common/extensions/docs/server2/render_servlet.py File chrome/common/extensions/docs/server2/render_servlet.py (right): https://chromiumcodereview.appspot.com/12521030/diff/85001/chrome/common/extensions/docs/server2/render_servlet.py#newcode98 chrome/common/extensions/docs/server2/render_servlet.py:98: content = templates.Render('404') ...
7 years, 6 months ago (2013-05-28 14:53:37 UTC) #21
方觉(Fang Jue)
On 2013/05/28 14:53:37, kalman wrote: > sorry was a public holiday yesterday. > > https://chromiumcodereview.appspot.com/12521030/diff/111001/chrome/common/extensions/docs/server2/sidenav_data_source.py#newcode71 ...
7 years, 6 months ago (2013-05-28 22:53:45 UTC) #22
方觉(Fang Jue)
https://chromiumcodereview.appspot.com/12521030/diff/111001/chrome/common/extensions/docs/server2/render_servlet.py File chrome/common/extensions/docs/server2/render_servlet.py (right): https://chromiumcodereview.appspot.com/12521030/diff/111001/chrome/common/extensions/docs/server2/render_servlet.py#newcode94 chrome/common/extensions/docs/server2/render_servlet.py:94: content = templates.Render(doc_class + '/404') On 2013/05/28 14:53:37, kalman ...
7 years, 6 months ago (2013-05-28 23:37:49 UTC) #23
not at google - send to devlin
lgtm with those last round of comments + rename to href. https://chromiumcodereview.appspot.com/12521030/diff/111001/chrome/common/extensions/docs/server2/sidenav_data_source.py File chrome/common/extensions/docs/server2/sidenav_data_source.py (right): ...
7 years, 6 months ago (2013-05-28 23:45:27 UTC) #24
方觉(Fang Jue)
> https://chromiumcodereview.appspot.com/12521030/diff/125001/chrome/common/extensions/docs/server2/sidenav_data_source.py > File chrome/common/extensions/docs/server2/sidenav_data_source.py (right): > > https://chromiumcodereview.appspot.com/12521030/diff/125001/chrome/common/extensions/docs/server2/sidenav_data_source.py#newcode52 > chrome/common/extensions/docs/server2/sidenav_data_source.py:52: > self._doc_class, self._file_name = ...
7 years, 6 months ago (2013-05-28 23:56:55 UTC) #25
方觉(Fang Jue)
It turned out that we can't simply use path to get doc class. It's passed ...
7 years, 6 months ago (2013-05-29 05:39:01 UTC) #26
方觉(Fang Jue)
>It turned out that we can't simply use path to get doc class. It's passed ...
7 years, 6 months ago (2013-05-29 14:18:19 UTC) #27
not at google - send to devlin
WDYT about that comment? We're done apart from that I think. https://chromiumcodereview.appspot.com/12521030/diff/147001/chrome/common/extensions/docs/server2/template_data_source.py File chrome/common/extensions/docs/server2/template_data_source.py (right): ...
7 years, 6 months ago (2013-05-29 17:59:09 UTC) #28
方觉(Fang Jue)
OK. Paths in *_sidenav.json are qualified now. SidenavDataSource only prepends the channel (or _patch/.../).
7 years, 6 months ago (2013-05-29 23:07:30 UTC) #29
not at google - send to devlin
lgtm, one more change but it's pretty mechanical. https://chromiumcodereview.appspot.com/12521030/diff/160001/chrome/common/extensions/docs/server2/sidenav_data_source.py File chrome/common/extensions/docs/server2/sidenav_data_source.py (right): https://chromiumcodereview.appspot.com/12521030/diff/160001/chrome/common/extensions/docs/server2/sidenav_data_source.py#newcode67 chrome/common/extensions/docs/server2/sidenav_data_source.py:67: if ...
7 years, 6 months ago (2013-05-29 23:16:46 UTC) #30
方觉(Fang Jue)
On 2013/05/29 23:16:46, kalman wrote: > lgtm, one more change but it's pretty mechanical. > ...
7 years, 6 months ago (2013-05-29 23:40:52 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/fangjue23303@gmail.com/12521030/179003
7 years, 6 months ago (2013-05-29 23:53:12 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/fangjue23303@gmail.com/12521030/179003
7 years, 6 months ago (2013-05-30 22:43:09 UTC) #33
方觉(Fang Jue)
Just realized that there will be conflicts when it's merged to stable. apps_sidenav.json changed after ...
7 years, 6 months ago (2013-05-31 00:31:15 UTC) #34
not at google - send to devlin
That's ok, it'll be straightforward to merge.
7 years, 6 months ago (2013-05-31 16:44:34 UTC) #35
方觉(Fang Jue)
On 2013/05/31 16:44:34, kalman wrote: > That's ok, it'll be straightforward to merge. Is it ...
7 years, 6 months ago (2013-05-31 17:23:17 UTC) #36
not at google - send to devlin
Yes it's fine - not a big deal if it stops updating for a while.
7 years, 6 months ago (2013-05-31 17:29:07 UTC) #37
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/fangjue23303@gmail.com/12521030/179003
7 years, 6 months ago (2013-05-31 17:29:51 UTC) #38
commit-bot: I haz the power
7 years, 6 months ago (2013-05-31 17:59:14 UTC) #39
Message was sent while issue was closed.
Change committed as 203435

Powered by Google App Engine
This is Rietveld 408576698