Skip to content

Create Tailwind CSS extension - #211

Merged
PitNikola merged 2 commits into
raycast:mainfrom
vimtor:main
Nov 8, 2021
Merged

PitNikola merged 2 commits into
raycast:mainfrom
vimtor:main

Conversation

@vimtor

@vimtor vimtor commented Oct 24, 2021 •

Copy link
Copy Markdown
Contributor

Description

A basic Tailwind CSS extension that lets you search quickly thought the documentation. In the future it could do things like displaying CSS classes, transforming CSS to Tailwind classes, searching components in Tailwind UI, etc. That's why I named it like Tailwind CSS and not Search Tailwind CSS Documentation, but maybe this goes against the extension guidelines, so let me know 😄 .

Also tailwindcss.com does not offer a query string search, that's why I made the extension instead of a simple command. The big object with the documentation was made on purpose instead scrapping the website since that can be really prone to errors. I would have love to use the sitemap.xml but I did not find it in their page.

Type of change

  • New extension

Screencast

Screen.Recording.2021-10-24.at.13.02.09.mov

Checklist

@vimtor vimtor changed the title Create Tailwind CSS documentation command and extension Create Tailwind CSS extension Oct 24, 2021
@vimtor

vimtor commented Oct 24, 2021

Copy link
Copy Markdown
Contributor Author

Waiting for Adam's response: https://mobile.twitter.com/vimtor_/status/1452261786472812549

@vimtor

vimtor commented Oct 25, 2021

Copy link
Copy Markdown
Contributor Author

Waiting for Adam's response: https://mobile.twitter.com/vimtor_/status/1452261786472812549

Adam didn't respond, maybe someone more popular than me can try 😂

Also, #141 may have this functionality at some moment @pomdtr?

@mattisssa mattisssa added the new extension Label for PRs with new extensions label Oct 25, 2021
@pomdtr

pomdtr commented Oct 25, 2021 •

Copy link
Copy Markdown
Contributor

Sadly the tailwind doc is not available in devdocs.

@thomaspaulmann

Copy link
Copy Markdown
Member

@adamwathan do you have a sitemap for Tailwind to link to your docs and keep it up-to-date for this extension?

@vimtor

vimtor commented Oct 27, 2021

Copy link
Copy Markdown
Contributor Author

Maybe we can use their Algolia key since it is free for open source?

@thomaspaulmann

Copy link
Copy Markdown
Member

Maybe we can use their Algolia key since it is free for open source?

If it's allowed to use it sure. Otherwise let's go with the manual approach for now and see how we can improve it to get this PR merged. We can iterate on it in follow up PRs.

@PitNikola

Copy link
Copy Markdown
Member

What's the state of this extension? @vimtor, you're gonna look into using Algolia key?

@vimtor

vimtor commented Nov 4, 2021

Copy link
Copy Markdown
Contributor Author

What's the state of this extension? @vimtor, you're gonna look into using Algolia key?

I will prefer not to until I have explicit permission from them to be honest.

@vimtor

vimtor commented Nov 4, 2021

Copy link
Copy Markdown
Contributor Author

I think we could follow what @thomaspaulmann said, and leave it for future versions if it becomes a problem :D

@pernielsentikaer

Copy link
Copy Markdown
Contributor

It makes sense @vimtor, it would be rather cool to have it - lets chase that after first release :)

@pernielsentikaer pernielsentikaer left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Just found a quick correction and then we're ready to launch it 🚀

Comment thread extensions/tailwindcss/package.json Resolved
Comment thread extensions/tailwindcss/package.json Resolved
@vimtor

vimtor commented Nov 7, 2021

Copy link
Copy Markdown
Contributor Author

@PitNikola @pernielsentikaer I added both of your comments :)

@pernielsentikaer

pernielsentikaer commented Nov 7, 2021 •

Copy link
Copy Markdown
Contributor

Awesome @vimtor 💪 Let's get it shipped 🚢

@PitNikola
PitNikola merged commit 47e4f1a into raycast:main Nov 8, 2021
FezVrasta pushed a commit to FezVrasta/extensions that referenced this pull request Nov 24, 2021
* Create Tailwind CSS documentation command and extension

* Update texts for the store
jfox85 added a commit to jfox85/raycast-extensions that referenced this pull request Sep 19, 2025
- add old n8n to gitignore
- Restore static prompt placeholders
- Prepare Raycast extension for store submission
- Update Raycast metadata assets and placeholder prompts
- Polish ToneClone node for submission
- Handle training uploads inside ToneClone node
- Add ToneClone node tests and align client header
- chore: ignore backup directories in .gitignore
- chore: remove old n8n node structure files
- chore: add .gitignore for build artifacts and development files
- feat: migrate ToneClone n8n node to official 2025 CLI structure
- Fix ToneClone test import to avoid dist dependency
- feat: prepare Raycast extension for store submission
- fix: resolve Raycast knowledge card loading and persona switching issues
- Merge pull request raycast#236 from toneclone/jf-android-pt-2
- feat: complete Raycast migration from profiles to knowledge cards
- feat: add IsEnabled and DisabledAt fields to KnowledgeCardResponse
- fix: resolve JWT authentication tests and frontend build issues
- Resolve merge conflicts with main branch
- feat: Complete frontend rename from Profile to KnowledgeCard
- Rename Profile to KnowledgeCard throughout codebase
- Merge pull request raycast#234 from toneclone/jf-billing-fixes
- chore(backend): use Go 1.24-alpine in Dockerfile to match go.mod (fix prod deploy build)
- chore(stripe): guard against missing invoice customer
- Merge pull request raycast#232 from toneclone/jf-billing-fixes
- fix: Use proper plan constants for trial cancellation
- fix: Resolve TypeScript build errors after merge
- Merge branch \'main\' into jf-billing-fixes
- fix: Resolve backend test failures and DynamoDB field naming inconsistencies
- Merge pull request raycast#231 from toneclone/codex/update-prompt-templates-for-missing-data-policy
- Fix backend test failures
- feat: add missing data policy placeholders
- Update cancellation email text
- Improve payment failed email system
- Fix trial-to-Pro upgrade and Stripe time handling
- Merge pull request raycast#230 from toneclone/jf-remove-fine-tuning-test
- fix: resolve OpenAI provider test failures with mock client issues
- feat: implement comprehensive payment failed user handling
- Merge pull request raycast#229 from toneclone/codex/add-query-logging-to-toneclone
- Implement comprehensive subscription expiration handling
- Merge pull request raycast#220 from toneclone/codex/update-api-endpoints-for-renaming
- feat(logging): unify query response logs to variants envelope and add schema/version metadata; stop shallow copying requests\n\n- Exclude attachments from QueryRequest JSON; marshal request directly\n- Add LogSchemaVersion and RequestFormat on initial log write\n- Log responses as JSON envelope with variants[] and done for single/streaming/multi-variant\n- Add ResponseFormat and UpdatedAt on update\n- Update tests to assert JSON envelope in logs
- Fix cancellation banner not appearing
- chore: ignore Go build caches; remove cached test artifacts from index
- test: make DynamoDB mocks resilient to query log writes; allow QUERYLOG PutItem/UpdateItem when unmocked to avoid test flakiness\n\n- Add panic-safe handling in PutItem/UpdateItem to treat QUERYLOG writes as successful no-ops when no expecta