stardance has been extended another month! the new deadline is october 31 :)

You are browsing as a guest. Sign up (or log in) to start making projects!

Issued YSWS

  • 31 Devlogs
  • 92 Total hours

This is the site for #issued WIP YSWS, made on the full-stack framework of ruby on rails, it uses postgres as the main database and redis as the cache. YS : Designs made with text based code WS : Clothes with your designs

Open comments for this post

2h 34m 38s logged

I created the fulfilment system for a fulfilment team to use

Recent changes

  • Removed redundant save! calls and updated fulfillment tests to reduce unnecessary database operations and align test logic with current behavior 9acc056.
  • Added a fulfillment role, batch pipeline, and popup controller to support new workflow automation and UI interactions afa7a20. The popup controller likely handles transient UI elements like notifications or modals.
  • Fixed a crash in /designs preview rendering by resolving an issue blocking Ruby scan/lint CI, ensuring previews no longer fail unexpectedly (911f035).
  • Corrected a stray question mark in a design preview image tag to prevent malformed HTML output (955dd6c).
  • Added a note about YSWS draft sponsorship documentation, possibly for tracking external partnerships or funding discussions (d92d571). No performance optimizations or subsystem overhauls were addressed in this cycle. Next steps depend on external feedback and test coverage improvements implied by recent test updates.
0
0
12

This project was vetted by Shipwrights and is now up for voting. You can ship again after making more updates.

Shipwright walkthrough

This needs changes before we can consider it shipped. Review the Shipwright feedback, make updates, then ship again.

Shipwright walkthrough

This needs changes before we can consider it shipped. Review the Shipwright feedback, make updates, then ship again.

Shipwright walkthrough

This needs changes before we can consider it shipped. Review the Shipwright feedback, make updates, then ship again.

Shipwright walkthrough

This needs changes before we can consider it shipped. Review the Shipwright feedback, make updates, then ship again.

Shipwright walkthrough

Ship #1

Shipped!!!

There are a bunch of features and stuff that I have added to this since flavortown, from the ordering system to devlogs and ship flow.

Project Info

This is the ruby on rails app for the ysws draft #issued where

  • YS: Designs made with Code
  • WS: Clothes and other swag with those designs

Features added:

A bunch of features have been added and I have separated them to 3 categories Major ones for functionality, quality of life for feel and use, security for data security.

