-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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_REQUEST] Workspace Sidebar Width & Display Components #259
Comments
Welcome to Dashy 👋 Issues are sometimes closed when users:
Before you reopen this issue, please also ensure that:
Once you have verified the above standards are met, you may reopen this issue. |
I don't see anywhere to reopen the issue. |
You should be able to do this by passing in custom CSS. An AFK at the moment, but if you're stuck, I could send you the params that you would need to set. |
I did attempt to at least adjust the width via the custom CSS area, but anything I wrote in that box and attempted to save resulted in 'Error - Invalid CSS'. I don't find any documentation as to what sort of syntax should be entered here, as for example I'm attempting to write .side-bar {width:200px} and it's not allowing it. So any help with at least this would be wonderful, but can we include the title and status indicator via CSS as well? |
Heya @JD2005L - I've made some changes to remove the CSS validation which was causing your issue, which is now merged. |
And in terms of the status indicators, these are not supported currently on the workspace view, but you can probably add it with something like: Import the component import StatusIndicator from '@/components/LinkItems/StatusIndicator'; register the component
Use the component
You'll also need to add a method to fetch the status for your service, you can do something like this, wrap it in a function, which then gets called in the axios.get(endpoint)
.then((response) => {
if (response.data) this.statusResponse = response.data;
})
.catch(() => { // Something went very wrong.
this.statusResponse = {
statusText: 'Failed to make request',
statusSuccess: false,
};
}); For info about the endpoint, see Status Indicators Docs, but it's basically |
Is your feature request related to a problem? If so, please describe.
Some of my services are duplicate instances, so seeing only icons doesn't differentiate, as well status icons would be helpful.
Describe the solution you'd like
Allow sidebar width to be modifiable or selectable to visually include application titles, description, & status indicator.
Priority
Medium (Would be very useful)
Is this something you would be keen to implement
No
The text was updated successfully, but these errors were encountered: