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

feat: Use XControls in NextQueries and Layout #360

Merged
merged 15 commits into from
Nov 13, 2023

Conversation

annacv
Copy link
Contributor

@annacv annacv commented Nov 6, 2023

Pull request template

Use XControls to config:

  • The maxNextQueriesPerGroup to be shown
  • Column options to display for desktop

Motivation and context

  • Dependencies. If any, specify:
  • Open issue. If applicable, link:

Type of change

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that causes existing functionality to not work as expected)
  • Change requires a documentation update

What is the destination branch of this PR?

  • Main
  • Other. Specify:

How has this been tested?

Test with dress and useXControls composable inside custom-query-preview.vue component to quickly see the changes (you can check this commit to do so)

Tests performed according to testing guidelines:

Checklist:

  • My code follows the style guidelines of this project.
  • I have performed a self-review on my own code.
  • I have commented my code, particularly in hard-to-understand areas.
  • I have made corresponding changes to the documentation.
  • My changes generate no new warnings.
  • I have added tests that prove my fix is effective or that my feature works.
  • New and existing unit tests pass locally with my changes.

@annacv annacv requested a review from a team as a code owner November 6, 2023 13:00
@support-empathy
Copy link
Contributor

Check PR 360 preview 👀

https://x.test.empathy.co/preview/360/index.html

@support-empathy
Copy link
Contributor

Check PR 360 preview 👀

https://x.test.empathy.co/preview/360/index.html

@support-empathy
Copy link
Contributor

Check PR 360 preview 👀

https://x.test.empathy.co/preview/360/index.html

@support-empathy
Copy link
Contributor

Check PR 360 preview 👀

https://x.test.empathy.co/preview/360/index.html

src/composables/use-experience-controls.composable.ts Outdated Show resolved Hide resolved
* @param storeModule - The {@link XModuleName}.
* @returns A state object.
*/
export function useStore(storeModule?: keyof XModulesTree): RootXStoreState | StatusState {
Copy link
Contributor

Choose a reason for hiding this comment

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

Add a TODO to change when we add the useStore composable in x

@annacv annacv requested a review from CachedaCodes November 9, 2023 14:38
@support-empathy
Copy link
Contributor

Check PR 360 preview 👀

https://x.test.empathy.co/preview/360/index.html

@support-empathy
Copy link
Contributor

Check PR 360 preview 👀

https://x.test.empathy.co/preview/360/index.html

@CachedaCodes CachedaCodes merged commit 3edebea into main Nov 13, 2023
4 checks passed
@CachedaCodes CachedaCodes deleted the feature/EMP-2722-Use-xControls-in-NQ-and-layout branch November 13, 2023 11:02
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.

3 participants