Skip to content

Conversation

cjsha
Copy link
Member

@cjsha cjsha commented Dec 31, 2024

Resolve #171

image
The space between the header and the badge for a hyperlink to appear when hovering the cursor there.

Something I don't like from this initial commit is that I have red and green badges to distinguish between acquisition and device properties. I'm worried that there is an instinctual heuristic that red = bad and green = good that I don't want to evoke from people skimming our docs. I can use different colors, but we might want to reserve two colors to for badges when attempting a solution for #98.

- Add content to configure.md
- Edit content on property-categories.md
@cjsha cjsha requested review from bparks13 and jonnew December 31, 2024 20:15
@jonnew
Copy link
Member

jonnew commented Jan 1, 2025

This looks very good. Better than original idea.

I think maybe the word "aggregate" is a bit scary. Which is why Cris originally came up with "MultiDeviceFactory". So I might want to change that. Also "aggregate" is an adjective, noun, and verb! So its confusing in this sense as well. Maybe "Device Group"

Another note -- is there a reason these are lowercased? I think they should be uppercase: "Device", "Acquisition", etc.

re Red = bad: yeah thats true. I think we just need to design some more colors. For instance, orange and green like is used in RP2040 docs that I happen to be looking at:

image

@cjsha
Copy link
Member Author

cjsha commented Jan 2, 2025

I was originally limiting myself to these colors but I saw how bootstrap generates an alert's background color, border color, and text color (and their dark versions) from a given base color so I expanded the available color palette. For example:

image                                      image

Those are all the badges I foresee being used in these docs and my proposal for their colors but we can make more colors if we need to. Currently "Configuration" is yellow, but I think opposing labels should oppose on the primary/secondary color wheel so I switched it to orange in the above screenshot. Fixed-rate and variable-rate refer to "event-based" and "streaming" data operators in #98.

- capitalize badges
- "Aggregate" -> "Device Group"
- hard wrap 100 characters instead of 120
@jonnew
Copy link
Member

jonnew commented Jan 15, 2025

These badges look great. @cjsha and I discussed the Fixed and Variable rate badges IRL and realized that it might be difficult to maintain since they would need to be manually added or we would need to make up an attribute for data operators and apply that in the source code. Both sound clunky. Additionally, at the end of the day, from the API's perspective and in Bonsai, there is only variable rate data because everything is asynchronous. So, lets couch that for now.

In the meantime, I would replace the red device color with the nice purple from the the proposed variable rate tag.

Copy link
Member

@jonnew jonnew left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The colors for the tags dont show up in duck duck go browser

@cjsha
Copy link
Member Author

cjsha commented Jan 16, 2025

i tried ddg on my machine without changing anything and the badge colors show. if you update, does it work? the problem might be something else.

image

bparks13 and others added 4 commits January 21, 2025 17:31
Additionally:
- To be consistent with my work in `branch-93` (as of `28f9507`) and imo more effectively disambiguate the two types of configuration operators:
  - Device Configuration Operator -> Single Device   Configuration Operator
  - Device Group Configuration Operator -> Multi-Device Configuration Operator
- Add description of what a device is
- Change color of `Single-device` badge red --> purple
- Reduce excessive formatting (specifically hyperlinks don't need to be wrapped in back ticks)
@jonnew jonnew self-requested a review February 10, 2025 16:10
@jonnew
Copy link
Member

jonnew commented Feb 24, 2025

I think we can revisit this now, but it should go in the Bonsai reference section. Also, lets make the Device tag something other than Red, e.g. purple?

- Previously, these Device/Device-Group descriptors were in the "Getting Started" section
- jonnew's commit introduced warnings when building the docs which motivated me to try and fix the xref issue #70. This fix seems to work and we can avoid these warnings. That's what the changes to the .js files are concerning.
- I made sure the term "Device Group" (including caps) was used throughout, not "Device Aggregate" or "Multi-Device" for consistency with the badge
- I made sure the term "Device" (including caps) was used throughout instead of "Single-Device" for consistency with the badge
@cjsha
Copy link
Member Author

cjsha commented Feb 27, 2025

I've moved this to #223

@cjsha cjsha closed this Feb 27, 2025
@cjsha cjsha deleted the issue-171 branch February 27, 2025 19:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Inconsistancy in Devices versus acquisition, and configuration tags

3 participants