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

Issue 368973002: Docserver: Add more support for object level availability in templates (Closed)

Created:
6 years, 5 months ago by ahernandez
Modified:
6 years, 5 months ago
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Docserver: Add more support for object level availability in templates BUG=233982 NOTRY=True Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=281952

Patch Set 1 : #

Total comments: 9

Patch Set 2 : #

Total comments: 11

Patch Set 3 : #

Total comments: 8

Patch Set 4 : #

Total comments: 1

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+174 lines, -168 lines) Patch
M chrome/common/extensions/docs/server2/api_data_source.py View 1 2 3 4 12 chunks +155 lines, -104 lines 0 comments Download
M chrome/common/extensions/docs/server2/api_data_source_test.py View 3 chunks +6 lines, -21 lines 0 comments Download
M chrome/common/extensions/docs/server2/app.yaml View 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/extensions/docs/server2/availability_finder.py View 2 chunks +0 lines, -21 lines 0 comments Download
M chrome/common/extensions/docs/server2/availability_finder_test.py View 2 chunks +1 line, -20 lines 0 comments Download
M chrome/common/extensions/docs/server2/cron.yaml View 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/extensions/docs/templates/private/event.html View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/common/extensions/docs/templates/private/property.html View 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/common/extensions/docs/templates/private/type.html View 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 28 (0 generated)
ahernandez
I've added in support for properties, events, and types. PTAL. https://codereview.chromium.org/368973002/diff/10001/chrome/common/extensions/docs/server2/availability_finder.py File chrome/common/extensions/docs/server2/availability_finder.py (left): https://codereview.chromium.org/368973002/diff/10001/chrome/common/extensions/docs/server2/availability_finder.py#oldcode29 ...
6 years, 5 months ago (2014-07-02 21:33:06 UTC) #1
not at google - send to devlin
nice. https://codereview.chromium.org/368973002/diff/10001/chrome/common/extensions/docs/server2/api_data_source.py File chrome/common/extensions/docs/server2/api_data_source.py (right): https://codereview.chromium.org/368973002/diff/10001/chrome/common/extensions/docs/server2/api_data_source.py#newcode139 chrome/common/extensions/docs/server2/api_data_source.py:139: return self._LookupNodeAvailability(self._GetParentPath()) could you make a bunch of ...
6 years, 5 months ago (2014-07-02 22:14:34 UTC) #2
ahernandez
https://codereview.chromium.org/368973002/diff/10001/chrome/common/extensions/docs/server2/api_data_source.py File chrome/common/extensions/docs/server2/api_data_source.py (right): https://codereview.chromium.org/368973002/diff/10001/chrome/common/extensions/docs/server2/api_data_source.py#newcode139 chrome/common/extensions/docs/server2/api_data_source.py:139: return self._LookupNodeAvailability(self._GetParentPath()) On 2014/07/02 22:14:34, kalman wrote: > could ...
6 years, 5 months ago (2014-07-02 22:25:48 UTC) #3
ahernandez
https://codereview.chromium.org/368973002/diff/10001/chrome/common/extensions/docs/server2/api_data_source.py File chrome/common/extensions/docs/server2/api_data_source.py (right): https://codereview.chromium.org/368973002/diff/10001/chrome/common/extensions/docs/server2/api_data_source.py#newcode139 chrome/common/extensions/docs/server2/api_data_source.py:139: return self._LookupNodeAvailability(self._GetParentPath()) On 2014/07/02 22:25:47, ahernandez.miralles wrote: > On ...
6 years, 5 months ago (2014-07-02 22:27:22 UTC) #4
ahernandez
https://codereview.chromium.org/368973002/diff/10001/chrome/common/extensions/docs/server2/api_data_source.py File chrome/common/extensions/docs/server2/api_data_source.py (right): https://codereview.chromium.org/368973002/diff/10001/chrome/common/extensions/docs/server2/api_data_source.py#newcode293 chrome/common/extensions/docs/server2/api_data_source.py:293: 'properties': self._GenerateProperties(type_.properties, no_gen=no_gen), I think eliminating the no_gen passing ...
6 years, 5 months ago (2014-07-03 02:04:15 UTC) #5
not at google - send to devlin
https://codereview.chromium.org/368973002/diff/10001/chrome/common/extensions/docs/server2/api_data_source.py File chrome/common/extensions/docs/server2/api_data_source.py (right): https://codereview.chromium.org/368973002/diff/10001/chrome/common/extensions/docs/server2/api_data_source.py#newcode293 chrome/common/extensions/docs/server2/api_data_source.py:293: 'properties': self._GenerateProperties(type_.properties, no_gen=no_gen), On 2014/07/03 02:04:14, ahernandez (OOO til ...
6 years, 5 months ago (2014-07-07 15:10:31 UTC) #6
ahernandez
https://codereview.chromium.org/368973002/diff/10001/chrome/common/extensions/docs/server2/api_data_source.py File chrome/common/extensions/docs/server2/api_data_source.py (right): https://codereview.chromium.org/368973002/diff/10001/chrome/common/extensions/docs/server2/api_data_source.py#newcode293 chrome/common/extensions/docs/server2/api_data_source.py:293: 'properties': self._GenerateProperties(type_.properties, no_gen=no_gen), On 2014/07/07 15:10:31, kalman wrote: > ...
6 years, 5 months ago (2014-07-07 20:04:56 UTC) #7
ahernandez
I've added in the changes to Descend(), PTAL.
6 years, 5 months ago (2014-07-07 21:37:14 UTC) #8
not at google - send to devlin
looks much better, thanks. https://codereview.chromium.org/368973002/diff/30001/chrome/common/extensions/docs/server2/api_data_source.py File chrome/common/extensions/docs/server2/api_data_source.py (right): https://codereview.chromium.org/368973002/diff/30001/chrome/common/extensions/docs/server2/api_data_source.py#newcode136 chrome/common/extensions/docs/server2/api_data_source.py:136: def _LookupParentNodeAvailability(self): i don't see ...
6 years, 5 months ago (2014-07-07 23:00:07 UTC) #9
ahernandez
PTAL. https://codereview.chromium.org/368973002/diff/70001/chrome/common/extensions/docs/server2/api_data_source.py File chrome/common/extensions/docs/server2/api_data_source.py (right): https://codereview.chromium.org/368973002/diff/70001/chrome/common/extensions/docs/server2/api_data_source.py#newcode201 chrome/common/extensions/docs/server2/api_data_source.py:201: self._lookup_path[-1].endswith('Type') or I don't think there's a better ...
6 years, 5 months ago (2014-07-07 23:51:12 UTC) #10
not at google - send to devlin
https://codereview.chromium.org/368973002/diff/70001/chrome/common/extensions/docs/server2/api_data_source.py File chrome/common/extensions/docs/server2/api_data_source.py (right): https://codereview.chromium.org/368973002/diff/70001/chrome/common/extensions/docs/server2/api_data_source.py#newcode201 chrome/common/extensions/docs/server2/api_data_source.py:201: self._lookup_path[-1].endswith('Type') or On 2014/07/07 23:51:12, ahernandez wrote: > I ...
6 years, 5 months ago (2014-07-08 00:02:49 UTC) #11
ahernandez
https://codereview.chromium.org/368973002/diff/70001/chrome/common/extensions/docs/server2/api_data_source.py File chrome/common/extensions/docs/server2/api_data_source.py (right): https://codereview.chromium.org/368973002/diff/70001/chrome/common/extensions/docs/server2/api_data_source.py#newcode201 chrome/common/extensions/docs/server2/api_data_source.py:201: self._lookup_path[-1].endswith('Type') or On 2014/07/08 00:02:48, kalman wrote: > On ...
6 years, 5 months ago (2014-07-08 18:20:47 UTC) #12
not at google - send to devlin
https://codereview.chromium.org/368973002/diff/70001/chrome/common/extensions/docs/server2/api_data_source.py File chrome/common/extensions/docs/server2/api_data_source.py (right): https://codereview.chromium.org/368973002/diff/70001/chrome/common/extensions/docs/server2/api_data_source.py#newcode201 chrome/common/extensions/docs/server2/api_data_source.py:201: self._lookup_path[-1].endswith('Type') or On 2014/07/08 18:20:47, ahernandez wrote: > On ...
6 years, 5 months ago (2014-07-08 19:04:27 UTC) #13
ahernandez
I just realized that some of the Descend() call logic broke at some point and ...
6 years, 5 months ago (2014-07-08 19:20:14 UTC) #14
not at google - send to devlin
https://codereview.chromium.org/368973002/diff/70001/chrome/common/extensions/docs/server2/api_data_source.py File chrome/common/extensions/docs/server2/api_data_source.py (right): https://codereview.chromium.org/368973002/diff/70001/chrome/common/extensions/docs/server2/api_data_source.py#newcode201 chrome/common/extensions/docs/server2/api_data_source.py:201: self._lookup_path[-1].endswith('Type') or > One example is 'webviewTag > events ...
6 years, 5 months ago (2014-07-08 19:27:17 UTC) #15
ahernandez
It looks like if the docs are not inlined, then there isn't enough information available ...
6 years, 5 months ago (2014-07-08 20:19:27 UTC) #16
not at google - send to devlin
On 2014/07/08 20:19:27, ahernandez wrote: > It looks like if the docs are not inlined, ...
6 years, 5 months ago (2014-07-08 20:54:52 UTC) #17
ahernandez
On 2014/07/08 20:54:52, kalman wrote: > On 2014/07/08 20:19:27, ahernandez wrote: > > It looks ...
6 years, 5 months ago (2014-07-08 21:01:11 UTC) #18
not at google - send to devlin
On 2014/07/08 21:01:11, ahernandez wrote: > On 2014/07/08 20:54:52, kalman wrote: > > On 2014/07/08 ...
6 years, 5 months ago (2014-07-08 21:13:36 UTC) #19
ahernandez
I reverted the doc inlining back to the way it used to be and addressed ...
6 years, 5 months ago (2014-07-08 21:39:39 UTC) #20
not at google - send to devlin
On 2014/07/08 21:39:39, ahernandez wrote: > I reverted the doc inlining back to the way ...
6 years, 5 months ago (2014-07-08 21:47:57 UTC) #21
ahernandez
On 2014/07/08 21:47:57, kalman wrote: > On 2014/07/08 21:39:39, ahernandez wrote: > > I reverted ...
6 years, 5 months ago (2014-07-08 21:56:25 UTC) #22
not at google - send to devlin
On 2014/07/08 21:56:25, ahernandez wrote: > On 2014/07/08 21:47:57, kalman wrote: > > On 2014/07/08 ...
6 years, 5 months ago (2014-07-08 22:01:24 UTC) #23
ahernandez
Ok, here are the changes with doc inlining behavior preserved. PTAL
6 years, 5 months ago (2014-07-08 22:19:33 UTC) #24
not at google - send to devlin
lgtm https://codereview.chromium.org/368973002/diff/150001/chrome/common/extensions/docs/server2/api_data_source.py File chrome/common/extensions/docs/server2/api_data_source.py (right): https://codereview.chromium.org/368973002/diff/150001/chrome/common/extensions/docs/server2/api_data_source.py#newcode201 chrome/common/extensions/docs/server2/api_data_source.py:201: self._lookup_path[-1][:-len('ReturnType')] == self._lookup_path[-2]): use parentheses when mixing "and" ...
6 years, 5 months ago (2014-07-08 22:22:42 UTC) #25
ahernandez
The CQ bit was checked by ahernandez.miralles@gmail.com
6 years, 5 months ago (2014-07-08 22:38:11 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ahernandez.miralles@gmail.com/368973002/170001
6 years, 5 months ago (2014-07-08 22:43:48 UTC) #27
commit-bot: I haz the power
6 years, 5 months ago (2014-07-09 05:24:39 UTC) #28
Message was sent while issue was closed.
Change committed as 281952

Powered by Google App Engine
This is Rietveld 408576698