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

Harden addSite and moveSite #7024

Merged
merged 2 commits into from
Feb 3, 2017
Merged

Harden addSite and moveSite #7024

merged 2 commits into from
Feb 3, 2017

Conversation

darkdh
Copy link
Member

@darkdh darkdh commented Feb 3, 2017

fix #7014
fix #7016

Auditors: @bbondy, @ayumi

Test Plan: covered by automatic test

  • Submitted a ticket for my issue if one did not already exist.
  • Used Github auto-closing keywords in the commit message.
  • Added/updated tests for this change (for new code or code which already has tests).
  • Ran git rebase -i to squash commits (if needed).

fix #7014
fix #7016

Auditors: @bbondy, @ayumi

Test Plan: covered by automatic test
@darkdh darkdh self-assigned this Feb 3, 2017
@darkdh darkdh requested review from ayumi and bbondy February 3, 2017 11:29
partitionNumber: this.props.partitionNumber,
title: this.props.title
}))
siteUtil.isSiteBookmarked(this.props.sites, Immutable.fromJS({location: this.props.location}))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we differentiate on bookmarks with different partitions, at least until today with previous releases. For example a user might want to bookmark twitter.com when logged in as user A and twitter.com when logged in as user B.


const site = sites.find((site) =>
isBookmark(site.get('tags')) &&
site.get('location') === siteDetail.get('location')
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ditto lack of partition here

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

updated in f9861f9

@bbondy
Copy link
Member

bbondy commented Feb 3, 2017

++

@ayumi
Copy link
Contributor

ayumi commented Feb 3, 2017

@darkdh thanks! I can bookmark into folders now. :)

@ayumi ayumi deleted the sites-enhancement branch February 3, 2017 18:35
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Adding, removing, then re-adding a bookmark errors Bookmarking into folders dupes or doesn't work
4 participants