Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

document settingDefaults #3046

Merged
merged 4 commits into from
Apr 1, 2020
Merged

document settingDefaults #3046

merged 4 commits into from
Apr 1, 2020

Conversation

bwindels
Copy link
Contributor

@bwindels bwindels commented May 31, 2019

@bwindels bwindels force-pushed the bwindels/settings-config-doc branch 2 times, most recently from edb9469 to 855aee0 Compare May 31, 2019 12:59
@bwindels bwindels force-pushed the bwindels/settings-config-doc branch from 855aee0 to 9e4d8e7 Compare May 31, 2019 13:00
@bwindels bwindels requested a review from turt2live May 31, 2019 13:42
Copy link
Member

@turt2live turt2live left a comment

Choose a reason for hiding this comment

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

we should document this in the riot-web README (as per element-hq/element-web#6791) instead of the develop docs

@jryans
Copy link
Collaborator

jryans commented Jul 31, 2019

@turt2live How about if we document it here and in riot-web?

@turt2live
Copy link
Member

I have a fear that they'd get out of sync or forgotten about. Generally I try and consider riot-web to be the config side of things (despite the config being defined here) and the react-sdk being the logic layer.

I don't really mind if it's both, but at a minimum it should be in riot-web to help users.

@jryans
Copy link
Collaborator

jryans commented Jul 31, 2019

Hmm, I guess I am confused... The PR here isn't trying to document each setting... It's just trying to mention that settings can be defaulted, which doesn't seem so likely to get out of sync, right? It's not likely to change unless we overhaul settings again.

@turt2live
Copy link
Member

bleh, yes, that's true. The fact that the object exists though still makes most of my argument make sense, I think. The idea being that "hey, a flag exists for things" should be documented to riot admins and less so developers (ie: dump info in riot-web for riot admins, developer docs in react-sdk).

@bwindels
Copy link
Contributor Author

This one seems to have been forgotten by me. I would go ahead and merge this if nobody objects as this is also already documented in riot-web/docs/config.md and in the sample config there. I think the information is also useful for developers though.

Copy link
Member

@turt2live turt2live left a comment

Choose a reason for hiding this comment

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

lgtm otherwise

Sorry, this showed up at the bottom of my review queue which is often reserved for things that I'm ignoring or putting off ._.

docs/settings.md Outdated Show resolved Hide resolved
docs/settings.md Outdated Show resolved Hide resolved
docs/settings.md Outdated Show resolved Hide resolved
docs/settings.md Outdated Show resolved Hide resolved
@t3chguy
Copy link
Member

t3chguy commented Mar 29, 2020

@bwindels can we get this over the line :D?

@bwindels
Copy link
Contributor Author

bwindels commented Apr 1, 2020

Not sure why all these tests are failing, but I am fairly sure it has nothing to do with these documentation changes, so merging.

@bwindels bwindels merged commit 775ba0f into develop Apr 1, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants