Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

[WIP] Add settings for new tab behaviour #3488

Closed
wants to merge 38 commits into from
Closed

[WIP] Add settings for new tab behaviour #3488

wants to merge 38 commits into from

Conversation

kingscott
Copy link

@kingscott kingscott commented Aug 27, 2016

  • Submitted a ticket for my issue if one did not already exist; didn't need to, there was one created.
  • Used Github auto-closing keywords in the commit message.
  • Ran git rebase -i to squash commits if needed.

Frontend tasks

  • Add drop-down selector to choose what the new tab will load

Logic tasks

  • Hook up drop-down to given options new tab page
  • Hook up drop-down to home page
  • Hook up down-down to user's search engine
  • Handle use case 1: user opens new tab via '+' in tab bar
  • Handle use case 2: user opens new tab via hamburger menu

Fixes #2106

@bbondy bbondy added this to the 1.0.0 milestone Aug 30, 2016
@bbondy
Copy link
Member

bbondy commented Sep 3, 2016

Thanks @kingscott !

@cezaraugusto could you merge this into your newtab branch then close this pull request? Thanks. We want to merge this at the same time as your work.

@kingscott
Copy link
Author

@bbondy Still need to fix the case where the user opens a new tab with the keyboard.

@bbondy
Copy link
Member

bbondy commented Sep 5, 2016

OK @kingscott do you anticipate doing that soon or should we pull in the code and add it?

@kingscott
Copy link
Author

Yes I do @bbondy. Was going to do my best to get it done this week. Should I send you (or someone else) a message on Slack based on status close to the end of this week?

@bbondy
Copy link
Member

bbondy commented Sep 5, 2016

Cool thanks, either Slack or here is fine.

darkdh and others added 18 commits September 8, 2016 13:49
2. Re-block running insecure content when frame closed

fix #3770

Auditors: @diracdeltas

Test Plan:
For re-block option:
1. Go to `https://mixed-script.badssl.com/`
2. Click urlIcon and click `Load Unsafe Scripts`
3. Background should be red
4. Click urlIcon and click `Stop Loading Unsafe Scripts`
5. Background should be grey

For re-blocked on frame closed
1. Go to `https://mixed-script.badssl.com/`
2. Click urlIcon and click `Load Unsafe Scripts`
3. Background should be red
4. Close tab
5. Go to `https://mixed-script.badssl.com/` on new tab again
6. Background should be grey
… scope

fix #3793

Auditors: @diracdeltas

Test Plan:
For regular frame:
1. Go to https://mixed-script.badssl.com
2. Click urlIcon and click Load Unsafe Scripts
3. Background should be red
4. Go to https://mixed-script.badssl.com by regular new tab
5. Background should be grey
6. Go to https://mixed-script.badssl.com by private new tab
7. Background should be grey

For private frame:
1. Go to https://mixed-script.badssl.com by private tab
2. Click urlIcon and click Load Unsafe Scripts
3. Background should be red
4. Go to https://mixed-script.badssl.com by regular new tab
5. Background should be grey
6. Go to https://mixed-script.badssl.com by private new tab
7. Background should be grey
repeats of a location/tabId pair should result in a `revisitP=true`
call to `synopsis.addPublisher` so the `visits` counter is not
incremented.

auditor: @diracdeltas
Fix #3828

Auditors: @mrose17

Test Plan:
1. manually edit reconcileStamp in ledger-state.json to be 0
2. start browser, wait 15 minutes
3. verify that a notification bar appears and clicking the button in the bar
goes to the Payments panel
Re-block running insecure content
Auditors: @diracdeltas

Test Plan: N/A
Auditors: @bbondy, @alexwykoff

Test plan:

  1. Select Malay from the language dropdown in about:preferences
  2. Restart browser
  3. Ensure language tokens are in Malay
  4. Select English from the language dropdown in about:preferences
  5. Restart browser
  6. Ensure language can be reset to English
Add Malay (Malaysia) language
new dialog design for adding funds
@bsclifton
Copy link
Member

Original branch was deleted and the patches here are super out of date-

I cherry picked commits, manually resolved the items, and squashed the commits into a branch on my fork:
https://github.com/brave/browser-laptop/compare/master...bsclifton:newtab-preferences?expand=1

I'm going to close this PR and I'll take over the remaining work 😄

@bsclifton bsclifton closed this Oct 31, 2016
@bsclifton bsclifton removed this from the 1.0.0 milestone Oct 31, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

10 participants