Commit Graph

1048 Commits

Author SHA1 Message Date
a806f55233 upload highlight to gcs 2022-04-13 21:18:58 +08: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
b8ac528b2a move itemToSnooze var into HomeViewModel 2022-04-08 09:21:42 -07:00
4c21bb4c69 move snoozePresented var into home View Model 2022-04-08 09:10:51 -07:00
2ebe340509 reference the correct searchQuery var in macapp 2022-04-08 08:47:40 -07:00
1bdd79e873 update macos app 2022-04-08 08:45:30 -07:00
90a0d7c1c7 move searchQuery state to homeViewModel 2022-04-08 08:30:55 -07:00
0ba8b85953 Merge pull request #389 from omnivore-app/feature/ios-label-editing
Label Assignment Modal [iOS]
2022-04-07 17:36:03 -07:00
9fb0e11124 udpate text chip colors 2022-04-07 13:30:18 -07:00
287da3d939 use searchable to filter labels 2022-04-06 21:30:49 -07:00
29d10feb61 move edit label sheet so refreshable modifier doesn't get applied to it 2022-04-06 21:30:49 -07:00
8329cc166c fix filter application 2022-04-06 21:30:49 -07:00
e9589fd7f3 apply correct tint colors to label modal buttons 2022-04-06 21:30:49 -07:00
5cbfca1fa9 add create label option to label assignment modal 2022-04-06 21:30:49 -07:00
e059d2d6e7 use assigned and unassigned section for label asiignment modal 2022-04-06 21:30:49 -07:00
c85c244459 use text chip to display labels in labels view 2022-04-06 21:30:49 -07:00
461004939f Merge pull request #391 from omnivore-app/fix/community-button
Break community button on small devices
2022-04-06 15:19:35 -07:00
0cdb1a08ac Break community button on small devices 2022-04-06 15:08:43 -07:00
f923eb204c Merge pull request #257 from omnivore-app/OMN-134
[OMN-134] Update library cards based on new design
2022-04-06 14:51:26 -07:00
69fcff3099 Remove unused theme colour 2022-04-06 14:44:04 -07:00
ff415b80a1 Remove unneeded debug line 2022-04-06 14:35:09 -07:00
1402e8b6f8 Attempt to load a second page of data after the first 2022-04-06 14:22:41 -07:00
2ef5a59d4c Use the background styles instead of box shadows on new cards 2022-04-06 13:51:52 -07:00
5711df8459 add top margin to web library list on narrow screens 2022-04-06 13:43:41 -07:00
eba8b53a0a resolve merge conflicts 2022-04-06 13:38:06 -07:00
2af85d567e specift correct grid card shadow hover 2022-04-06 12:56:01 -07:00
589e639bb5 Merge pull request #345 from omnivore-app/OMN-190
[Omn-190] - [Settings View] - Labels
2022-04-06 12:54:14 -07:00
dc028466d0 resolve merge conflict 2022-04-06 12:32:38 -07:00
5ab64f3f64 resolve merge conflict 2022-04-06 12:21:47 -07:00
8670bbb2f3 Remove debug statements 2022-04-06 12:12:55 -07:00