deliciousbrains / better-search-replace

A simple plugin for updating URLs or other text in a database.
https://bettersearchreplace.com
GNU General Public License v3.0
86 stars 36 forks source link

BSR lite plugin should have new UI #81

Closed kevinwhoffman closed 2 years ago

kevinwhoffman commented 2 years ago

This is a continuation of the work started in https://github.com/deliciousbrains/better-search-replace-pro/pull/65 where @lewis-dbi and @mattgrshaw began implementing the new plugin UI.

As Matt mentioned in https://github.com/deliciousbrains/better-search-replace-pro/pull/65#issuecomment-1058763572, a branch for ui-reskin has been started already.

Acceptance Criteria

Dry Run Details Modal

Upgrade Links

kevinwhoffman commented 2 years ago

@mattgrshaw Now that @lewis-dbi has the sidebar in place in the free version, I've added acceptance criteria for the remaining items. Are you able to take it from here?

mattgrshaw commented 2 years ago

Yep, can do 👍

mattgrshaw commented 2 years ago

@kevinwhoffman sorry if this is already discussed somewhere, but what should the tooltips say in the search/replace results? I couldn't see that in Figma.

I went with this:

Upgrade now to view detailed results.

I also updated the tooltip so they show to the right of the number of changes found (instead of to the left like the other tooltip). That way, they don't cover the table name when they show up:

Screen Shot 2022-03-14 at 10 10 09 PM

Let me know if you have any changes to the tooltip text or placement. I still have to do a bit of a code review / cleanup, so I can do that and get the tooltips finalized tomorrow.

kevinwhoffman commented 2 years ago

@mattgrshaw The tooltip looks good to me. @lewis-dbi and I can take a closer look when the PR is ready. At that time, I will also double-check the links.