GithubHelp home page GithubHelp logo

princeton-cdh / lenape-timetree Goto Github PK

View Code? Open in Web Editor NEW
4.0 4.0 1.0 72.03 MB

Source code for the CDH-sponsored Lunaapahkiing Princeton Timetree research project

Home Page: https://lenapetimetree.indigenous.princeton.edu/

License: Apache License 2.0

JavaScript 54.11% HTML 13.85% SCSS 32.04%
d3js data-visualization digital-humanities hugo-site indigenous-peoples

lenape-timetree's People

Contributors

gissoo avatar quadrismegistus avatar rlskoeser avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

dhcodereview

lenape-timetree's Issues

As a user, I want timetree data points represented by leaf shapes so that the interface is more organic and I can more easily understand the visual as a tree.

dev notes

  • adapt initial function for drawing leaves (see https://observablehq.com/d/32bcd3234e4021e1 )
  • use leaves instead of circles for nodes in the graph
  • rotate leaves to adjust orientation based on tree or branch and/or position on the screen

Note that the leaf function likely needs more variation, will benefit from Gissoo's input when she's able to respond

As a keyboard or screen user, I want to navigate the timetree without a mouse or touch device so that I can explore the content in multiple paths and access all the information in a manner that is equivalent to the experience of a sighted user.

dev notes

  • make leaves keyboard navigable
  • make keyboard nav order logical
  • make the leaves buttons (role = button)
    • aria label: display title of the leaf
    • area described by: display date and branch
    • trigger button on enter & space bar; transfer focus in, then close button transfers focus back.
  • disable leaf button when tag is active and leaf does not have tag
  • make the panel act like a modal (transfer focus; announce; for keyboard user, send them to the close button after tabbing through last tag; return focus to the next leaf after the clicked one)
  • separate tag from panel: closing panel should no longer close the tag
  • h2 equivalent label for each branch (possible target from the branch legend in the intro)
  • make the footer tab order first before the tree
  • make the intro dom order first before the tree
  • allow zoom on desktop (tracked separately)
  • buttons for zoom in/out (tracked separately)
  • #199
  • ensure visually hidden content is also hidden from screen readers
  • ensure visually hidden/disabled buttons are disabled or hidden from screen readers

revisions after testing:

  • update node order in the dom to follow visual left-to-right branch order
  • revert focus style customization for active tag close button
  • ensure invisible branch headers retain tabindex="-1" (focussable but not part of default tab sequence)
  • clean up focus style for invisible branch header when focused
  • when tag is active, make tagging act like a modal (contain within tree + tag)

As a content editor, I want to optionally include images in leaf content so that I can provide illustrations and visual engagement for the timetree information.

dev notes

As a user, when I select a leaf in the timetree, I want to see details for that event so that I can read about it in detail.

dev notes

updates based on whiteboarding conversation 2022-12-08:

  • change svg width to 800
  • svg container width to 65% on desktop
  • selected leaf panel should be 28% on desktop
    • panel on mobile: full width; tablet/1024 (768 up?), max width should be 320px, centered
    • configure percy to take snapshots for 768, 1024 for selected leaf only
  • homepage intro text should be in the same space as the selected leaf panel (show at start / show when not selected)

Search for and propose tyepfaces, and visual styles for the site

This is the first round, and was reviewed by Rebecca.

The next steps regarding this issue are:

  • look into if and how fonts with commercial licenses can be used on a site on github pages
  • continue search for typefaces that can be used on our site (keep looking on google fonts)
  • apply more colors options for the site

setup percy visual review workflow

Adapt from geniza; start with homepage (should eventually have one content page also). At least mobile + desktop; maybe a tablet size also.

Data viz Design

This issue tracks design work through the CDH design review workflow.

Here is a link to the

Description:

How the proposal/idea can fail:

Questions:

  1. Does the idea and/or the design make sense to you? If not, please say why
  2. Is there anything that you expected to see and is missing?

Additional context
Add any other context or screenshots about the design here.

As a user I want to read the other pages on the site so that I can learn more about project

In scope:

  • grid on desktop (i.e. width of the content on the page)
  • H1 and H2 styles and spacing
  • paragraph styles
  • bullet styles
  • image and image caption styles
  • link styles
  • resources/citation styles (indents, italics, links, spacing)
  • list styles (spacing and header styles)
  • spacing between elements

NOTE: I am not creating a single page design for each root page, instead I'm proposing all the styles on one page and showing how they would apply to our content (taken from the root data docs on the drive).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.