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

feature: rename react components #419

Open
wants to merge 5 commits into
base: canary
Choose a base branch
from

Conversation

geclos
Copy link
Contributor

@geclos geclos commented May 14, 2024

Describe your changes

Removes the Query prefix from those components that have the same api than components in Latitude app.

Before:
AreaChart in Latitude app corresponded to AreaChartQuery in react library

In this commit:
AreaChart in Latitude app corresponds to AreaChart in react library

To accomodate this change, I've added a Data suffix to raw components

Issue ticket number and link

Checklist before requesting a review

  • I have added thorough tests
  • I have updated the documentation if necessary
  • I have added a human-readable description of the changes for the release notes
  • I have included a recorded video capture of the feature manually tested

We need for future changes to be able to access and build queries from
any connector when resolving the queries in a specific connector. To
make our life easier we pass the source manager through the Source to
the connector
We want to move the responsability of fining the query in the file
system from the connector to the source. After the last refactor now
this is easier to todo because we have access to the source and the
source manager in the connector.
With this change is easier to pass the the full path of the query and
look for relative paths and paths that lives outside the source of the
connector. We want to do both things in the upcoming changes
This commit just introduce the materialize connector but is will need
another piece to work that we'll introduce in another PR. For now we
don't publish this connector
Copy link

changeset-bot bot commented May 14, 2024

🦋 Changeset detected

Latest commit: e5478c1

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
@latitude-data/react Minor
example-react Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@geclos geclos force-pushed the feature/rename_default_react_components branch 3 times, most recently from 8f524fb to 5258f88 Compare May 14, 2024 13:31
andresgutgon
andresgutgon previously approved these changes May 14, 2024
@geclos geclos force-pushed the feature/rename_default_react_components branch from 5258f88 to f64d0f0 Compare May 14, 2024 14:04
@geclos geclos changed the base branch from main to canary May 14, 2024 14:04
@geclos geclos force-pushed the feature/rename_default_react_components branch 2 times, most recently from bef8be8 to 4cde250 Compare May 14, 2024 14:06
@geclos geclos force-pushed the feature/rename_default_react_components branch from 4cde250 to 52868a6 Compare May 14, 2024 14:08
Removes the Query prefix from those components that have the same api
than components in Latitude app.

Before:
AreaChart in Latitude app corresponded to AreaChartQuery in react
library

In this commit:
AreaChart in Latitude app corresponds to AreaChart in react library

To accommodate this change, I've added a Data suffix to raw components
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.

None yet

2 participants