Skip to content

Commit 1899deb

Browse files
authored
Merge pull request #2 from semanticdata/feat/brand-new-redesign
2 parents d918a5a + 4531c77 commit 1899deb

31 files changed

Lines changed: 5229 additions & 608 deletions

.github/workflows/web-ext-workflow.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ name: Release new version
22

33
on:
44
workflow_dispatch:
5-
# push:
6-
# tags:
7-
# - 'v*.*.*'
8-
# release:
9-
# types: [published]
5+
# push:
6+
# tags:
7+
# - 'v*.*.*'
8+
# release:
9+
# types: [published]
1010

1111
jobs:
1212
build-release:
@@ -22,7 +22,7 @@ jobs:
2222
uses: kewisch/action-web-ext@v1
2323
with:
2424
cmd: build
25-
filename: '{name}-{version}.xpi'
25+
filename: "{name}-{version}.xpi"
2626
ignoreFiles: '[ "package.json", "package-lock.json", "yarn.lock", ".github", ".gitattributes", "LICENSE", "README.md"]'
2727

2828
- name: Sign

.gitignore

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
node_modules
2+
3+
# Build output - avoids duplicates and forces fresh builds
4+
packages/sidebar/styles.css
5+
packages/sidebar/script.js
6+
packages/sidebar/icon.svg
7+
packages/newtab/styles.css
8+
packages/newtab/script.js
9+
packages/newtab/icon.svg
10+
web-ext-artifacts

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2024 Miguel Pimentel
3+
Copyright (c) 2024-2026 Miguel Pimentel
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 75 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,90 @@
1-
<h1><img src="./src/icons/icon32.png" height="28px" width="28px" /> NoteKeeper</h1>
1+
> [!NOTE]
2+
> NoteKeeper v2 is now available as two separate extensions that sync notes with each other. Install both for the best experience!
3+
4+
<h1><img src="./shared/icon.svg" height="28px" width="28px" /> NoteKeeper</h1>
25

36
![Mozilla Add-on](https://img.shields.io/amo/v/newtab-notes@semanticdata) ![Add-on rating](https://img.shields.io/amo/rating/newtab-notes@semanticdata) ![Add-on downloads](https://img.shields.io/amo/dw/newtab-notes@semanticdata) ![Add-on users](https://img.shields.io/amo/users/newtab-notes@semanticdata) ![License](https://img.shields.io/github/license/semanticdata/firefox-new-tab-notes)
47

5-
NoteKeeper is a Firefox extension that transforms the new tab into a minimalist, auto-saving text editor. It now comes with a new sidebar companion! If you are curious, go check out the [demo](https://semanticdata.github.io/notekeeper/).
8+
[NoteKeeper](https://addons.mozilla.org/en-US/firefox/addon/notekeeper/) replaces the new tab page with a simple text editor. Your notes auto-save and sync across devices via Firefox Sync. The companion [NoteKeeper Sidebar](https://addons.mozilla.org/en-US/firefox/addon/notekeeper-sidebar/) extension adds a sidebar editor that syncs with the new tab version.
69

710
<a href="https://addons.mozilla.org/en-US/firefox/addon/notekeeper/">
811
<img src="https://raw.githubusercontent.com/semanticdata/text-revealer-firefox-extension/master/firefox.png" alt="firefox addon" /></a>
912

10-
## ✨ Features
13+
## What it does
14+
15+
Both extensions share notes via Firefox Sync:
16+
17+
### NoteKeeper (New Tab)
18+
19+
- [x] Auto-saves as you type (debounced, not on every keystroke)
20+
- [x] Syncs notes across devices via Firefox Sync
21+
- [x] Dark/light theme, follows your system preference
22+
- [x] Adjustable font size
23+
- [x] Works offline
24+
25+
### NoteKeeper Sidebar (Companion)
26+
27+
- [x] All features of NoteKeeper
28+
- [x] Opens in Firefox sidebar (Alt+Shift+N)
29+
- [x] Syncs with NoteKeeper (notes appear in both extensions)
30+
- [x] Keyboard shortcut customization
31+
32+
## Testing Checklist
33+
34+
NoteKeeper (New Tab):
35+
36+
- [x] Open new tab - should show NoteKeeper editor
37+
- [ ] Type text - should auto-save (status shows "Saved")
38+
- [x] Toggle theme - dark/light modes work
39+
- [ ] Adjust font size - slider changes text size
40+
- [ ] Refresh page - notes persist
41+
- [ ] Check word count - updates as you type
42+
43+
NoteKeeper Sidebar:
44+
45+
- [ ] Press `Alt+Shift+N` - sidebar opens
46+
- [ ] Type text in sidebar - should auto-save
47+
- [x] Toggle theme in sidebar - works
48+
- [ ] Adjust font size in sidebar - works
49+
- [ ] Open extension options - keyboard shortcut config appears
50+
- [ ] Change keyboard shortcut - saves successfully
51+
52+
Test Sync Between Extensions:
53+
54+
- [ ] Type in new tab → appears in sidebar
55+
- [ ] Type in sidebar → appears in new tab
56+
- [ ] Change theme in new tab → changes in sidebar
57+
- [ ] Change font size in new tab → changes in sidebar
58+
- [ ] Open two tabs - both sync notes
59+
- [ ] Close/reopen new tab - notes restored
60+
- [ ] Close/reopen sidebar - notes restored
61+
62+
Test Offline Mode:
63+
64+
- [ ] Disconnect internet
65+
- [ ] Type in new tab - saves (to local storage)
66+
- [ ] Type in sidebar - saves
67+
- [ ] Reconnect internet - syncs to Firefox Sync
68+
- [ ] Notes persist across devices
69+
70+
Test Cross-Tab Sync:
1171

12-
- ✅ Auto-saves content after every keystroke
13-
- ✅ Integrated with Firefox Sync - access your notes across browser instances
14-
- ✅ Integrated with [Web Storage API](https://developer.mozilla.org/en-US/docs/Web/API/Web_Storage_API)
15-
- ✅ Works offline with browser sync support ([Firefox Sync](https://www.mozilla.org/en-US/firefox/features/sync/), [Chrome Sync](https://support.google.com/chrome/answer/185277))
16-
- ✅ Dark/Light themes with system preference detection
17-
- ✅ Responsive design that works across devices
18-
- ✅ Sidebar companion for quick access
19-
- ✅ Comprehensive test coverage
72+
- [ ] Open multiple new tabs
73+
- [ ] Type in one tab - updates others
74+
- [ ] Switch between tabs - notes sync
75+
- [ ] Open sidebar - notes match new tab
2076

21-
## 🖼️ Screenshots
77+
<!--
78+
## Screenshots
2279
2380
| ![light-mode](./screenshot.png) | ![dark-mode](./screenshot-dark.png) |
24-
| :---: | :---: |
81+
| :-----------------------------: | :---------------------------------: |
82+
-->
2583

26-
## 💜 Acknowledgments
84+
## Acknowledgments
2785

28-
This extension is based on [Tab Notes](https://github.com/nsht/tab_notes). It hadn't received updates in over 4 years when originally forked.
86+
This extension is based on [Tab Notes](https://github.com/nsht/tab_notes). It hadn't received updates in over 6 years last time I checked.
2987

30-
## © License
88+
## License
3189

32-
Source code in this repository is available under the [MIT License](./LICENSE).
90+
Available under the [MIT License](./LICENSE).

manifest.json

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"manifest_version": 2,
33
"name": "NoteKeeper",
4-
"version": "1.3.0",
4+
"version": "2.0.0",
55
"description": "NoteKeeper transforms your new tab into a minimalist, auto-saving text editor.",
66
"author": "semanticdata",
77
"browser_specific_settings": {
@@ -14,20 +14,29 @@
1414
"storage"
1515
],
1616
"icons": {
17-
"48": "src/icons/icon48.png",
18-
"96": "src/icons/icon96.png"
17+
"32": "src/icon.svg",
18+
"48": "src/icon.svg",
19+
"64": "src/icon.svg",
20+
"96": "src/icon.svg",
21+
"128": "src/icon.svg"
1922
},
2023
"browser_action": {
2124
"default_title": "NoteKeeper",
2225
"default_icon": {
23-
"48": "src/icons/icon48.png",
24-
"96": "src/icons/icon96.png"
26+
"32": "src/icon.svg",
27+
"48": "src/icon.svg",
28+
"64": "src/icon.svg",
29+
"96": "src/icon.svg",
30+
"128": "src/icon.svg"
2531
}
2632
},
2733
"sidebar_action": {
2834
"default_icon": {
29-
"48": "src/icons/icon48.png",
30-
"96": "src/icons/icon96.png"
35+
"32": "src/icon.svg",
36+
"48": "src/icon.svg",
37+
"64": "src/icon.svg",
38+
"96": "src/icon.svg",
39+
"128": "src/icon.svg"
3140
},
3241
"default_title": "NoteKeeper",
3342
"default_panel": "src/sidebar/panel.html"

0 commit comments

Comments
 (0)