From 0d2e4344025f72d3b6d1ccb8b952b73a39516b81 Mon Sep 17 00:00:00 2001 From: Alex Bigelow Date: Sat, 30 Mar 2024 18:44:21 -0700 Subject: [PATCH 1/5] Add stub page for resbaz 2024 (#80) * Add stub page for resbaz 2024 * added text removed TODO tucson - no reason I just don't like it :) * Slightly more public-ready * add registration link * wrong link - updating registration link --------- Co-authored-by: hidyverse --- .gitignore | 3 +++ _quarto.yml | 4 +++- resbaz/resbazTucson2024.qmd | 46 +++++++++++++++++++++++++++++++++++++ 3 files changed, 52 insertions(+), 1 deletion(-) create mode 100644 resbaz/resbazTucson2024.qmd diff --git a/.gitignore b/.gitignore index 991361f..244ee38 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,6 @@ .quarto _site /.quarto/ +.Rproj.user +**.Rhistory +**.Rproj \ No newline at end of file diff --git a/_quarto.yml b/_quarto.yml index 7e95c71..f827c21 100644 --- a/_quarto.yml +++ b/_quarto.yml @@ -2,7 +2,7 @@ project: type: website website: - title: 'ResBaz Arizona' + title: "ResBaz Arizona" navbar: background: dark foreground: primary @@ -11,6 +11,8 @@ website: text: Home - href: index.qmd#events text: Events + - href: resbaz/resbazTucson2024.qmd + text: ResBaz 2024 # - href: whoWeAre.qmd # text: Who We Are body-footer: | diff --git a/resbaz/resbazTucson2024.qmd b/resbaz/resbazTucson2024.qmd new file mode 100644 index 0000000..8526887 --- /dev/null +++ b/resbaz/resbazTucson2024.qmd @@ -0,0 +1,46 @@ +--- +layout: default +title: ResBaz Arizona +aliases: + - resbazArizona2024 +--- + +The Research Bazaar is a worldwide festival promoting the digital literacy emerging at the center of modern research. Throughout 2024, events are happening at university campuses around the globe. + +ResBaz Arizona is a free, multi-day intensive conference where researchers come together to up-skill in "next generation digital research tools and skills." In the spirit of a marketplace or bazaar, ResBaz is a highly participatory event where researchers from many different disciplines can learn, share knowledge and skills, and have fun! + +Who should attend? Researchers at ALL levels from ALL disciplines. PhD and research master's students are especially encouraged to attend. Research technologists who support researchers to do their job should also come along! + +[Register here!](https://forms.gle/u5naq46pn3YoKERd8) + +### How do I participate in ResBaz? + +At ResBaz, you choose your level of participation. + +All in? On the [event registration link](https://forms.gle/u5naq46pn3YoKERd8), you will find a choice to volunteer to be contacted to speak, help, or facilitate a session. + +Just starting out? Join us for one session, one day, or the entire conference, depending on your interests and availability. + +### What can I do at ResBaz? + +Learn, Network, Teach, Help, and Discuss are just a few of the availble things to do at ResBaz. Use the conference to add organizing events to your resume or simply attend and pick up a new data science trick, the choice is all yours! + +## Schedule + +*Calendar coming soon!* + +## Where to participate + +*Map(s) and Zoom links coming soon!* + +#### Accessibility + +We are committed to making this workshop accessible to everybody. For any accommodation requests, please contact us at [TODO: email]. We will do our best to make the event inclusive to all. + +## Previous years + +- [ResBaz Arizona 2023](/resbaz/Arizona2023.qmd) +- [ResBaz Tucson 2022](/resbaz/resbazTucson2022.qmd) +- [ResBaz Tucson 2021](/resbaz/resbazTucson2021.qmd) +- [ResBaz Tucson 2020](/resbaz/resbazTucson2020.qmd) +- [ResBaz Tucson 2019](/resbaz/resbazTucson2019.qmd) \ No newline at end of file From 090572b1956037d718d24adc769b3f741bceff9b Mon Sep 17 00:00:00 2001 From: hidyverse Date: Sun, 31 Mar 2024 08:51:19 -0700 Subject: [PATCH 2/5] Add ResBaz festival mirroring other events --- index.qmd | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/index.qmd b/index.qmd index e41f0b3..0bedc75 100644 --- a/index.qmd +++ b/index.qmd @@ -83,6 +83,29 @@ randomAvatars("Hacky Hour"); ::::: +### ResBaz Festival + +::::: {.split-section} + +![ResBaz Festival](img/resBazAZ2024.png){.side-image .lightbox} \ + +::: {.split-chunk} +**Where**: Arizona + +**When**: Annually, for a few days in the spring (Apr/May) + +**What**: Learn, Network, Teach, Help, and Discuss are just a few of the availble things to do at ResBaz. Use the festival to add organizing events or presenting technical workshops to your resume, or simply attend and pick up a new data science trick, the choice is all yours! + +**Who you're likely to see**: + +```{ojs} +randomAvatars("ResBaz Festival"); +``` + +::: + +::::: + ### Related Community Events #### Code Commons From c6ef1f1121bfdf2f7ba331f1d0bc9507df7684d6 Mon Sep 17 00:00:00 2001 From: Alex Bigelow Date: Sun, 31 Mar 2024 09:14:43 -0700 Subject: [PATCH 3/5] Add festival randomAvatars --- data/people.json | 508 ++++++++++++++++++++++++++++++++++++++++++++--- index.qmd | 2 +- 2 files changed, 481 insertions(+), 29 deletions(-) diff --git a/data/people.json b/data/people.json index 4ada482..6464aaa 100644 --- a/data/people.json +++ b/data/people.json @@ -3,20 +3,76 @@ "organization": { "teams": { "nodes": [ + { + "name": "Website Team", + "members": { + "nodes": [ + { "id": "MDQ6VXNlcjc0MjYzMw==" }, + { "id": "MDQ6VXNlcjEyMTU4NzM=" }, + { "id": "MDQ6VXNlcjE5Mzk4MTM=" }, + { "id": "MDQ6VXNlcjcwODIwMjU=" }, + { "id": "MDQ6VXNlcjExMDIzMzE3" }, + { "id": "MDQ6VXNlcjEyMDIyMDc2" }, + { "id": "MDQ6VXNlcjIxMTI5NjM5" }, + { "id": "MDQ6VXNlcjM4OTYyMjQz" }, + { "id": "U_kgDOBef8kg" } + ] + } + }, + { + "name": "Governance Task Force", + "members": { + "nodes": [ + { "id": "MDQ6VXNlcjc0MjYzMw==" }, + { "id": "MDQ6VXNlcjEyMTU4NzM=" }, + { "id": "MDQ6VXNlcjIxMTI5NjM5" }, + { "id": "MDQ6VXNlcjU2NzAyNjAw" }, + { "id": "U_kgDOBef8kg" } + ] + } + }, + { + "name": "Festival2024", + "members": { + "nodes": [ + { "id": "MDQ6VXNlcjc0MjYzMw==" }, + { "id": "MDQ6VXNlcjEyMTU4NzM=" }, + { "id": "MDQ6VXNlcjE5Mzk4MTM=" }, + { "id": "MDQ6VXNlcjM4ODMyNDE=" }, + { "id": "MDQ6VXNlcjEyNjkxOTE4" }, + { "id": "MDQ6VXNlcjE5ODIxMTcx" }, + { "id": "MDQ6VXNlcjIxMTI5NjM5" }, + { "id": "MDQ6VXNlcjI1NDA0Nzgz" }, + { "id": "MDQ6VXNlcjM4OTYyMjQz" }, + { "id": "MDQ6VXNlcjQ2NjEyOTMz" }, + { "id": "MDQ6VXNlcjY4NDAzMzQw" }, + { "id": "U_kgDOBef8kg" }, + { "id": "U_kgDOBewVSw" }, + { "id": "U_kgDOCR6ywQ" } + ] + } + }, { "name": "Hacky Hour", "members": { "nodes": [ - { "id": "cat" }, - { "id": "mouse" }, - { "id": "squirrel" } + { "id": "MDQ6VXNlcjc0MjYzMw==" }, + { "id": "MDQ6VXNlcjY5NDcwODk=" }, + { "id": "MDQ6VXNlcjEyNjkxOTE4" } ] } }, { "name": "Coffee and Code", "members": { - "nodes": [{ "id": "dog" }, { "id": "cat" }] + "nodes": [ + { "id": "MDQ6VXNlcjc0MjYzMw==" }, + { "id": "MDQ6VXNlcjEyMTU4NzM=" }, + { "id": "MDQ6VXNlcjEyNjkxOTE4" }, + { "id": "MDQ6VXNlcjIxMTI5NjM5" }, + { "id": "MDQ6VXNlcjI1NDA0Nzgz" }, + { "id": "U_kgDOBef8kg" } + ] } } ] @@ -24,39 +80,435 @@ "membersWithRole": { "nodes": [ { - "id": "dog", - "name": "Dog", - "login": "dog", - "bio": "The best dog ever", - "company": "Pets, Inc.", - "avatarUrl": "https://picsum.photos/id/237/200", + "id": "MDQ6VXNlcjc0MjYzMw==", + "name": "Julian Pistorius", + "login": "julianpistorius", + "bio": "Organic Software Gardener 🍅", + "company": "Exosphere Project", + "avatarUrl": "https://avatars.githubusercontent.com/u/742633?u=204cc5138bfb07ef7332d3fa1d885bbbbe9e7281&v=4", + "socialAccounts": { "edges": [] } + }, + { + "id": "MDQ6VXNlcjEyMTU4NzM=", + "name": "Alex Bigelow", + "login": "alex-r-bigelow", + "bio": "I research how (and build software for!) people as they think about, reshape, and visualize data", + "company": null, + "avatarUrl": "https://avatars.githubusercontent.com/u/1215873?u=9a4a9336866c4a348a0bb220a6e0490963bf32b5&v=4", + "socialAccounts": { + "edges": [ + { + "node": { + "provider": "LINKEDIN", + "url": "https://www.linkedin.com/in/alex-bigelow-65145259/" + } + } + ] + } + }, + { + "id": "MDQ6VXNlcjE5Mzk4MTM=", + "name": "Jeff Oliver", + "login": "jcoliver", + "bio": "", + "company": "University of Arizona", + "avatarUrl": "https://avatars.githubusercontent.com/u/1939813?u=d39a4cac18c94ef60a298c2ad5fa82bb73fc30c3&v=4", + "socialAccounts": { + "edges": [ + { + "node": { + "provider": "TWITTER", + "url": "https://twitter.com/jcoliverAZ" + } + } + ] + } + }, + { + "id": "MDQ6VXNlcjM4ODMyNDE=", + "name": "Soham Pal", + "login": "e-eight", + "bio": "Computing Sciences Researcher II at The University of Arizona.", + "company": "The University of Arizona", + "avatarUrl": "https://avatars.githubusercontent.com/u/3883241?u=bb818aa9153eb92f57ae7b878a39faed4988f025&v=4", + "socialAccounts": { + "edges": [ + { + "node": { + "provider": "TWITTER", + "url": "https://twitter.com/dragonbornmonk" + } + } + ] + } + }, + { + "id": "MDQ6VXNlcjY2MTczMzI=", + "name": "Meghan Balk", + "login": "megbalk", + "bio": "", + "company": "Natural History Museum, University of Oslo", + "avatarUrl": "https://avatars.githubusercontent.com/u/6617332?u=3836c3ffa014b36b188f4f45297f26461fb39a67&v=4", + "socialAccounts": { "edges": [] } + }, + { + "id": "MDQ6VXNlcjY5NDcwODk=", + "name": "Ryan Bartelme", + "login": "rbartelme", + "bio": "Staff Data Scientist in biotechnology research and development", + "company": "Accelerate Diagnostics", + "avatarUrl": "https://avatars.githubusercontent.com/u/6947089?u=9cc0c86dc9db92eb4358b6b9643b79db33b279f2&v=4", + "socialAccounts": { + "edges": [ + { + "node": { + "provider": "TWITTER", + "url": "https://twitter.com/MicrobialBart" + } + } + ] + } + }, + { + "id": "MDQ6VXNlcjcwODIwMjU=", + "name": "Fernando Rios", + "login": "zoidy", + "bio": "-_-", + "company": null, + "avatarUrl": "https://avatars.githubusercontent.com/u/7082025?v=4", + "socialAccounts": { + "edges": [ + { + "node": { + "provider": "MASTODON", + "url": "https://fosstodon.org/@riosfrnd" + } + } + ] + } + }, + { + "id": "MDQ6VXNlcjEwMzM1NDc5", + "name": "Adriana Picoral", + "login": "picoral", + "bio": "", + "company": "University of Arizona", + "avatarUrl": "https://avatars.githubusercontent.com/u/10335479?u=b9414a8cb122c29d6c8544baea85a84c6baab939&v=4", + "socialAccounts": { + "edges": [ + { + "node": { + "provider": "TWITTER", + "url": "https://twitter.com/adrianapicoral" + } + } + ] + } + }, + { + "id": "MDQ6VXNlcjExMDIzMzE3", + "name": "Blake Joyce", + "login": "bjoyce3", + "bio": "I'm a code curious biologist.", + "company": "University of Alabama at Birmingham", + "avatarUrl": "https://avatars.githubusercontent.com/u/11023317?u=7200ca4bee6441f2ef582f70df5fe39bd236e3ee&v=4", + "socialAccounts": { "edges": [] } + }, + { + "id": "MDQ6VXNlcjExNTI3MDQx", + "name": "Tyson L. Swetnam", + "login": "tyson-swetnam", + "bio": "Director of Open Science & Associate Professor at the University of Arizona, Institute for Computation and Data Enabled Insight ", + "company": "University of Arizona, CyVerse", + "avatarUrl": "https://avatars.githubusercontent.com/u/11527041?u=2cefefd17d2dc2ec8243b7a1f53a620f1fde2ff4&v=4", + "socialAccounts": { + "edges": [ + { + "node": { + "provider": "TWITTER", + "url": "https://twitter.com/tswetnam" + } + }, + { + "node": { + "provider": "LINKEDIN", + "url": "https://www.linkedin.com/in/tyson-swetnam/" + } + } + ] + } + }, + { + "id": "MDQ6VXNlcjEyMDIyMDc2", + "name": "Jessica Guo", + "login": "jessicaguo", + "bio": "", + "company": "University of Arizona, CCT Data Science", + "avatarUrl": "https://avatars.githubusercontent.com/u/12022076?u=377f60f40b83a81b1e57ef8518406bc38ce6748f&v=4", + "socialAccounts": { + "edges": [ + { + "node": { + "provider": "TWITTER", + "url": "https://twitter.com/JessicaSGuo" + } + } + ] + } + }, + { + "id": "MDQ6VXNlcjEyNjkxOTE4", + "name": "Brandon Jernigan", + "login": "brandon-jernigan", + "bio": null, + "company": null, + "avatarUrl": "https://avatars.githubusercontent.com/u/12691918?u=a1c7d45e5755e99746ae358919406cc7f163b192&v=4", + "socialAccounts": { "edges": [] } + }, + { + "id": "MDQ6VXNlcjE5ODIxMTcx", + "name": "Laura W. Dozal", + "login": "lwdozal", + "bio": "PhD Student at the University of Arizona's School of Information", + "company": null, + "avatarUrl": "https://avatars.githubusercontent.com/u/19821171?u=3cca330b757c209c3c1547844a3ad81508304b58&v=4", + "socialAccounts": { "edges": [] } + }, + { + "id": "MDQ6VXNlcjIwMzA1NzM0", + "name": "Chun Ly", + "login": "astrochun", + "bio": "Staring at the universe's data in the dark.", + "company": "Princeton Plasma Physics Lab; Steward Obs", + "avatarUrl": "https://avatars.githubusercontent.com/u/20305734?u=84a111e22eef413d58e1370acea7cb12d075fc05&v=4", + "socialAccounts": { + "edges": [ + { + "node": { + "provider": "TWITTER", + "url": "https://twitter.com/astrochunly" + } + } + ] + } + }, + { + "id": "MDQ6VXNlcjIxMTI5NjM5", + "name": "Heidi Steiner", + "login": "hidyverse", + "bio": "", + "company": "University of Arizona", + "avatarUrl": "https://avatars.githubusercontent.com/u/21129639?u=f02dbb9a9ecfad325fa0ead8378f8d77f9150012&v=4", + "socialAccounts": { "edges": [] } + }, + { + "id": "MDQ6VXNlcjIyMzgxNTM2", + "name": null, + "login": "chrisreidy", + "bio": "", + "company": null, + "avatarUrl": "https://avatars.githubusercontent.com/u/22381536?u=5925008755e77dd5f884bd288ed6c0ff6f29a25d&v=4", + "socialAccounts": { "edges": [] } + }, + { + "id": "MDQ6VXNlcjI1MjM1MjI4", + "name": "Jennifer Nichols", + "login": "jennytnichols", + "bio": "Librarian @ University of Arizona\r\nDirector, Catalyst Studios\r\n@resbazaz organizer\r\n", + "company": null, + "avatarUrl": "https://avatars.githubusercontent.com/u/25235228?u=84becdeac90a0ca8727cfcbfac7988ba13baca46&v=4", + "socialAccounts": { "edges": [] } + }, + { + "id": "MDQ6VXNlcjI1NDA0Nzgz", + "name": "Eric R. Scott", + "login": "Aariq", + "bio": "Scientific Programmer & Educator at University of Arizona", + "company": "University of Arizona, @cct-datascience", + "avatarUrl": "https://avatars.githubusercontent.com/u/25404783?u=bf39b8163e91fb40423676c1806a9fc1ed665c0c&v=4", + "socialAccounts": { + "edges": [ + { + "node": { + "provider": "TWITTER", + "url": "https://twitter.com/leafyericscott" + } + }, + { + "node": { + "provider": "MASTODON", + "url": "https://fosstodon.org/@LeafyEricScott" + } + }, + { + "node": { + "provider": "LINKEDIN", + "url": "https://www.linkedin.com/in/eric-r-scott-phd/" + } + } + ] + } + }, + { + "id": "MDQ6VXNlcjM0NDY2OTQx", + "name": "Sarah Stueve", + "login": "sarahstueve", + "bio": "", + "company": "University of Arizona's iSchool", + "avatarUrl": "https://avatars.githubusercontent.com/u/34466941?u=c00f55a3718179e6d8e73acf75d18f3373a59da9&v=4", + "socialAccounts": { "edges": [] } + }, + { + "id": "MDQ6VXNlcjM0NDg2MTU0", + "name": null, + "login": "MagicMilly", + "bio": "Turkeys make excellent companions.", + "company": null, + "avatarUrl": "https://avatars.githubusercontent.com/u/34486154?v=4", + "socialAccounts": { "edges": [] } + }, + { + "id": "MDQ6VXNlcjM2MTczNDkw", + "name": "Joanne B", + "login": "jberghout", + "bio": "Computational geneticist", + "company": "NIH", + "avatarUrl": "https://avatars.githubusercontent.com/u/36173490?v=4", + "socialAccounts": { + "edges": [ + { + "node": { + "provider": "TWITTER", + "url": "https://twitter.com/joanneberghout" + } + } + ] + } + }, + { + "id": "MDQ6VXNlcjM4OTYyMjQz", + "name": "Greg T. Chism", + "login": "Gchism94", + "bio": "Data Scientist | PhD, University of Arizona | R/RStudio Evangelist", + "company": "University of Arizona", + "avatarUrl": "https://avatars.githubusercontent.com/u/38962243?u=7ec452e5b8489ddbd966d22fdd5984332225c2ad&v=4", + "socialAccounts": { "edges": [] } + }, + { + "id": "MDQ6VXNlcjQxNzA2OTE1", + "name": "Rebecca Vanderpool", + "login": "vanderpoolrr", + "bio": "", + "company": null, + "avatarUrl": "https://avatars.githubusercontent.com/u/41706915?u=f94237b4dc3896de97d3fd66872ac172fb638337&v=4", + "socialAccounts": { "edges": [] } + }, + { + "id": "MDQ6VXNlcjQ2NjEyOTMz", + "name": "Miriam Keppler", + "login": "kepplerm", + "bio": "Astronomer, Data Scientist, Space Science & EO Enthusiast", + "company": null, + "avatarUrl": "https://avatars.githubusercontent.com/u/46612933?v=4", + "socialAccounts": { "edges": [] } + }, + { + "id": "MDQ6VXNlcjQ3NzY2MDc0", + "name": "Drake Asberry", + "login": "drakeasberry", + "bio": "", + "company": "GSA", + "avatarUrl": "https://avatars.githubusercontent.com/u/47766074?u=6e52d4344ed85cd5c8b5e873ec28f1d5e74907e9&v=4", + "socialAccounts": { "edges": [] } + }, + { + "id": "MDQ6VXNlcjU2NzAyNjAw", + "name": "Lia Ossanna", + "login": "lossanna", + "bio": "", + "company": "University of Arizona", + "avatarUrl": "https://avatars.githubusercontent.com/u/56702600?u=03ece3573c51cb41e21197f7c2071d122d5e25a8&v=4", + "socialAccounts": { + "edges": [ + { + "node": { + "provider": "TWITTER", + "url": "https://twitter.com/LiaOssanna" + } + } + ] + } + }, + { + "id": "MDQ6VXNlcjYxMzI5OTE2", + "name": null, + "login": "rbelshe", + "bio": null, + "company": null, + "avatarUrl": "https://avatars.githubusercontent.com/u/61329916?v=4", + "socialAccounts": { "edges": [] } + }, + { + "id": "MDQ6VXNlcjY4NDAzMzQw", + "name": "Emma Reich", + "login": "egreich", + "bio": "PhD Student in Ecological and Environmental Informatics,\r\nSchool of Informatics, Computing, and Cyber Systems\r\n \r\n\r\n", + "company": "Northern Arizona University", + "avatarUrl": "https://avatars.githubusercontent.com/u/68403340?u=d3e846be891006b37a7aae3b74c7ecde9d0ab6fd&v=4", + "socialAccounts": { + "edges": [ + { + "node": { + "provider": "TWITTER", + "url": "https://twitter.com/ecophys_emma" + } + } + ] + } + }, + { + "id": "MDQ6VXNlcjcyOTQwMjg2", + "name": null, + "login": "karendelarosa", + "bio": null, + "company": null, + "avatarUrl": "https://avatars.githubusercontent.com/u/72940286?u=c0d118c3c830aa038eb2993753b42979431b3dd2&v=4", + "socialAccounts": { "edges": [] } + }, + { + "id": "U_kgDOBdICzA", + "name": "Laura Palacios Falk", + "login": "LauraFalk", + "bio": "", + "company": null, + "avatarUrl": "https://avatars.githubusercontent.com/u/97649356?v=4", "socialAccounts": { "edges": [] } }, { - "id": "cat", - "name": "Cat", - "login": "cat", - "bio": "wut", - "company": "Pets, Inc.", - "avatarUrl": "https://picsum.photos/id/238/200", + "id": "U_kgDOBef8kg", + "name": null, + "login": "val-pf", + "bio": "", + "company": "University of Arizona", + "avatarUrl": "https://avatars.githubusercontent.com/u/99089554?u=1441d55ea7637555aca31523963c26a68df6f57f&v=4", "socialAccounts": { "edges": [] } }, { - "id": "mouse", - "name": "Mouse", - "login": "mouse", - "bio": "i heart cheese", - "company": "roDENTS", - "avatarUrl": "https://picsum.photos/id/239/200", + "id": "U_kgDOBewVSw", + "name": null, + "login": "TinaJAZ", + "bio": null, + "company": null, + "avatarUrl": "https://avatars.githubusercontent.com/u/99358027?v=4", "socialAccounts": { "edges": [] } }, { - "id": "squirrel", - "name": "Squirrel", - "login": "squirrel", - "bio": "you'll never find my acorns", - "company": "roDENTS", - "avatarUrl": "https://picsum.photos/id/240/200", + "id": "U_kgDOCR6ywQ", + "name": "Ethan Jahn", + "login": "ejahnUA", + "bio": "", + "company": "University of Arizona", + "avatarUrl": "https://avatars.githubusercontent.com/u/153006785?u=d14316c1567ab29135738cc82d41d37607b9963f&v=4", "socialAccounts": { "edges": [] } } ] diff --git a/index.qmd b/index.qmd index 0bedc75..abe590f 100644 --- a/index.qmd +++ b/index.qmd @@ -99,7 +99,7 @@ randomAvatars("Hacky Hour"); **Who you're likely to see**: ```{ojs} -randomAvatars("ResBaz Festival"); +randomAvatars("Festival2024"); ``` ::: From 1aef41197a8bbc74cde72e6d588856429c790666 Mon Sep 17 00:00:00 2001 From: Alex Bigelow Date: Sun, 31 Mar 2024 09:45:18 -0700 Subject: [PATCH 4/5] Add documentation --- README.md | 36 +++++++++++++++++++++--------------- components/randomAvatars.ojs | 22 +++++++++++++++------- 2 files changed, 36 insertions(+), 22 deletions(-) diff --git a/README.md b/README.md index fdc6afc..17bd0c6 100644 --- a/README.md +++ b/README.md @@ -10,21 +10,13 @@ ### 2\. Clone this Repository -(TODO: need to update this if/when the repo moves!) - ``` -git clone https://github.com/resbazaz/website-draft -# TODO: switch to this once the website is ready: -# git clone https://github.com/resbazaz/website.git +git clone https://github.com/resbazaz/website.git ``` -### 3\. TODO - -(probably need python, r, etc setup... might be optional?) - -### 4. Previewing changes +### 3. Previewing changes -This should build the website on your machine, serve it locally, and open a browser window to see any changes as you make them: +This should build the website on your machine, serve it locally. This should automatically open a browser window, showing any changes as you make them: ``` cd website @@ -39,11 +31,15 @@ TODO: basic git fork + commit + PR flow ### Editing page contents -TODO: where to find markdown +TODO: document qmd files, `_quarto.yml` + +### Updating page components + +TODO: link to quarto docs -### Updating page elements +We have a few custom elements, in the `components` directory (documentation about each should be in the corresponding file): -TODO: where to find HTML, how includes and \_data work +- [randomAvatars](https://github.com/resbazaz/website/blob/main/components/randomAvatars.ojs) ### Customizing styles @@ -53,7 +49,17 @@ TODO: Alpine, Tailwind stuff TODO: document `.github/workflows/build.yml` -Be advised that `localData/people.json` in your local respository is just an example file, that will be overwritten by the latest ResBazAZ teams on Github—so to update who is shown, and what teams are shown, you should edit the Github teams, not the JSON file. +### Data about people + +`data/people.json` is a collection of public GitHub profiles, for people in our organization. It is used to create various visual elements, such as the `randomAvatars` widget, or the `nodeLinkDiagram` visualization on the "Who We Are" page. + +This file is automatically generated whenever a branch is merged to `main`. For details on how this works, see [Changing how Github builds and deploys the site](#changing-how-github-builds-and-deploys-the-site). + +A few things to be careful about: + +1. To update who is shown, what teams are shown, etc., you should edit the `resbazaz` GitHub organization Teams and encourage members to updaite their GitHub profiles, instead of editing `data/people.json` directly. +2. The information in your local repository may not always be up to date. For the latest information, especially when you're developing locally, navigate to `https://researchbazaar.arizona.edu/data/people.json`, and download it to replace `data/people.json` +3. Although this is currently just a copy of publicly-available information, please keep in mind that it's still data about people! Especially if we adapt this process to include more than public GitHub profiles, where this data is stored / how it is collected may need to be revised. ### Reconfiguring the site's infrastructure diff --git a/components/randomAvatars.ojs b/components/randomAvatars.ojs index c38b78f..1d049d8 100644 --- a/components/randomAvatars.ojs +++ b/components/randomAvatars.ojs @@ -1,5 +1,12 @@ -peopleFile = FileAttachment('data/people.json').json(); +peopleFile = FileAttachment("data/people.json").json(); +/** + * An observable.js widget that shows profile pictures for ResBaz GitHub Team + * members; see index.qmd for examples + * @param teamName A string that should correspond to the name of an entry in + * data/people.json, under data.organization.teams.nodes + * @returns A DOM element that can be embedded via an ojs cell + */ function randomAvatars(teamName) { const team = peopleFile.data.organization.teams.nodes.find( (team) => team.name === teamName @@ -11,13 +18,14 @@ function randomAvatars(teamName) { ) ) .sort(() => 2 * Math.random() - 1); - const container = d3.create('div') - .classed('randomAvatars', true); - container.selectAll('img') + const container = d3.create("div").classed("randomAvatars", true); + container + .selectAll("img") .data(people) .enter() - .append('img') - .attr('src', person => person.avatarUrl) - .attr('title', person => person.name); + .append("img") + .attr("src", (person) => person.avatarUrl) + .attr("title", (person) => person.name); + // TODO: link to the Who We Are page, when a profile picture is clicked return container.node(); } From afca6cbd139ec38b2d1287926bedfddd09647138 Mon Sep 17 00:00:00 2001 From: Alex Bigelow Date: Sun, 31 Mar 2024 09:47:09 -0700 Subject: [PATCH 5/5] Wrap randomAvatars --- components/randomAvatars.ojs | 4 +++- styles/index.css | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/components/randomAvatars.ojs b/components/randomAvatars.ojs index 1d049d8..e40344d 100644 --- a/components/randomAvatars.ojs +++ b/components/randomAvatars.ojs @@ -2,7 +2,9 @@ peopleFile = FileAttachment("data/people.json").json(); /** * An observable.js widget that shows profile pictures for ResBaz GitHub Team - * members; see index.qmd for examples + * members; see index.qmd for examples. Additionally, some relevant styles are + * in styles/index.css + * * @param teamName A string that should correspond to the name of an entry in * data/people.json, under data.organization.teams.nodes * @returns A DOM element that can be embedded via an ojs cell diff --git a/styles/index.css b/styles/index.css index 2e190f5..7ddf0b1 100644 --- a/styles/index.css +++ b/styles/index.css @@ -29,6 +29,7 @@ } .randomAvatars { display: flex; + flex-wrap: wrap; gap: 1em; } .randomAvatars img {