Skip to content

Conversation

gribnoysup
Copy link
Collaborator

This PR replaces *-ddl plugins in Compass app and in dev mode of compass-home plugin with the new databases-collections plugin. While applying the change we spotted a few small bugs that are also addressed in this PR:

  • expireAfterSeconds is a timeseries option, but it's supposed to be on the root level of the options, not scoped to timeseries
  • Collation fields that are literally a string "false" were not applied in the form due to being falsy and the value prop check falling back to ""

gribnoysup and others added 3 commits June 11, 2021 18:55
…tabases,collections}-ddl plugins, with compass-databases-collections

Co-Authored-By: Anemy <rhysh@live.com>
…ingified value in Select box so that it can be selected in UI
…ds to the root level of collection fields

While at it, refactor form values to options transformation so that `buildOptions`
are the only place where field values are normalized
@gribnoysup gribnoysup requested a review from Anemy June 11, 2021 17:03
Copy link
Member

@Anemy Anemy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm! nice

@gribnoysup gribnoysup merged commit 84fd129 into master Jun 14, 2021
@gribnoysup gribnoysup deleted the link-new-databases-collections-plugin-to-compass branch June 14, 2021 07:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants