Nice work Charlie! Tones On Monday, 26 July 2021 at 11:26:18 UTC+10 cj.v...@gmail.com wrote:
> Hey Harry, > > Your use case had me pondering how I'd prototype something like that. > > It wound up turning into a "brain age" exercise for me, as I went ahead > and put together a wee for-the-giggles-prototype hosted here > <https://intertwingularityslicendice.neocities.org/SelectCommitteeTrackingPrototype.html> > . > > Although not particularly fancy, there is a bit of good stuff going on in > there, making for a reference point to discuss some TiddlyWiki > goodies/concepts if you have any questions about anything in there. > > And loads of things to improve in there slowly and surely, a way to > gradually introduce other TiddlyWiki goodies/concepts when it makes sense. > > It has a little bit of HTML in there for tables, which I generally prefer > over wikitext tables. If the HTML is a little overwhelming, or simply too > messy, ask and I'm sure somebody can clean things up with wikitext table > instead. > > Things could be cleaned up with some macros too at some point. > > > > On Sunday, July 25, 2021 at 3:40:15 PM UTC-3 Harry wrote: > >> Hi Charilie, >> >> For this table I only care about current chairs and ranking members as I >> want them to constantly auto-update as I edit other entries and the >> political cycle changes. I have a separate entry where I record historical >> committee compositions, as these entries are historical records and will >> not ever change, I do not need that entry to auto-update. >> >> Best >> Harry >> >> 在2021年7月25日星期日 UTC-4 上午10:09:22<cj.v...@gmail.com> 写道: >> >>> Silly question for you, Harry: do you only care about current chairs and >>> ranking members in senate committees? Do you think you'd ever like to see >>> the composition of these committees at various points in time ? >>> >>> On Friday, July 23, 2021 at 8:08:25 PM UTC-3 Harry wrote: >>> >>>> Hi all, >>>> >>>> I have a niche question about creating an auto-updating table and >>>> wonder if anyone can give me some guidance. >>>> >>>> To illustrate the specific context, let's say I'm trying to create a >>>> table of all chairs and ranking memebers of the senate committees. The >>>> table would look like this: >>>> | Committee | Chair | Ranking Member| >>>> | Agriculture | 1 | 2 | >>>> | Armed Service | 3 | 4 | >>>> >>>> When the agriculture chair changes from “Jane Doe (FL)” to "John >>>> Smith", I have to manually change the code entry of cell 1 from "[[Jane >>>> Doe|Jane Doe (FL)]],,D,," to "John Smith,,R,,". >>>> >>>> Instead of manually putting codes into cells 1 through 4, I wonder if >>>> there is a way that the table could update itself, since the chairs and >>>> ranking members change from time to time. >>>> >>>> What I'm currently exploring is to creat two fields in each committee's >>>> tiddler. Say for tiddler "senate agriculture committee", I creat two >>>> fields >>>> "incumbent_chair" and "incumbent_ranking". My hope is that there can be >>>> some way that links cell 1 with the "incumbent_chair", so that whenever I >>>> change the "incumbent_chair" field, cell 1 in the table above would >>>> automatically update itself (with all the formatting noted above). So far >>>> this is not working out, and the best I can do now is to use "<$view >>>> tiddler= field=/>" which only allows the table to update cell 1 as the >>>> text >>>> of the field, not as a tiddler that can be clicked and redirected, nor can >>>> I add specific formatting as mentioned in the example above. >>>> >>>> Is there anyway that I can write a code to reflect this need? Very much >>>> appreciate all the help! >>>> >>>> >>>> Best >>>> >>>> Harry >>>> >>>> >>>> -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/90011667-b5ac-4853-9618-ee4138557e4fn%40googlegroups.com.