coala / coala-html

Interactive website generator using results from coala
GNU Affero General Public License v3.0
17 stars 40 forks source link

Add config tab #21

Open AbdealiLoKo opened 8 years ago

AbdealiLoKo commented 8 years ago

There can be a tab for LogMessages (for https://github.com/coala-analyzer/coala-html/issues/15) And another tab for "settings" which has the coafile

AbdealiLoKo commented 8 years ago

@sils1297 do we want something like this or is that too complicated for what you were thinking ? Is this within the scope of coala-html or does it go into gitmate somewhere ?

sils commented 8 years ago

Settings should be read-only IMO On 27 Feb 2016 03:46, "AbdealiJK" notifications@github.com wrote:

@sils1297 https://github.com/sils1297 do we want something like this or is that too complicated for what you were thinking ?

— Reply to this email directly or view it on GitHub https://github.com/coala-analyzer/coala-html/issues/21#issuecomment-189561681 .

AbdealiLoKo commented 8 years ago

To get the settings we'd need coala-json to give the config file. As we have no clue where it can be. We could assume .coafile in the proj dir - but that's not always right because of the -c flag.

We could also just check if .coafile exists. if not just give a message saying config file not found.

sils commented 8 years ago

we could give coala-json a way to dump the settings as json too somewhere optionally, would be easy for us and way easier for you, you don't wanna parse the coafile without our parsers...