Граф коммитов

228 Коммитов

Автор SHA1 Сообщение Дата
Daniel Smith a4a8d0c348
New OT extension form (#3419)
* New OT extension form

* Move default fields to separate method

* remove log statement
2023-10-17 17:26:47 -07:00
Daniel Smith 39a2b9b745
Add notification email for OT extension request (#3418)
* Add notification email for OT extension request

* pass stage_type with typical format in createStage
2023-10-17 17:15:48 -07:00
Jason Robbins f7662cba5c
Prompt users to switch to a paired account that can edit or review. (#3408)
* Prompt users to switch to a paired account that can edit or review.

* Added missing test data
2023-10-13 12:44:12 -07:00
Jason Robbins f5b82f69d1
Add "Stable soon" mode to roadmap page. (#3402) 2023-10-10 11:09:10 -07:00
Daniel Smith a58936924a
Move OT notifier to stages API (#3389)
* move OT notifier to stages API

* remove from features API
2023-10-02 18:09:34 -07:00
Daniel Smith 71de16d527
Origin Trial creation visible for all Chromium/Google users (#3370)
* OT form visible to Chromium and Google users

* Allow Google/Chromium users to request server-side

* conditionally handle redirect

* ot requests available for Chromium/Google users
2023-09-29 17:25:15 -07:00
Daniel Smith 78c066aeb2
Create new EntitiesAPIHandler base class (#3373)
* create new EntitiesAPIHandler base class

* Fix tests
2023-09-29 09:46:40 -07:00
Daniel Smith 098117ef65
OT creation request sends notification email (#3365)
* notifier for origin trial creation requests

* remove testing code

* line breaks

* staging env notifies staging email

* cleanup

* mypy

* remove unneeded changes

* Update notifier_test.py
2023-09-27 15:57:49 -07:00
Daniel Smith 062b119a1e
Add `ot_owner_email` and `ot_display_name` field (#3351)
* Add 3 more fields for OT creation

* `stage_description` -> `ot_description`

With a more detailed description of the field and its relation to OT

* remove test line

* Add basic UI for trial creation request

* Add `ot_feedback_submission_url` to ot creation

* ot button only shows on ot stage details

* Update chromedash-feature-detail.js

* fix OT button

* cancel button returns to feature detail

* add ot milestone fields

* Update chromedash-feature-detail.js

* Squashed commit of the following:

commit 142f605e74
Author: Daniel Smith <56164590+DanielRyanSmith@users.noreply.github.com>
Date:   Wed Sep 20 15:06:53 2023 -0700

    Update chromedash-feature-detail.js

commit 83c98ea8a9
Author: Daniel Smith <56164590+DanielRyanSmith@users.noreply.github.com>
Date:   Wed Sep 20 15:00:01 2023 -0700

    add ot milestone fields

commit b50933fcb6
Author: Daniel Smith <56164590+DanielRyanSmith@users.noreply.github.com>
Date:   Mon Sep 18 09:18:46 2023 -0700

    cancel button returns to feature detail

commit 9047830f20
Author: Daniel Smith <56164590+DanielRyanSmith@users.noreply.github.com>
Date:   Mon Sep 18 09:02:06 2023 -0700

    fix OT button

commit b442dfd495
Author: Daniel Smith <56164590+DanielRyanSmith@users.noreply.github.com>
Date:   Mon Sep 18 08:49:21 2023 -0700

    Update chromedash-feature-detail.js

commit e78ed6bab1
Author: Daniel Smith <56164590+DanielRyanSmith@users.noreply.github.com>
Date:   Mon Sep 18 08:44:07 2023 -0700

    ot button only shows on ot stage details

commit a2d8df8047
Author: Daniel Smith <56164590+DanielRyanSmith@users.noreply.github.com>
Date:   Fri Sep 15 16:04:52 2023 -0700

    Add `ot_feedback_submission_url` to ot creation

commit cb0b1e621f
Author: Daniel Smith <56164590+DanielRyanSmith@users.noreply.github.com>
Date:   Fri Sep 15 14:16:22 2023 -0700

    Add basic UI for trial creation request

commit a843707680
Author: Daniel Smith <56164590+DanielRyanSmith@users.noreply.github.com>
Date:   Wed Sep 13 12:50:19 2023 -0700

    remove test line

commit 1b471fad6f
Author: Daniel Smith <56164590+DanielRyanSmith@users.noreply.github.com>
Date:   Wed Sep 13 12:46:44 2023 -0700

    `stage_description` -> `ot_description`

    With a more detailed description of the field and its relation to OT

commit cc0308efc7
Author: Daniel Smith <56164590+DanielRyanSmith@users.noreply.github.com>
Date:   Wed Sep 13 10:53:06 2023 -0700

    Add 3 more fields for OT creation

* Add `ot_owner_email` and `ot_display_name` fields

* fix test
2023-09-22 10:41:58 -07:00
Daniel Smith 53e9894b1f
Add `ot_action_requested` field to denote sent requests (#3336)
* Add 3 more fields for OT creation

* `stage_description` -> `ot_description`

With a more detailed description of the field and its relation to OT

* remove test line

* Add basic UI for trial creation request

* Add `ot_feedback_submission_url` to ot creation

* ot button only shows on ot stage details

* Update chromedash-feature-detail.js

* fix OT button

* cancel button returns to feature detail

* add ot milestone fields

* Update chromedash-feature-detail.js

* Add action_requested field for creation/extension
2023-09-21 12:55:19 -07:00
Daniel Smith c405ab6fef
Origin trial request form (#3334)
* Add 3 more fields for OT creation

* `stage_description` -> `ot_description`

With a more detailed description of the field and its relation to OT

* remove test line

* Add basic UI for trial creation request

* Add `ot_feedback_submission_url` to ot creation

* ot button only shows on ot stage details

* Update chromedash-feature-detail.js

* fix OT button

* cancel button returns to feature detail

* add ot milestone fields

* Update chromedash-feature-detail.js
2023-09-21 10:58:28 -07:00
Daniel Smith 5ecb14e050
Add `ot_feedback_submission_url` field (#3333) 2023-09-18 06:38:45 -07:00
Daniel Smith f3a909dcbe
Add 3 more fields for OT creation (#3327)
* Add 3 more fields for OT creation

* `stage_description` -> `ot_description`

With a more detailed description of the field and its relation to OT

* remove test line
2023-09-14 11:49:57 -07:00
Yann Dago f6e08add3b
Ensure all available features for a release note are fetched (#3328)
- Add new query parameter releaseNotesMilestone to the GET /features route
- Ensure all shipping and enterprise features are returned from the milestone specified in releaseNotesMilestone until the latest available feature
- Update front end logic to wait for a channel to be selected before getting the features for the release notes
- Update front end logic to fetch policies each time the target milestone is changed
2023-09-14 12:22:11 -04:00
Jason Robbins ac916ba850
Record vote activities with amendments instead of text. (#3314)
* Record vote activities with amendments instead of text.

* Stop checking comments_only
2023-09-12 13:30:26 -07:00
Ping 34114d855a
Click to show feature link samples in admin page (#3280)
* Add feature_links_samples API

* Add feature links samples UI

* Fix code style
2023-08-29 22:21:21 +08:00
Jason Robbins 593968b95d
Permit assigned reviewer to vote on reviews. (#3278) 2023-08-25 14:42:07 -07:00
Jason Robbins 82c5725aef
Add privacy and security to origin trials and SLO=6. (#3276) 2023-08-23 14:35:01 -07:00
Jason Robbins dce131b2b8
Re-enable creation of privacy and security gates. (#3249) 2023-08-11 13:56:15 -07:00
Ping 362a8f2b1e
Add feature-link admin page (#3207)
* Add feature-link admin page

* Rename keys for feature links stats

* Move stats calculation from js into python, add unit test

* Add featureLinkSummary UI

* Fix code style

* Refactor with Counter
2023-08-04 11:41:15 +08:00
Jason Robbins 3aca17ef01
Let every review team have a 5-day SLO. (#3220)
* Let every review team have a 5-day SLO.

* Update api/converters_test.py

Co-authored-by: Daniel Smith <56164590+DanielRyanSmith@users.noreply.github.com>

---------

Co-authored-by: Daniel Smith <56164590+DanielRyanSmith@users.noreply.github.com>
2023-07-31 17:38:58 -07:00
Daniel Smith 88972b544d
Add new Origin Trials API (#3214)
* Add OT API key variable to settings

* fix type hint

* Update settings.py

Co-authored-by: James C Scott III <jcscottiii@users.noreply.github.com>

* fix quotes

* Move api key function to secrets file

* Add key generation command and doc explanation

* remove OT_API_KEY from settings

* update global var

* Save API key in var to remove need to re-obtain

* logging change

* Add endpoint for obtaining origin trials

* Update api/origin_trials_api.py

Co-authored-by: James C Scott III <jcscottiii@users.noreply.github.com>

* Obtain API key from secrets function

* add try/except for list trials request

* remove unneeded if block

* changes suggested by @jrobbins

* Add error handling for malformed OT responses

* remove redundant error logging

* remove unnecessary variable

* Add origin trials client

* changes suggested by @jcscottiii

* update docstring

* Update framework/origin_trials_client.py

Co-authored-by: James C Scott III <jcscottiii@users.noreply.github.com>

* Update framework/origin_trials_client.py

Co-authored-by: James C Scott III <jcscottiii@users.noreply.github.com>

* Apply suggestions from code review

Co-authored-by: James C Scott III <jcscottiii@users.noreply.github.com>

* import logging

* fix test

* capitalization consistency

* docstring fix

---------

Co-authored-by: James C Scott III <jcscottiii@users.noreply.github.com>
2023-07-31 15:15:09 -07:00
Jason Robbins 012fc13b22
Fix new_crbug_url JSON response field so that bug icon works. (#3215)
* Fix new_crbug_url JSON response field so that bug icon works.

* Move over settings import
2023-07-26 15:22:09 -07:00
Daniel Smith 86a1e7d52d
Add ot fields in the trial creation questionnaire (#3194) 2023-07-26 08:09:18 -07:00
Daniel Smith dcb515c3e6
Add `origin_trial_id` stage field (#3196) 2023-07-25 08:06:47 -07:00
Jason Robbins 6588a470ad
Make features_api also update feature_links. (#3201) 2023-07-21 07:31:17 -07:00
Yann Dago 3464916fc5
Allow deletion of enterprise features and stages (#3181)
* Allow deletion of enterprise features and stages

* Features can now be deleted by their creator
* Enterprise rollout stages can be deleted
* Refactor the edit all page to use the repeat directive so that the right elements are deleted
* Fix archived stages returned and stage not being created when feature has 0 stages in edit all
2023-07-19 09:51:49 -04:00
Daniel Smith c0131e7716
Enable stage edit page to use Features API PATCH request (#3161)
* Change form fields to use updated names

* use new field name for comments

* keep rename mapping to remove later

* Fix features patch python test

* differentiate stage display name from entity name

* Change form fields to use updated names

* Enable stage edit page to use Features API PATCH

* add new line at EOF

* remove unneeded line

* Add back renamed field mapping

* rename field name property
2023-07-19 05:25:43 -07:00
Daniel Smith cf8cd3fc35
Change form fields to use updated names (#3160)
* Change form fields to use updated names

* use new field name for comments

* keep rename mapping to remove later

* Fix features patch python test
2023-07-18 03:38:19 -07:00
Daniel Smith e6ff0f3289
fix python test error (#3177) 2023-07-17 12:06:16 -07:00
Daniel Smith c24e8503b0
Features API PATCH creates activity and notifies (#3157) 2023-07-16 02:27:04 -07:00
Daniel Smith 743b69afeb
Fix links and int type conversions in Features API (#3156)
* fix links and int type conversions in Features API

* test cleared integer inputs
2023-07-16 02:26:45 -07:00
Ping 49acc5619c
Update stale feature links (#3098)
* Update stale feature links

* Support parse LINK_TYPE_GITHUB_ISSUE

* Support parse LINK_TYPE_GITHUB_MARKDOWN

* Fix mypy complains

* Improve markdown title parse

* Add comments

* Use cloud task to update feature links information

* Delay 10 seconds for second feature links request

* Add TODO
2023-06-30 19:34:28 +08:00
Jason Robbins bd9e6999cf
Allow mock login to test accounts. (#3121) 2023-06-27 19:21:37 -07:00
Jason Robbins 888b13f1e2
Set API Owners SLO to 5 days. (#3109) 2023-06-22 16:04:56 -07:00
Daniel Smith a6e05fb7d8
Add field data type conversion to Features API (#3105)
* Add field data type conversion to features API

* add back test

* fix data type for test
2023-06-22 10:39:07 -07:00
Jason Robbins f99d66bd5c
Add fields for finch flag name and non-finch justification. (#3108) 2023-06-22 09:48:50 -07:00
Yann Dago 9ba8b16f14
Add creation date field to stages and backfill them to the feature creation date (#3107)
* Add creation date field to stages and backfill them to the feature creation date
2023-06-22 09:33:11 -04:00
Jason Robbins 4ec002083c
Give API Owners a longer SLO (#3095)
* Add process notices to feature creation and privacy gate.

* Give API Owners a longer SLO since they typically meet weekly.
2023-06-20 13:25:01 -07:00
Ping 03b0130563
Enhance feature link (#3075)
* Fix feature_links edge cases

* Add basic FeatureLinksAPI

* Add feature-link to enhance autolink and normal url in feature detail page

* Add tooltip to enhanceChromeStatusLink, polish styles

* Make featureLinks non blocking request

* Add closedTimestamp in enhanceChromeStatusLink

* Remove placeholder function

* Add back white-space: pre-wrap and fix CSS

* Use gray color badge for closed issue

* Rename fallback and change it to a lit-html object

* Move feature link summary into tooltip

* Support custom text in enhanceUrl
2023-06-16 23:07:48 +08:00
Yann Dago 566bd362bb
Allow users to add new stages without having to reload the edit all page and losing their uunsaved data (#3082)
- Modify the "Add stage dialog" to receive a custom submit handler that replaces the default behavior of creating a new stage.
- Modify the edit all page to add a stage on the client only via a custom submit handler that it passes to the "Add stage dialog"
- Modify the form field names of stages added only on the client so that they can be created on submit
- Modify the server so that it creates new stages for the stages that were only created on the client
2023-06-15 11:42:41 -04:00
Yann Dago 16de638280
Enterprise flow updates and fixes (#3067)
* Add screenshot links to the enterprise feature creation page
* Make enterprise pages that require sign in use an intermediate component when not signed in and redirect to the initial page when signed in
* Move Rollout steps help text to the edit all page
* Rename "Start feature rollout" to "Rollout Step"
* Rename "Rollout stages" to "Rollout steps"
* Fix editors not showing on the feature details page for all features
* Fix enterprise categories only using the first category chosen after creating a new feature
2023-06-09 13:38:57 -04:00
Jason Robbins 0b0d432187
Implement server-side changes for review SLOs (#3062)
* progress

* Progress

* progress

* Added tests

* Actually add new test file

* Another test

* Update internals/slo.py

Co-authored-by: Kyle Ju <kyleju@google.com>

---------

Co-authored-by: Kyle Ju <kyleju@google.com>
2023-06-09 09:56:29 -07:00
Jason Robbins 40960d9714
Relabel "ready for trial" emails to "ready for developer testing" (#3064) 2023-06-08 10:15:07 -07:00
Jason Robbins 161df4d39e
Fix vote row for review requester. (#3060) 2023-06-07 08:27:41 -07:00
Daniel Smith fe9b97277b
Update PATCH request handler to make stage entity changes (#3013)
* update patch request to handle stage changes

* changes suggested by @jrobbins
2023-05-18 15:54:36 -07:00
Jason Robbins ce4facac4d
Restrict access to deleted feature entries. (#3001) 2023-05-10 18:36:10 -07:00
Yann Dago bca4d66a90
Add screenshot links to enterprise features (#2989)
Allow users to add/edit/remove multiple screenshots per feature.

Show the screenshots on the enterprise release notes page
2023-05-08 15:18:58 -04:00
Jason Robbins 81c28d7a33
Show "Pending my review" box to users who can approve any gate. (#2984)
* Show "Pending my review" box to users who can approve any gate.

* remove config value used for testing
2023-05-05 12:18:47 -07:00
Daniel Smith 14451c030e
Features API POST request will create relevant stages and gates (#2924)
* Create feature only accepts mutable fields

* Docstring and type hints

* Features API POST writes stages and gates

* rename method

* put_multi for new gates

* rearrange unit tests
2023-05-04 21:01:13 -07:00