1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-10 13:40:06 +00:00
Commit Graph

17810 Commits

Author SHA1 Message Date
Justin Baur
43afd4255e Update to new field syntax 2025-03-20 12:47:12 -04:00
Justin Baur
384628e5b5 Merge branch 'poc/search-query-language' of https://github.com/bitwarden/clients into poc/search-query-language 2025-03-20 12:41:42 -04:00
Justin Baur
ed3990b89f Finish Basic Handling 2025-03-20 12:41:30 -04:00
Matt Gibson
c05558c476 Add has field filter operator 2025-03-20 09:25:05 -07:00
Matt Gibson
b8ba35f576 PoC: filter service can tag ciphers 2025-03-20 06:57:52 -07:00
Justin Baur
ddcb0caac9 Fixup Ast 2025-03-20 08:44:32 -04:00
Justin Baur
335ce9a08d Refactor VaultFilterHandler.toFilter 2025-03-20 08:33:16 -04:00
Justin Baur
1af9e9e2bc Work on Basic Filter Handler 2025-03-20 07:21:14 -04:00
Matt Gibson
5208206034 Very rudimentary saved filters interface 2025-03-19 20:02:58 -07:00
Matt Gibson
2fe8c491ed Remove filter component
This is a PoC commit, and would need significant clean up. We shouldn't be using the vault-filter component at all anymore, but it was the most expedient way to implement the new UI
2025-03-19 16:34:11 -07:00
Matt Gibson
fd1ed3607e Prefer reserved word method
This limits reduces the special-case searching to totally isolated reserved-word strings. All directed search behavior starts with a reserved word and has a defined syntax.
2025-03-18 13:08:17 -07:00
Matt Gibson
2528efd8b9 Remove implied order by name 2025-03-18 13:02:51 -07:00
Matt Gibson
1c396da40f return AST in parse results
- testing of parser
- log parse results in debug
2025-03-18 09:56:53 -07:00
Matt Gibson
c27bacf275 start testing grammar
TODO: I'm sure there are issues with the position markers, but those are best dealt with when we actually use them.
2025-03-17 17:04:10 -07:00
Justin Baur
6d09fbfb4e Filter Builder Updates 2025-03-17 16:17:23 -04:00
Justin Baur
dfbe5af614 ChipMultiSelectComponent 2025-03-17 16:16:56 -04:00
Matt Gibson
e22eaca945 Add order by handling to query language 2025-03-17 12:16:17 -07:00
Matt Gibson
078856e304 Improve match type UX 2025-03-17 12:16:17 -07:00
Matt Gibson
ac544c4b31 Add Uri matching 2025-03-17 12:16:17 -07:00
Matt Gibson
47bb10fec1 Improve search history styling 2025-03-17 12:16:17 -07:00
Matt Gibson
98a3e85d13 Introduce search history
This is a first pass that needs a lot of UX and accessibility cleanup
2025-03-17 12:16:15 -07:00
Matt Gibson
9353cfb6fb Improve filter service results 2025-03-17 12:14:37 -07:00
Justin Baur
ecb95bb471 Search builder (#13823)
* Work on SearchBuilderComponent

* Get component to not throw errors

Co-authored-by: Matt Gibson <mgibson@bitwarden.com>

* Rename to filter

* Align Buttons Correctly

* Filter Build Updates

* Add VaultFilterMetadataService

* Rename Directory

* Emit filter

---------

Co-authored-by: Matt Gibson <mgibson@bitwarden.com>
2025-03-17 12:14:37 -07:00
Matt Gibson
5922947474 add in:my_vault filter operator
This is the first two word operation we have, I'm establish a snake case pattern here, but that may change.
2025-03-17 12:14:37 -07:00
Matt Gibson
664f4c3ce9 Fix collection searching
Collection searching is wildcarded by default to avoid having to type perfectly
2025-03-17 12:14:36 -07:00
Matt Gibson
0319320155 Add type: filter operator 2025-03-17 12:14:36 -07:00
Matt Gibson
70de30cbf1 Add in:trash filter operator 2025-03-17 12:14:36 -07:00
Matt Gibson
e6338c379f Allow searching of boolean custom field values 2025-03-17 12:14:36 -07:00
Matt Gibson
607bcc6b64 regex-based filtering for filter.service 2025-03-17 12:14:36 -07:00
Matt Gibson
ebd6eafd3b Correct grammar string elevations 2025-03-17 12:14:36 -07:00
Matt Gibson
39303854b7 Allow escaping of regex
This will let us use regex to test user input values for searches
2025-03-17 12:14:36 -07:00
Matt Gibson
fc7a35abfe Add nearley types 2025-03-17 12:14:36 -07:00
Matt Gibson
b58663000a Use filter service in web 2025-03-17 12:14:34 -07:00
Matt Gibson
a137c99797 revert grammar updates
we don't want the contains: operator, and would rather default to wildcards on either side

adhere to new single eslint config file.
2025-03-17 12:13:00 -07:00
Matt Gibson
c3c1383af6 Fix filter service dependency updates due to rebase 2025-03-17 12:13:00 -07:00
Matt Gibson
d509145f00 contains term for wildcarding 2025-03-17 12:13:00 -07:00
Matt Gibson
1f1fb863f7 add ciphers to index prior to build 2025-03-17 12:12:59 -07:00
Matt Gibson
27b7c9e90e Send searches through query parser.
This starts implementing a new search service -- renamed to filter service.
2025-03-17 12:12:59 -07:00
Addison Beck
e8c4c570e9 fix: save indication of browser installation to storage (#13743) 2025-03-17 14:23:40 -04:00
Jordan Aasen
8b4fab9737 [PM-13930] - add cancel button to multiple screens (#13705)
* add cancel button to multiple screens

* revert changes to view-v2

* remove unnecessary props

* add cancel button to blocked domains
2025-03-17 13:30:59 -04:00
Thomas Avery
a11536a424 [PM-17668] Move DeviceTrustService to KM ownership (#13194)
* move DeviceTrustService to KM ownership

* update codecov
2025-03-17 12:02:44 -05:00
Brandon Treston
41e1d4e7bf fix showEdit bug (#13853) 2025-03-17 12:02:09 -04:00
Nick Krantz
55741984a7 open install extension in new tab (#13775) 2025-03-17 10:23:00 -05:00
Nick Krantz
14c6d97fd1 move windowMessageHandlers above event listeners to account for safari bug (#13773) 2025-03-17 10:20:00 -05:00
Jordan Aasen
fdcb6ff7a2 remove bulk share dialog components and related modules and i18n keys (#13815) 2025-03-14 15:37:44 -07:00
Jordan Aasen
53a032ca65 [PM-17520][PM-17521][PM-17523][PM-17524][PM-17525] - migrate css classes (#13811)
* migrate css classes

* remove bulk share dialog components and related modules and i18n keys

* Revert "remove bulk share dialog components and related modules and i18n keys"

This reverts commit 40060b6011.
2025-03-14 15:36:55 -07:00
Daniel Riera
8abb74d598 PM-17963 added new functions and checks in order to make file type safe (#13792) 2025-03-14 16:01:15 -04:00
Ike
2d4ffe6eb6 Revert "[PM-19209] Update New device verification error" (#13843)
This reverts commit 31b1ee4f84.
2025-03-14 13:05:57 -04:00
Alex Morask
2ecfac40b7 [PM-18794] Allow provider payment method (#13825)
* Allow provider payment method

* Run prettier
2025-03-14 11:33:21 -04:00
Brandon Treston
4d68952ef3 [PM-18089] Update cipher permissions model and consumers (#13606)
* update cipher permissions model and consumers

* add new property to tests

* fix test, add property to toCipherData()

* add missing ConfigService

* fix story

* refactor

* fix error, cleanup

* revert refactor

* refactor

* remove uneeded test

* cleanup

* fix build error

* refactor

* clean up

* add tests

* move validation check to after featrue flagged logic

* iterate on feedback

* feedback
2025-03-14 09:51:40 -04:00