Skip to content
This repository has been archived by the owner on Aug 28, 2021. It is now read-only.

capitalisation of client types #5

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

capitalisation of client types #5

wants to merge 1 commit into from

Conversation

PaulPoinet
Copy link

Maybe not an issue per se, but just wanted to point this out...

I noticed that the client.type in store.js is specificied either as a sender or receiver (not capitalized). However, the current SpeckleRhino app produces clients which are specified as Sender or Receiver (capitalized). Not sure what is right or wrong, but I think it should be consistent and the exact same everywhere?

Affected project:
For example, this affects SpeckleViz, as it checks for Sender and Receiver types and not sender or receiver types... SpeckleExcel, on the other hand, built with SpeckleUiApp, produces sender or receiver types. This results in isolated Excel islands which are disconnected on the graph, see below ¯_(ツ)_/¯

I'm aware that I'm very nit-picky here, I could also convert all the types in lowercase and check them against it in SpeckleViz, but I think beyond the latter, it's good to remain consistent through all repos...

image

@teocomi
Copy link
Member

teocomi commented Mar 3, 2020

Fine by me, not sure how that field is used elsewhere @didimitrie ?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants