Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Renames v7 theme, removes beta theme #3048

Closed
wants to merge 1 commit into from

Conversation

tmarkley
Copy link
Contributor

@tmarkley tmarkley commented Dec 8, 2022

I'm trying to determine the best way to test this change.

Description

  • Forces the v1 (the old v7) theme for all users, keeps the advanced setting ui hidden.
  • Keeps the theme switching logic for when the OUI cascadia theme is ready.

Issues Resolved

Resolves #494

Check List

  • All tests pass
    • yarn test:jest
    • yarn test:jest_integration
    • yarn test:ftr
  • New functionality includes testing.
  • New functionality has been documented.
  • Update CHANGELOG.md
  • Commits are signed per the DCO using --signoff

* Forces the v1 (the old v7) theme for all users, keeps the advanced
setting ui hidden.
* Keeps the theme switching logic for when the OUI cascadia theme is
ready.

Resolves opensearch-project#494

Signed-off-by: Tommy Markley <5437176+tmarkley@users.noreply.github.com>
});

it('should not accept v8 (beta)', () => {
expect(() => validate('v7')).toThrowErrorMatchingInlineSnapshot(`
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
expect(() => validate('v7')).toThrowErrorMatchingInlineSnapshot(`
expect(() => validate('v8 (beta)')).toThrowErrorMatchingInlineSnapshot(`

}),
requiresPageReload: true,
schema: schema.oneOf([schema.literal('v7'), schema.literal('v8 (beta)')]),
value: 'v1',
Copy link
Collaborator

Choose a reason for hiding this comment

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

I believe we are planning on having a beta theme for the 2.x branch. @kgcreative @KrooshalUX please share your thoughts on if we should remove this piece or retain it.

@ashwin-pc
Copy link
Member

#3045 supersedes this

@ashwin-pc ashwin-pc closed this Mar 7, 2023
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.

[BUG] Theme version references v7 and v8
3 participants