Giter Site home page Giter Site logo

Comments (7)

johnjung avatar johnjung commented on September 11, 2024

I need to figure out which situations I should display labels in...please let me know if you'd like to try the following approach:

  1. Display did elements that include containers like table-rows. In this case, elements other than containers are collected in the rightmost column where each element gets a label, like "title".
  2. When did elements do NOT include containers, display each child as its own one-cell row in the table-like output. (In other words, display each child as a block level element.) In this case, do not generate labels.

(1) is already happening- the difference in (2) is that in situations like the one you mentioned above, labels like "title" won't appear. Most of the children of did elements are unittitle, unitdate, and unitid elements, so hopefully they will be understandable without labels.

Please let me know if you want to try it like this.

The second part of this is balancing the visual weight of things like "Scope and Content" and "Series I: Administration" in your example. This is a little trickier, so I'd like to split that out into a separate issue once we've finished this part.

from bmrcportal.

MomoMoses avatar MomoMoses commented on September 11, 2024

from bmrcportal.

johnjung avatar johnjung commented on September 11, 2024

Ok- the first part of this is now live in the portal test server. Here's the commit.

Please let me know if this looks ok. If so we can move onto the second part.

from bmrcportal.

johnjung avatar johnjung commented on September 11, 2024

Also see #46.

from bmrcportal.

johnjung avatar johnjung commented on September 11, 2024

Part 2 of this looks like it's covered in issue 46. I'm going to close this out, please feel free to reopen if necessary.

from bmrcportal.

MomoMoses avatar MomoMoses commented on September 11, 2024

Rereading this I see that there may have been a misunderstanding. I don't think the labels need to appear in the table-row displays at all. With our without containers.

from bmrcportal.

johnjung avatar johnjung commented on September 11, 2024

Closing this issue again because I believe we have this covered in #46.

from bmrcportal.

Related Issues (20)

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.