Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CalChart's new Viewer File exporter #161

Open
kmdurand opened this issue Feb 5, 2015 · 12 comments
Open

CalChart's new Viewer File exporter #161

kmdurand opened this issue Feb 5, 2015 · 12 comments

Comments

@kmdurand
Copy link
Contributor

kmdurand commented Feb 5, 2015

The CalChart Online Viewer has been held back a little by the way that CalChart has been exporting viewer files. I'm updating CalChart in a couple ways right now that should improve things on the viewer side:

  1. CalChart will now support "stand" commands, instead of just making everyone mark time
  2. "Even" commands will only be used when Stunt intentionally specifies even-step movements; that means that all regular movements will be broken down into "move" commands for the viewer, instead of "even" commands

The main change that this will cause for the viewer, as far as I can tell, is the way that PDFs are generated. Correct me if I'm wrong, but I believe that the viewer currently looks at each even step command and convert it to a move command if the step size is right; that won't be necessary anymore, since all non-even step movements will be provided explicitly.

@kmdurand
Copy link
Contributor Author

kmdurand commented Feb 5, 2015

I think the easiest way to fix this up is to just prevent the viewer from predicting which "even" commands should be "move" commands, and then to re-export all of the old 2014 shows for the server so that they no longer rely on that feature of the viewer.

@brandonchinn178
Copy link
Contributor

I think it's fine to keep as it is, just for future error-proofing reasons. What if STUNT mislabels a step type? It's fine, because we have catching for those situations. After all, it's not like the unnecessary code will make anything wrong, it's just a bit more code we can keep in there.

@noahsark769
Copy link
Contributor

"Unnecessary code is ALWAYS a problem" - Mark Twain

Brandon I disagree about this, I think we should definitely render the PDF
based on what the format says rather than based on what the viewer thinks:
that would break the entire abstraction. I don't think we need to over
correct for STUNT charting a type wrong, and on the contrary I think we
should always do whatever STUNT wants, whether it doesn't make sense or
not, because at least then STUNT will be able to triage any issues
themselves.

The reason why projects get bloated and not maintainable is because we
leave in code that doesn't make sense just for fun :)

What do you think?
On Thu, Feb 5, 2015 at 3:29 PM Brandon Chinn [email protected]
wrote:

I think it's fine to keep as it is, just for future error-proofing
reasons. What if STUNT mislabels a step type? It's fine, because we have
catching for those situations. After all, it's not like the unnecessary
code will make anything wrong, it's just a bit more code we can keep in
there.


Reply to this email directly or view it on GitHub
#161 (comment)
.

@brandonchinn178
Copy link
Contributor

Yea, sure, sounds fine. I just assumed you would prefer the catching just-in-case

@noahsark769
Copy link
Contributor

Nope nope, with cal band code you gotta choose maintainability every time
On Thu, Feb 5, 2015 at 5:11 PM Brandon Chinn [email protected]
wrote:

Yea, sure, sounds fine. I just assumed you would prefer the catching
just-in-case


Reply to this email directly or view it on GitHub
#161 (comment)
.

@brandonchinn178
Copy link
Contributor

@kmdurand let me know when you fix calchart so i can fix the code

@kmdurand
Copy link
Contributor Author

kmdurand commented Sep 1, 2015

Yup, I'll let you know

@brandonchinn178
Copy link
Contributor

@kmdurand status on this?

@kmdurand
Copy link
Contributor Author

kmdurand commented Sep 1, 2016

Lol haven't worked on this a ton. I'll try to check it out in the next few days and see what kind of time I'd need for this

@brandonchinn178
Copy link
Contributor

maybe migrate to letting @dpgrubb13 and @belinda-liu work on this?

@kmdurand
Copy link
Contributor Author

If they'd like to! @dpgrubb13 @belinda-liu What do you think?

@rmpowell77
Copy link
Contributor

I've just added Close to CalChart with 3.7.1. Using this to add the close to CalChart Viewer.

rmpowell77 added a commit that referenced this issue Apr 15, 2024
Adding a new Movement for Close and changing the current Stand to Stand and Play.

Close should just print a direction, not for how long, and Stand & Play is CalBand convention, so using that syntax.

Also, updated to allow quick gen, where we can generate PDF without having to go to the next screen.
rmpowell77 added a commit that referenced this issue Apr 15, 2024
Adding a new Movement for Close and changing the current Stand to Stand and Play.

Close should just print a direction, not for how long, and Stand & Play is CalBand convention, so using that syntax.

Also, updated to allow quick gen, where we can generate PDF without having to go to the next screen.
rmpowell77 added a commit that referenced this issue Apr 15, 2024
Adding a new Movement for Close and changing the current Stand to Stand and Play.

Close should just print a direction, not for how long, and Stand & Play is CalBand convention, so using that syntax.

Also, updated to allow quick gen, where we can generate PDF without having to go to the next screen.
christina-yao added a commit that referenced this issue Jun 5, 2024
Issue #161: Support CalChart's new Viewer File exporter with Close
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

No branches or pull requests

4 participants