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

Add a link to the cribsheet in the console output #11

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

taphill
Copy link

@taphill taphill commented Feb 23, 2024

Hello! I'm new to enhance and had a difficult time finding docs about the available preconfigured utility classes. I had actually given up on it for a day or two and was just looking through the .enhance/generated.css file to see what my options were.

I eventually found the /_styleguide/cribsheet link in the docs here which is far nicer that what I was doing! 😅

My initial thought was to ask if we could call attention to it better in the docs somehow, but then I thought, "Why not just output the link when you start the dev server?"

I have no opinions on the View the preconfigured Enhance utility classes message if you want something different. That was just the first thing I thought of.

I hope this makes the cribsheet easier to find for people new to Enhance. Let me know what y'all think!

@colepeters
Copy link
Member

Thanks @taphill — appreciate you raising this! I like the idea of surfacing the cribsheet more clearly. We'll take a look at this in the coming days and report back :)

@taphill
Copy link
Author

taphill commented Feb 23, 2024

Sounds good @colepeters! Feel free to close if your team comes up with an idea you think will work out better, but I do like the convenience of being able to click and open it straight from the terminal

@colepeters
Copy link
Member

Discussed earlier today! @kristoferjoseph is doing some work on the various Enhance plugins and will be localizing this behaviour to the cribsheet plugin. I'll leave this issue open for now though so we keep this on our radar, but expect this to land before too long!

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.

2 participants