Commit Graph

12 Commits

Author SHA1 Message Date
mihretue
16a5dec734 docs(env): add the .env.example the README already told people to copy
README.md line 72 says `cp .env.example .env`, but no such file existed and
.gitignore's `.env.*` rule would have swallowed it — hence the explicit
negation alongside it.

Documents the two variables the code actually reads, VITE_BASE_API_URL and
VITE_USE_MOCKS, rather than the longer list in the README, none of which is
referenced anywhere in apps/ or libs/. Notes that Vite resolves this from the
workspace root via envDir, and that Fayda needs nothing here beyond the callback
path matching the API's FAYDA_REDIRECT_URI.
2026-08-25 18:18:02 +00:00
fitse-yotor
659e954306 refactor(theme): share one base theme between backoffice and portal
The two apps had drifted into unrelated themes. The portal's carried a full
type scale, radius scale, shadow ramp and component defaults; the backoffice's
had none of them — 55 lines defining two colour ramps and little else. With
nothing to inherit, its 23 features each invented their own sizing, which is
the real source of the inconsistency the UI reads with.

Promote the portal's structure to `libs/shared` as `baseTheme`, and reduce both
themes to what they should differ on: brand. The backoffice keeps #1e40af and
the portal keeps Coastal Modern — a distinct accent tells an officer which of
the two systems they are in, and the ramps are not interchangeable in contrast.

Both export names are preserved, so no consumer import changes.

Two properties are deliberately held back rather than shared:
- `colors.gray`: the portal's blue-tinted neutrals retint every dimmed label,
  neutral badge and table border. The backoffice adopts them as its own
  reviewed change, not as a side effect of sharing a base.
- `primaryShade.dark`: moves every filled control in dark mode; waits until
  dark mode is verified end to end.

Also fixes a live bug: PageLoader coloured its primary label `navy.9`, which is
defined in neither theme. Mantine drops unresolved colour keys silently, so the
label in a component used by 20 files had been rendering an inherited colour.

Adds a visual-regression harness to make all of this reviewable. It runs
against a static gallery route rather than real pages, so it needs no API,
database or auth — a theme diff cannot be masked by a migration or an expired
token. The portal is the control group: it is pixel-identical across all four
light/dark × desktop/tablet baselines, which is what makes the refactor
provably lossless.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-21 11:25:26 +03:00
Sennay
43cf8e7ce8 Update .gitignore to remove temporary files
Removed temporary files from .gitignore.
2026-07-21 15:40:34 +03:00
mengstabketemaw
f876d57219 feat: change usermanagement from git submodule to componenet based 2026-06-23 11:10:35 +03:00
mengstabketemaw
6a73fbc962 chore: add .claude to gitignore 2026-06-19 11:44:51 +03:00
mengstabketemaw
2c9ec9a85d Merge branch 'feature/user-management' into feature/pencil-design 2026-06-12 16:19:31 +03:00
mengstabketemaw
dacf39d95c user managment ui 2026-06-12 11:46:25 +03:00
mengstabketemaw
564ace2cd1 Merge branch 'main' into feature/pencil-design 2026-06-11 11:49:54 +03:00
Yonas Tewabe
e6de85e62b Update Dockerfile 2026-06-09 02:08:44 -07:00
mengstabketemaw
d490a0477a added .nx folder to gitignore 2026-06-09 09:32:41 +03:00
mengstabketemaw
73427f42fb add nx to gitignore 2026-06-09 09:28:03 +03:00
Yonas Tewabe
996b4e4ee6 Create .gitignore 2026-06-08 11:23:49 +03:00