Skip to content
This repository has been archived by the owner on Dec 23, 2024. It is now read-only.

Senior Design Project #102

Merged
merged 20 commits into from
Sep 4, 2021
Merged

Senior Design Project #102

merged 20 commits into from
Sep 4, 2021

Conversation

BP4rker
Copy link
Contributor

@BP4rker BP4rker commented Sep 2, 2021

We were able to tackle a few of the issues that you posted. We have those documented in the readme

Brett Parker and others added 17 commits April 5, 2021 19:33
Converted the Procedures doc and Test-Plan to docs/todo/ directory in
a more parseable format.  The content for these can then be later
integrated in with the project as entries in the change log and existing
documentation.

The out/ directory was removed since it looked like it was just
generated from jsdoc and had no content.

The added files to the bin/ directory were also removed since they are
generated.
This uses a locally hosted click sound that meets license requirements.
Will still need to add the attribution details to the credits page.
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- name: Test with pytest
run: |
python -m unittest
Copy link
Owner

Choose a reason for hiding this comment

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

Well, having this run every time on changes to develop would be a good idea. That will definitely help with keeping the unit tests up to date. I might temporarily disable this action until those tests have been cleaned up.

@@ -28,7 +28,7 @@ shift "$((OPTIND-1))";

# Defaults
SECURE_COOKIE_SECRET="chocolate chip"
MUPPET_CHARACTER="rizzo"
MUPPET_CHARACTER="pepethekingprawn"
Copy link
Owner

Choose a reason for hiding this comment

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

We'll need to add a picture of this character to the site somewhere. Maybe it could be an easter egg.

if [ -n "${NEW_PUZZLE_CONTRIB}" ]; then
MUPPET_CHARACTER=${NEW_PUZZLE_CONTRIB}
fi
#if [ -n "${NEW_PUZZLE_CONTRIB}" ]; then
Copy link
Owner

Choose a reason for hiding this comment

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

This can be uncommented. I've fixed the issue.

pyvenv.cfg Outdated
@@ -0,0 +1,4 @@
home = /usr/bin
Copy link
Owner

Choose a reason for hiding this comment

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

Not sure if this is needed. The other PR I did on your repo I remove it.

@@ -11,3 +11,18 @@
line-height: 1;
vertical-align: middle;
}
.pm-PuzzleLatency-value-green {
Copy link
Owner

Choose a reason for hiding this comment

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

This looks good and it works. Thanks!

I might change it a bit in the future to use the design tokens and get the colors and such from there.

@@ -358,6 +362,25 @@ customElements.define(
);
this.draggedPieceID = null;
}
document.addEventListener("keydown", (event) => {
Copy link
Owner

Choose a reason for hiding this comment

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

A few issues with this one like it was mentioned in the Procedures doc. I might temporarily disable this feature before pushing it live until those can be resolved.

@@ -454,6 +496,8 @@ customElements.define(
if ($_piece !== null && karmaData.karmaChange) {
if (karmaData.karmaChange > 0) {
$_piece.classList.add("is-up");
var audio = new Audio("https://www.fesliyanstudios.com/play-mp3/387");
Copy link
Owner

Choose a reason for hiding this comment

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

I changed this to use a sound file that had a compatible license to re-use. See the PR I made on your repo.

@@ -0,0 +1,41 @@
import "./puzzle-time.css";
Copy link
Owner

Choose a reason for hiding this comment

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

This works and I like it. I think this is a good start and could be changed to persist the time a player has spent on a puzzle in future iterations.

full administrative control over this puzzle. These can be gained by donating to the website.
Please click the link below to purchase a puzzle instance!</em>
</p>
<a href="http://puzzle.massive.xyz/d/buy-stuff/">Buy Instance Slot</a>
Copy link
Owner

Choose a reason for hiding this comment

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

This page has actually changed to be more contribution focused. I can reword the purchase part and change it later.

Copy link
Owner

@jkenlooper jkenlooper left a comment

Choose a reason for hiding this comment

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

The other PRs that I've made on the BP4ker/puzzle-massive repo should be approved and merged before I approve this one. Thanks again!

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.

Style the puzzle latency component to be more helpful
3 participants