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

2867 Коммитов

Автор SHA1 Сообщение Дата
Jared Lockhart c422714e2d Revert "chore(deps): bump datadog from 0.43.0 to 0.44.0 in /app (#7107)"
This reverts commit 2e85edc6ed.
2022-03-10 15:17:36 -05:00
dependabot[bot] 2e85edc6ed
chore(deps): bump datadog from 0.43.0 to 0.44.0 in /app (#7107) 2022-03-10 18:59:32 +00:00
Tif Tran 3a95613466
fixes #7117 chore(project): Add firefox versions up to 120 (#7118)
* fixes #7117 chore(project): Add firefox versions up to 120

Because:
 * In the future we will need to target experiments above version 100

This commit:
 * adds to the version lists up to version 120
2022-03-09 13:49:30 -08:00
anthonytran7757 6f72d57bee
fixes #6446 feat(Nimbus): include public name in rollout promotion (#7100)
Because

* branch names are not great rollout names

This Commit

* adds public name to rollout promotion

Co-authored-by: Jared Lockhart <119884+jaredlockhart@users.noreply.github.com>
2022-03-08 14:27:26 -05:00
dependabot[bot] c585b3a6c2
chore(deps): bump pytest-testmon from 1.2.0 to 1.3.0 in /app (#7111) 2022-03-08 17:20:01 +00:00
dependabot[bot] 0906aee52b
chore(deps-dev): bump rope from 0.21.0 to 0.23.0 in /app (#7104) 2022-03-08 17:05:11 +00:00
dependabot[bot] 357ba2325d
chore(deps-dev): bump eslint-plugin-react from 7.28.0 to 7.29.3 in /app (#7108) 2022-03-08 16:49:41 +00:00
dependabot[bot] c4d7d50c46
chore(deps): bump @sentry/browser from 6.17.3 to 6.18.1 in /app (#7101) 2022-03-08 16:47:46 +00:00
dependabot[bot] 613db0c840
chore(deps): bump django-countries from 7.2.1 to 7.3.2 in /app (#7109) 2022-03-08 16:47:41 +00:00
dependabot[bot] 3503a680f1
chore(deps): bump webpack from 5.69.1 to 5.70.0 in /app (#7112) 2022-03-08 16:47:38 +00:00
Dan Mosedale 585d7b5dd5
fixes #7096 feat(nimbus): targeting for no enterprise or recent VPN use (#7097)
* fixes #7096 feat(nimbus): targeting for no enterprise or recent VPN use

* Shorten targeting slug to fix integration tests
2022-02-25 11:05:57 -08:00
Tarik Eshaq 7ad0976cf7
Adds new user targeting to Focus iOS and Android (#7099) 2022-02-24 14:31:01 -08:00
Jared Lockhart 98fdaaeffe
Because (#7074)
* In anticipation of adding multifeature to nimbus ui, we should update the core nimbus ui infrastructure to use feature_configs instead of feature_config

This commit

* Updates the branches page to use and set feature_configs instead of feature_config
2022-02-23 15:15:15 -05:00
dependabot[bot] 4c593958ae
chore(deps): bump webpack from 5.68.0 to 5.69.1 in /app (#7091) 2022-02-23 18:26:08 +00:00
dependabot[bot] d80c7be9bb
chore(deps): bump url-parse from 1.5.3 to 1.5.10 in /app (#7094) 2022-02-23 18:11:26 +00:00
Jared Lockhart 1b9ffc4c68
chore(project): update docker desktop docs (#7095)
Because

* At some point we had to hard code a docker version in the docs because subsequent versions were broken
* This is no longer the case

This commit

* Updates docs to point to the latest docker desktop
2022-02-23 11:28:42 -06:00
dependabot[bot] b955aaae50
chore(deps): bump @babel/plugin-proposal-object-rest-spread in /app (#7092) 2022-02-23 14:49:36 +00:00
anthonytran7757 4e0589736e
fixes #6719 feat(Nimbus): added link to onboarding for new reviewers doc on page summary (#7086)
Because

* We want users to be able to access the launch documents more easily

This commit

* adds a link to the onboarding for new reviewers doc on page summary

Co-authored-by: Jared Lockhart <119884+jaredlockhart@users.noreply.github.com>
2022-02-17 10:59:23 -08:00
Jared Lockhart 5ab628c0cf
fix #7087 feat(nimbus): add pip targeting with sticky (#7088)
Because

* The PIP targeting depends on prefs that may change during the experiment
* We need to add a sticky clause

This commit

* Adds a new PIP sticky targeting that includes the pref checks from the PIP targeting with a sticky clause
2022-02-17 10:41:25 -08:00
dependabot[bot] afd3b104bd
chore(deps): bump importlib-metadata from 4.10.0 to 4.11.0 in /app (#7081)
Bumps [importlib-metadata](https://github.com/python/importlib_metadata) from 4.10.0 to 4.11.0.
- [Release notes](https://github.com/python/importlib_metadata/releases)
- [Changelog](https://github.com/python/importlib_metadata/blob/main/CHANGES.rst)
- [Commits](https://github.com/python/importlib_metadata/compare/v4.10.0...v4.11.0)

---
updated-dependencies:
- dependency-name: importlib-metadata
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jared Lockhart <119884+jaredlockhart@users.noreply.github.com>
2022-02-15 15:11:52 -06:00
Jared Lockhart c1049ca910
fix #7079 chore(nimbus): add single/multi feature experiment serializer tests (#7084)
Because

* Strange behaviour was observed around saving branches during the transition from single to multi feature
* Turns out there is no bug and the serializers are behaving correctly but there weren't clear tests testing each single/multi flow

This commit
* Adds tests to the experiment serializer tests that test each of the single and multi feature cases to ensure they remain intact during the transition
2022-02-15 15:02:01 -06:00
dependabot[bot] 9168a0a4b5
chore(deps): bump follow-redirects from 1.14.7 to 1.14.8 in /app (#7080) 2022-02-15 14:43:34 +00:00
dependabot[bot] b57464defc
chore(deps): bump importlib-metadata from 4.10.0 to 4.11.0 in /app/tests (#7082) 2022-02-15 14:15:05 +00:00
dependabot[bot] 1c10780e5e
chore(deps): bump django from 3.2.11 to 3.2.12 in /app (#7077) 2022-02-10 17:29:39 +00:00
code-review-doctor 09af6837a0
Use assertEqual for comparisons, not assertEqual (#7076)
* Fix tests

* Update test_serializers.py

* Update test with correct assertion

Co-authored-by: Jared Lockhart <119884+jaredlockhart@users.noreply.github.com>
2022-02-10 12:13:49 -05:00
dependabot[bot] 23610b7043
chore(deps): bump @babel/plugin-transform-runtime in /app (#7072) 2022-02-07 21:17:42 +00:00
dependabot[bot] 7a3aaba2cc
chore(deps): bump @babel/core from 7.16.0 to 7.17.0 in /app (#7070) 2022-02-07 21:04:09 +00:00
dependabot[bot] b0796bd6f2
chore(deps): bump @babel/plugin-proposal-decorators in /app (#7071) 2022-02-07 20:47:38 +00:00
dependabot[bot] afcba812ab
chore(deps): bump python-decouple from 3.5 to 3.6 in /app (#7069) 2022-02-07 20:29:17 +00:00
Jared Lockhart 7c5f876c88
fix #7029 bug(nimbus): handle zero or none in jetstream data (#7065)
Because

* Jetstream may output zero or None for certain numerical fields
* The Experimenter Jetstream parser should be resilient when encountering those values

This commit

* Adds test cases including jetstream returning all zeros or all None
* Updates the parse logic that was breaking when encountering those values
2022-02-04 09:34:23 -08:00
anthonytran7757 ad45d3de18
fixes #6967 fix(Nimbus): removes choices from Firefox version model f… (#7033)
* fixes #6967 fix(Nimbus): removes choices from Firefox version model field

Because

* there were cases where a custom Firefox version was required for a particular experiment

This commit

* removes choices from Firefox version model field

* reverted admin changes based on feedback

Co-authored-by: Jared Lockhart <119884+jaredlockhart@users.noreply.github.com>
2022-02-04 08:43:53 -08:00
Les Orchard e7141eede0
issue #6740 feat(nimbus): add featureConfigs action to branch edit reducer (#7061)
Because:

- we want to support multiple features in branches

This commit:

- adds the basics of managing selection of multiple features and
  multiple per-branch feature configs to the branch editing reducer
2022-02-04 11:11:52 -05:00
Les Orchard 446c16ebb5
fix #7035 fix(nimbus): ensure features are selected by ID and not selector index (#7058)
Because:

- issue #6747 switched the branch editing reducer over to using the
  input type, which itself uses feature IDs

This commit:

- ensures that the feature selection drop down uses feature IDs rather
  than selection index
2022-02-02 14:04:24 -05:00
Jared Lockhart b37a9dcfe6
fix #6739 feat(nimbus): support multifeature in v5 api (#7023)
Because

* We need to update the V5 API to support setting multiple features on the experiment and per branch
* We need to keep the single feature interface intact while we make the transition

This commit

* Adds featureConfigs and featureValues to the V5 API and updates tests as necessary
2022-02-01 13:23:16 -08:00
dependabot[bot] 8601b69b47
chore(deps): bump @sentry/browser from 6.16.1 to 6.17.3 in /app (#7030) 2022-01-31 21:01:19 +00:00
dependabot[bot] 1ea46a9e1c
chore(deps): bump asgiref from 3.4.1 to 3.5.0 in /app (#7005) 2022-01-31 20:48:04 +00:00
dependabot[bot] 3df4acd8eb
chore(deps): bump webpack from 5.67.0 to 5.68.0 in /app (#7031) 2022-01-31 20:35:34 +00:00
Les Orchard 655910df2c
fix #6747 refactor(nimbus): Refactor nimbus-ui branch reducer to use Input type (#7017)
Because:

- the branch editing reducer uses the experiment schema type for
  internal state, rather than the ExperimentInput type that's the ultimate
  product of the reducer

This commit:

- switches over to the ExperimentInput type so that the reducer can more
  correctly handle the data it will eventually produce for submission to
  the GQL API
2022-01-31 11:23:47 -08:00
Ed Lee b759cda4a8
feat(nimbus): add targeting for Firefox needing pin on Windows for infrequent activity level (#7019) 2022-01-31 10:41:59 -08:00
Jared Lockhart 99ccbf3e6c
fix #7015 feat(nimbus): add pip targeting (#7016)
Because

* The PiP team needs a custom targeting to target users that have pip enabled but have never used it

This commit

* Adds a custom targeting that filters on the relevant prefs
2022-01-31 12:26:59 -06:00
dependabot[bot] 89dce4f82b
chore(deps): bump ipython from 7.25.0 to 7.31.1 in /app (#7002) 2022-01-27 22:15:42 +00:00
dependabot[bot] 5b24460a37
chore(deps): bump webpack from 5.66.0 to 5.67.0 in /app (#7007) 2022-01-27 21:59:30 +00:00
Les Orchard 3069529c66
fix #6969 refactor(nimbus): move experiment & analysis fetch logic into ExperimentRoot (#6998)
Because:

- we want to get controller logic out of AppLayoutWithExperiment and
  simplify its use in Page components

This commit:

- moves ExperimentRoot into its own directory and adds tests

- simplifies the ExperimentContext properties down to essentials

- moves rendering of loading spinner, error messages, and experiment not
  found from AppLayoutWithExperiment into ExperimentRoot

- moves logic for redirection, experiment & analysis fetching into
  ExperimentRoot and exposes it to Page* components via utility hooks

- migrates all Page* components away from child-as-function pattern to
  using new ExperimentContext directly

- assorted stories and tests tweaked to use ExperimentContext

- disable a test in PageResults that seems to fail intermittently

fix #6147
fix #6148
fix #6149
fix #6150
fix #6151
fix #6152
2022-01-24 14:48:54 -08:00
Jared Lockhart b30abffa61
fix #7003 chore(nimbus): move graphql tests to serializer tests (#7004)
Because

* Some core serializer logic was being tested at the graphql layer
* This made it difficult to reason about test coverage for major serializer changes

This commit

* Moves tests from graphql to serializer that test core serializer logic
* Deprecates some redundant graphql tests
* Preserves graphql tests for integration purposes
2022-01-24 13:49:31 -05:00
Jared Lockhart 0c1b4f31e2
fix #6992 feat(nimbus): enable locale/geo for mobile (#6993)
Becuase

* The mobile sdk now supports locale/geo filtering

This commit

* Enables the locale/geo filters for mobile
2022-01-19 13:43:54 -08:00
Jared Lockhart 257600e9d0
fix #6981 chore(nimbus): add firefox version 96.0.2 (#6990)
Because

* Some experiments need to target Firefox 96.0.2

This commit

* Adds Firefox version 96.0.2
2022-01-19 10:06:42 -08:00
dependabot[bot] 95fafb7c55
chore(deps): bump webpack from 5.65.0 to 5.66.0 in /app (#6991) 2022-01-18 16:58:48 +00:00
dependabot[bot] 09d7fab5f7
chore(deps): bump follow-redirects from 1.13.0 to 1.14.7 in /app (#6974) 2022-01-17 17:55:22 +00:00
dependabot[bot] 6c6ee470c3
chore(deps): bump django from 3.2.10 to 3.2.11 in /app (#6975) 2022-01-17 17:39:25 +00:00
dependabot[bot] 95162292da
chore(deps): bump pillow from 8.4.0 to 9.0.0 in /app (#6973) 2022-01-13 16:09:31 +00:00