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

added brave browser #111

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

added brave browser #111

wants to merge 4 commits into from

Conversation

Paul-creator
Copy link

No description provided.

@Paul-creator
Copy link
Author

Paul-creator commented Nov 19, 2021

"added brave browser":

Added brave browser support

"fixed broken title in set-profile":

The results of the command chrome-profile, edge-profile, etc. where badly named e.g.: Profile 1, Default
Now they have the same name like in chrome/edge/brave

"nondefault profile bookmark-search fix":

Activating a profile had no affect on the bookmark-result. The reason was a piece of code in the bookmark-request which overwrote the saved ProfileName with "Default". - I deleted it. Therefore you can activate now a different profile and search through that other profile's bookmarks.

configs/workflow.yml Outdated Show resolved Hide resolved
Comment on lines -39 to -54
profileSlice, err := s.ProfileService.GetProfiles(browser)

if err != nil {
return nil, err
}

profileName := profiles.DefaultProfileName

if browser.ProfileName == "" {
if profile, err := profileSlice.FirstActive(); err == nil && profile.Name != "" {
profileName = profile.Name
}
}

browser.ProfileName = profileName

Copy link
Owner

Choose a reason for hiding this comment

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

Could you please explain why you have remove that block?

Copy link
Owner

Choose a reason for hiding this comment

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

You just need to set profile via -profiles command.

Copy link
Author

Choose a reason for hiding this comment

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

This is the current problem:
First I made sure that the default browser is selected:
Screenshot 2021-11-20 at 10 05 24
Screenshot 2021-11-20 at 10 07 10

Then I searched for a bookmark and the results were from the Default browser:
Screenshot 2021-11-20 at 10 05 31

But when i switched to Profile 1 an made sure that it was activated
Screenshot 2021-11-20 at 10 11 29
It also saved the change to the browser.yml file:
Screenshot 2021-11-20 at 10 06 56

But after that when I searched for a bookmark and the results were still from the Default browser
Screenshot 2021-11-20 at 10 05 55

Copy link
Author

@Paul-creator Paul-creator Nov 20, 2021

Choose a reason for hiding this comment

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

And removing that code resolved this problem

@Paul-creator
Copy link
Author

I hope the GUIDs are now to your liking.

@LagunaElectric
Copy link

@mdreizin can you review this please? :)

@dineshgowda24
Copy link

Is anyone looking into reviewing the PR?

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

Successfully merging this pull request may close these issues.

4 participants