Jason Robbins
e19649bad7
Upgrade django again and lodash.template to resolve security warnings ( #759 )
...
* Update django to resolve security warning on github.
* Update lodash.template to resolve security warning on github.
2020-02-18 14:29:31 -08:00
Jason Robbins
c56e2c5faa
Refactor current email notification code to use django template and add tests ( #758 )
...
* progress
* Added tests
* Have django do the date formatting
2020-02-14 16:16:01 -08:00
Jason Robbins
5623bf1a76
Delete unused file server-delay.py ( #712 )
...
This was introduced "for testing" and is currently not used. See:
fd94e6808f
2020-02-14 14:52:19 -08:00
Jason Robbins
db3d59403c
Fix experiment goals field ( #747 )
...
* Fix a typo in Feature object field name.
* Added test
2020-02-12 09:28:09 -08:00
Jason Robbins
44587fe73b
Implement starred feature models and JSON API handler. ( #738 )
...
ChromeStatus currently has a push notifications that pop up a small window whenever someone edits a feature that the user has clicked the bell icon for. We want to phase that out and instead offer star icons that trigger notification emails. See design doc at go/chromestatus-notification-emails.
In this CL:
* Implement feature star datastore entity model classes with methods to star, unstar, and list.
* Implement JSON request handlers to star, unstar, and list starred features.
* Some tweaks to unit test set-up because these are the first significant user tests.
2020-02-06 15:50:36 -08:00
Jason Robbins
d521c91c54
Add debounce to search input field. ( #735 )
...
* Added debounce to search input field.
* Addressed review comments
2020-01-30 11:50:44 -08:00
Jason Robbins
41f68437bd
Set up unit tests locally and in travis. ( #734 )
...
In this CL:
* Set up a test directory for python unit tests
* Add a script to package.json to make 'nom run test' run the python scripts and document that in README.md
* Add the mock library for python mock objects
* Implement a few simple unit tests, including one that uses mock
* Add a test/testing_config.py file that finds the needed GAE libraries and adds them to the python system path so that they can be imported in code that is being tested
* Hack on the travis config to get it to install gcloud with python libraries without running out of disk space, and make it run the tests
2020-01-30 10:57:22 -08:00
Jason Robbins
63d0148652
Use more memcache chunks to stay under 1M size limit. ( #732 )
2020-01-30 10:39:06 -08:00
Jason Robbins
afbea0a077
Upgrade django to resolve another security alert listed on github. ( #731 )
2020-01-24 09:38:54 -08:00
Jason Robbins
8428a074a7
Update polymer $ operator to querySelector(). ( #724 )
2020-01-24 09:37:51 -08:00
Jason Robbins
a7ed3dade9
Tweak CSS to avoid wrapping between search input and "?" icon ( #730 )
...
* Make search box shorter to avoid help icon wrapping.
* Set min-width to avoid wrapping.
2020-01-23 14:21:47 -08:00
Jason Robbins
c0c633494c
Remove lit-virtualizer until it is fully supported ( #728 )
...
* Try removing lit-virtualizer to avoid bugs.
* Limit display to 500 features.
* Addressed review comments
2020-01-22 15:44:40 -08:00
Jason Robbins
771f83c28d
Handle clicks on sorting arrow icons. ( #726 )
...
* Handle clicks on sorting arrow icons.
* cleaner code
2020-01-17 17:16:46 -08:00
Jason Robbins
64ea4973a2
Refactor chromedash-feature subscribed attribute. ( #723 )
...
* Refactor chromedash-feature subscribed attribute.
* Removed unneeded property
2020-01-17 10:14:44 -08:00
Jason Robbins
270eb760b4
Use lit-virtualizer with UI state in the items rather than mutating. ( #722 )
...
* Use lit-virtualizer with UI state in the items rather than mutating.
* recalc when the user filters
* Map to Set and fix opening of ID in URL.
* Allow package-lock under version control.
* Allow package-lock under version control.
2020-01-16 12:20:57 -08:00
Jason Robbins
33a08b5c5b
Remove unused yarn.lock file.
2020-01-14 14:47:34 -05:00
Jason Robbins
2426e0c847
Merge branch 'master' of https://github.com/GoogleChrome/chromium-dashboard
2020-01-14 14:41:45 -05:00
Jason Robbins
30e35765b5
Merge branch 'upgrade-django'
2020-01-14 14:41:00 -05:00
Jason Robbins
7c2062124f
Update travis config for lit-element. ( #720 )
2020-01-13 16:05:17 -08:00
Jason Robbins
8f1f18cfa1
Merge branch 'dev'
2020-01-13 18:36:50 -05:00
Jason Robbins
9466f5cb58
merged from master to dev to resolve conflicts.
2020-01-13 18:36:01 -05:00
Jason Robbins
29763b5ac2
Fix several small defects to get the lit-element code all working. ( #718 )
2020-01-13 10:14:53 -08:00
Jason Robbins
0bf03b4ebf
Sync some changes from master to dev ( #717 )
2020-01-10 17:22:45 -08:00
Jason Robbins
67c097ee69
automatic change in copyright year
2020-01-08 14:03:06 -05:00
Jason Robbins
abc832511b
Upgrade Django to 1.11.23.
2020-01-08 13:57:59 -05:00
Jason Robbins
e2ce06c4d5
Work-around failures when retrieving blink component list ( #713 )
...
* Hard-code blink components to work around errors when requesting them.
* Added cached-buster param.
* fixed typo
2020-01-08 10:11:52 -08:00
François Beaufort
57c0e44f1e
Add DevRel field to Feature ( #694 )
2019-11-21 09:16:56 -08:00
Jason Robbins
3cc53d7546
Revert "WebComponents v0 origin trial ( #692 )" ( #696 )
...
This reverts commit 393bdce970
.
2019-11-19 16:32:40 -08:00
Jason Robbins
393bdce970
WebComponents v0 origin trial ( #692 )
...
* Add WebComponents v0 origin trial
* Add origin trial to blank.html
2019-11-18 09:39:20 -08:00
Yangguang
a448e6f9bf
Using rollup for components ( #679 )
...
* Import lit-virtualizer
* misc
* Add rollup and add it to gulp task
* Update gulp
* Downgrade paper-toggle-button to input checkbox
* Include all css to lit-elements
* Add rollup minify. Remove unused packages.
* Fix code review feedback
* Fixes based on code review.
* Remove two unnecessary .call(this, ...)
* Bind _onFeatureToggled (used inside lit-virtualizer) in the constructor
* Add lit-analyzer
* Update lit-analyzer script
2019-11-11 14:32:32 -08:00
Chris Wilson
7136014f98
Rename "Intent to Implement" as "Intent to Prototype" ( #693 )
2019-11-08 13:31:53 -08:00
jrobbins
70bd65aaf0
Fix refs to django template constants that moved ( #683 )
...
TOKEN_VAR and others got moved into template.base somewhere between django 1.4 and 1.11.
2019-10-28 15:30:20 -07:00
jrobbins
52f2c872f7
Merge pull request #684 from GoogleChrome/jrobbins-featurepopularity-cron
...
Work around GAE deadline for feature popularity
2019-10-28 15:28:59 -07:00
jrobbins
f76f8cc59a
Work around GAE deadline for feature popularity
...
This request was never succeeding because it was taking longer than GAE's 60s deadline.
There is no deadline when it is run as a cron, which allows it to succeed and put data into memcache for user requests to access.
This change has already been deployed for about a week.
2019-10-28 13:09:38 -07:00
Joe Medley
6872191c8c
Merge pull request #677 from liyangguang/lit-virtualizer
...
Add lit-virtualizer
2019-10-23 11:56:47 -07:00
Johnny Stenback
22a057c778
Merge pull request #669 from GoogleChrome/django-1.11
...
Update django to 1.11 (LTS). #668
2019-10-22 13:14:28 -07:00
Yangguang Li
cf411b9124
Bind _onFeatureToggled (used inside lit-virtualizer) in the constructor
2019-10-08 13:38:12 -10:00
Yangguang Li
36d096fc16
Remove two unnecessary .call(this, ...)
2019-09-27 22:35:26 -07:00
Yangguang Li
14084fbf5a
Fixes based on code review.
2019-09-27 22:00:09 -07:00
Yangguang Li
c0deb10f0f
Merge in latest dev branch. Tweak _initializeValues
2019-09-25 13:52:52 -07:00
Joe Medley
76fe42d2a6
Merge pull request #671 from liyangguang/other-parts
...
Some bugfixes
2019-09-06 15:11:06 -04:00
Yangguang Li
07505346b6
Use event bubble instead of manually bubbling. Initialize chromedash-feature values on updated.
2019-09-06 11:12:39 -07:00
Yangguang Li
8d2804be6a
Bugfix: manually bubble events from chromedash-feature to chromedash-featurelist
2019-08-24 23:18:22 +08:00
Yangguang Li
6ce5b539e6
merge others
2019-08-24 22:24:19 +08:00
Joe Medley
3e4f9300e1
Merge pull request #656 from liyangguang/other-parts
...
[Migrating to lit-element] part 2
2019-08-23 10:54:56 -07:00
Joe Medley
5ee2175f47
Merge pull request #667 from GoogleChrome/deprecated-list
...
Followup fix for #654 .
2019-08-15 07:15:20 -07:00
Yangguang Li
45f9d3959c
Remove a eslint-disable comment
2019-08-15 11:40:39 +08:00
Yangguang Li
65c4f98ff6
lit-element code review
2019-08-15 10:39:30 +08:00
Johnny Stenback
c79240c32a
Update django to 1.11 (LTS). #668
...
This updates django to the latest LTS version (1.11), and bumps the gulp
version while we're at it.
2019-08-14 11:59:14 -07:00
Johnny Stenback
ada3b92a93
Followup fix for #654 .
...
This fixes the chromedash-metadata template to include the deprecated
features entry in the versions list. This also fixes a problem that was
uncovered where an ordered list that was in the incorrect order which
resulted in the wrong implementation status being shown in the versions
list.
2019-08-14 11:29:42 -07:00