New Major Features:

  • Designs view now is more detailed including hackatime projects and images from devlogs and ships
  • Ship flow system so you can submit to the ysws
  • Product Design system (admin only - for making the shop items by importing from printful via api)
  • Order system using lots of hotwired turbo (choose color, design placement rotation and scale)
  • Notifications (3 types Normal which provides info and 2 others Boolean which gets a yes or no answer and text which gets a written answer
  • Reviewer Panel which shows pending ships to review with some data on (need to add hackatime info for it though)
  • Storing Reviewer proof videos in a cloudflare R2 storage

Quality-Of-Life:

  • Added better UI/UX with some issues with need for ironing out (eg font change from workbench to ‘lexend’ and ‘space mono’
  • Kept a consistent style through the site, although some panels might need better border colour
  • On login it redirects to the page you logged in by

Security:

  • I added User DB encryption to protect user data stored on the postgres database instance, such as name and email

Summary

  • Made the functional part of the ysws site (Designs, ordering, shipping)
  • Added more security for user data
  • Improved UI(Font and colour scheme)
  • 30 devlogs
  • 89h
  • 15.53x multiplier
  • 1383 Stardust
Try project → See source code →
Open comments for this post

1h 4m 39s logged

Recent changes    - Installed Bundler 4.0.4 in the Dockerfile to standardize gem management across environments    (88ba659).  - Ensured the verification directory exists for SVG upload tests, addressing missing file system setup in test    workflows (83f2e53).  - Resolved a Turbo conflict in order steps, likely related to event streaming or frame rendering in Rails views    (e8d08f4). 

  • Updated navigation unread counts dynamically from notification events, improving real-time feedback for user    activity (a75f6ff).
1
0
29
Open comments for this post

3h 59m 48s logged

  ## Recent changes   

  • Notifications: Unanswered notifications now retain their unread status until explicitly addressed. This    ensures users can distinguish between pending and resolved interactions without relying on manual state updates    (751a370). 
  • Security: Authentication workflows, file uploads, and resource authorization checks have been updated with    additional safeguards. Specifics include input validation and access control refinements, though implementation    details are not disclosed in the commit message    (97e48db).
0
0
24
Open comments for this post

2h 48m 15s logged

Made Notifications Useful

Recent changes

  • Persistent unread state for unanswered boolean notifications    Notifications with unresolved boolean actions (e.g., approvals) now remain marked as unread until explicitly addressed. This ensures users revisit pending decisions. Commit: 39aabb2. 
  • Interactive notification replies with approval time tracking    Added support for direct replies to notifications, along with timestamp logging for when approvals are finalized. This enables granular tracking of response times for actionable alerts. Commit: 6ac80f9.
0
0
15
Open comments for this post

9h 51m 38s logged

Recent changes

Added ship request reviews, resubmission logic, and R2 storage integration for tracking reviewed submissions (41b1e43).

  • Started on the review workflow
  • Started on Resubmission logic
  • Set up support for cloudflare R2

Guarded Hack Club token persistence behind encryption configuration, ensuring tokens are only stored when encryption is explicitly enabled (a4b6d0c).

0
0
15
Open comments for this post

2h 7m 20s logged

Recent changes

Comment delete, Turbo Comment Box, and ship request fade functionality

  • Add #destroy functionality to the comments with owner permission, path, delete button, and dependent comments.
  • Make use of valid commentable_type/id while building comments and make responses as Turbo streams and wrap up comments within a Turbo frame.
  • Resize the comment box according to the content changes detected by the MutationObserver.
  • Make ship request modal and overlay fade in and out.
  • Consider higher level ship request as blockers for all ship requests.
  • Comment card and comment list styling.
0
0
12
Open comments for this post

7h 58m 44s logged

Recent changes

Add comments to devlogs and ship requests

Implement polymorphic Comment model with CommentsController,
Stimulus-driven collapsing comment box, markdown preview form,
and styles. Comments will be rendered by Turbo frames and allow
editing by owner/admin.

This is what else is included in this change:

  • Encryption of hackclub_access_token and hackclub_refresh_token
    through ActiveRecord encryption, including config, env sample
    and migration task for already existing non-encrypted tokens.
  • SSL enforcement in production (assume_ssl, force_ssl).
  • Update filter_parameters to strip out sensitive information
    and OAuth tokens from logs.
  • Fix ExchangeRate API call to include Bearer authentication header.
  • Sanitization of devlogs HTML output through SafeListSanitizer.
  • Update Design#can_make_devlog to can_make_devlog? method and
    restrict can_ship? check to devlogs without ship request.
  • Add SRI integrity attribute to marked/DOMPurify scripts loaded
    from CDNs.
  • UI improvements: styles for disabled buttons, utility class
    for hover-underline effect, devlog cards layout and info icons.
0
0
6
Open comments for this post

4h 39m logged

Recent changes

  • Ship request flow and SVG conversion: Added support for processing ship requests, handling SVG conversions, and validating devlog images before submission 8ca9b5d9.
  • Nil safety for Hackatime projects: Wrapped the @hackatime_projects variable in an Array structure to prevent nil errors when retrieving project data a29691ff.
  • CI environment and test ordering: Set RAILS_ENV=test for the CI setup process and reordered the sequence of test steps to improve execution reliability 2968d162.
  • Authorization consolidation: Refactored authorization guards and consolidated the linking logic for Hackatime projects 4c2b1836.
0
0
19
Open comments for this post

4h 32m 24s logged

Recent changes

  • Fixed a failure in the CI/CD pipeline commit
  • Implemented status tracking for balance events and refined the underlying thread logic associated with them commit
  • Refactored the token rendering component for render_encoded to allow {{design: design.id}} making a pill, to improve display fidelity and added an edit functionality for devlog entries commit
  • Integrated support for uploading images directly within the devlog interface and established links to corresponding Hackatime projects commit
0
0
8
Open comments for this post

7h 29m 58s logged

Added Devlogs and changed hackatime projects to be multi model per design.

Move hackatime project linkage from a single designs.hackatime_project column to a has_many hackatime_projects model, syncing each project’s time and aggregating totals on designs. Add devlogs, ship_requests, ships, and comments models/routes/views for design logging and shipping, and make balance_events polymorphic.Update designs controller, helpers, and views to render multiple project pills, allow adding/removing linked projects, and show a combined hackatime/image/devlog layout. Add redcarpet for Markdown rendering and adjust CSS for dark mode, responsive galleries, and pill controls.

Added Devlogs and the prep for adding the shipping flow
I added devlogs to the project in prep for the shipping flow

0
0
19
Open comments for this post

3h 9m 40s logged

Recent changes

  • Added support for balance events and thread adjustments to improve financial tracking accuracy. This also included an update to the notification rendering system to safely handle these new data types without breaking existing templates (commit: (faed39b57619)).
  • Fixed the positioning of the design box within the product editor. This specifically addresses display issues occurring when editing products via /admin/products/<id>/edit (commit: (aa4e314b5dcd)).
0
0
12
Open comments for this post

5h 32m 18s logged

I’ve focused on refining the shop page styling, header positioning, and cost handling logic (d10a9c51). The recent batch of work involved schema adjustments for a product enabled flag, adding support for cost and thread costs (82f9f2d1), applying a schema fix (3f8bcb8a), fixing CI pipeline issues (71e98a), and pushing updates to production (ca19da29).

Recent changes

  • Added an image variants system and updated views to utilize thumb and display variants specifically (a2e4eb28).
  • Implemented cost handling updates, including a specific support for thread costs alongside general product cost tracking (82f9f2d1).
  • Added an auto annotaterb script executed within the Rails migration process (7d07d278).
  • Applied schema fixes to ensure data integrity during the recent updates (3f8bcb8a).
  • Updated the RSVP page styles and refreshed the thanks template (217945eb).
  • Refined header positioning and shop page styling across the frontend (d10a9c51).
  • Added a product enabled flag to control product visibility and state in the system (82f9f2d1).

Whats next:

Umm, so whats next I think would be adding balance_events so you can trace changes in balances(spending/earning)

0
0
9
Open comments for this post

2h 50m 36s logged

Since the last update, I’ve focused on enhancing the order preview system to support complex design workflows and improving image navigation for multi-image configurations.

Recent changes

  • Added multi-image preview navigation with left/right arrow buttons and an index display (e.g., “Image 2 of 5”) to streamline design review workflows (b269fe5). This change directly addresses the need to review multiple design iterations in a single view without page reloads.
  • Refactored the order preview component to support multiple print areas with independently configurable design images. This involved restructuring the preview logic to handle dynamic print area definitions while maintaining consistent state across design selections (0545118). The refactor enables customers to visualize different designs on separate print areas (e.g., front/back/ sleeves) within the same order preview.
0
0
8
Open comments for this post

8h 58m 17s logged

  1. Print area management UI & backend (a42a00d):

    • Built a full stack for managing print areas (think “where the design goes” on a shirt front or back). This includes models to store print area dimensions, controllers to handle CRUD ops, and RESTful routes to tie it all together.
    • The frontend now lets users drag/drop to define print zones with responsive positioning (position: absolute + transform: scale to handle dynamic sizing).
    • Edge case: Products with multiple print areas (e.g., front + back) now render distinct configurations without clobbering state.
  2. Printful service & stock syncing (7b5d817):

    • Added printful_id to product models to map Issued products to Printful’s inventory.
    • UI updates to display Printful sync status (green checkmarks for success, red alerts for failures).

Technical tangents

The print area system was a slow make. For example:

  • To ensure designs stay within printable bounds, I had to calculate dynamic margins based on product type (e.g., a hoodie’s print area ≠ a mug’s). This involved hacking some trigonometry into the frontend to snap selections to “safe zones.”
  • On the backend, I’m using ActiveRecord callbacks to validate print area dimensions against product specs. If a user tries to set a print area wider than the product allows It raises a PrintAreaOutOfBounds error

Future features

The actual ship flow and being able to edit multiple print areas instead of just the one

0
0
11
Open comments for this post

4h 8m 32s logged

Added Variants for size and colors with stock for each printful region facility.
Stimulus target which groups the variants by colour and deletes empty groups

0
0
8
Open comments for this post

3h 19m 59s logged

Created Printful API Integration and improved order screen to allow better customisations

Add Printful import endpoint and order preview UI improvementsImplemented Printful product import, added order preview generation, UI styles, and controller changes for drag‑resize‑rotate preview.

0
0
8
Open comments for this post

1h 16m 22s logged

Rename admin-product to products and refactor CSS, controller, and views.

Updated class names and CSS variables, added .no-product-grid and .dashed-break styles.

Simplified image loading logic in the product preview controller, and replaced large inline layout styles with external stylesheet includes.

0
0
5
Open comments for this post

1h 23m 37s logged

Add brand colors, badge styles, and redesign pagesAdd brand color variables, badge styles, and a full redesign of design pages with responsive layouts, fixed redirect stuff, optimised by using one erb engine call for designs

0
0
5
Open comments for this post

1h 11m 28s logged

Dropdown Styling & Component Replacement
The design form’s dropdown interface was overhauled to improve visual consistency and user experience. A native <select> element was replaced with a custom-styled solution using 3ab7405, allowing for greater flexibility in aligning with the project’s aesthetic goals. This change ensures smoother integration with the overall theme and avoids browser-specific styling quirks.

CSS Refactoring & Theme Variables
Design form styling was fully refactored in 928b7b0, introducing global theme variables to streamline color, spacing, and typography management. This move simplifies future theme adjustments and promotes code reuse. Model defaults were also standardized to reduce redundancy in form initialization logic, making the codebase more maintainable.

Admin Test Redirects
In 2af0071, the admin test workflow was updated to automatically redirect to the products list URL after test submissions. This improves user navigation by providing immediate feedback and next steps, ensuring a cohesive backend experience.

Current Status
The frontend is now more thematically consistent, with design forms serving as a primary focus area. Admin workflows are being optimized for clarity and efficiency, though backend test processing logic remains pending integration. The codebase is gradually adopting a modular structure, particularly for UI components and configuration.

Things Learnt

  • Custom dropdowns using CSS and JavaScript offer better cross-browser compatibility than styling native <select> elements.
  • Theme variables significantly reduce the effort required for UI adjustments, especially as the project scales.
  • Redirects in admin flows should be designed with user context in mind to avoid confusion.
0
0
4
Open comments for this post

1h 38m 35s logged

Project Summary: Admin & Infrastructure Progress

Key Milestones & Features Built

  • 🛠️ Admin Product Management UI: Added a full admin interface for product management, including preview capabilities, environment variable integration, and updated order flow logic. This enables admins to efficiently manage product listings and track orders.
  • 🆓 Privacy Enhancements: Implemented a “hide PII” controller to anonymize user data in the UI, ensuring sensitive information is protected in user-facing tables.
  • 🧪 Product Cost Handling: Validated GBP pricing logic for products, ensuring accurate cost handling in the British Pounds currency.
  • 🛠️ CI/CD & Dependency Updates: Configured PostgreSQL in CI pipelines, updated database URLs, and bumped Ruby gem versions to ensure a stable, up-to-date environment.
  • 🎨 Styling Cleanup: Replaced inline styles in admin views with stylesheet_link_tag imports, improving maintainability and separation of concerns.

Current Status
The project now has a functional admin dashboard for product and order management, with privacy features baked into user data displays. Infrastructure is PostgreSQL-ready in CI, and styling practices align with modern Rails conventions. Core e-commerce logic (pricing, currency) is under testing, with environment variables streamlining configuration.

Lessons Learned

  • Privacy by Design: Integrating PII protection early simplifies compliance and reduces technical debt.
  • Infrastructure as Code: Automating PostgreSQL setup in CI saves manual effort and reduces environment inconsistencies.
  • Maintainable Styles: Moving to external stylesheets improves collaboration and long-term code hygiene.

Order Page Started

  • Created a functional order page
  • Currency Handling: Explicit GBP validation highlights the need for clear financial logic in order systems.
0
0
4
Open comments for this post

1h 11m 41s logged

Replace admin view inline styles with stylesheet_link_tag importsRemoved large embedded CSS from multiple admin templates and switched to external stylesheet links for consistency and maintainability.

0
0
5
Open comments for this post

21m 1s logged

Add CurrencyConvertible include and cost conversion helpersInclude CurrencyConvertible in ApplicationHelper and Product, add cost_usd and cost_gbp methods, remove obsolete gbp_to_usd, usd_per_gbp and fetch_usd_conversion_rates, rename cost column comment, and adjust product inheritance.

0
0
2
Open comments for this post

1h 14m 13s logged

Update README, moved CSS files, fixed issues between pages (styling)Include planning file entry, revise README wording, and remove dashboard and notifications stylesheet files.

0
0
2
Open comments for this post

58m 29s logged

feat(database): migrate from SQLite to PostgreSQL and switch to Redis infrastructure- replace sqlite3 with PostgreSQL database adapter in Gemfile and config

  • configure Redis for caching, Action Cable, and Active Job instead of Solid adapters
  • add guide attribute to User model for onboarding flow control
  • implement user existence validation in ApplicationController
  • refactor CSS architecture by moving stylesheets to components directory
  • create shared designs.css stylesheet for design pages with responsive styling
  • update todo partial to check guide flag before displaying onboarding prompts
  • add migration for guide column on users table
0
0
4
Open comments for this post

37m 11s logged

Key Milestones & Features
The project has made solid strides in building out core admin functionality and refining user interactions:

  • Admin Controller Tests: Comprehensive tests for the dashboard, orders, and products controllers were added, ensuring reliability and laying groundwork for future expansions.
  • Form Submission Control: A disable button feature was implemented in the design-form component to prevent multiple submissions, improving UX and reducing backend load.
  • Dashboard Updates: The dashboard_controller.rb received updates (specifics pending documentation), likely enhancing core admin workflows.

Current Status
The admin interface is shaping up with test-covered controllers and polished frontend interactions. Testing prioritization suggests a focus on stability, while form improvements reflect attention to user-centric details. The project appears in an active development phase, with July 2026 commits indicating recent momentum.

Things Learnt

  • Test-Driven Practices: Adding controller tests early highlights the team’s emphasis on maintainable, scalable code.
  • Form UX Nuances: Disabling submission buttons during processing is a small but impactful tweak to prevent errors and improve responsiveness.
  • Documentation Gaps: The vague “Update dashboard_controller.rb” commit underscores the importance of descriptive commit messages for clarity in collaborative projects.
0
0
4
Open comments for this post

42m 3s logged

fix(auth): update product params to include thread_cost instead of cost_gbp - replace deprecated cost_gbp parameter with thread_cost in product creation/update - adjust database migration to add thread_cost column to products table, added shop, added notification page

0
0
2
Open comments for this post

1h 23m 5s logged

Used claude to brainstorm colour schemes and layouts. Created this new dashboard design and transitioned the rest of the site to follow the colour scheme

0
0
5
Open comments for this post

41m 5s logged

Add design image gallery with viewer page- Add image route, controller action, and full-size viewer template

  • Add gallery grid on show page with hover overlays and timestamps
  • Fix partial render syntax (collection with as: :image)
0
0
3
Open comments for this post

2h 50m 55s logged

Summary
Major update: background removal, UI improvements, model fixes, and CI stability.
Changes

  • Added RemoveBackgroundJob with rembg CLI for automatic background removal
  • Created Image and DesignEditSession models; updated schema comments
  • Added brand.css and regulated form partial for new/edit designs
  • Added dark mode support and image preview scaling
  • Enabled PostgreSQL extensions; switched dev DB to SQLite
  • Removed stale migrations (verified, trust columns from users)
  • Cleaned up model validations and associations
  • Fixed CI test suite with updated fixtures
  • Removed node_modules from git; added to .gitignore
  • Removed unused editor and dashboard views
  • Updated Gemfile/Gemfile.lock dependencies
0
0
5

Delete project?

Are you sure you want to permanently delete this project? This action cannot be undone.

All devlogs, followers, and associated data will be removed.

Followers

Loading…