-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Update styling of code editor #11224
Comments
Hello Consul community members, We would welcome a PR contributed by the community for this UI enhancement! If you're interested, please comment here so anyone interested can stay informed. The task
Getting started with Consul UI development When running the development app (make start), any changes you save in the website source files will be recompiled and reloaded in your browser pages pointed at the app (e.g., http://localhost:4200/ui/). Please name your branch according to these guidelines to ensure that the PR you submit triggers CI execution of the frontend test suite. Accessing the KV code editor Accessing the ACL policy editor To change that, click "Eng Docs" in the top-right menu. Open up the console on your browser (e.g., Chrome Developer Tools). On the new page that opens, click "Docs > Debug/EngineeringUtilities" in the left-side nav bar. In the link/bookmarklet list, drag "Enable ACLs" to your bookmarks bar, then click it. Alternatively, you can enter Now, if you reload the UI, you should see a "Login" button in the top-right nav. Click on that and enter something (anything) on the "log in to Consul" modal. Now that you're logged in with a fake token, the "Policies" entry in the left-side menu should be enabled. Click the "Policies" item, then click on any policy in the list to access its edit screen. Now you have access to an ACL policy code editor in your dev environment and can test changes you make to the code. |
Note: this task touches the same components as another Hacktoberfest issue (#11223) |
@jkirschner-hashicorp ideally we would keep this one and close the other, otherwise someone might work on the other one (11223) which would only get overwritten by potential work here. Even if someone did 11223 and nobody worked on this one, I would assume internally we would eventually work on this one ourselves - for example, I know there's a feature in the works that we've discussed doing that is related to this smaller task. |
Hi there,
Cheers! |
Hi @deblasis 👋 Thanks for giving this a look! Looks like you are almost there :yay: Could you make a PR with where you are at the moment and we can discuss on that PR? Thanks, |
Hi @johncowen! Looking forward to your comments and I hope I won't steal too much of your time with my newbienessnessness. |
Overview of issue
The code editor currently in the UI (used for key-value entries and ACL policy entries) does not match our design system styling:
Desired styling
Key/Value
ACL Policies
Figma file
The text was updated successfully, but these errors were encountered: