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

📑 Firefox bookmarks plugin #133

Merged
merged 6 commits into from
Jun 2, 2024
Merged

📑 Firefox bookmarks plugin #133

merged 6 commits into from
Jun 2, 2024

Conversation

friedow
Copy link
Owner

@friedow friedow commented Apr 28, 2024

This finally adds a first plugin for firefox 🎉. With this you are able to search and open your firefox bookmarks. Bookmarks are sorted by the number of visits.

This closes #13!

@friedow friedow self-assigned this Apr 28, 2024
@friedow
Copy link
Owner Author

friedow commented Apr 28, 2024

For all the Firefox enjoyers around here FYI @a-kenji, @rti, @velramiir, @pinpox ;)

Copy link
Collaborator

@a-kenji a-kenji left a comment

Choose a reason for hiding this comment

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

LGTM, one small question.

#[derive(Debug, Deserialize)]
pub struct FirefoxBookmarksPluginSettings {
#[serde(default = "default_true")]
pub enable: bool,
Copy link
Collaborator

Choose a reason for hiding this comment

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

Do we want them true, or false?

Copy link
Owner Author

Choose a reason for hiding this comment

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

That is a good question. I was thinking true, as the brave browser plugins also are enabled by default. But setting it to true would technically be a breaking change. WDYT?

@a-kenji a-kenji self-requested a review April 28, 2024 18:11
@friedow friedow requested a review from a-kenji May 9, 2024 14:18
@friedow
Copy link
Owner Author

friedow commented May 9, 2024

I've added a parser for the firefox profiles.ini file. @a-kenji can you check if that works on your system as well?

@a-kenji
Copy link
Collaborator

a-kenji commented May 9, 2024

@friedow,
It seems to work, but my database is be locked.

"/home/kenji/.mozilla/firefox/x32jmy0t.default"
2024-05-09T15:30:49.600Z ERROR [firefox_bookmarks] database is locked (code 5)
thread '<unnamed>' panicked at client/src/plugin/utils.rs:18:17:
explicit panic

@friedow
Copy link
Owner Author

friedow commented May 9, 2024

Unlucky, then I'll have to copy the database the same way I did with brave. I'm on it ;)

@friedow
Copy link
Owner Author

friedow commented May 25, 2024

I've duplicated the database on plugin start. @a-kenji wanna test again?

@friedow friedow changed the title ✨ Firefox bookmarks plugin 📑 Firefox bookmarks plugin May 29, 2024
@friedow friedow merged commit 68de0fd into main Jun 2, 2024
1 check passed
@friedow friedow deleted the feat/firefox-bookmarks branch June 2, 2024 08:54
@friedow friedow mentioned this pull request Jun 2, 2024
friedow added a commit that referenced this pull request Jun 2, 2024
## Release Notes

### ✨ New Features
* 💄 display bars to visualize cpu core usage by @friedow in
#121
* ✨ `git_repositories`: add `zoxide` integration by @a-kenji in
#111
* ✨ enable font-fallack for all entries by @friedow in
#131
* 🌈 Allow setting colors via configuration by @pinpox in
#141
* 😜 Gitmoji plugin by @friedow in
#144
* 📑 Firefox bookmarks plugin by @friedow in
#133
* 📜 Firefox History by @friedow in
#152

### 🐛 Fixed Bugs
* 🐛 return false when file_name cannot convert to str by @prmadev in
#123
* 🐛 filter empty plugins for calculating scroll offset by @friedow in
#125
* 🐛 Add sort function to plugin trait by @a-kenji in
#124
* 🐛 implement full desktop spec by @friedow in
#120
* 🐛 fix initial sorting in a bunch of plugins by @friedow in
#129
* 🐛: fix suspend command invocation by @a-kenji in
#134

### Maintenance
* 📝 clarify wayland support by @a-kenji in
#105
* 👷 remove magic-nix-cache action by @a-kenji in
#106
* ✏️ Fix a small typo in the Readme by @a-kenji in
#112
* 🚨 Implement various clippy suggestions by @a-kenji in
#113

### New Contributors
* @prmadev made their first contribution in
#123
* @pinpox made their first contribution in
#141

**Full Changelog**:
v1.0.0...v1.1.0
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.

Plugin: Firefox Bookmarks
2 participants