Compare commits

...
Author SHA1 Message Date
StandardNotes CI 9a297fe8cf chore(release): publish
- @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected].3
 - @standardnotes/[email protected]
 - @standardnotes/[email protected].4
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
2022-07-13 08:34:40 +00:00
StandardNotes CI f06167abc2 chore(release): components 2022-07-13 08:34:26 +00:00
Karol Sójko f125ad3cf1 chore(dep): upgrade webpack-merge 2022-07-13 10:10:57 +02:00
Karol Sójko 26949749fc chore(dep): upgrade jsdom 2022-07-13 10:09:42 +02:00
StandardNotes CI 763f4655a1 chore(release): publish
- @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected].5
 - @standardnotes/[email protected].4
 - @standardnotes/[email protected].6
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected].5
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected].5
 - @standardnotes/[email protected].2
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected].3
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
2022-07-13 07:52:54 +00:00
StandardNotes CI 2e1218c2c1 chore(release): components 2022-07-13 07:52:40 +00:00
Karol Sójko 431f1e3bac chore(dep): upgrade @types/jest 2022-07-13 09:28:13 +02:00
Karol Sójko b3c8d6e976 fix(components): additional output in the versioning script 2022-07-12 13:31:15 +02:00
Karol Sójko 7624f95462 fix: upgrade jest-environment-jsdom 2022-07-12 12:11:26 +02:00
Karol Sójko 71e792da35 fix: upgrade ts-jest in packages 2022-07-12 11:52:34 +02:00
Karol Sójko 09e08ca899 fix: upgrade jest with types to latest version 2022-07-12 11:37:26 +02:00
Karol Sójko 59327a5aa1 feat: add dependabot security checks 2022-07-12 11:12:27 +02:00
StandardNotes CI da65a94d08 chore(release): publish
- @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected].2
2022-07-12 07:57:53 +00:00
Vardan Hakobyan 0a2c90f2c1 fix(web): responsive autocomplete tag dropdown (#1250) 2022-07-12 11:32:54 +04:00
StandardNotes CI 3f028656f2 chore(release): publish
- @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected].1
 - @standardnotes/[email protected]
2022-07-11 14:15:54 +00:00
StandardNotes CI 5706b4d162 chore(release): components 2022-07-11 14:15:40 +00:00
Aman Harwara 9d230d4b81 fix: focus mode & dynamic panels on small screens (#1246) 2022-07-11 19:21:03 +05:30
Moandjohnnymatthews b025e394c1 feat(docs): improve docker page (#1240)
* Adds improvements to Docker install process.

* Remvoes 'up' status - no longer used.

* style(docs): minor adjustments

Co-authored-by: johnnymatthews <[email protected]>
2022-07-09 07:22:27 -05:00
Mo 6764f3267b chore(web-server): remove legacy capistrano configs (#1239) 2022-07-09 07:12:48 -05:00
StandardNotes CI 97cb721909 chore(release): publish
- @standardnotes/[email protected]
2022-07-09 11:53:06 +00:00
Mo 4ad21c4f61 fix(docs): improve getting started self host page (#1238) 2022-07-09 06:31:42 -05:00
Mo a5ccaf1331 chore: snjs e2e pr workflow 2022-07-09 06:20:34 -05:00
StandardNotes CI 3c4ba61fee chore(release): publish
- @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected].0
2022-07-09 10:58:11 +00:00
Aman Harwara 5393eb71fe feat: release Files view (#1236) 2022-07-09 16:07:20 +05:30
StandardNotes CI 0aef604167 chore(release): publish
- @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected].1
2022-07-08 21:03:13 +00:00
Aman Harwara c6932ba733 fix(desktop): don't shift sections on macOS if window is small (#1235) 2022-07-09 02:07:42 +05:30
StandardNotes CI fc6e36e761 chore(release): publish
- @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected].0
2022-07-08 19:29:54 +00:00
Aman Harwara 66f97f0612 feat(web): mobile-friendly (responsive) preferences UI (#1234) 2022-07-09 00:38:44 +05:30
StandardNotes CI 961d1fb8d4 chore(release): publish
- @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected].4
 - @standardnotes/[email protected].5
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected].4
 - @standardnotes/[email protected]
 - @standardnotes/[email protected].4
 - @standardnotes/[email protected].1
 - @standardnotes/[email protected]
 - @standardnotes/[email protected].6
2022-07-08 14:38:30 +00:00
Aman Harwara f349744fdb fix: subtag duplication (#1227) 2022-07-08 19:47:18 +05:30
Karol Sójko c737132b50 fix: add running locally e2e 2022-07-08 16:08:37 +02:00
StandardNotes CI 1809c51e54 chore(release): publish
- @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected].0
 - @standardnotes/[email protected]
 - @standardnotes/[email protected].5
2022-07-08 09:56:33 +00:00
Karol Sójko 3e4e7fd0e0 feat: add building of SNJS Docker image for e2e testing purposes (#1225)
* feat: add building of SNJS Docker image for e2e testing purposes

* fix: contents of snjs package

* feat: add running e2e test suite

* fix: include mocha directory in the snjs yarn package

* fix: add triggering e2e tests with specific image tag

* fix: mocha tests url

* fix: add tests before publishing new version

* fix: temporary skip linter errors

* Revert "fix: temporary skip linter errors"

This reverts commit c989536930a291677f6ef8cad402feb13f066b8c.

* fix: replace test libraries with unpkg CDN versions

* fix: update yarn lock and remove cached libs

* fix: add missing library to mocha tests

* fix: restore chai-as-promised built version

* fix: serving sncrypto-web in mocha test suite

* fix: add copy of sncrypto-web to gitignore files
2022-07-08 11:36:12 +02:00
StandardNotes CI 0d16e6faaa chore(release): publish
- @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected].6
 - @standardnotes/[email protected]
 - @standardnotes/[email protected].4
2022-07-07 21:26:06 +00:00
Mo 3d49b95bc5 fix(web): themes inside editors urls 2022-07-07 16:16:47 -05:00
StandardNotes CI dc48b504db chore(release): publish
- @standardnotes/[email protected]
 - @standardnotes/[email protected]
2022-07-07 20:44:07 +00:00
Mo 6001c0d7a1 chore: remove non-functional reject_build_waiting_for_review fastlane flag 2022-07-07 15:34:37 -05:00
StandardNotes CI bcb6a94fb6 chore(release): publish
- @standardnotes/[email protected]
 - @standardnotes/[email protected]
2022-07-07 19:14:03 +00:00
Mo 1990a9d2e6 chore: mobile workflow 2022-07-07 14:04:49 -05:00
Mo 2448672a61 chore: fix mobile lint 2022-07-07 13:54:26 -05:00
StandardNotes CI 306a2129a2 chore(release): publish
- @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected].5
 - @standardnotes/[email protected]
 - @standardnotes/[email protected].3
2022-07-07 18:21:27 +00:00
Mo d9014615f0 fix(mobile): component viewer in mobile web 2022-07-07 13:08:52 -05:00
StandardNotes CI f484a2a920 chore(release): publish
- @standardnotes/[email protected]
 - @standardnotes/[email protected]
2022-07-07 17:37:37 +00:00
Mo 2f9a54bef3 chore(mobile): upgrade fastlane 2022-07-07 12:27:41 -05:00
StandardNotes CI 3a20abc989 chore(release): publish
- @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected].2
2022-07-07 17:05:03 +00:00
Mo 9a3cdfbc1a chore: mobile web bridge concept (#1228) 2022-07-07 11:55:07 -05:00
StandardNotes CI a59065d1d6 chore(release): publish
- @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
2022-07-07 12:32:27 +00:00
Mo 2988c71334 chore: add workflow to test web server build (#1226) 2022-07-07 07:22:30 -05:00
Mo 516b4edb6c chore: mobile workflow 2022-07-07 07:21:05 -05:00
StandardNotes CI 6e2911105b chore(release): publish
- @standardnotes/[email protected]
 - @standardnotes/[email protected].4
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected].4
 - @standardnotes/[email protected]
 - @standardnotes/[email protected].1
2022-07-07 11:12:12 +00:00
Mo 7017032893 Revert "chore: deps (#1222)"
This reverts commit ff9215c916.
2022-07-07 06:02:38 -05:00
StandardNotes CI 573c67d41c chore(release): publish
- @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected].0
2022-07-07 10:30:27 +00:00
Aman Harwara 50c024e643 feat: add selected file size in context menu (#1224) 2022-07-07 15:51:16 +05:30
StandardNotes CI 6ebac52cb0 chore(release): publish
- @standardnotes/[email protected]
 - @standardnotes/[email protected].3
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected].3
 - @standardnotes/[email protected]
 - @standardnotes/[email protected].7
2022-07-06 22:30:21 +00:00
Mo ff9215c916 chore: deps (#1222) 2022-07-06 17:21:07 -05:00
Mo 2415088561 chore: fix mobile gitignore 2022-07-06 17:12:21 -05:00
StandardNotes CI 2b05f35433 chore(release): publish
- @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected].3
 - @standardnotes/[email protected].3
 - @standardnotes/[email protected].2
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected].3
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected].3
 - @standardnotes/[email protected].2
 - @standardnotes/[email protected]
 - @standardnotes/[email protected].6
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
2022-07-06 21:39:52 +00:00
StandardNotes CI 180a183f96 chore(release): components 2022-07-06 21:39:39 +00:00
Johnny A f7ba6588a7 fix(advanced checklist): improve editor styles (#1221) 2022-07-06 16:27:22 -05:00
StandardNotes CI bfba5b8d4f chore(release): publish
- @standardnotes/[email protected].9
 - @standardnotes/[email protected]
2022-07-06 21:11:50 +00:00
Mo 7bd94be7e2 chore: mobile workflow 2022-07-06 16:02:13 -05:00
StandardNotes CI e17366ff8e chore(release): publish
- @standardnotes/[email protected]
 - @standardnotes/[email protected].8
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected].5
2022-07-06 19:58:17 +00:00
Aman Harwara 34719c4935 fix(web): scrollbar styles (#1219) 2022-07-07 01:17:54 +05:30
StandardNotes CI 3df6acbd44 chore(release): publish
- @standardnotes/[email protected]
 - @standardnotes/[email protected].7
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected].4
2022-07-06 19:42:27 +00:00
Aman Harwara 6fa6374cf2 fix(web): update modal styles (#1220) 2022-07-07 01:02:59 +05:30
StandardNotes CI 68356912f2 chore(release): publish
- @standardnotes/[email protected].6
 - @standardnotes/[email protected]
2022-07-06 17:06:28 +00:00
Mo 9bba4b5c67 chore: mobile publishing workflows 2022-07-06 11:57:00 -05:00
Mo ca6e3ca9e9 chore: snap workflow 2022-07-06 11:43:35 -05:00
Mo a900f8b493 Revert "chore(workflow+temp): disable failing step"
This reverts commit 28dbb95965.
2022-07-06 11:31:10 -05:00
StandardNotes CI c8ca316fcd chore(release): publish
- @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected].5
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
2022-07-06 15:35:07 +00:00
StandardNotes CI 36d3b65605 chore(release): components 2022-07-06 15:34:53 +00:00
Mo d1df0d371a fix(components): dynamic panels theme 2022-07-06 10:22:38 -05:00
Mo 78271b68f6 chore(mobile): prevent beta distribution of dev app 2022-07-06 10:15:34 -05:00
StandardNotes CI 76daf4c81b chore(release): publish
- @standardnotes/[email protected]
 - @standardnotes/[email protected].4
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected].3
2022-07-06 15:11:57 +00:00
Aman Harwara 2ee791259d fix: select next item when trashing or deleting item (#1218) 2022-07-06 20:32:18 +05:30
StandardNotes CI 34ebfd33c1 chore(release): publish
- @standardnotes/[email protected]
 - @standardnotes/[email protected].3
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected].2
2022-07-06 14:54:22 +00:00
Mo d315c8c6c1 chore(web): fix tests 2022-07-06 09:44:13 -05:00
StandardNotes CI e6859d4a8d chore(release): publish
- @standardnotes/[email protected].2
 - @standardnotes/[email protected]
2022-07-06 14:12:32 +00:00
Mo 90b453253e chore: mobile workflows 2022-07-06 09:01:05 -05:00
StandardNotes CI 58720c8ad3 chore(release): publish
- @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected].2
 - @standardnotes/[email protected].2
 - @standardnotes/[email protected].1
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected].1
 - @standardnotes/[email protected].2
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected].2
 - @standardnotes/[email protected].2
 - @standardnotes/[email protected].1
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected].1
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
 - @standardnotes/[email protected]
2022-07-06 13:56:47 +00:00
StandardNotes CI 8a94171eb0 chore(release): components 2022-07-06 13:56:29 +00:00
Mo 3ab1ef5e2a chore: fix snjs lint job; devDep structure 2022-07-06 08:39:43 -05:00
Mo 6116287138 chore: sync workflow 2022-07-06 08:12:28 -05:00
229 changed files with 2728 additions and 1861 deletions
+198
View File
@@ -0,0 +1,198 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
version: 2
updates:
- package-ecosystem: "npm"
directory: "/"
schedule:
interval: "daily"
reviewers:
- "moughxyz"
- "karolsojko"
- package-ecosystem: "npm"
directory: "/packages/api"
schedule:
interval: "daily"
reviewers:
- "moughxyz"
- "karolsojko"
- package-ecosystem: "npm"
directory: "/packages/components"
schedule:
interval: "daily"
reviewers:
- "moughxyz"
- "karolsojko"
- package-ecosystem: "npm"
directory: "/packages/desktop"
schedule:
interval: "daily"
reviewers:
- "moughxyz"
- "karolsojko"
- package-ecosystem: "npm"
directory: "/packages/docs"
schedule:
interval: "daily"
reviewers:
- "moughxyz"
- "karolsojko"
- package-ecosystem: "npm"
directory: "/packages/encryption"
schedule:
interval: "daily"
reviewers:
- "moughxyz"
- "karolsojko"
- package-ecosystem: "npm"
directory: "/packages/features"
schedule:
interval: "daily"
reviewers:
- "moughxyz"
- "karolsojko"
- package-ecosystem: "npm"
directory: "/packages/filepicker"
schedule:
interval: "daily"
reviewers:
- "moughxyz"
- "karolsojko"
- package-ecosystem: "npm"
directory: "/packages/files"
schedule:
interval: "daily"
reviewers:
- "moughxyz"
- "karolsojko"
- package-ecosystem: "npm"
directory: "/packages/icons"
schedule:
interval: "daily"
reviewers:
- "moughxyz"
- "karolsojko"
- package-ecosystem: "npm"
directory: "/packages/mobile"
schedule:
interval: "daily"
reviewers:
- "moughxyz"
- "karolsojko"
- package-ecosystem: "npm"
directory: "/packages/models"
schedule:
interval: "daily"
reviewers:
- "moughxyz"
- "karolsojko"
- package-ecosystem: "npm"
directory: "/packages/releases"
schedule:
interval: "daily"
reviewers:
- "moughxyz"
- "karolsojko"
- package-ecosystem: "npm"
directory: "/packages/responses"
schedule:
interval: "daily"
reviewers:
- "moughxyz"
- "karolsojko"
- package-ecosystem: "npm"
directory: "/packages/services"
schedule:
interval: "daily"
reviewers:
- "moughxyz"
- "karolsojko"
- package-ecosystem: "npm"
directory: "/packages/sncrypto-common"
schedule:
interval: "daily"
reviewers:
- "moughxyz"
- "karolsojko"
- package-ecosystem: "npm"
directory: "/packages/sncrypto-web"
schedule:
interval: "daily"
reviewers:
- "moughxyz"
- "karolsojko"
- package-ecosystem: "npm"
directory: "/packages/snjs"
schedule:
interval: "daily"
reviewers:
- "moughxyz"
- "karolsojko"
- package-ecosystem: "npm"
directory: "/packages/styles"
schedule:
interval: "daily"
reviewers:
- "moughxyz"
- "karolsojko"
- package-ecosystem: "npm"
directory: "/packages/toast"
schedule:
interval: "daily"
reviewers:
- "moughxyz"
- "karolsojko"
- package-ecosystem: "npm"
directory: "/packages/utils"
schedule:
interval: "daily"
reviewers:
- "moughxyz"
- "karolsojko"
- package-ecosystem: "npm"
directory: "/packages/web"
schedule:
interval: "daily"
reviewers:
- "moughxyz"
- "karolsojko"
- package-ecosystem: "bundler"
directory: "/packages/web-server"
schedule:
interval: "daily"
reviewers:
- "moughxyz"
- "karolsojko"
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
reviewers:
- "moughxyz"
- "karolsojko"
@@ -203,3 +203,11 @@ jobs:
token: ${{ secrets.CI_PAT_TOKEN }}
repository: ${{ secrets.RELEASES_EVENT_RECEIVING_REPO }}
event-type: releases-updated-event
- name: Publish Snap
continue-on-error: true
run: |
sudo snap install snapcraft --classic
echo "${{ secrets.SNAPCRAFT_LOGIN_FILE }}" >> snapauth.txt
snapcraft login --with=snapauth.txt
snapcraft upload dist/standard-notes-${{ steps.package-version.outputs.current-version}}-linux-amd64.snap --release stable,candidate,beta,edge
+7 -1
View File
@@ -1,6 +1,12 @@
name: Sync Repo
on: push
on:
push:
branches:
- '*'
- '*/*'
- '**'
jobs:
git-sync:
runs-on: ubuntu-latest
+1 -1
View File
@@ -17,7 +17,7 @@ jobs:
- name: Set up Ruby
uses: ruby/setup-ruby@v1
- name: Install dependencies
run: yarn install
run: yarn install --immutable
- name: Build
run: yarn build:all
- name: ESLint
+40 -2
View File
@@ -36,12 +36,45 @@ jobs:
git_user_signingkey: true
git_commit_gpgsign: true
- name: Install Dependencies
- name: Install dependencies
run: yarn install --immutable
- name: Build packages
- name: Build
run: yarn build:all
- name: ESLint
run: yarn lint
- name: Build Android
run: yarn android:bundle
- name: Test
run: yarn test
- name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Publish SNJS Docker image for E2E testing
run: |
yarn docker build @standardnotes/snjs -t standardnotes/snjs:${{ github.sha }}
docker push standardnotes/snjs:${{ github.sha }}
- name: Run E2E test suite
uses: convictional/[email protected]
with:
owner: standardnotes
repo: e2e
github_token: ${{ secrets.CI_PAT_TOKEN }}
workflow_file_name: testing-with-stable-server.yml
wait_interval: 30
client_payload: '{"image_tag": "${{ github.sha }}"}'
propagate_failure: true
trigger_workflow: true
wait_workflow: true
- name: Bump version
run: yarn release:prod
@@ -49,3 +82,8 @@ jobs:
run: yarn publish:prod
env:
NODE_AUTH_TOKEN: ${{ secrets.CI_NPM_TOKEN }}
- name: Publish SNJS Docker image as stable
run: |
docker tag standardnotes/snjs:${{ github.sha }} standardnotes/snjs:latest
docker push standardnotes/snjs:latest
+51
View File
@@ -0,0 +1,51 @@
name: SNJS PR — E2E Tests
on:
pull_request:
branches:
- main
paths:
- 'packages/api/**'
- 'packages/encryption/**'
- 'packages/features/**'
- 'packages/filepicker/**'
- 'packages/files/**'
- 'packages/models/**'
- 'packages/responses/**'
- 'packages/services/**'
- 'packages/sncrypto-common/**'
- 'packages/sncrypto-web/**'
- 'packages/snjs/**'
- 'packages/utils/**'
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Install dependencies
run: yarn install --immutable
- name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Publish SNJS Docker image for E2E testing
run: |
yarn docker build @standardnotes/snjs -t standardnotes/snjs:${{ github.sha }}
docker push standardnotes/snjs:${{ github.sha }}
docker tag standardnotes/snjs:${{ github.sha }} standardnotes/snjs:test
docker push standardnotes/snjs:test
- name: Run E2E test suite
uses: convictional/[email protected]
with:
owner: standardnotes
repo: e2e
github_token: ${{ secrets.CI_PAT_TOKEN }}
workflow_file_name: testing-with-stable-server.yml
wait_interval: 30
client_payload: '{"image_tag": "${{ github.sha }}"}'
propagate_failure: true
trigger_workflow: true
wait_workflow: true
+20
View File
@@ -0,0 +1,20 @@
name: Web Server PR
on:
pull_request:
branches:
- main
paths:
- 'packages/web-server/**'
jobs:
TestDockerBuild:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Ruby
uses: ruby/setup-ruby@v1
- name: Copy default configuration
run: yarn workspace @standardnotes/web-server run sample:env
- name: Test build of the image
run: docker build -t standardnotes/web:test-build .
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
File diff suppressed because one or more lines are too long
+2
View File
@@ -24,5 +24,7 @@ plugins:
spec: "@yarnpkg/plugin-workspace-tools"
- path: .yarn/plugins/@yarnpkg/plugin-version.cjs
spec: "@yarnpkg/plugin-version"
- path: .yarn/plugins/@yarnpkg/plugin-docker-build.cjs
spec: "https://github.com/Dcard/yarn-plugins/releases/latest/download/plugin-docker-build.js"
yarnPath: .yarn/releases/yarn-3.2.1.cjs
+15
View File
@@ -71,3 +71,18 @@ You can configure the `DEFAULT_SYNC_SERVER` environment variable to set the defa
```
DEFAULT_SYNC_SERVER=https://sync.myserver
```
## Running E2E tests
In order to run a stable server environment for E2E tests that will is up to date with what we have on production please checkout locally the [e2e repository](https://github.com/standardnotes/e2e).
To start the server type in the e2e repository:
```
yarn install --immutable
yarn test:stable-server
```
Then once the whole server infra is up and ready for your tests you can run the e2e suite in the local browser by typing (make sure you have built all the packages beforehand):
```
yarn start:server:e2e
```
+6 -1
View File
@@ -31,6 +31,7 @@
"build:snjs": "yarn workspaces foreach -pt --verbose -R --from @standardnotes/snjs --exclude @standardnotes/components-meta run build",
"start:server:web": "lerna run start --scope=@standardnotes/web-server",
"start:server:web:localhost": "lerna run start:no-binding --scope=@standardnotes/web-server",
"start:server:e2e": "lerna run start:test-server --scope=@standardnotes/snjs",
"prepare": "husky install",
"reset": "find . -type dir -name node_modules | xargs rm -rf && rm -rf yarn.lock && yarn install",
"release:prod": "lerna version --conventional-commits --yes -m \"chore(release): publish\"",
@@ -51,6 +52,8 @@
"@standardnotes/snjs": "workspace:*"
},
"devDependencies": {
"@babel/core": "^7.18.6",
"@babel/preset-env": "^7.18.6",
"@commitlint/cli": "^17.0.2",
"@commitlint/config-conventional": "^17.0.2",
"@lerna-lite/cli": "^1.6.0",
@@ -62,6 +65,7 @@
"changelog-parser": "^2.8.1",
"css-loader": "^6.7.1",
"eslint": "^8.17.0",
"eslint-plugin-prettier": "^4.2.1",
"husky": "^8.0.0",
"lint-staged": "^13.0.1",
"npm-check-updates": "^14.1.1",
@@ -70,7 +74,8 @@
"typescript": "^4.7.3",
"webpack": "^5.72.0",
"webpack-cli": "^4.9.2",
"webpack-dev-server": "^4.9.2"
"webpack-dev-server": "^4.9.2",
"webpack-merge": "^5.8.0"
},
"packageManager": "[email protected]"
}
+19
View File
@@ -3,6 +3,25 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [1.4.6](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2022-07-13)
### Bug Fixes
* upgrade jest with types to latest version ([09e08ca](https://github.com/standardnotes/app/commit/09e08ca899ba8694cf43292e918c4c204c0d2cb9))
* upgrade ts-jest in packages ([71e792d](https://github.com/standardnotes/app/commit/71e792da354ff90335b92758e196075a0f88d060))
## [1.4.5](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2022-07-08)
**Note:** Version bump only for package @standardnotes/api
## [1.4.4](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2022-07-06)
**Note:** Version bump only for package @standardnotes/api
## [1.4.3](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2022-07-06)
**Note:** Version bump only for package @standardnotes/api
## [1.4.2](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2022-07-06)
**Note:** Version bump only for package @standardnotes/api
+5 -5
View File
@@ -1,6 +1,6 @@
{
"name": "@standardnotes/api",
"version": "1.4.2",
"version": "1.4.6",
"engines": {
"node": ">=16.0.0 <17.0.0"
},
@@ -25,12 +25,12 @@
"test:unit": "jest spec --coverage"
},
"devDependencies": {
"@types/jest": "^27.4.1",
"@types/jest": "^28.1.5",
"@types/lodash": "^4.14.182",
"@typescript-eslint/eslint-plugin": "^5.30.0",
"eslint-plugin-prettier": "^4.2.1",
"jest": "^27.5.1",
"ts-jest": "^27.1.3"
"eslint-plugin-prettier": "*",
"jest": "^28.1.2",
"ts-jest": "^28.0.5"
},
"dependencies": {
"@standardnotes/common": "^1.23.1",
+34
View File
@@ -3,6 +3,40 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [2.7.6](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2022-07-13)
**Note:** Version bump only for package @standardnotes/components-meta
## [2.7.5](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2022-07-13)
### Bug Fixes
* **components:** additional output in the versioning script ([b3c8d6e](https://github.com/standardnotes/app/commit/b3c8d6e976a96417539c609e59d92877475c557e))
* upgrade jest with types to latest version ([09e08ca](https://github.com/standardnotes/app/commit/09e08ca899ba8694cf43292e918c4c204c0d2cb9))
* upgrade ts-jest in packages ([71e792d](https://github.com/standardnotes/app/commit/71e792da354ff90335b92758e196075a0f88d060))
## [2.7.4](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2022-07-11)
### Bug Fixes
* focus mode & dynamic panels on small screens ([#1246](https://github.com/standardnotes/app/issues/1246)) ([9d230d4](https://github.com/standardnotes/app/commit/9d230d4b81c92b826ef9e8b89cd7192f5b4c8b13))
## [2.7.3](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2022-07-06)
### Bug Fixes
* **advanced checklist:** improve editor styles ([#1221](https://github.com/standardnotes/app/issues/1221)) ([f7ba658](https://github.com/standardnotes/app/commit/f7ba6588a7d062e3ec82e6413042ce5d8cd075f7))
## [2.7.2](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2022-07-06)
### Bug Fixes
* **components:** dynamic panels theme ([d1df0d3](https://github.com/standardnotes/app/commit/d1df0d371a8afc60c17c79f35a1416804eedb9ec))
## [2.7.1](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2022-07-06)
**Note:** Version bump only for package @standardnotes/components-meta
# [2.7.0](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2022-07-06)
### Features
@@ -1,13 +1,13 @@
{
"files": {
"main.js": "./static/js/main.js",
"main.css": "./static/css/main.455c1a18.css",
"main.css": "./static/css/main.8fa7663a.css",
"index.html": "./index.html",
"main.js.map": "./static/js/main.js.map",
"main.455c1a18.css.map": "./static/css/main.455c1a18.css.map"
"main.8fa7663a.css.map": "./static/css/main.8fa7663a.css.map"
},
"entrypoints": [
"static/js/main.js",
"static/css/main.455c1a18.css"
"static/css/main.8fa7663a.css"
]
}
@@ -1 +1 @@
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="./favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="A great way to manage short-term and long-term to-do's. You can mark tasks as completed, change their order, and edit the text naturally in place."/><link rel="apple-touch-icon" href="./logo192.png"/><link rel="manifest" href="./manifest.json"/><title>Advanced Checklist</title><script defer="defer" src="./static/js/main.js"></script><link href="./static/css/main.455c1a18.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div class="sn-component" id="root"></div></body></html>
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="./favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="A great way to manage short-term and long-term to-do's. You can mark tasks as completed, change their order, and edit the text naturally in place."/><link rel="apple-touch-icon" href="./logo192.png"/><link rel="manifest" href="./manifest.json"/><title>Advanced Checklist</title><script defer="defer" src="./static/js/main.js"></script><link href="./static/css/main.8fa7663a.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div class="sn-component" id="root"></div></body></html>
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -1,29 +1,22 @@
#navigation.section,
.section.tags,
navigation {
flex: none !important;
width: 190px !important;
transition: width 0.25s;
}
#navigation.section:hover,
.section.tags:hover,
navigation:hover {
flex: initial;
width: 250px !important;
transition: width 0.25s;
}
.section.notes,
notes-view {
flex: none !important;
width: 270px !important;
transition: width 0.25s;
}
.section.notes:hover,
notes-view:hover {
flex: initial;
width: 420px !important;
transition: width 0.25s;
@media screen and (min-width: 768px) {
#navigation {
flex: none !important;
width: 10px !important;
transition: width 0.25s;
}
#navigation:hover {
flex: initial;
width: 200px !important;
transition: width 0.25s;
}
#items-column {
flex: none !important;
width: 270px !important;
transition: width 0.25s;
}
#items-column:hover {
flex: initial;
width: 380px !important;
transition: width 0.25s;
}
}
File diff suppressed because one or more lines are too long
+30 -30
View File
@@ -30,24 +30,24 @@
"binary": "5a00749f8930a41541589f704fff2b6e1d84224305750c7880e941085a8fef62"
},
"org.standardnotes.theme-dynamic": {
"version": "1.0.8",
"base64": "0f0232ab1bd65f562619fbd68ae593522e6127f359b5843956aaf99c9436c583",
"binary": "6f726e05c26f0e9feee775656513a034c6a437b22510e75fba863acc6342af24"
"version": "1.1.1",
"base64": "74f26661963f857a0dfa2d37d22c371c231bdf468c4cc8662b5bb25337a9b262",
"binary": "8353de29ec88472a87fd24349844569e9e468893de40c1fafbb0a237fd7410dd"
},
"org.standardnotes.code-editor": {
"version": "1.3.17",
"base64": "2f061eeee557be892a1e6ea536eb715ba13344f1e0726112fefa83d300d1da96",
"binary": "47f8d1e1b5aeaf078f8eb3d00ba38adc8e2e3a60b37c9091a2bbd5cdb082d931"
"version": "1.4.0",
"base64": "927b9165925ef7b1012d110f39238862d0dac5fd25b9468e81989e19c1daebf3",
"binary": "dcc2fb1f923ea891e3d7856ff72c70277747ef2051794a0835cc79f9638b6d42"
},
"org.standardnotes.bold-editor": {
"version": "1.3.10",
"base64": "0015f9bde6e156cadf20b3ab80c864c6d73fc1de279b863963c24cc4d003c93c",
"binary": "deaece4cd37801f796eca2bf37fcccabfc6ddc43581630aa9ed04b9b0f7a7762"
"version": "1.4.0",
"base64": "ad8e1dc97d49744be986608b1dd9e1205f15a4d1d1613e4a4f4da511944f1938",
"binary": "f251b88605da4dc760213c0c7ed90bfccaa380854697bf94cca8b5764c9d976a"
},
"org.standardnotes.plus-editor": {
"version": "1.7.0",
"base64": "a63f79a3b6398ab13f8a4e106bbfc06312d31336967bbc5d2aa16c0c94ee08bb",
"binary": "fd258ce43577024cbe297904963b1beabe239d053b7666b7e469cf1aaf0abd8d"
"version": "1.7.1",
"base64": "15e839a3ef30bc666ef9c7f3c682345e426be94a3ee8483146abf029db2336f2",
"binary": "08995a1a0518920a81364e4064b7de6d859f2f13dd9b5f6beb518594b6e35be5"
},
"org.standardnotes.simple-markdown-editor": {
"version": "1.4.7",
@@ -55,9 +55,9 @@
"binary": "1bd2863239e5ce41c56e3ccebe2cbd29c259abbe7124aed656e92d17b5428226"
},
"org.standardnotes.advanced-markdown-editor": {
"version": "1.6.1",
"base64": "51a2dc528ac2a6b1b853fa63e4b2c6082a651c7b7ff63baf47befaae5f4ec8f7",
"binary": "b6a6a99420bc449dc2798ee292573f6f923b3e03cea022e8c7a5204f061eea58"
"version": "1.6.2",
"base64": "72f168a6236a7be819a1e945dd1b0fa069082d7c3b1c70724390489934184c26",
"binary": "0a5e62fba43ac02c475fa4a9b3dc9c4cbb555fc70ca3fe6a3f29ee3c75954d66"
},
"org.standardnotes.minimal-markdown-editor": {
"version": "1.3.13",
@@ -70,29 +70,29 @@
"binary": "b621bfd81829a205f2f02e85d446e277ad20e367b92676ec20b3ee59b1bfab3f"
},
"org.standardnotes.markdown-visual-editor": {
"version": "1.1.1",
"base64": "6182ced07fbe9281cf46c1b8818213415e6d34d360bb64883514a7179cf1d7e0",
"binary": "1a99a8ccac07678d0e2e2423b302e5e98cfb100777c37f1795b7874b2d31dcf9"
"version": "1.1.2",
"base64": "2645d31c51fa6a198c14a32737ee4045dcbbecb8bdaa1432ca4686cab78834d2",
"binary": "c4479f8768f5f6cda41850212a8e03927990adfa33ebd36e29ee6de2335e8e46"
},
"org.standardnotes.simple-task-editor": {
"version": "1.4.0",
"base64": "7a41a934a37f74a079ab92adb90495559250576973166cb6587bf1f6d5e84008",
"binary": "a1a6b97e1f761747dbf721857deed04370a3950dcb3e1bb4c4d4baa3680959b3"
"version": "1.4.2",
"base64": "1eff91ed0151905431a49b40089b957578c60492718bd0a6aad00d2e02fc5c02",
"binary": "dae94bf60e464b58733ad1396e8e4adb78d01cd67c1e56fdc62e44334c0d6a0e"
},
"org.standardnotes.token-vault": {
"version": "2.2.1",
"base64": "a011d7d99b40bd000f3a07860ff1e1f8e406c89224f78b465e49fabdd227d62a",
"binary": "9889784eacea33ec5253db6dd20c952bc6beaf58d320b00d2c84c8cb8f461613"
"version": "2.2.3",
"base64": "bf5c3a2aae3f119043ee744ab5535de4705eeed67d5ecf9e1d7b95817f92bc19",
"binary": "8ef8a1eaf19d22b0ac279ad0c4d27b29c057b0f9b0d5c5f4cd6183eb506feaa3"
},
"org.standardnotes.standard-sheets": {
"version": "1.4.9",
"base64": "53d4cafd33905c3b635cc33b0c7478c3dc5d301b33fc914d59ba5fde66acd0dd",
"binary": "5c8ec3876eef0ff3058fd1b2804fa01b53a869a281a0ff3430f4ddd08abc824d"
"version": "1.5.1",
"base64": "0ae54799c28a336447a63ddabfe43d0c6e18f8c2cd29cfdb1c0174ab96fde248",
"binary": "54a01414a21e46c67fa59c69189a3d34a6548de7539699f2cf0248f9c5059d37"
},
"org.standardnotes.advanced-checklist": {
"version": "0.2.0",
"base64": "39c032d434210b77e6f8bafa2891a2239b99f0d05f8662a7dbda7c426fe10b4b",
"binary": "1c06d1a846900dcc2818177df6cfaa39e23b56843f8c18f210c6ed73ffdf9cc3"
"version": "0.2.3",
"base64": "2a2ce988902c9fdb7fe507c826bff13592adfe4fbe1c36e8468155730f507573",
"binary": "ae614e38946c480256157554d9af542deb0c9741630ad3242becce391991b994"
},
"org.standardnotes.file-safe": {
"version": "2.0.16",
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+3 -2
View File
@@ -1,6 +1,6 @@
{
"name": "@standardnotes/components-meta",
"version": "2.7.0",
"version": "2.7.6",
"private": true,
"author": "Standard Notes.",
"main": "dist",
@@ -23,7 +23,8 @@
},
"dependencies": {
"@standardnotes/features": "workspace:*",
"@standardnotes/styles": "workspace:*"
"@standardnotes/styles": "workspace:*",
"@standardnotes/utils": "workspace:*"
},
"devDependencies": {
"@standardnotes/deterministic-zip": "^1.2.0",
+2 -2
View File
@@ -3,7 +3,7 @@
echo 'Building components from' $(pwd)
# Exit immediately after an error in any command
set -e
set -xe
yarn clean && yarn build:components
@@ -11,4 +11,4 @@ echo "Packaging component assets and zips..."
node scripts/package.mjs
git add dist
(git commit -m 'chore(release): components') || true
(git commit -m 'chore(release): components') || true
@@ -3,6 +3,12 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [1.4.0](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2022-07-13)
### Features
* deprecated editors ([#1166](https://github.com/standardnotes/app/issues/1166)) ([60ca415](https://github.com/standardnotes/app/commit/60ca4150446f9a14bb6a31416686c6d07a7d0cd9))
## [1.3.10](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2022-06-22)
**Note:** Version bump only for package @standardnotes/bold-editor
@@ -1,7 +1,7 @@
{
"name": "@standardnotes/bold-editor",
"private": true,
"version": "1.3.10",
"version": "1.4.0",
"main": "dist/dist.js",
"scripts": {
"skip:lint": "eslint app/ --ext .js",
@@ -39,7 +39,7 @@
"webpack": "*",
"webpack-cli": "*",
"webpack-dev-server": "*",
"webpack-merge": "^5.7.3",
"webpack-merge": "^5.8.0",
"webpack-merge-and-include-globally": "^2.3.4"
}
}
@@ -3,6 +3,23 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [0.2.3](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2022-07-13)
### Bug Fixes
* upgrade jest with types to latest version ([09e08ca](https://github.com/standardnotes/app/commit/09e08ca899ba8694cf43292e918c4c204c0d2cb9))
* upgrade ts-jest in packages ([71e792d](https://github.com/standardnotes/app/commit/71e792da354ff90335b92758e196075a0f88d060))
## [0.2.2](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2022-07-06)
### Bug Fixes
* **advanced checklist:** improve editor styles ([#1221](https://github.com/standardnotes/app/issues/1221)) ([f7ba658](https://github.com/standardnotes/app/commit/f7ba6588a7d062e3ec82e6413042ce5d8cd075f7))
## [0.2.1](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2022-07-06)
**Note:** Version bump only for package @standardnotes/advanced-checklist
# [0.2.0](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2022-07-06)
### Features
@@ -1,6 +1,6 @@
{
"name": "@standardnotes/advanced-checklist",
"version": "0.2.0",
"version": "0.2.3",
"description": "A task editor with grouping functionality.",
"author": "Standard Notes.",
"keywords": [
@@ -79,6 +79,9 @@
"^.+\\.module\\.(css|sass|scss)$"
]
},
"dependencies": {
"@standardnotes/utils": "workspace:*"
},
"devDependencies": {
"@reach/alert-dialog": "0.16.2",
"@reach/menu-button": "0.16.2",
@@ -87,12 +90,11 @@
"@reduxjs/toolkit": "1.8.0",
"@standardnotes/editor-kit": "2.2.5",
"@standardnotes/stylekit": "5.23.0",
"@standardnotes/utils": "workspace:*",
"@testing-library/dom": "8.11.3",
"@testing-library/jest-dom": "5.16.2",
"@testing-library/react": "12.1.4",
"@testing-library/user-event": "13.5.0",
"@types/jest": "27.4.1",
"@types/jest": "^28.1.5",
"@types/lodash": "4.14.179",
"@types/node": "17.0.21",
"@types/react": "17.0.40",
@@ -118,7 +120,7 @@
"redux-mock-store": "1.5.4",
"source-map-explorer": "2.5.2",
"styled-components": "5.3.5",
"ts-jest": "27.1.4",
"ts-jest": "^28.0.5",
"typescript": "4.6.2",
"uuid": "8.3.2"
}
@@ -45,7 +45,7 @@ export const ConfirmDialog: React.FC<ConfirmDialogProps> = ({
<p className="color-foreground">{children}</p>
</AlertDialogDescription>
<div className="flex my-1 mt-4">
<div className="flex my-1">
<button
data-testid="cancel-dialog-button"
className="sn-button small neutral"
@@ -2,6 +2,7 @@ import styled from 'styled-components'
export const SubTitle = styled.h3`
color: var(--sn-stylekit-foreground-color);
cursor: pointer;
font-size: var(--sn-stylekit-font-size-h3);
font-weight: 500;
margin: 10px 0px;
@@ -2,7 +2,7 @@ $transition-duration: 750ms;
.checkbox-container {
display: block;
padding-left: 20px;
padding-left: 22px;
position: relative;
&:last-child {
@@ -22,17 +22,16 @@ $transition-duration: 750ms;
.checkbox-button {
bottom: 0;
cursor: pointer;
fill: none;
height: 19px;
fill: var(--sn-stylekit-contrast-background-color);
height: 18px;
left: 0;
margin: auto;
position: absolute;
stroke-linecap: round;
stroke-linejoin: round;
stroke-width: 2;
stroke: var(--sn-stylekit-neutral-color);
stroke-width: 1;
top: 0;
width: 19px;
width: 18px;
}
.align-baseline {
@@ -60,8 +59,9 @@ $transition-duration: 750ms;
.checkbox-square {
stroke-dasharray: 56.1053, 56.1053;
stroke-dashoffset: 0;
stroke: var(--sn-stylekit-neutral-color);
stroke: var(--sn-stylekit-shadow-color);
transition-delay: $transition-duration * 0.2;
fill: var(--sn-stylekit-contrast-background-color);
}
.checkbox-mark {
@@ -30,7 +30,7 @@ const MigrateLegacyContent: React.FC = () => {
Are you sure you want to migrate legacy content to the new format?
</AlertDialogLabel>
<div className="flex my-1 mt-4">
<div className="flex my-1">
<button className="sn-button small neutral" onClick={handleCancel} ref={cancelRef}>
Cancel
</button>
@@ -18,7 +18,7 @@ const TaskGroupContainer = styled.div<{ isLast?: boolean }>`
border: 1px solid var(--sn-stylekit-border-color);
border-radius: 4px;
box-sizing: border-box;
padding: 16px;
padding: 16px 18px;
margin-bottom: ${({ isLast }) => (!isLast ? '9px' : '0px')};
@media only screen and (max-width: 600px) {
@@ -83,7 +83,7 @@ const TaskGroup: React.FC<TaskGroupProps> = ({
onTransitionEnd={onTransitionEnd}
isLast={isLast}
>
<div className="flex items-center justify-between h-8 mt-1 mb-1">
<div className="flex items-center justify-between h-8">
<div className="flex flex-grow items-center" onClick={handleClick}>
<MainTitle crossed={allTasksCompleted && collapsed} highlight={isDragging} {...props}>
{groupName}
@@ -60,7 +60,7 @@ it('renders the completed tasks section', () => {
const completedTasksSection = screen.getByTestId('completed-tasks-section')
expect(completedTasksSection).toBeInTheDocument()
expect(completedTasksSection).toHaveTextContent('Completed tasks')
expect(completedTasksSection).toHaveTextContent('Completed')
const taskItems = within(completedTasksSection).getAllByTestId('task-item')
expect(taskItems).toHaveLength(1)
@@ -100,7 +100,7 @@ it('renders default sections', () => {
const completedTasksSection = screen.getByTestId('completed-tasks-section')
expect(completedTasksSection).toBeInTheDocument()
expect(completedTasksSection).toHaveTextContent('Completed tasks')
expect(completedTasksSection).toHaveTextContent('Completed')
const taskItems = within(completedTasksSection).getAllByTestId('task-item')
expect(taskItems).toHaveLength(1)
@@ -6,10 +6,9 @@ import { CSSTransition, TransitionGroup } from 'react-transition-group'
import styled from 'styled-components'
import { useAppDispatch, useAppSelector, usePrevious } from '../../app/hooks'
import { RoundButton, SubTitle } from '../../common/components'
import { SubTitle } from '../../common/components'
import { SectionModel, TaskModel, tasksGroupCollapsed } from './tasks-slice'
import { ChevronDownIcon, ChevronUpIcon } from '../../common/components/icons'
import TaskItem from './TaskItem'
const SectionHeader = styled.div`
@@ -26,7 +25,7 @@ const InnerTasksContainer = styled.div`
flex-direction: column;
& > *:not(:last-child) {
margin-bottom: 7px;
margin-bottom: 9px;
}
`
@@ -101,12 +100,7 @@ const TasksSection: React.FC<TasksSectionProps> = ({ groupName, tasks, section,
{(provided) => (
<Wrapper>
<SectionHeader>
<SubTitle>{section.name}</SubTitle>
{tasks.length > 0 && (
<RoundButton onClick={handleCollapse} size="small">
{!collapsed ? <ChevronUpIcon /> : <ChevronDownIcon />}
</RoundButton>
)}
<SubTitle onClick={handleCollapse}>{section.name}</SubTitle>
</SectionHeader>
{!collapsed && (
<InnerTasksContainer
@@ -5,11 +5,11 @@ export const LATEST_SCHEMA_VERSION = '1.0.0'
export const DEFAULT_SECTIONS: SectionModel[] = [
{
id: 'open-tasks',
name: 'Open tasks',
name: 'Open',
},
{
id: 'completed-tasks',
name: 'Completed tasks',
name: 'Completed',
},
]
@@ -3,6 +3,10 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [1.6.2](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2022-07-13)
**Note:** Version bump only for package @standardnotes/markdown-hybrid
## [1.6.1](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2022-06-29)
**Note:** Version bump only for package @standardnotes/markdown-hybrid
@@ -1,7 +1,7 @@
{
"name": "@standardnotes/markdown-hybrid",
"private": true,
"version": "1.6.1",
"version": "1.6.2",
"description": "A Standard Notes derived editor that offers full support for Markdown editing.",
"main": "dist/dist.js",
"author": "Standard Notes <[email protected]>",
@@ -40,6 +40,6 @@
"webpack": "*",
"webpack-cli": "*",
"webpack-dev-server": "*",
"webpack-merge": "^5.7.3"
"webpack-merge": "^5.8.0"
}
}
@@ -3,6 +3,12 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
# [1.4.0](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2022-07-13)
### Features
* deprecated editors ([#1166](https://github.com/standardnotes/app/issues/1166)) ([60ca415](https://github.com/standardnotes/app/commit/60ca4150446f9a14bb6a31416686c6d07a7d0cd9))
## [1.3.17](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2022-06-22)
**Note:** Version bump only for package @standardnotes/classic-code-editor
@@ -1,7 +1,7 @@
{
"name": "@standardnotes/classic-code-editor",
"private": true,
"version": "1.3.17",
"version": "1.4.0",
"description": "A code editor for Standard Notes",
"main": "dist/main.js",
"author": "Standard Notes <[email protected]>",
@@ -30,6 +30,6 @@
"sn-stylekit": "^2.1.1",
"webpack": "*",
"webpack-cli": "*",
"webpack-merge": "^5.7.3"
"webpack-merge": "^5.8.0"
}
}
@@ -3,6 +3,12 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [1.1.2](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2022-07-13)
### Bug Fixes
* upgrade jest with types to latest version ([09e08ca](https://github.com/standardnotes/app/commit/09e08ca899ba8694cf43292e918c4c204c0d2cb9))
## [1.1.1](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2022-06-30)
**Note:** Version bump only for package @standardnotes/markdown-visual
@@ -1,6 +1,6 @@
{
"name": "@standardnotes/markdown-visual",
"version": "1.1.1",
"version": "1.1.2",
"author": "Johnny Almonte <[email protected]>",
"description": "A lightweight WYSIWYG markdown editor for Standard Notes, derived from Milkdown.",
"keywords": [
@@ -45,7 +45,7 @@
"@testing-library/jest-dom": "^5.16.2",
"@testing-library/react": "^12.1.4",
"@testing-library/user-event": "^13.5.0",
"@types/jest": "^27.4.1",
"@types/jest": "^28.1.5",
"@types/lodash": "^4.14.179",
"@types/marked": "^4.0.2",
"@types/node": "^17.0.21",
@@ -3,6 +3,10 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [1.7.1](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2022-07-13)
**Note:** Version bump only for package @standardnotes/rich-text
# [1.7.0](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2022-06-29)
### Features
@@ -1,7 +1,7 @@
{
"name": "@standardnotes/rich-text",
"private": true,
"version": "1.7.0",
"version": "1.7.1",
"description": "A rich text editor for Standard Notes",
"main": "dist/dist.js",
"author": "Standard Notes <[email protected]>",
@@ -36,7 +36,7 @@
"webpack": "*",
"webpack-cli": "*",
"webpack-dev-server": "*",
"webpack-merge": "^5.7.3",
"webpack-merge": "^5.8.0",
"webpack-merge-and-include-globally": "^2.3.3"
}
}
@@ -3,6 +3,16 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [1.4.2](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2022-07-13)
**Note:** Version bump only for package @standardnotes/simple-task-editor
## [1.4.1](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2022-07-06)
### Bug Fixes
* **advanced checklist:** improve editor styles ([#1221](https://github.com/standardnotes/app/issues/1221)) ([f7ba658](https://github.com/standardnotes/app/commit/f7ba6588a7d062e3ec82e6413042ce5d8cd075f7))
# [1.4.0](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2022-06-28)
### Features
@@ -85,7 +85,7 @@ body {
left: 0;
height: 10px;
width: 10px;
border-radius: 1px;
border-radius: 10px;
background-color: var(--sn-stylekit-contrast-background-color);;
border: 1px solid var(--sn-stylekit-contrast-border-color);
@@ -1,7 +1,7 @@
{
"name": "@standardnotes/simple-task-editor",
"private": true,
"version": "1.4.0",
"version": "1.4.2",
"main": "dist/dist.js",
"scripts": {
"components:compile": "webpack --config webpack.prod.js",
@@ -43,6 +43,6 @@
"webpack": "*",
"webpack-cli": "*",
"webpack-dev-server": "*",
"webpack-merge": "5.7.3"
"webpack-merge": "^5.8.0"
}
}
@@ -3,6 +3,16 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
## [1.5.1](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2022-07-13)
**Note:** Version bump only for package @standardnotes/spreadsheets
# [1.5.0](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2022-07-06)
### Features
* deprecated editors ([#1166](https://github.com/standardnotes/app/issues/1166)) ([60ca415](https://github.com/standardnotes/app/commit/60ca4150446f9a14bb6a31416686c6d07a7d0cd9))
## [1.4.9](https://github.com/standardnotes/app/compare/@standardnotes/[email protected]...@standardnotes/[email protected]) (2022-06-22)
**Note:** Version bump only for package @standardnotes/spreadsheets
@@ -1,7 +1,7 @@
{
"name": "@standardnotes/spreadsheets",
"private": true,
"version": "1.4.9",
"version": "1.5.1",
"main": "dist/dist.js",
"scripts": {
"skip:lint": "eslint app/ --ext .js",

Some files were not shown because too many files have changed in this diff Show More