Commit Graph

47 Commits

Author SHA1 Message Date
6b2e073c6b Merge pull request 'fix-publish-action' (#2) from fix-publish-action into main
Some checks failed
Publish to Server / Deploy (push) Failing after 5s
Reviewed-on: #2
2025-11-08 18:32:38 +00:00
db1fc8590b Update .gitea/workflows/publish.yaml 2025-11-08 18:30:58 +00:00
f9f4db2af1 Update .gitea/workflows/publish.yaml
Signed-off-by: Alexander Lyall <alexander.lyall@adcm.uk>
2025-11-08 18:28:08 +00:00
093e7b8c37 Update .gitea/workflows/publish.yaml
Some checks failed
Publish / publish (push) Failing after 6s
2025-11-08 18:24:31 +00:00
3aba6b3369 Merge pull request 'alexander.lyall-patch-1' (#1) from alexander.lyall-patch-1 into main
Reviewed-on: #1
2025-11-08 18:23:18 +00:00
a83966f7d5 Update .gitea/workflows/publish.yaml 2025-11-08 18:22:36 +00:00
1a86409b69 Delete .gitea/workflows/test-trigger.yaml
Signed-off-by: Alexander Lyall <alexander.lyall@adcm.uk>
2025-11-08 18:19:44 +00:00
4b11e6cf1a Update .gitea/workflows/test-trigger.yaml
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 13s
2025-11-08 18:18:46 +00:00
a1b83f28f0 Update .gitea/workflows/publish.yaml 2025-11-08 18:18:23 +00:00
e7443b8ef1 Update .gitea/publish.yaml 2025-11-08 18:17:44 +00:00
38eceae130 Add .gitea/test-trigger.yaml 2025-11-08 18:17:36 +00:00
376bc96f4f Update .gitea/publish.yml 2025-11-08 18:16:46 +00:00
d9ee26ec8c Update .gitea/publish.yml 2025-11-08 18:11:38 +00:00
7565cf57f1 Update .gitea/publish.yml 2025-11-08 18:09:45 +00:00
9b916876a2 Update .gitea/publish.yml 2025-11-08 18:07:12 +00:00
2670489e33 Add .gitea/publish.yml
Signed-off-by: Alexander Lyall <alexander.lyall@adcm.uk>
2025-11-08 18:05:44 +00:00
f8a86adc40 Merge branch 'main' of https://gitea.adcmnetworks.co.uk/alexander/CS-Box
Merge of minor updates
2025-07-20 14:16:56 +01:00
837f1f3e9f Added show on hover for dropdown menu items 2025-07-20 14:13:40 +01:00
Alexander Davis
c94121646b Update README.md 2025-07-19 19:53:08 +01:00
9bbd8ee3c0 Tracking Update
Updates to site tracking service
2025-05-26 21:51:05 +01:00
f7766d03b0 Create CODEOWNERS 2025-04-24 20:43:24 +01:00
d89c0093fa Upload of Screenshorts 2025-04-24 20:40:45 +01:00
b6cefbfdbe Update CSBox.bsdesign 2025-02-22 11:39:42 +00:00
fc9c5f4c9f Update CSBox.bsdesign 2024-12-11 23:05:49 +00:00
d4441afd55 Wave 2 Beta Release
 Wave 2 Beta Release: New Logic Gates, Improved UX, and Major Enhancements! 

---

## **🆕 New Features**
### **1️⃣ Additional Logic Gates**
#### **🔲 NAND Gate**
- **Fully functional NAND logic** implemented.
- **Truth Table**:
  | **Input A** | **Input B** | **Output (A NAND B)** |
  |-------------|-------------|-----------------------|
  | 0           | 0           | **1** (ON)            |
  | 0           | 1           | **1** (ON)            |
  | 1           | 0           | **1** (ON)            |
  | 1           | 1           | **0** (OFF)           |
- **Toggle buttons** for Input 1 and Input 2 work as expected.
- Lightbulb updates correctly to match the logic output.

#### **🔲 NOR Gate**
- **Fully functional NOR logic** implemented.
- **Truth Table**:
  | **Input A** | **Input B** | **Output (A NOR B)** |
  |-------------|-------------|----------------------|
  | 0           | 0           | **1** (ON)           |
  | 0           | 1           | **0** (OFF)          |
  | 1           | 0           | **0** (OFF)          |
  | 1           | 1           | **0** (OFF)          |
- Lightbulb updates correctly to match the logic output.
- Toggle buttons for Input 1 and Input 2 work as expected.

#### **🔲 XOR Gate**
- **Fully functional XOR logic** implemented.
- **Truth Table**:
  | **Input A** | **Input B** | **Output (A XOR B)** |
  |-------------|-------------|----------------------|
  | 0           | 0           | **0** (OFF)          |
  | 0           | 1           | **1** (ON)           |
  | 1           | 0           | **1** (ON)           |
  | 1           | 1           | **0** (OFF)          |
- Toggle buttons for Input 1 and Input 2 trigger the logic updates.
- Lightbulb behavior reflects the XOR output logic.

#### **🔲 XNOR Gate**
- **Fully functional XNOR logic** implemented.
- **Truth Table**:
  | **Input A** | **Input B** | **Output (A XNOR B)** |
  |-------------|-------------|-----------------------|
  | 0           | 0           | **1** (ON)            |
  | 0           | 1           | **0** (OFF)           |
  | 1           | 0           | **0** (OFF)           |
  | 1           | 1           | **1** (ON)            |
- Lightbulb updates correctly based on the logic.
- Input toggle buttons work correctly for Input 1 and Input 2.

---

## **🛠️ Enhancements & Improvements**
- **Input Handling**:
  - **Input toggles** now work consistently across all logic gate types (AND, OR, NOT, XOR, NOR, NAND, XNOR).
  - Input logic is consistent across all gate types, including the lightbulb status updates.

- **Reset Functionality**:
  - The **reset button** now works across all logic gates.
  - The lightbulb and toggle button status are properly reset.

- **Code Refactoring**:
  - Reduced **redundancy** in the toggle input functions.
  - Enhanced **code readability** and maintainability.
  - Removed unnecessary logic duplications and consolidated shared logic for gate input handling.

---

## **🐛 Bug Fixes**
- **Fixed NAND Gate logic** — lightbulb now correctly updates according to the truth table.
- **Fixed XNOR Gate logic** — logic now correctly handles the logic for matching inputs.
- **Fixed Reset Functionality** — lightbulbs and buttons now reset correctly across all gate types.
- **General Bug Fixes** — Minor improvements in input toggle functions for better user experience.

---

## **📁 Files Changed**
📄 logicGates.js 📄 logicGates.html

---

## **🚀 Release Notes**
This release marks the **Wave 2 Beta** of the CS:Box project, bringing support for all fundamental logic gates. This wave includes the **NAND, NOR, XOR, and XNOR gates**, which have been built with consistent logic, responsive lightbulb behavior, and proper input handling. This release also introduces major fixes to the **reset functionality**, ensuring that all gates reset properly when the reset button is pressed.

**New Features Include:**
- Full support for **NAND, NOR, XOR, XNOR logic gates**.
- Input toggle buttons now work seamlessly for all gates.
- Lightbulb status updates in real-time according to input changes.
- **Reset button** now clears all input states and correctly resets the lightbulb status for each gate type.

**Looking Ahead**:
- Further UI improvements to make the interface more user-friendly.
- Expanded testing to ensure accurate logic across all devices.

Enjoy this latest version of CS:Box! 🚀
2024-12-07 23:46:18 +00:00
a247bc036e Wave 1 Beta Release
# Wave 1 Beta Release

---

## Key Features and Enhancements

### 1. Core Functionality
- Developed and optimized JavaScript functions for binary, hexadecimal, and logic gate simulations, ensuring high performance and compatibility across GCSE and A-Level specifications.
- Introduced dynamic behavior to adapt pages (e.g., GCSE vs A-Level) based on URL or heading context.
- Streamlined reset, toggle, and update functionalities for user inputs and sliders across various simulation pages.

### 2. Hexadecimal Simulator
- Enabled two configurations:
  - 8-bit binary with 2-digit hexadecimal (GCSE).
  - 16-bit binary with 4-digit hexadecimal (A-Level).
- Ensured user input validation for denary and hexadecimal values with robust error handling and feedback.

### 3. Hex Colors Module
- Added dynamic color preview updates for RGB sliders, denary, binary, and hexadecimal values.
- Included an "invert color" feature with corresponding visual updates.

### 4. Logic Gates Module
- Implemented NOT, AND, and OR gates with toggle buttons and live output updates.
- Enhanced reset functionality to initialize states correctly for each gate type.

### 5. Error Handling
- Resolved bugs related to undefined slider properties and invalid binary/hexadecimal inputs.
- Implemented fallback defaults for invalid or canceled inputs.

---

## Visual Enhancements

### 1. Custom Illustrations
- Created custom images for the following sections:
  - **About CS:Box**: A simplistic and educational-themed design.
  - **The Evolution from Bit:Box**: A visual transition from Bit:Box to CS:Box.
  - **Educational Impact**: Vibrant and engaging designs showcasing classroom learning.
- Refined visual hierarchy across all pages for better user experience.

### 2. Navigation Revamp
- Redesigned Bootstrap-based dropdown menus for better usability and accessibility.
- Improved menu hierarchy to align with the UK Computing Curriculum elements.

---

## Documentation

### 1. CS:Box Overview
- Added content explaining the project's evolution from Bit:Box and its educational significance.
- Highlighted key features and their relevance to the UK Computing Curriculum.

### 2. GitHub Repository
- Structured repository with concise descriptions of modules, features, and usage instructions.

---

## Bug Fixes and Optimizations
- Addressed issues with sliders not functioning correctly after reset on hexadecimal pages.
- Fixed error with NOT gate toggling state incorrectly upon reset.
- Streamlined JavaScript logic across all simulations to reduce redundancy and improve maintainability.

---

## Future Scope
- Prepare for **Wave 2 Release** with additional simulations (e.g., XOR gates, floating-point representations).
- Enhance accessibility features for a more inclusive user experience.
- Explore collaborative features for classroom settings.

---

*Wave 1 Beta Release is the foundation of CS:Box, setting the stage for engaging, curriculum-aligned computing education tools.*
2024-12-07 22:51:42 +00:00
f428b4a616 Merge branch 'main' of https://github.com/MrDavisCSIT/CS-Box 2024-12-07 22:49:57 +00:00
93b5f11abe Wave 1 Beta Release
# Wave 1 Beta Release

---

## Key Features and Enhancements

### 1. Core Functionality
- Developed and optimized JavaScript functions for binary, hexadecimal, and logic gate simulations, ensuring high performance and compatibility across GCSE and A-Level specifications.
- Introduced dynamic behavior to adapt pages (e.g., GCSE vs A-Level) based on URL or heading context.
- Streamlined reset, toggle, and update functionalities for user inputs and sliders across various simulation pages.

### 2. Hexadecimal Simulator
- Enabled two configurations:
  - 8-bit binary with 2-digit hexadecimal (GCSE).
  - 16-bit binary with 4-digit hexadecimal (A-Level).
- Ensured user input validation for denary and hexadecimal values with robust error handling and feedback.

### 3. Hex Colors Module
- Added dynamic color preview updates for RGB sliders, denary, binary, and hexadecimal values.
- Included an "invert color" feature with corresponding visual updates.

### 4. Logic Gates Module
- Implemented NOT, AND, and OR gates with toggle buttons and live output updates.
- Enhanced reset functionality to initialize states correctly for each gate type.

### 5. Error Handling
- Resolved bugs related to undefined slider properties and invalid binary/hexadecimal inputs.
- Implemented fallback defaults for invalid or canceled inputs.

---

## Visual Enhancements

### 1. Custom Illustrations
- Created custom images for the following sections:
  - **About CS:Box**: A simplistic and educational-themed design.
  - **The Evolution from Bit:Box**: A visual transition from Bit:Box to CS:Box.
  - **Educational Impact**: Vibrant and engaging designs showcasing classroom learning.
- Refined visual hierarchy across all pages for better user experience.

### 2. Navigation Revamp
- Redesigned Bootstrap-based dropdown menus for better usability and accessibility.
- Improved menu hierarchy to align with the UK Computing Curriculum elements.

---

## Documentation

### 1. CS:Box Overview
- Added content explaining the project's evolution from Bit:Box and its educational significance.
- Highlighted key features and their relevance to the UK Computing Curriculum.

### 2. GitHub Repository
- Structured repository with concise descriptions of modules, features, and usage instructions.

---

## Bug Fixes and Optimizations
- Addressed issues with sliders not functioning correctly after reset on hexadecimal pages.
- Fixed error with NOT gate toggling state incorrectly upon reset.
- Streamlined JavaScript logic across all simulations to reduce redundancy and improve maintainability.

---

## Future Scope
- Prepare for **Wave 2 Release** with additional simulations (e.g., XOR gates, floating-point representations).
- Enhance accessibility features for a more inclusive user experience.
- Explore collaborative features for classroom settings.

---

*Wave 1 Beta Release is the foundation of CS:Box, setting the stage for engaging, curriculum-aligned computing education tools.*
2024-12-07 22:49:29 +00:00
Alexander Davis
7ec00b49a8 Update README.md 2024-11-15 20:26:58 +00:00
0f7711fbb5 Changed Hex Spinner
Changed Hex Spinner to Sliders

Hex Colours Spinners to be replaced in next update
2024-11-10 00:23:04 +00:00
a262cad382 Unlinked Nav Bar
Unlinked Nav Bar on all pages so users can see the active page correctly
2024-10-30 17:39:47 +00:00
f85bee2c69 Remove File Extensions
Removed file extensions from links
Updated Nav bar so home link takes users to / instead of /index.html
2024-10-30 17:27:41 +00:00
261b6c79ce Logic Gates Work
Adding Reset Buttons to logic gates
Updating and modifying layout and CSS to ensure responsive design and layout
2024-10-29 11:08:35 +00:00
709a9a5a08 General Tweaking 2024-10-28 20:55:16 +00:00
d0cccc50de CSS and URL Tweaks 2024-10-28 17:58:16 +00:00
dd146985b0 Wave 1 Features Alpha
Added options for custom denary and binary values to be entered into the Binary simulator
Creation of the AND, OR and NOT logic gate pages and accompanying logic

Further preparation for upcoming major changes:
- Changes to page organisation and naming conventions
- Changes to CSS configuration
- Further preparation for project-wide naming convention change
2024-10-28 17:39:58 +00:00
038f0a6e50 Merge branch 'main' of https://github.com/AlexanderEDavis/CS-Box 2024-10-27 21:18:33 +00:00
3bb14f98a8 CSS Fixes to Hex Colour Simulator 2024-10-27 21:13:31 +00:00
Alexander Davis
ec6cb962dc Update README.md 2024-10-27 20:47:31 +00:00
Alexander Davis
eba37d89bf Update README.md 2024-10-27 20:47:13 +00:00
Alexander Davis
a62c747b8d Update README.md
Update to GitHub Readme file
2024-10-27 20:45:46 +00:00
d993b87b3a Updated Timescales 2024-10-27 20:42:02 +00:00
43b8b60579 Bit:Box Feature Migration
Migrated features from Bit:Box website.
Minor changes to CSS
Linked Header and Footer across all pages to allow automatic update to both across all pages
Export folder created

Preparation for upcoming changes:
- Site-wide naming convention change
- Creation of copyright page
- About page changes
2024-10-27 20:36:57 +00:00
1e70c12593 Tweak to landing page 2024-10-19 21:16:50 +01:00
43ba24a8f1 Creation of Logo and Design File 2024-10-19 21:11:11 +01:00
Alexander Davis
101529c780 Update README.md 2024-10-19 17:49:41 +01:00
Alexander Davis
bc0bec3ec6 Initial commit 2024-10-19 17:48:58 +01:00