Skip to content

Feature/rework views - #57

Merged
ewez43 merged 61 commits into
mainfrom
feature/rework-views
Sep 30, 2026
Merged

ewez43 merged 61 commits into
mainfrom
feature/rework-views

Conversation

@cub8

@cub8 cub8 commented Sep 13, 2026

Copy link
Copy Markdown
Owner

Poprawa widoków

cub8 and others added 30 commits September 12, 2026 14:59
The Tailwind redesign had been landing as a parallel track next to the
original Bootstrap UI: a Redesign:: Ruby namespace, redesign-prefixed
directories in app/javascript, app/assets/stylesheets and app/views, a
second Stimulus application, a second layout, and a RedesignLayout
concern controllers opted into.

That conversion was effectively done — 21 of 24 controllers already
rendered under the redesign layout. The only things still on the
legacy Bootstrap path were StudentsProfileController (unreferenced by
any route helper or link anywhere in the app), students#new/create
("Dodaj studenta"), and its entry point/partial — all dead weight,
deleted outright rather than converted.

With those gone, nothing rendered through the Bootstrap/legacy
Stimulus stack any more, so the rest of that stack (the legacy layout,
its Sass tree, its 12 Stimulus controllers, its Shared::* chrome
components) was deleted too, along with two more pieces of dead code
this surfaced: MessagesComponent and two Notification broadcasts that
targeted the removed Bootstrap markup.

With only one implementation left, the redesign's naming is promoted
to be the app's only naming: Redesign::Foo -> Foo across
app/services, app/values and the shared components; the
RedesignLayout concern is folded into a single ApplicationController
default; RedesignHelper is merged into ApplicationHelper; and every
redesign.*/redesign/ file and directory (JS, CSS, images, views) is
renamed to the plain names Bootstrap's removal freed up
(redesign.ts -> application.ts, layouts/redesign.html.haml ->
layouts/application.html.haml, and so on).

Tests and docs follow: the *_redesign_smoke_test.rb files drop the
suffix, tests asserting old two-layout behavior are updated, and
CLAUDE.md's "Redesign in progress" section — which pointed at the
already-deleted design/ mockup directory — is replaced with a short
note on where the frontend pieces live now.
@cub8
cub8 marked this pull request as ready for review September 30, 2026 20:45
@ewez43
ewez43 merged commit 0132b44 into main Sep 30, 2026
3 checks passed
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

Successfully merging this pull request may close these issues.

3 participants