Rough requirements:
- The toggle UI should be below background image options
- The new toggle UI should contain descriptions about Sponsored Images
- When Brave Rewards or Brave Ad are not enabled, a button should be visible
- When a user opts in the option and Reward & Ads are enabled, the description
should notify the user that they're earning from it.
- When clicking the "Rewards" button, "Reward tour" UI appears or "Brave Ads" option is enabled.
* restoring embedding PR from backup
* linting and running tests
* reorganizing parts of embedding processing
* linting and re-testing
* additional touch-up comments
* reorganizing loading of embedding resource from value
* retesting and linting
* updating db classes to match master
* linting
* work on PR comments so far
* added unittest and additional comments resolved
* syncing with master
* additional unit tests and comments
* linting
* fixing const issue in pipeline_embedding_info FromValue function
* incorporating clangd recommendations
* adding READMEs
* adding more detail to the text embedding processor readme
* additional clangd recommendations
* comment resolution iteration
* resolving more comments
* fixing unit text, checking unit tests, and linting
* comments iteration
* linting includes added
* resolving additional comments
* pipeline_embedding_value_util reformat
* resolving additional comments
* linting
* fixing header ordering in file
* additional comments
* updating unit tests
* comments
* addressing final comments
* fixing linting unnecessary semicolon
* removing gtest include
Co-authored-by: Plas James <plasjames@Plass-MacBook-Pro.local>
* [Experiment] Vertical tabs
This new feature is at experimental stage for now. So it's hidden
behind flag('Vertical tabs')
Impemented:
* Expand and collapse via a button on top of tabs.
* Vertical scroll area for tabs
* TabCards
* Tab reordering via drag-and-drop
* Tab detaching and attaching via drag-and-drop
* Shape customization
TBD:
* Switching tabs layout direction on runtime
- need to plumb pref to many UI components.
* Title area in frame
- Show title or move up toolbar
- Moving up toolbar can take some time.
* Layout animation
* Creates an RewardsService::IsSuppoted check for Rewards on the
//components level and checks policy and feature flag.
* Creates an IsSupportedForProfile check for Rewards on the
//brave/browser level and calls the RewardsService::IsSupported
check and also verifies the profile type.
* Switches all places needing to check for Rewards support to the
appropriate method/funcion.