[COMPASS-7562] [Hadron Plugin Interface] Convert `FieldStore` plugin to new interface Created: 03/Jan/24  Updated: 30/Jan/24  Resolved: 15/Jan/24

Status: Closed
Project: Compass
Component/s: None
Affects Version/s: None
Fix Version/s: 1.42.0

Type: Task Priority: Major - P3
Reporter: Sergey Petushkov Assignee: Sergey Petushkov
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Developer Tools
Epic Link: COMPASS-7020
Story Points: 3
Documentation Changes: Not Needed

 Description   
  • Convert plugin to new interface
  • Replace event interface with hooks as the fields value is always used in UI for autocomplete in various plugins


 Comments   
Comment by Githook User [ 30/Jan/24 ]

Author:

{'name': 'Sergey Petushkov', 'email': 'petushkov.sergey@gmail.com', 'username': 'gribnoysup'}

Message: chore(field-store): replace fields-changed events with useFields hooks COMPASS-7562 (#5304)

  • chore(field-store): add useAutocompleteFields and useFieldsSchema hooks to replace field store fields-changed event
  • chore(aggregations): replace fields store slice and event subscription with a hook
  • chore(crud): replace fields store slice and event subscription with a hook
  • chore(indexes): replace fields store slice and event subscription with a hook
  • chore(query-bar): replace fields store slice and event subscription with a hook
  • chore(schema-validation): replace fields store slice and event subscription with a hook
  • chore(aggregations): pass namespace to the list
Comment by Githook User [ 30/Jan/24 ]

Author:

{'name': 'Sergey Petushkov', 'email': 'petushkov.sergey@gmail.com', 'username': 'gribnoysup'}

Message: chore(field-store): refactor to ts; use new plugin interface COMPASS-7562 (#5297)

chore(field-store): refactor to ts; use new plugin interface
Branch: ga-releases
https://github.com/mongodb-js/compass/commit/e956625ed83ee3d5854dddc3c6b29cb2db3edf5f

Comment by Githook User [ 09/Jan/24 ]

Author:

{'name': 'Sergey Petushkov', 'email': 'petushkov.sergey@gmail.com', 'username': 'gribnoysup'}

Message: chore(field-store): replace fields-changed events with useFields hooks COMPASS-7562 (#5304)

  • chore(field-store): add useAutocompleteFields and useFieldsSchema hooks to replace field store fields-changed event
  • chore(aggregations): replace fields store slice and event subscription with a hook
  • chore(crud): replace fields store slice and event subscription with a hook
  • chore(indexes): replace fields store slice and event subscription with a hook
  • chore(query-bar): replace fields store slice and event subscription with a hook
  • chore(schema-validation): replace fields store slice and event subscription with a hook
  • chore(aggregations): pass namespace to the list
Comment by Githook User [ 09/Jan/24 ]

Author:

{'name': 'Sergey Petushkov', 'email': 'petushkov.sergey@gmail.com', 'username': 'gribnoysup'}

Message: chore(field-store): refactor to ts; use new plugin interface COMPASS-7562 (#5297)

chore(field-store): refactor to ts; use new plugin interface
Branch: remove-enable-gai-experience-feature-flag
https://github.com/mongodb-js/compass/commit/e956625ed83ee3d5854dddc3c6b29cb2db3edf5f

Comment by Githook User [ 08/Jan/24 ]

Author:

{'name': 'Sergey Petushkov', 'email': 'petushkov.sergey@gmail.com', 'username': 'gribnoysup'}

Message: chore(field-store): replace fields-changed events with useFields hooks COMPASS-7562 (#5304)

  • chore(field-store): add useAutocompleteFields and useFieldsSchema hooks to replace field store fields-changed event
  • chore(aggregations): replace fields store slice and event subscription with a hook
  • chore(crud): replace fields store slice and event subscription with a hook
  • chore(indexes): replace fields store slice and event subscription with a hook
  • chore(query-bar): replace fields store slice and event subscription with a hook
  • chore(schema-validation): replace fields store slice and event subscription with a hook
  • chore(aggregations): pass namespace to the list
Comment by Githook User [ 08/Jan/24 ]

Author:

{'name': 'Sergey Petushkov', 'email': 'petushkov.sergey@gmail.com', 'username': 'gribnoysup'}

Message: chore(field-store): refactor to ts; use new plugin interface COMPASS-7562 (#5297)

chore(field-store): refactor to ts; use new plugin interface
Branch: beta-releases
https://github.com/mongodb-js/compass/commit/e956625ed83ee3d5854dddc3c6b29cb2db3edf5f

Comment by Githook User [ 05/Jan/24 ]

Author:

{'name': 'Sergey Petushkov', 'email': 'petushkov.sergey@gmail.com', 'username': 'gribnoysup'}

Message: chore(field-store): replace fields-changed events with useFields hooks COMPASS-7562 (#5304)

  • chore(field-store): add useAutocompleteFields and useFieldsSchema hooks to replace field store fields-changed event
  • chore(aggregations): replace fields store slice and event subscription with a hook
  • chore(crud): replace fields store slice and event subscription with a hook
  • chore(indexes): replace fields store slice and event subscription with a hook
  • chore(query-bar): replace fields store slice and event subscription with a hook
  • chore(schema-validation): replace fields store slice and event subscription with a hook
  • chore(aggregations): pass namespace to the list
Comment by Githook User [ 04/Jan/24 ]

Author:

{'name': 'Sergey Petushkov', 'email': 'petushkov.sergey@gmail.com', 'username': 'gribnoysup'}

Message: chore(field-store): refactor to ts; use new plugin interface COMPASS-7562 (#5297)

chore(field-store): refactor to ts; use new plugin interface
Branch: COMPASS-7561-move-connection-info-to-new-package
https://github.com/mongodb-js/compass/commit/e956625ed83ee3d5854dddc3c6b29cb2db3edf5f

Comment by Githook User [ 04/Jan/24 ]

Author:

{'name': 'Sergey Petushkov', 'email': 'petushkov.sergey@gmail.com', 'username': 'gribnoysup'}

Message: chore(field-store): refactor to ts; use new plugin interface COMPASS-7562 (#5297)

chore(field-store): refactor to ts; use new plugin interface
Branch: compass-7407-use-logger-provider-in-plugin-stores
https://github.com/mongodb-js/compass/commit/e956625ed83ee3d5854dddc3c6b29cb2db3edf5f

Comment by Githook User [ 04/Jan/24 ]

Author:

{'name': 'Sergey Petushkov', 'email': 'petushkov.sergey@gmail.com', 'username': 'gribnoysup'}

Message: chore(field-store): refactor to ts; use new plugin interface COMPASS-7562 (#5297)

chore(field-store): refactor to ts; use new plugin interface
Branch: main
https://github.com/mongodb-js/compass/commit/e956625ed83ee3d5854dddc3c6b29cb2db3edf5f

Generated at Wed Feb 07 22:46:56 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.