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

fix pinning topSites not respecting position #5645

Merged
merged 1 commit into from
Nov 15, 2016
Merged

fix pinning topSites not respecting position #5645

merged 1 commit into from
Nov 15, 2016

Conversation

cezaraugusto
Copy link
Contributor

@cezaraugusto cezaraugusto commented Nov 15, 2016

  • Submitted a ticket for my issue if one did not already exist.
  • Used Github auto-closing keywords in the commit message.
  • Ran git rebase -i to squash commits (if needed).

Auditors: @bsclifton

fix #5337

Test Plan:

  • Access new tab page;
  • Access 4-6 websites;
  • Pin the second and fourth site.;
  • Pinning a site should add a Pin icon on top-right corner and be kept on its position (not jump);
  • Access another website (i.e. https://brave.com) and get back to new tab.
  • Ensure that pinned topSites are still on their positions (2nd and 4th);
  • Ensure that your latest accessed site is on first position;
  • Ensure that other sites were pulled to right, but skipping pinned positions.

Auditors: @bsclifton

fix #5337

Test Plan:

* Access new tab page;
* Access 4-6 websites;
* Pin a site. Pinning a site should add a Pin icon on top-right corner and be kept on its position (not jump);
* Keep in mind the website position and reorder it to a new position;
* Access another website and get back to new tab. Ensure that your last pinned website kept its position;
@bsclifton
Copy link
Member

LGTM 😄

@srirambv
Copy link
Collaborator

Ensure that your latest accessed site is on first position

visiting a new site puts the tile in between the two pinned tiles and not in first position.

ezgif com-resize

@cezaraugusto
Copy link
Contributor Author

@srirambv could you open a new issue for that? This is more related to how we define topSites (based on number of visits). On your comment pinned topSites are still on their positions, so slightly different. Thanks!!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

about:newtabs - pinning is not working
5 participants