Skip to content
This repository has been archived by the owner on Jul 27, 2024. It is now read-only.

Remove the data/shopify_liquid/(tags|filters|objects).yml files #674

Merged
merged 1 commit into from
Dec 15, 2022

Conversation

Poitrin
Copy link
Contributor

@Poitrin Poitrin commented Dec 5, 2022

WHY are these changes introduced?

Fixes #656

WHAT is this pull request doing?

  • Removes the usage of data/shopify_liquid/tags.yml, data/shopify_liquid/filters.yml, data/shopify_liquid/objects.yml in favor of the SourceIndex, which holds the most updated values for objects, filters, and tags.
  • Transforms remaining .yml files to .json files, so that we only have 1 format.
  • Adds some logic for existing objects, filters, tags, so that it resembles the existing .yml files content.

How to test your changes?

@Poitrin Poitrin marked this pull request as ready for review December 6, 2022 09:54
Base automatically changed from fix-658 to language-server-docs-main December 9, 2022 15:38
@Poitrin Poitrin changed the base branch from language-server-docs-main to main December 15, 2022 08:21
@Poitrin Poitrin changed the base branch from main to language-server-docs-main December 15, 2022 08:23
@Poitrin Poitrin changed the base branch from language-server-docs-main to main December 15, 2022 08:25
Copy link
Contributor

@karreiro karreiro left a comment

Choose a reason for hiding this comment

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

Thank you, @Poitrin! Excellent stuff 🚀

I've left just some minor comments. Please, let me know what you think about them :)

@Poitrin Poitrin force-pushed the fix-656 branch 3 times, most recently from 2c76768 to 895a507 Compare December 15, 2022 12:51
Copy link
Contributor

@karreiro karreiro left a comment

Choose a reason for hiding this comment

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

Thank you, @Poitrin 🔥🚀

@Poitrin Poitrin merged commit 0cf59c8 into main Dec 15, 2022
@Poitrin Poitrin deleted the fix-656 branch December 15, 2022 13:46
@Poitrin Poitrin restored the fix-656 branch December 15, 2022 13:51
Poitrin pushed a commit that referenced this pull request Dec 15, 2022
### WHY are these changes introduced?

Relates to #656 and #674, rolls back changes to filters suggestion.

### WHAT is this pull request doing?

- Filters that were previously in `data/shopify_liquid/filters.yml` will not be suggested.
- Theme Check will accept these filters though.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Intelligent code completion] Remove the data/shopify_liquid/(tags|filters|objects).yml files
2 participants