Closed Bug 1228419 Opened 9 years ago Closed 9 years ago

Add feature flag for logins manager

Categories

(Firefox for iOS :: Build & Test, defect)

All
iOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
Tracking Status
fxios 2.0+ ---

People

(Reporter: sleroux, Assigned: sleroux)

References

Details

Attachments

(1 file, 1 obsolete file)

Need to add a feature flag to the logins manager stuff so user's aren't taken to nothing when tapping the logins settings item.
Basic implementation for feature flags + flag for login manager. See documentation for details: https://github.com/mozilla/firefox-ios/wiki/Adding-a-Feature-Flag
Attachment #8700035 - Flags: review?(sarentz)
Attachment #8700035 - Flags: review?(rnewman)
Comment on attachment 8700035 [details] [review]
Link to Github pull-request: https://github.com/mozilla/firefox-ios/pull/1373

Looks good. Would you mind documenting the process of adding feature flags for the rest of the team?
Attachment #8700035 - Flags: review?(sarentz) → review+
Comment on attachment 8700035 [details] [review]
Link to Github pull-request: https://github.com/mozilla/firefox-ios/pull/1373

I'm broadly in favor of using an AppConstants model, where flags are real runtime booleans rather than preprocessor directives. But this'll do for now.
Attachment #8700035 - Flags: review?(rnewman) → review+
Assignee: nobody → sleroux
Status: NEW → ASSIGNED
Hardware: Other → All
:rnewman I'm down with using AppConstants instead of runtime booleans. Doesn't seem like a heavy lift or anything and there isn't an immediate need for this to land.

Do you have any thoughts around the details of how it would work for different build variants?
Flags: needinfo?(rnewman)
(In reply to Stephan Leroux [:sleroux] from comment #5)

> Do you have any thoughts around the details of how it would work for
> different build variants?

We already preprocess AppConstants, so we'd just do exactly what you already did in this PR, but in AppConstants instead.
Flags: needinfo?(rnewman)
Alternative patch using AppConstants
Attachment #8702642 - Flags: review?(rnewman)
Attachment #8702642 - Flags: review?(rnewman) → review+
Attachment #8700035 - Attachment is obsolete: true
Merged

master f8f4788ba64e310ac225ed36f22ec660dc833d71
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: