Skip to content

Commit

Permalink
Merge pull request #53 from Vaayne/jotai
Browse files Browse the repository at this point in the history
Dropdown Menu
  • Loading branch information
vaayne authored Nov 29, 2023
2 parents 93345d7 + c973313 commit 260e7ee
Show file tree
Hide file tree
Showing 53 changed files with 15,541 additions and 9,793 deletions.
19 changes: 19 additions & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
module.exports = {
root: true,
env: { browser: true, es2020: true },
extends: [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:react-hooks/recommended",
"prettier",
],
ignorePatterns: ["dist", ".eslintrc.cjs"],
parser: "@typescript-eslint/parser",
plugins: ["react-refresh"],
rules: {
"react-refresh/only-export-components": [
"warn",
{ allowConstantExport: true },
],
},
}
114 changes: 57 additions & 57 deletions .github/workflows/submit.yml
Original file line number Diff line number Diff line change
@@ -1,57 +1,57 @@
name: "Submit to Web Store"
on:
workflow_dispatch:
push:
tags:
- v*.*.*

permissions:
contents: write
discussions: write

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Cache pnpm modules
uses: actions/cache@v3
with:
path: ~/.pnpm-store
key: ${{ runner.os }}-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-
- uses: pnpm/[email protected]
with:
version: 7.26.3
run_install: true
- name: Use Node.js 18.x
uses: actions/[email protected]
with:
node-version: 18.x
cache: "pnpm"
- name: Build and Package the extension into a zip artifact
run: |
pnpm build --target=chrome-mv3 --zip
pnpm build --target=firefox-mv2 --zip
pnpm build --target=edge-mv3 --zip
- name: Create Release
uses: softprops/action-gh-release@v1
with:
generate_release_notes: true
body: |
## Changelog
Please see the [changelog](https://github.com/Vaayne/NotionAI-Plus/blob/main/CHANGELOG.md)
files: |
build/chrome-mv3-prod.zip
build/firefox-mv2-prod.zip
build/edge-mv3-prod.zip
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

# - name: Browser Platform Publish
# uses: PlasmoHQ/bpp@v3
# with:
# keys: ${{ secrets.SUBMIT_KEYS }}
# artifact: build/chrome-mv3-prod.zip
name: "Submit to Web Store"
on:
workflow_dispatch:
push:
tags:
- v*.*.*

permissions:
contents: write
discussions: write

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Cache pnpm modules
uses: actions/cache@v3
with:
path: ~/.pnpm-store
key: ${{ runner.os }}-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-
- uses: pnpm/[email protected]
with:
version: 7.26.3
run_install: true
- name: Use Node.js 18.x
uses: actions/[email protected]
with:
node-version: 18.x
cache: "pnpm"
- name: Build and Package the extension into a zip artifact
run: |
pnpm build --target=chrome-mv3 --zip
pnpm build --target=firefox-mv2 --zip
pnpm build --target=edge-mv3 --zip
- name: Create Release
uses: softprops/action-gh-release@v1
with:
generate_release_notes: true
body: |
## Changelog
Please see the [changelog](https://github.com/Vaayne/NotionAI-Plus/blob/main/CHANGELOG.md)
files: |
build/chrome-mv3-prod.zip
build/firefox-mv2-prod.zip
build/edge-mv3-prod.zip
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

# - name: Browser Platform Publish
# uses: PlasmoHQ/bpp@v3
# with:
# keys: ${{ secrets.SUBMIT_KEYS }}
# artifact: build/chrome-mv3-prod.zip
9 changes: 9 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Ignore artifacts:
build
coverage

**/.plasmo
**/.vscode
**/build

**/node_modules
17 changes: 0 additions & 17 deletions .prettierrc.cjs

This file was deleted.

120 changes: 83 additions & 37 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,100 +1,146 @@
# Changelog

## v0.1.0 - 2023-11-29

### Added

- Support Dropdown Menu
- Better UI
- jotai for state manage
- radix-theme for theme
- remove unused packages
- refactor code

## v0.0.25 - 2023-11-11

### Fixed
- Fix chatgpt web, claude web and google bard engine

- Fix chatgpt web, claude web and google bard engine

## v0.0.24 - 2023-08-08

### Added
- Support Claude as backend engine

- Support Claude as backend engine

## v0.0.23 - 2023-07-18

### Added
- support set openai proxy host

- support set openai proxy host

## v0.0.22 - 2023-06-02

### Fixed
- Resolved authentication issue on ChatGPT Web
- Added animation to send button for better user experience
- Revised ChatGPT Mobile model to text-davinci-002-render-sha-mobile, improving speed and overall performance.

- Resolved authentication issue on ChatGPT Web
- Added animation to send button for better user experience
- Revised ChatGPT Mobile model to text-davinci-002-render-sha-mobile, improving speed and overall performance.

## v0.0.21 - 2023-06-01

### Fixed
- Fix NotionAI not working issue
- Improve ChatGPT Web error message
- Bard support image

- Fix NotionAI not working issue
- Improve ChatGPT Web error message
- Bard support image

## v0.0.20 - 2023-05-19

### Fixed
- Fix port message API not responsing issue

- Fix port message API not responsing issue

## v0.0.19 - 2023-04-28

### Fixed
- Fix fetch API not working.

- Fix fetch API not working.

## v0.0.18 - 2023-04-27

### Fixed
- Fix using chatgpt web
- Enhance error message

- Fix using chatgpt web
- Enhance error message

## v0.0.17 - 2023-04-25

### Added
- Support new bing as backend engine
- Support Google Bard as backend engine

- Support new bing as backend engine
- Support Google Bard as backend engine

## v0.0.16 - 2023-04-24

### Added
- support stream response, so you can see the response in real time.
- markdown support code highlight

- support stream response, so you can see the response in real time.
- markdown support code highlight

### Fixed
- Fixed an issue when typing in input box, will trigger global shortcut key on github.
- Fixed chatgpt web not working.

- Fixed an issue when typing in input box, will trigger global shortcut key on github.
- Fixed chatgpt web not working.

## v0.0.15 - 2023-04-06

### Added
- support NotionBoy as backend engine

- support NotionBoy as backend engine

## v0.0.14 - 2023-03-28

### Fixed
- Fixed an issue that can not set the default engine in the options page.

- Fixed an issue that can not set the default engine in the options page.

## v0.0.13 - 2023-03-27

### Fixed
- Fixed an issue that NotionAI continue writing not working

- Fixed an issue that NotionAI continue writing not working

## v0.0.12 - 2023-03-26

### Added
- Added a new icon from midjourney.
- Add a dragable button.
- Add more context menu items.

- Added a new icon from midjourney.
- Add a dragable button.
- Add more context menu items.

### Improved
- Improved the UI, auto show prompt options when focus on input.

- Improved the UI, auto show prompt options when focus on input.

## v0.0.11 - 2023-03-25

### Added
- Added a new feature that allows you to drag the window to any position on the screen.
- Added a new feature that allows you to activate the window by using context menu.
- Redesign the UI
- Add instructions for popup and options page.

- Added a new feature that allows you to drag the window to any position on the screen.
- Added a new feature that allows you to activate the window by using context menu.
- Redesign the UI
- Add instructions for popup and options page.

### Fixed
- Fixed UI issues caused by the daisy ui.

- Fixed UI issues caused by the daisy ui.

## v0.0.10 - 2023-03-13

### Fixed
- Resolved an issue that occurred while setting the Notion space ID and default engine in the options page.

- Resolved an issue that occurred while setting the Notion space ID and default engine in the options page.

## v0.0.9 - 2023-03-07

### Fixed
- Fixed an issue with the ChatGPT web.

- Fixed an issue with the ChatGPT web.

### Added
- Added support for ChatGPT API and ChatGPT web.
- Support for automatically getting space ID for NotionAI.
- Added a full mode feature.
- Added "append" and "replace" buttons for input boxes in the webpage.

- Added support for ChatGPT API and ChatGPT web.
- Support for automatically getting space ID for NotionAI.
- Added a full mode feature.
- Added "append" and "replace" buttons for input boxes in the webpage.
Loading

0 comments on commit 260e7ee

Please sign in to comment.