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

Re-introduce bookmark modal #5118

Merged
merged 1 commit into from
Oct 26, 2016
Merged

Re-introduce bookmark modal #5118

merged 1 commit into from
Oct 26, 2016

Conversation

bsclifton
Copy link
Member

  • 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).

Re-introduce bookmark modal

  • add/edit current site uses the bookmark hanger
  • all other cases use a new control which wraps a modal around a slightly different
    version of the bookmark hanger.

Fixes #5103

Auditors: @jkup, @bbondy

@bsclifton bsclifton added this to the 0.12.7dev milestone Oct 25, 2016
@bsclifton
Copy link
Member Author

bsclifton commented Oct 25, 2016

This might need some small tweaks (ex: it should auto-focus on text field when opened, etc) but it's working good 😄 Ready for review

@bsclifton
Copy link
Member Author

bsclifton commented Oct 25, 2016

Has a positioning issue (too far right horizontally and not centered vertically) and (if time allows) would be nice to match modal closer to mockup in #2894 (comment) (including adding a close button)

new bookmark folder
screen shot 2016-10-25 at 9 08 31 am

create new bookmark
screen shot 2016-10-25 at 9 08 48 am

add bookmark (with the hanger)
screen shot 2016-10-25 at 9 09 00 am

@jkup
Copy link
Contributor

jkup commented Oct 25, 2016

Moving the code into a separate file LGTM! I think we need the modal centered and the input auto-focused before we ship but looking great so far!

- add/edit current site uses the bookmark hanger
- all other cases use a new control which wraps a modal around a slightly different
  version of the bookmark hanger.

Fixes #5103

Auditors: @jkup, @bbondy

UPDATE:
modal is now centered and also features a close button :)
@bsclifton
Copy link
Member Author

bsclifton commented Oct 25, 2016

@jkup @bbondy updated PR- I fixed the centering of the modal and then added a close button in the top right

screen shot 2016-10-25 at 4 38 26 pm
Close button does not show for the bookhanger mode

Ready for re-review / merge

@jkup
Copy link
Contributor

jkup commented Oct 26, 2016

@bsclifton looking great! I think it's ready to ship, just one question for @bradleyrichter:

When a bookmark from the bookmarks bar is right clicked on and you click edit, should it be the centered no arrow or the arrow pointing at the star? I know the final design wants the arrow to point to the bookmark but I mean for now..

Other than that ready to ship!

@bbondy
Copy link
Member

bbondy commented Oct 26, 2016

merging!

@luixxiul
Copy link
Contributor

@bbondy Was this included in 0.12.7 Preview1?

@bbondy
Copy link
Member

bbondy commented Oct 26, 2016

no

@bsclifton
Copy link
Member Author

Created #5163 for the remaining style work. @bradleyrichter if you get a chance, can you pls check it out, add notes, and prioritize? 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.

6 participants