Commit Graph
100 Commits
Author SHA1 Message Date
Kevin Smith 23957ed1c7 [Rewards] Display custom creator logo if available (#35297) 2026-04-07 10:58:14 -04:00
Kevin Smith da7d1de00e [Rewards] Only log basic info for channel info requests (#35295) 2026-04-07 10:51:54 -04:00
Kevin Smith 9bb80cb879 [NTP] Don't show the chat input if users have disabled search (#35226)
Users who had hidden the search input before the chat input
feature was added would unexpectedly see the chat input on
upgrade. Default the chat input pref to hidden if they've
explicitly hidden the search input.
2026-04-06 09:28:23 -04:00
Kevin Smith a804156317 [Code Health] Add a target for browser/brave_shields (#34956) 2026-04-03 09:30:17 -04:00
Kevin Smith 7baa985aba [Rewards] Use SecureAllocator for holding request signing key (#35160) 2026-04-02 15:09:14 -04:00
Kevin Smith 5321388f4f [Rewards] Improve deep-link auto scrolling (#35184) 2026-04-02 12:39:17 -04:00
Kevin Smith 71e5709ef3 [NTP] Fix formatting for fingerprinting details header (#35176) 2026-04-02 11:29:09 -04:00
Kevin Smith 5f72cba990 [Rewards] Reduce TOS modal button padding in narrow view (#35163) 2026-04-01 15:58:04 -04:00
Kevin Smith 72f528ddd5 [NTP] Enable new shields panel UI by default (#35091) 2026-03-31 22:39:51 -04:00
Kevin Smith abeef22091 [Shields Panel] Apply various UI polish tweaks (#35039) 2026-03-27 12:30:07 -04:00
Kevin Smith 35d37aad63 [NTP] Remove TODO comments for closed issues (#35019) 2026-03-26 16:52:00 -04:00
Kevin Smith 78a11e9d93 [Rewards] Add a toggle on the internals page to enable verbose mode (#34860) 2026-03-26 14:03:06 -04:00
Kevin Smith 4a1adbaa46 [NTP] Create standard pref migration for "hide_all_widgets" pref (#34940) 2026-03-26 13:50:07 -04:00
Kevin Smith d71c57efde [Rewards] Remove Rewards extension API (#34879) 2026-03-24 19:17:28 -04:00
Kevin Smith 79f10deb5e [Shields Panel] Add tooltip for site host element (#34963) 2026-03-24 19:17:06 -04:00
Kevin Smith 6a07646ae0 [Shields UI] Add blocked resource favicons to panel (#34798) 2026-03-24 09:33:47 -04:00
Kevin Smith 5da94a45c1 [Shields Panel] Add aria-labels to appropriate links and buttons (#34898) 2026-03-23 18:06:17 -04:00
Kevin Smith 6d7d3509dc [Shields UI] Wire up new panel UI to flag (#34639) 2026-03-16 14:50:14 -04:00
Kevin Smith 082243eb32 [Rewards] Remove usage of deprecated creator favicon field (#34638)
The creator favicon stored in the publisher_info table is no
longer populated. Instead, the Rewards UI uses the standard
favicon data source. This change removes the usage of the old
field in the front-end and removes the unused favicon_url
parameter to RewardsService::NotifyPublisherPageVisit.
2026-03-11 14:04:58 -04:00
Kevin Smith 159aa53ce1 [NTP] Do not submit search query if isComposing flag is true (#34559)
When the user in the middle of typing a character that requires
multiple keystrokes, the Enter key may be used to select a
character. Do not execute search when Enter is pressed in this
state.
2026-03-09 15:23:15 -04:00
Kevin Smith 7ce92f9efe [NTP] Wrap engine picker button with slotted div (#34510)
The engine picker button was intermittently not rendering due to
a Nala bug that affects slotted Nala elements directly contained
in a Nala element parent. This change adds a wrapper div as a
workaround.
2026-03-06 13:28:42 -05:00
Kevin Smith 1b5f533fbf [Shields UI] Add panel details views and ABOM views (#34344) 2026-03-06 00:01:52 -05:00
Kevin Smith a98871f131 [NTP] Fix dark mode scrollbar color in custom element trees (#34484) 2026-03-06 00:01:34 -05:00
Kevin Smith 444f1b89be [NTP] Display 7 top site tiles in collapsed mode (#34502) 2026-03-06 00:01:11 -05:00
Kevin Smith 9dda2c0d5f [NTP] Clip overflow on search autocomplete result rows (#34501) 2026-03-06 00:00:52 -05:00
Kevin Smith 1232d0f1cc [NTP] Nest labels with Toggle components on settings modal (#34475) 2026-03-05 16:02:53 -05:00
Kevin SmithandPete Miller cb456fbe37 [NTP Next] Add AI chat inputbox (#30472)
* [NTP Next] Add AI chat inputbox

ensures we don't load any AI Chat code if AI Chat build flag is disabled
default pref to `true`
Introduces a feature flag, defaulted to enable

---------

Co-authored-by: Pete Miller <miller.pete@gmail.com>
2026-03-04 09:25:10 +00:00
Kevin Smith 14332c8693 [Shields UI] Add advanced view to new panel UI (#34192) 2026-02-27 18:38:29 -05:00
Kevin Smith 3621e1bcdb [News] Use interned strings for fast comparisons in feed building (#34191)
Introduces a NameTable for interning publisher IDs and channel names,
replacing string comparisons with integer comparisons during feed
generation. Publisher-to-channel mappings are computed once and reused.
2026-02-27 14:15:24 -05:00
Kevin Smith 0a5ba9da2c [News] Use FunctionRef for feed article picking strategy (#34161) 2026-02-25 10:07:46 -05:00
Kevin Smith b31ce8926d [Shields UI] Format new panel UI sources (#34162)
This change removes the new panel UI folder from .pretterignore
and formats those files. The old panel UI sources are still ignored.
2026-02-24 16:26:51 -05:00
Kevin Smith 4ccbf258c8 [Shields UI] Add main panel app components (#34117) 2026-02-24 14:12:35 -05:00
Kevin Smith 6b66041189 [Rewards] Add highlight animation for deep-linked explore cards (#34032) 2026-02-18 12:10:31 -05:00
Kevin Smith 6a8e68861f [NTP] Revert updates to search placeholder translations (#33945) 2026-02-18 08:47:32 -05:00
Kevin Smith 85f430ce81 [Rewards] Use target_os to conditionally run build arg assertions (#34029)
Use the target OS instead of the current toolchain OS when running
assertions that test for the presence of non-empty Rewards build
args.
2026-02-18 14:30:27 +01:00
Kevin Smith 560952392e [News] Add tracing for feed building algorithm (#34016) 2026-02-18 06:00:48 -05:00
Kevin Smith a6bce82a33 [Rewards] Reland: Move content and engine targets behind build flag (#33932)
This change moves the Brave Rewards code in "content" and "engine"
behind the ENABLE_BRAVE_REWARDS buildflag. In order to simplify
dependencies, it also moves the buildflags defined in "engine" to
"core/buildflags".
2026-02-17 20:41:53 -05:00
Kevin Smith 342b9fbb52 [NTP] Remove state provider utility (#33720)
This change refactors front-end state management to embed actions
within each store. This allows us to reduce the overall complexity
of state management and remove the state provider abstraction.
2026-02-17 17:31:09 -05:00
Kevin Smith 03e9bf484d [NTP] Do not set NTP favicons when overridden by extension (#33956)
If an extension overrides the NTP, then its favicon will be set in
a separate path in ChromeWebUIControllerFactory. This change adds a
branch in our TabRendererData::FromTabInModel override (which occurs
later in the process) such that an extension NTP favicon will not be
overwritten.
2026-02-15 09:49:21 -05:00
Kevin Smith fecf39eff4 Only support single-digit placeholders in formatString (#33934)
Often placeholders can appear next to an actual digit in the
translated string (e.g. <ph name="X">$1>0), which will appear on
the front end as "$10". In order to interpret such strings
correctly, we should only support single-digit placeholders by
default. Support for multi-digit placeholders may be added in
the future.

In addition, formatString has been modified to write errors to
the console instead of throw (which can take down the entire page).
2026-02-13 15:03:59 -05:00
Kevin Smith f6724c5b22 [Shields UI] Remove "key" from API definition (#33937) 2026-02-13 17:34:02 +00:00
Kevin Smith e3d2ca0cf3 [News] Fix three-dot menu button on article view (#33921) 2026-02-12 20:37:15 -05:00
Kevin Smith a2a5cf63e5 [Shields UI] Add interface API for updated panel front-end (#33789) 2026-02-12 16:35:14 -05:00
Kevin Smith 120664f76f [Wallet UI] Add missing dep to Android page targets (#33894) 2026-02-12 15:21:26 -05:00
Kevin Smith fe5425a9af [Rewards] Move content and engine targets behind build flag (#33898) 2026-02-12 13:42:45 -05:00
Kevin Smith 3963d42a90 [NTP] Update strings for Brave Search placeholder text (#33899) 2026-02-12 13:23:22 -05:00
Kevin Smith 6ad9768032 [Rewards] Move browser targets behind build flag (#33798) 2026-02-12 07:50:04 -05:00
Kevin Smith 2fd3ffa13a [Shields UI] Add Brave logo to app menu button (#33585) 2026-02-05 20:18:21 -05:00
Kevin Smith 65e42bc959 [Rewards] Use outline icon when Shields page info feature is active (#33722) 2026-02-05 20:17:03 -05:00
Kevin Smith 337993f18f [Rewards] Unify state management on Rewards page front-end (#33679) 2026-02-04 17:49:12 -05:00
Kevin Smith 7bac62df1f [Rewards] Fix additional TOS version race condition (#33664)
This change sets the default mojo tos_version to zero and adds back
the code that set the initial TOS version when the user's wallet is
initially created.
2026-02-04 14:49:17 -05:00
Kevin Smith 8c60a727d2 [Rewards] Simplify internals UI state store (#33660)
This change merges the state, actions, and UI model abstractions
into a single state store. Actions are provided as a data member
of the store.
2026-02-04 13:08:15 -05:00
Kevin Smith 540ae3a8a0 [Shields UI] Fix bottom bubble rounded corner clipping on Windows (#33626)
The call to SetCornerRadii has been moved into AddedToWidget in order to
align with the behavior of WebUIBubbleDialogView. This seems to correctly
set the corner radius clipping on Windows and Linux.
2026-02-04 12:03:58 -05:00
Kevin Smith 93c95a9366 [NTP] Fix React key prop warning in clock component (#33563) 2026-02-03 17:19:55 -05:00
Kevin Smith ff09cf4f8d [NTP] Use outlined tab icon for dark themes (#33573) 2026-02-03 16:34:53 -05:00
Kevin Smith d3d3fa0744 [Rewards] Add a buildflag and conditionally disable Rewards UI (#33391) 2026-02-03 13:51:06 -05:00
Kevin Smith 62d0787e08 [Rewards] Fix race condition when setting initial TOS version (#33535) 2026-02-02 11:22:05 -05:00
Kevin Smith d5c2b7d1a0 [Rewards] Fix warning icon color for gemini offboarding panel (#33527) 2026-02-01 20:25:33 -05:00
Kevin Smith f97e43c30f [NTP] Add day period indicator to clock in wide view (#33503) 2026-01-30 16:56:36 -05:00
Kevin Smith be397719f1 [Rewards] Add NTP onboarding click metrics (#33462) 2026-01-28 16:32:23 -05:00
Kevin Smith 678d328b00 [Rewards] Remove Rewards icon badge for new profiles (#33470) 2026-01-28 15:37:33 -05:00
Kevin Smith 35b4ff0703 [NTP] Add toggle for News widget on Cards panel (#33349) 2026-01-27 14:30:14 -05:00
Kevin Smith cf07416eab [Shields UI] Allow page info bubble width to vary based on page zoom (#33411) 2026-01-27 10:45:45 -05:00
Kevin Smith ce4f760aa7 [Rewards] Check wallet linkage on timer after startup (#33340) 2026-01-21 16:07:04 -05:00
Kevin Smith d5e2355caf [Shields UI] Add IPH for new shields panel location (#33094) 2026-01-15 09:57:57 -05:00
Kevin Smith 168189e063 [NTP] Fix incorrectly position search results container (#33112) 2026-01-09 17:27:05 -05:00
Kevin Smith 8551bfb71d [CodeHealth] Move state_store into web-common (#33030)
This changes moves the state_store module from the NTP into the
web-common folder and refactors Rewards UI code to use this
module instead of "state_manager".
2026-01-08 09:49:37 -05:00
Kevin Smith 8e46a18e55 [News] Remove module import side-effects from News UI (#33019) 2026-01-07 08:54:37 -05:00
Kevin Smith c8ac530542 [NTP] Use monochrome favicon for NTP (#33043) 2026-01-06 16:16:27 -05:00
Kevin Smith 5ee62c5bd6 [NTP] Do not hide top sites menu when not hovering (#33021) 2026-01-05 16:22:23 -05:00
Kevin Smith 71c3db085c [NTP] Fully hide page elements when searchbox is focused (#32895) 2025-12-19 09:18:33 -05:00
Kevin Smith 69f1018a32 [Rewards] Do not show onboarding success modal (#32874) 2025-12-18 11:23:29 -05:00
Kevin Smith 5a2376b9d7 [Rewards] Do not autofocus the TOS update agree button (#32784) 2025-12-18 09:28:15 -05:00
Kevin Smith 48e1e31f58 [NTP] Render empty element if there is no selected search engine (#32861) 2025-12-17 08:52:41 -05:00
Kevin Smith 8bcd7aa3ba [NTP] Simplify state provider API (#32643) 2025-12-16 07:55:18 -05:00
Kevin Smith b37c473deb [Rewards] Add notice when no providers are available (#32776) 2025-12-10 13:42:40 -05:00
Kevin Smith fe21d028a3 [Rewards] Update account URL link for Solana (#32779) 2025-12-10 13:42:13 -05:00
Kevin Smith fb0deb7f73 [Shields UI] Remove unnecessary UI when Shields is shown in page info (#32730) 2025-12-09 08:44:01 -05:00
Kevin Smith efe5fcc7fc [Rewards] Autofocus accept button on TOS update modal (#32725) 2025-12-08 13:07:07 -05:00
Kevin Smith 9cdfd98a06 [NTP] Move preloaded background license to new NTP (#32685) 2025-12-08 07:59:29 -05:00
Kevin Smith 0164d5508a [NTP] Move browser test to new NTP target (#32659) 2025-12-04 07:21:40 -05:00
Kevin Smith fbceb44f69 [Welcome Page] Add scaffolding for new welcome page (#32612) 2025-12-02 14:04:19 -05:00
Kevin Smith e4fa2093b4 [Shields UI] Cache Shields WebContents when displayed in page info bubble (#32558) 2025-12-02 12:58:07 -05:00
Kevin Smith c35483c546 [NTP] Add Rewards provider deprecation notice (#32611) 2025-12-02 12:04:34 -05:00
Kevin Smith 3706c72068 [NTP] Deduplicate scoped_css module (#32622) 2025-12-02 09:02:34 -05:00
Kevin Smith da0285fa52 [NTP] Format front-end code with prettier (#32557) 2025-11-26 14:28:30 -05:00
Kevin Smith f822e3d0e5 [NTP] Update remaining strings to use formatter_data (#32534) 2025-11-26 10:30:32 -05:00
Kevin Smith 64138531eb [Rewards] Use formatString instead of formatMessage (#32509) 2025-11-25 13:22:44 -05:00
Kevin Smith cae7b0628a [Rounded Corners] Add a flag to control default pref value (#32473) 2025-11-24 20:24:24 -05:00
Kevin Smith f1a77f7874 [NTP] Fix CSS scope selector for Add Site modal (#32500) 2025-11-24 19:07:38 -05:00
Kevin Smith 551e9fdd57 [Rewards] Improve drop shadow for panel header and footer (#32501) 2025-11-24 18:17:59 -05:00
Kevin Smith b97a0f9bf5 [NTP] Fix most visited top sites integration (#32483) 2025-11-24 14:49:23 -05:00
Kevin Smith e9898c2621 [Rewards] Add provider offboarding UX (#32433) 2025-11-21 12:51:42 -05:00
Kevin Smith 80b33dcfe6 [Shields UI] Fix race condition when responding to repeated reloads (#32422) 2025-11-19 11:41:05 -05:00
Kevin Smith 675f48c08f [NTP] Fix clock format string key on old NTP (#32177) 2025-11-19 09:17:17 -05:00
Kevin Smith 52ac08c006 [Shields UI] Open page info when Shields detects repeated reloads (#32363) 2025-11-18 12:49:33 -05:00
Kevin Smith e92791a6dd [NTP] Increase the max number of custom top sites to 120 (#32043) 2025-11-17 20:36:48 -05:00
Kevin Smith 99a5b7d942 [Shields UI] Hide tab switcher for certain schemes (#32329) 2025-11-17 12:42:54 -05:00
Kevin Smith 3e85f9e8e0 [Shields UI] Use shields icon for location button icon (#32278) 2025-11-13 11:24:19 -05:00
Kevin Smith 801c24c45b Fix missing dep in ui/views/locationbar target (#32275) 2025-11-12 15:23:43 +01:00