Skip to content

Commit

Permalink
Changed highlight color for alt text UFIXIT form + changed makefile c…
Browse files Browse the repository at this point in the history
…ommand to show start-up progress
  • Loading branch information
dmols committed Nov 6, 2024
1 parent 6110a21 commit 93f4bdd
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ APP_LTI_REDIRECT_PATH="/lti/authorize/check"
APP_LTI_NAME="UDOIT 3"
ADMIN_LTI_NAME="UDOIT 3 Admin"
USE_DEVELOPMENT_AUTH="no"
VERSION_NUMBER="3.3.1"
VERSION_NUMBER="3.5.0"


###> symfony/messenger ###
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ Please update this file as you open PRs and make changes to the codebase. Thank

### General

- Changed highlight color of 'alt text' for the UFIXIT form to meet all accessibility standards for color contrast (Thank you, @dmols)
- Added TableNotEmpty rule and UFIXIT issue form to track tables with no content (Thank you, [@AlanFCMV](https://github.com/alanfcmv))
- Increased maximum file upload size allowed, from 1mb to 10mb (Thank you, [@taheralfayad](https://github.com/taheralfayad))
- Changed the description of 'ParagraphNotUsedAsHeader' rule to be less ambiguous since UDOIT has flagged this issue incorrectly before (Thank you, [@taheralfayad](https://github.com/taheralfayad))
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ endif

# spin up the containers
start:
docker compose -f docker-compose.nginx.yml up -d
docker compose -f docker-compose.nginx.yml up

# set up the database
migrate:
Expand Down
4 changes: 2 additions & 2 deletions assets/js/Components/Preview.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,13 +78,13 @@ class Preview extends React.Component {
}

highlightHtml(issueHtml, previewHtml) {
const highlighted = `<span class="highlighted" style="display:inline-block; border:5px dashed #F1F155;">${issueHtml}</span>`
const highlighted = `<span class="highlighted" style="display:inline-block; border:3px dashed #B3002D;">${issueHtml}</span>`
try {
previewHtml = previewHtml.replace(issueHtml, highlighted)
} catch (error) {
console.log(error)
}

return previewHtml
}

Expand Down

0 comments on commit 93f4bdd

Please sign in to comment.