Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make sidebar item editable #24964

Closed
simonhong opened this issue Aug 25, 2022 · 2 comments · Fixed by brave/brave-core#14824
Closed

Make sidebar item editable #24964

simonhong opened this issue Aug 25, 2022 · 2 comments · Fixed by brave/brave-core#14824
Assignees
Labels
design/needs-mock-up needs-mockup A feature which needs design mockup to be implemented. feature/sidebar Relating to Brave's Sidebar feature OS/Desktop priority/P3 The next thing for us to work on. It'll ride the trains. QA Pass-macOS QA/Yes release-notes/include

Comments

@simonhong
Copy link
Member

For now, user can't touch each item's properties such as title or url.
User may want to edit them after adding.

For example, we can launch item edit dialog via context menu like topsite tile's one
Screen Shot 2022-08-25 at 9 18 40 AM
Screen Shot 2022-08-25 at 9 18 50 AM

@simonhong simonhong added design/needs-mock-up needs-mockup A feature which needs design mockup to be implemented. QA/Yes release-notes/include OS/Desktop feature/sidebar Relating to Brave's Sidebar feature labels Aug 25, 2022
@simonhong simonhong self-assigned this Aug 25, 2022
simonhong added a commit to brave/brave-core that referenced this issue Aug 25, 2022
@rebron rebron added the priority/P3 The next thing for us to work on. It'll ride the trains. label Aug 25, 2022
@simonhong
Copy link
Member Author

simonhong commented Aug 26, 2022

@aguscruiz I think edit dialog also needs visual feedback when user tries to enter invalid url or alread used url from another sidebar items. Sidebar can't have two different items that uses same url.
I think url should not be updated because it's like unique id for each sidebar item.
So, only its title could be editable as I shared demo clips in DM.

simonhong added a commit to brave/brave-core that referenced this issue Sep 6, 2022
fix brave/brave-browser#24964

When user selects edit... context menu for sidebar item,
another bubble is launched for getting new url or title.

Use the url as a title for sidebar item when title input is empty
@simonhong simonhong added this to the 1.45.x - Nightly milestone Sep 6, 2022
@stephendonner
Copy link

Verified PASSED using

Brave 1.45.87 Chromium: 106.0.5249.91 (Official Build) beta (x86_64)
Revision fa96d5f07b1177d1bf5009f647a5b8c629762157-refs/branch-heads/5249@{#707}
OS macOS Version 11.7 (Build 20G817)

Steps:

  1. installed 1.45.87
  2. launched Brave
  3. loaded bravest.com
  4. loaded brave.com
  5. added both of the above sites to the Sidebar via the + (Add to Sidebar) button
  6. context-clicked on the bravest.com icon and chose Edit
  7. changed the URL to brave.com from bravest.com
  8. clicked on OK
  9. context-clicked on the bravest.com icon again and chose Edit
  10. confirmed the URL remains the original bravest.com
step 5 step 6 step 7a step 7b step 9 step 10
Screen Shot 2022-10-05 at 8 11 49 PM Screen Shot 2022-10-05 at 8 19 10 PM Screen Shot 2022-10-05 at 8 14 45 PM Screen Shot 2022-10-05 at 8 14 34 PM Screen Shot 2022-10-05 at 8 24 06 PM Screen Shot 2022-10-05 at 8 14 45 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
design/needs-mock-up needs-mockup A feature which needs design mockup to be implemented. feature/sidebar Relating to Brave's Sidebar feature OS/Desktop priority/P3 The next thing for us to work on. It'll ride the trains. QA Pass-macOS QA/Yes release-notes/include
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants