Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upAdd settings page to Rustdoc for long-term configuration #18167
Comments
steveklabnik
added
the
T-rustdoc
label
Jan 27, 2015
This comment has been minimized.
This comment has been minimized.
|
I have used localStorage extensively for the same kind of thing in a project of mine. It's a little bit messy, but maybe it can help :) https://github.com/azerupi/SOTAwatch-filter/blob/master/development/js/spots/settings.js#L41-L181 |
This comment has been minimized.
This comment has been minimized.
|
I've also used localStorage a fair amount (granted, 3 years ago): https://github.com/WhatPumpkin/Sburb/blob/master/src/serialization.js#L69-L158 Honestly the main thing that prevented me from ever going at this was building the menus and stuff. UI designers wanted :) I suppose I could make stuff persist without giving any way to configure... |
This comment has been minimized.
This comment has been minimized.
I have a couple of ideas:
Another thing I would add to that settings panel is the a toggle for serif / sans-serif font Like a mentioned in a post on Rust internals, I think it's worth having a centralized place for all the design decisions where designers would be invited to post ideas and mock-ups |
This comment has been minimized.
This comment has been minimized.
ghost
commented
Oct 24, 2016
|
Yes please. Collapsing all of the methods alone would be a huge improvement. |
This comment has been minimized.
This comment has been minimized.
the8472
commented
Nov 25, 2016
|
Javadoc has a separate method summary table + detailed documentation further down. Since rustdoc does not have that it's necessary to collapse the details every time to get an overview. I usually have a rough idea what I want and just need to find that one method out of a myriad, so I would prefer the methods to be collapsed by default. |
Gankro commentedOct 19, 2014
Would use localStorage to maintain state between pages.
Ideas: