Commit Graph

1076 Commits

Author SHA1 Message Date
3befff61af fix tests 2022-04-14 13:22:21 +08:00
88d8ca7b7d fix reminders resolver getting page from postgres 2022-04-14 12:09:17 +08:00
487713109d Merge pull request #399 from omnivore-app/feature/label-filtering-ios
Label filtering ios
2022-04-13 20:14:54 -07:00
adaadd27d6 remove labels from swipe actions 2022-04-13 20:03:41 -07:00
a7e01275ae fix labels view for mac compilation 2022-04-13 17:31:01 -07:00
f8ba24bc79 add web label color selections and choose a random color as the initial selection 2022-04-13 15:28:09 -07:00
a75c8e91a4 adjust tappable area of text chip buttons 2022-04-13 13:42:51 -07:00
e282fc8316 Merge pull request #417 from omnivore-app/feature/upload-highlight-gcs
Upload highlights and labels data to GCS
2022-04-13 13:41:29 -07:00
eab3428c4c Merge pull request #411 from omnivore-app/feature/validate-label-color-input
validate color as rgb hex value in create label input
2022-04-13 13:41:00 -07:00
1e2901c4e7 add label editing to reader view 2022-04-13 10:48:25 -07:00
b57046b1d9 add edit labels buttons to list view cells 2022-04-13 10:19:55 -07:00
34ce209738 adjust text chip vertical padding 2022-04-13 10:09:41 -07:00
c5233d1559 adjust add label button styling 2022-04-13 10:04:29 -07:00
567f3dedad use fixed list of colors for label creation 2022-04-13 08:49:45 -07:00
0b0b521fab use generic method for uploading 2022-04-13 22:21:20 +08:00
a806f55233 upload highlight to gcs 2022-04-13 21:18:58 +08:00
8ba1be456c fix sanitizer invalid name 2022-04-13 13:23:21 +08:00
3b831fecb8 test both max length and pattern if declared 2022-04-13 12:20:41 +08:00
928ddd69a9 validate color input in label as rgb hex value 2022-04-13 12:17:12 +08:00
57b8b763b0 run swift gql gen 2022-04-12 16:09:53 -07:00
751095b983 add padding below text chip preview 2022-04-12 15:33:52 -07:00
060313ab31 use hgrid to display label color selections 2022-04-12 15:33:52 -07:00
6c96b256d1 move create label submit button into navbar 2022-04-12 15:33:52 -07:00
d68c8e5e33 update search query to handle multiple labels 2022-04-12 15:33:52 -07:00
be68971a03 use xmark for remove label button 2022-04-12 15:33:52 -07:00
c8ad2f47a2 adapt assign labels view to work on a list 2022-04-12 15:33:51 -07:00
bd652dc3ed rename selectedLabelsForItemInContext to selectedLabels 2022-04-12 15:33:51 -07:00
df291ecbab add text chip buttons to represent labels used as filters 2022-04-12 15:33:51 -07:00
0fa9526924 use searchTerm and selected labels to compute searchQuery 2022-04-12 15:33:51 -07:00
686b00bc4d Merge pull request #408 from omnivore-app/fix/update-set-labels-input
Rename linkId to pageId in SetLabelsInput
2022-04-12 15:26:53 -07:00
782781639d Update API in test 2022-04-12 12:53:08 -07:00
73ef8fef09 Rename linkId to pageId in SetLabelsInput 2022-04-12 12:46:32 -07:00
848129233a Merge pull request #402 from omnivore-app/dependabot/npm_and_yarn/swr-1.3.0
Bump swr from 1.2.2 to 1.3.0
2022-04-12 12:21:54 -07:00
fb3f711efb Merge pull request #378 from omnivore-app/dependabot/npm_and_yarn/next-12.1.4
Bump next from 12.1.0 to 12.1.4
2022-04-12 11:43:42 -07:00
6c5e88cf12 Merge pull request #405 from omnivore-app/feature/label-max-length
Set label name max length = 64 char
2022-04-12 11:14:20 -07:00
250239e110 Bump swr from 1.2.2 to 1.3.0
Bumps [swr](https://github.com/vercel/swr) from 1.2.2 to 1.3.0.
- [Release notes](https://github.com/vercel/swr/releases)
- [Commits](https://github.com/vercel/swr/compare/1.2.2...1.3.0)

---
updated-dependencies:
- dependency-name: swr
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-12 15:49:48 +00:00
035b61665d Merge pull request #376 from omnivore-app/dependabot/npm_and_yarn/googleapis-100.0.0
Bump googleapis from 59.0.0 to 100.0.0
2022-04-12 08:47:11 -07:00
29039d098a Merge pull request #375 from omnivore-app/dependabot/npm_and_yarn/google-cloud/functions-framework-3.1.0
Bump @google-cloud/functions-framework from 3.0.0 to 3.1.0
2022-04-12 08:46:21 -07:00
ae0d1dd2ee Feature/search highlights backend (#395)
* add highlight mappings

* return highlight in resolvers

* temporarily skip highlight tests

* add test for getting highlights

* update merge highlight

* separate elastic methods

* roll back merge highlight test

* add highlight to elastic script

* update delete highlight in elastic

* migrate highlight data from postgres to elastic

* rescue not found exception when page is not found in the migration script

* exclude highlights in searching pages results

* search pages with highlights only with has:highlight query

* add search endpoint to search pages or highlights

* reduce code smell in search api

* fix rebase error

* fix tests

* add test for search highlight

* add test for new search endpoint

* add labels to search results

* update schema

* update search query

* fix update/share highlights

* fix rebase error

* fix tests

* add highlight model in elastic

* add savedAt and publishedAt date range in search query

* add sort by updated and recently read

* fix tests

* close db connection when tests are done

* test github action

* revert github action test

* fix rebase error

* add docker-compose for api-test

* remove unused env

* remove highlights with no page attached to

* allow get_articles resolver to search for query so we can merge it without web changes
2022-04-12 12:31:08 +08:00
2ebdaba780 add generate api key api and test (#392)
* add generate api key api and test

* test if user can make api call with the api key
2022-04-12 12:11:45 +08:00
bb665a704b make label name <= 64 char length 2022-04-12 12:08:02 +08:00
cc95574d5c Merge pull request #398 from omnivore-app/dependabot/npm_and_yarn/pkg/extension/moment-2.29.2
Bump moment from 2.29.1 to 2.29.2 in /pkg/extension
2022-04-11 08:55:17 -07:00
0776d94506 Merge pull request #401 from omnivore-app/fix/milkroad-newsletters
Fix milk road newsletter formatting issue
2022-04-11 08:54:52 -07:00
4d01f689b2 replace tables of article content with divs for newsletters 2022-04-11 20:00:11 +08:00
b4420839bd fix: fail to search by excluding labels with capital letter (#400)
* fix: fail to search by excluding labels with capital letter

* make all the excluded labels lowcased

* Revert "make all the excluded labels lowcased"

This reverts commit 866bed40801af522cb7f07aa3119ed813f7c34b6.
2022-04-11 14:05:21 +08:00
0e0a9912d0 Bump moment from 2.29.1 to 2.29.2 in /pkg/extension
Bumps [moment](https://github.com/moment/moment) from 2.29.1 to 2.29.2.
- [Release notes](https://github.com/moment/moment/releases)
- [Changelog](https://github.com/moment/moment/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/moment/moment/compare/2.29.1...2.29.2)

---
updated-dependencies:
- dependency-name: moment
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-09 14:40:48 +00:00
fb24d6d9ad Merge pull request #397 from omnivore-app/refactor/home-feed-state-vars
Refactor - HomeFeed state
2022-04-08 10:09:13 -07:00
d5efebf25d remove TODO comment 2022-04-08 09:41:32 -07:00
a7b33942e7 disable snooze 2022-04-08 09:35:04 -07:00
b195414e16 track selectedLinkItem in HomeFeedViewModel 2022-04-08 09:30:33 -07:00