I've no idea about half the stuff that you're producing, but I feel grateful to you anyway!
I'm very happy to see this! Great stuff Tobias. Producing like a machine... I'd add gun to that! :-)
So your tc-rating may be tb-c-rating ... otherwise the class name suggests, that it is a core class.
Hi Mario,So your tc-rating may be tb-c-rating ... otherwise the class name suggests, that it is a core class.Not sure it's needed but I could go with tb-rating.
As for those conventions, the same thing kinda applies to field-names.
I mean, I am using the "rating" field as a default.Should that also be tb-rating?I don't think it should.
You could, but you may find out, that you may want to create custom messages in the future too. so imo tb-m-xxx may be the right move.
tbc- using your initials, would be possible too, but I think it's too similar to tc-... so I added the additional "-"..
pmc would work for my initials, but in favour of consistency I'd use pm-c :)
If we want consistency, you probably should. ... Only the future will tell, if your plugins cause naming clashes with user content.
That does not look like something I want. In fact, there is always a chance that existing code and components will at some point clash with new core modules / macros / widgets and what not. Sure, I can avoid that by prefixing everything I do with some shorthand:<$tb-appear/>
Let me just say: I am going to do that, not going to change any of the classes in the appear widget.
If you are the first one that creates an appear widget, you basically have the chance to define the name you want. So everyone will be fine with <$appear>. .. but the core styling classes should be only used by the core and nobody else.
If you are the first one that creates an appear widget, you basically have the chance to define the name you want. So everyone will be fine with <$appear>. .. but the core styling classes should be only used by the core and nobody else.
If you need new classes in thenbase CSS rules, you should create a PR for the core. ... plugins should use prefixes.
Perhaps I will go wit the tb-prefix then (in the future) and entirely ignore any distinctions as for classes or fields or messages... they're all going to be tb-foo, if needed ...and quite possibly not everything that can be prefixed will be, e.g. I will not change the rating field to tb-rating. If a user needs something else, they can have it... using parameters.
!! Health
<dl><$list filter="[tag[PoI]tag[EHR]!nsort[touched]]" template="$:/.dm/templates/list-summary-prioritize"/></dl>
!! General
<dl><$list type="dl" filter="[tag[PoI]!tag[EHR]!nsort[touched]]" template="$:/.dm/templates/list-summary-prioritize"/></dl>
<dt>
<$link><$list filter="[all[current]rating[5]]"><span class="priorityStar">★</span></$list> <$view field=title/></$link></dt>
<$list filter="[all[current]has[summary]]"><dd>{{!!summary}}</dd></$list>