──────
Build and Push Docker Images / detect-changes (push) Successful in 11s
Build and Push Docker Images / build-auth-api (push) Successful in 1m0s
Build and Push Docker Images / build-employee-api (push) Successful in 1m2s
Build and Push Docker Images / build-transit-api (push) Successful in 1m1s
Build and Push Docker Images / build-error-log-api (push) Successful in 1m5s
Build and Push Docker Images / build-admin-ui (push) Successful in 1m13s
Build and Push Docker Images / build-monitoring-ui (push) Successful in 1m15s
Build and Push Docker Images / deploy-test-node (push) Successful in 3s
Build and Push Docker Images / detect-changes (push) Successful in 11s
Build and Push Docker Images / build-auth-api (push) Successful in 1m0s
Build and Push Docker Images / build-employee-api (push) Successful in 1m2s
Build and Push Docker Images / build-transit-api (push) Successful in 1m1s
Build and Push Docker Images / build-error-log-api (push) Successful in 1m5s
Build and Push Docker Images / build-admin-ui (push) Successful in 1m13s
Build and Push Docker Images / build-monitoring-ui (push) Successful in 1m15s
Build and Push Docker Images / deploy-test-node (push) Successful in 3s
### Summary of Changes
1. Documentation Consolidation:
• Relocated the docs/ folder and all repository .md files (README.md, DEPLOYMENT.md, DOCKER_README.md,
DOMAINS_README.md, GETTING_STARTED.md, CI_CD_PORTAINER_GUIDE.md, ADMIN_DEPLOYMENT_SUMMARY.md,
SECURITY_PRIVATE_FILES.md, handoff.md, azure-project-plan.md, plus service-specific READMEs) into .
• Updated document links in README.md.
2. AI Agent Project Map:
• Created PROJECT_MAP.md in the project root containing complete architecture diagrams, service specs, ports, DB
schemas, environment variables, and developer workflows.
• Added PROJECT_MAP.md to .gitignore.
3. Monitoring UI & Infrastructure Integration:
• Added monitoring_ui service to docker-compose.yml (port 5175).
• Configured Gitea workflow docker-build.yml for monitoring_ui builds.
• Added CORS middleware headers in index.js.
• Added nginx.conf copy step in Dockerfile.
──────
### Recommended Commit Message
docs: consolidate project documentation into monitoring_ui and add agent project map
- Move all markdown documentation files and docs/ folder into monitoring_ui/docs/
- Update documentation hub index (monitoring_ui/docs/README.md) with relative paths
- Generate comprehensive AI agent reference map (PROJECT_MAP.md) in repository root
- Add PROJECT_MAP.md and monitoring_ui build output/env overrides to .gitignore
- Integrate monitoring_ui service into docker-compose.yml and Gitea CI workflow
- Configure CORS handling in employee_api for monitoring dashboard access
──────
### Alternative Short Commit Message
refactor(docs): move docs to monitoring_ui and create AI agent PROJECT_MAP.md
This commit is contained in:
@@ -0,0 +1,592 @@
|
||||
:root {
|
||||
--color-primary: #155eef;
|
||||
--color-on-primary: #ffffff;
|
||||
--color-accent: #f59e0b;
|
||||
--color-on-accent: #172033;
|
||||
--color-surface: #f6f8fb;
|
||||
--color-surface-raised: #ffffff;
|
||||
--color-surface-sunken: #eef2f7;
|
||||
--color-text: #172033;
|
||||
--color-muted: #667085;
|
||||
--color-border: #d9e0ea;
|
||||
--color-success: #16803c;
|
||||
--color-warning: #b54708;
|
||||
--color-danger: #d92d20;
|
||||
--font-body: "Segoe UI Variable", "Segoe UI", sans-serif;
|
||||
--font-heading: var(--font-body);
|
||||
--text-xs: 11px;
|
||||
--text-sm: 13px;
|
||||
--text-base: 14px;
|
||||
--text-lg: 17px;
|
||||
--text-xl: 22px;
|
||||
--text-2xl: 30px;
|
||||
--text-3xl: 38px;
|
||||
--radius-sm: 4px;
|
||||
--radius-md: 8px;
|
||||
--radius-lg: 12px;
|
||||
--radius-pill: 9999px;
|
||||
--space-1: 4px;
|
||||
--space-2: 8px;
|
||||
--space-3: 12px;
|
||||
--space-4: 16px;
|
||||
--space-5: 20px;
|
||||
--space-6: 28px;
|
||||
--space-7: 40px;
|
||||
--space-8: 56px;
|
||||
--shadow-sm: 0 1px 2px rgba(23, 32, 51, 0.06);
|
||||
--shadow-md: 0 5px 16px rgba(23, 32, 51, 0.1);
|
||||
--shadow-lg: 0 16px 32px rgba(23, 32, 51, 0.14);
|
||||
}
|
||||
*,
|
||||
*::before,
|
||||
*::after {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
html,
|
||||
body {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
body {
|
||||
background: var(--color-surface);
|
||||
color: var(--color-text);
|
||||
font-family: var(--font-body);
|
||||
font-size: var(--text-base);
|
||||
line-height: 1.5;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
}
|
||||
h1,
|
||||
h2,
|
||||
h3 {
|
||||
font-family: var(--font-heading);
|
||||
line-height: 1.2;
|
||||
margin: 0;
|
||||
}
|
||||
a {
|
||||
color: var(--color-primary);
|
||||
text-decoration: none;
|
||||
}
|
||||
.preview-root {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
min-height: 100vh;
|
||||
}
|
||||
.preview-shell {
|
||||
display: flex;
|
||||
flex: 1;
|
||||
min-height: 0;
|
||||
}
|
||||
.preview-main {
|
||||
flex: 1;
|
||||
padding: var(--space-6);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: var(--space-5);
|
||||
min-width: 0;
|
||||
}
|
||||
.preview-split,
|
||||
.preview-two-column {
|
||||
display: grid;
|
||||
gap: var(--space-5);
|
||||
}
|
||||
.preview-split {
|
||||
grid-template-columns: 1fr 2fr;
|
||||
}
|
||||
.preview-two-column {
|
||||
grid-template-columns: 1fr 1fr;
|
||||
}
|
||||
.preview-header {
|
||||
position: sticky;
|
||||
top: 0;
|
||||
z-index: 5;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: var(--space-4);
|
||||
padding: var(--space-3) var(--space-6);
|
||||
background: var(--color-surface-raised);
|
||||
border-bottom: 1px solid var(--color-border);
|
||||
box-shadow: var(--shadow-sm);
|
||||
}
|
||||
.preview-header__brand,
|
||||
.preview-header__actions {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: var(--space-3);
|
||||
}
|
||||
.preview-header__brand {
|
||||
font-weight: 700;
|
||||
}
|
||||
.preview-header__logo {
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
border-radius: var(--radius-sm);
|
||||
background: var(--color-primary);
|
||||
color: var(--color-on-primary);
|
||||
display: grid;
|
||||
place-items: center;
|
||||
font-size: var(--text-sm);
|
||||
}
|
||||
.preview-header__action {
|
||||
color: var(--color-muted);
|
||||
display: inline-flex;
|
||||
}
|
||||
.preview-nav {
|
||||
display: flex;
|
||||
gap: var(--space-1);
|
||||
padding: var(--space-2) var(--space-6);
|
||||
background: var(--color-surface-raised);
|
||||
border-bottom: 1px solid var(--color-border);
|
||||
}
|
||||
.preview-nav__link,
|
||||
.preview-sidebar__item {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: var(--space-2);
|
||||
color: var(--color-muted);
|
||||
border-radius: var(--radius-sm);
|
||||
}
|
||||
.preview-nav__link {
|
||||
padding: var(--space-2) var(--space-3);
|
||||
font-size: var(--text-sm);
|
||||
}
|
||||
.preview-nav__link--active,
|
||||
.preview-sidebar__item--active {
|
||||
color: var(--color-primary);
|
||||
background: color-mix(in srgb, var(--color-primary) 10%, transparent);
|
||||
font-weight: 600;
|
||||
}
|
||||
.preview-sidebar {
|
||||
width: 220px;
|
||||
flex-shrink: 0;
|
||||
padding: var(--space-4) var(--space-3);
|
||||
background: var(--color-surface-sunken);
|
||||
border-right: 1px solid var(--color-border);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: var(--space-1);
|
||||
}
|
||||
.preview-sidebar__section {
|
||||
padding: var(--space-3) var(--space-2) var(--space-1);
|
||||
color: var(--color-muted);
|
||||
font-size: var(--text-xs);
|
||||
font-weight: 700;
|
||||
letter-spacing: 0.07em;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
.preview-sidebar__item {
|
||||
padding: var(--space-2) var(--space-3);
|
||||
font-size: var(--text-sm);
|
||||
}
|
||||
.preview-hero {
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
padding: var(--space-6);
|
||||
border-radius: var(--radius-md);
|
||||
background: linear-gradient(135deg, #155eef, #174ea6);
|
||||
color: var(--color-on-primary);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: var(--space-3);
|
||||
box-shadow: var(--shadow-md);
|
||||
}
|
||||
.preview-hero__mesh {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
opacity: 0.35;
|
||||
background:
|
||||
radial-gradient(60% 80% at 100% 0%, #7aa7ff, transparent 70%),
|
||||
radial-gradient(60% 80% at 0% 100%, #0e3b8e, transparent 70%);
|
||||
}
|
||||
.preview-hero > *:not(.preview-hero__mesh) {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
}
|
||||
.preview-hero__eyebrow {
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.08em;
|
||||
font-size: var(--text-xs);
|
||||
font-weight: 700;
|
||||
opacity: 0.85;
|
||||
}
|
||||
.preview-hero__title {
|
||||
font-size: var(--text-2xl);
|
||||
font-weight: 700;
|
||||
max-width: 28ch;
|
||||
}
|
||||
.preview-hero__subtitle {
|
||||
max-width: 62ch;
|
||||
opacity: 0.9;
|
||||
}
|
||||
.preview-hero__actions,
|
||||
.preview-action-bar {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: var(--space-2);
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
.preview-kpi-row {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
|
||||
gap: var(--space-3);
|
||||
}
|
||||
.preview-kpi,
|
||||
.preview-card,
|
||||
.preview-form,
|
||||
.preview-empty,
|
||||
.preview-table-wrap {
|
||||
background: var(--color-surface-raised);
|
||||
border: 1px solid var(--color-border);
|
||||
border-radius: var(--radius-md);
|
||||
box-shadow: var(--shadow-sm);
|
||||
}
|
||||
.preview-kpi {
|
||||
padding: var(--space-4);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: var(--space-2);
|
||||
}
|
||||
.preview-kpi__label {
|
||||
color: var(--color-muted);
|
||||
font-size: var(--text-xs);
|
||||
font-weight: 700;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.05em;
|
||||
}
|
||||
.preview-kpi__value {
|
||||
font-size: var(--text-xl);
|
||||
font-weight: 700;
|
||||
}
|
||||
.preview-kpi__delta {
|
||||
color: var(--color-muted);
|
||||
font-size: var(--text-xs);
|
||||
}
|
||||
.preview-kpi__delta--up {
|
||||
color: var(--color-success);
|
||||
font-weight: 600;
|
||||
}
|
||||
.preview-section-title {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: baseline;
|
||||
gap: var(--space-3);
|
||||
}
|
||||
.preview-section-title__h {
|
||||
font-size: var(--text-lg);
|
||||
font-weight: 700;
|
||||
}
|
||||
.preview-section-title__hint {
|
||||
color: var(--color-muted);
|
||||
font-size: var(--text-xs);
|
||||
}
|
||||
.preview-card-list {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: var(--space-3);
|
||||
}
|
||||
.preview-card-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
|
||||
gap: var(--space-4);
|
||||
}
|
||||
.preview-card {
|
||||
padding: var(--space-4);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: var(--space-2);
|
||||
transition:
|
||||
transform 160ms ease,
|
||||
box-shadow 160ms ease;
|
||||
}
|
||||
.preview-card:hover {
|
||||
transform: translateY(-2px);
|
||||
box-shadow: var(--shadow-md);
|
||||
}
|
||||
.preview-card__title {
|
||||
font-weight: 600;
|
||||
}
|
||||
.preview-card__body,
|
||||
.preview-card__meta {
|
||||
margin: 0;
|
||||
color: var(--color-muted);
|
||||
font-size: var(--text-sm);
|
||||
}
|
||||
.preview-card__meta {
|
||||
font-size: var(--text-xs);
|
||||
}
|
||||
.preview-badge {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: var(--space-1);
|
||||
padding: 2px var(--space-2);
|
||||
border-radius: var(--radius-pill);
|
||||
background: color-mix(in srgb, var(--color-primary) 12%, transparent);
|
||||
color: var(--color-primary);
|
||||
font-size: var(--text-xs);
|
||||
font-weight: 600;
|
||||
}
|
||||
.preview-badge--success {
|
||||
background: #e7f6ec;
|
||||
color: var(--color-success);
|
||||
}
|
||||
.preview-badge--warning {
|
||||
background: #fff4e5;
|
||||
color: var(--color-warning);
|
||||
}
|
||||
.preview-badge--danger {
|
||||
background: #feeceb;
|
||||
color: var(--color-danger);
|
||||
}
|
||||
.preview-badge__dot {
|
||||
width: 6px;
|
||||
height: 6px;
|
||||
border-radius: 50%;
|
||||
background: currentColor;
|
||||
}
|
||||
.preview-form {
|
||||
padding: var(--space-5);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: var(--space-4);
|
||||
}
|
||||
.preview-form__field {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: var(--space-1);
|
||||
}
|
||||
.preview-form__label {
|
||||
font-size: var(--text-sm);
|
||||
font-weight: 600;
|
||||
}
|
||||
.preview-form__hint {
|
||||
color: var(--color-muted);
|
||||
font-size: var(--text-xs);
|
||||
}
|
||||
.preview-form__input,
|
||||
.preview-form__textarea,
|
||||
.preview-form__select {
|
||||
padding: var(--space-2) var(--space-3);
|
||||
border: 1px solid var(--color-border);
|
||||
border-radius: var(--radius-sm);
|
||||
background: var(--color-surface);
|
||||
color: var(--color-text);
|
||||
font: inherit;
|
||||
}
|
||||
.preview-form__textarea {
|
||||
min-height: 96px;
|
||||
resize: vertical;
|
||||
}
|
||||
.preview-form__actions {
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
gap: var(--space-2);
|
||||
}
|
||||
.preview-btn {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: var(--space-2);
|
||||
padding: var(--space-2) var(--space-4);
|
||||
border: 1px solid transparent;
|
||||
border-radius: var(--radius-sm);
|
||||
font: inherit;
|
||||
font-size: var(--text-sm);
|
||||
font-weight: 600;
|
||||
}
|
||||
.preview-btn--primary {
|
||||
background: var(--color-primary);
|
||||
color: var(--color-on-primary);
|
||||
box-shadow: var(--shadow-sm);
|
||||
}
|
||||
.preview-btn--secondary {
|
||||
background: var(--color-surface);
|
||||
color: var(--color-text);
|
||||
border-color: var(--color-border);
|
||||
}
|
||||
.preview-btn--ghost {
|
||||
background: transparent;
|
||||
color: var(--color-text);
|
||||
}
|
||||
.preview-table-wrap {
|
||||
overflow: hidden;
|
||||
}
|
||||
.preview-table {
|
||||
width: 100%;
|
||||
border-collapse: collapse;
|
||||
}
|
||||
.preview-table th,
|
||||
.preview-table td {
|
||||
text-align: left;
|
||||
padding: var(--space-3);
|
||||
border-bottom: 1px solid var(--color-border);
|
||||
font-size: var(--text-sm);
|
||||
}
|
||||
.preview-table th {
|
||||
background: var(--color-surface-sunken);
|
||||
color: var(--color-muted);
|
||||
font-size: var(--text-xs);
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.04em;
|
||||
}
|
||||
.preview-table tr:last-child td {
|
||||
border-bottom: 0;
|
||||
}
|
||||
.preview-action-bar {
|
||||
justify-content: flex-end;
|
||||
padding-top: var(--space-3);
|
||||
border-top: 1px solid var(--color-border);
|
||||
}
|
||||
.preview-tabs {
|
||||
display: flex;
|
||||
gap: var(--space-1);
|
||||
border-bottom: 1px solid var(--color-border);
|
||||
}
|
||||
.preview-tabs__tab {
|
||||
padding: var(--space-2) var(--space-4);
|
||||
color: var(--color-muted);
|
||||
font-size: var(--text-sm);
|
||||
}
|
||||
.preview-tabs__tab--active {
|
||||
color: var(--color-primary);
|
||||
border-bottom: 2px solid var(--color-primary);
|
||||
font-weight: 600;
|
||||
}
|
||||
.preview-empty {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
gap: var(--space-3);
|
||||
padding: var(--space-7) var(--space-4);
|
||||
text-align: center;
|
||||
}
|
||||
.preview-empty__icon {
|
||||
width: 58px;
|
||||
height: 58px;
|
||||
display: grid;
|
||||
place-items: center;
|
||||
border-radius: var(--radius-pill);
|
||||
background: #e6eeff;
|
||||
color: var(--color-primary);
|
||||
}
|
||||
.preview-empty__title {
|
||||
font-weight: 700;
|
||||
}
|
||||
.preview-empty__body {
|
||||
max-width: 40ch;
|
||||
color: var(--color-muted);
|
||||
font-size: var(--text-sm);
|
||||
}
|
||||
.preview-error {
|
||||
display: flex;
|
||||
gap: var(--space-3);
|
||||
padding: var(--space-4);
|
||||
border: 1px solid #f4b8b4;
|
||||
border-radius: var(--radius-md);
|
||||
background: #fff4f3;
|
||||
}
|
||||
.preview-error__icon {
|
||||
color: var(--color-danger);
|
||||
}
|
||||
.preview-error__body {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: var(--space-1);
|
||||
}
|
||||
.preview-error__title {
|
||||
font-size: var(--text-sm);
|
||||
font-weight: 700;
|
||||
}
|
||||
.preview-error__text {
|
||||
color: var(--color-muted);
|
||||
font-size: var(--text-sm);
|
||||
}
|
||||
.preview-footer {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
padding: var(--space-3) var(--space-6);
|
||||
color: var(--color-muted);
|
||||
font-size: var(--text-xs);
|
||||
border-top: 1px solid var(--color-border);
|
||||
}
|
||||
.preview-icon {
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
flex-shrink: 0;
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
stroke: currentColor;
|
||||
fill: none;
|
||||
}
|
||||
.preview-icon--sm {
|
||||
width: 14px;
|
||||
height: 14px;
|
||||
}
|
||||
.preview-icon--lg {
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
}
|
||||
.preview-avatar {
|
||||
width: 34px;
|
||||
height: 34px;
|
||||
border-radius: 50%;
|
||||
display: grid;
|
||||
place-items: center;
|
||||
color: var(--color-primary);
|
||||
background: #e6eeff;
|
||||
font-size: var(--text-xs);
|
||||
font-weight: 700;
|
||||
}
|
||||
.preview-skeleton {
|
||||
background: linear-gradient(90deg, #e8edf4 25%, #f7f9fc 37%, #e8edf4 63%);
|
||||
background-size: 400% 100%;
|
||||
border-radius: var(--radius-sm);
|
||||
animation: preview-shimmer 1.4s ease infinite;
|
||||
}
|
||||
.preview-skeleton--line {
|
||||
height: 12px;
|
||||
margin-bottom: var(--space-2);
|
||||
}
|
||||
.preview-skeleton--title {
|
||||
height: 18px;
|
||||
width: 40%;
|
||||
margin-bottom: var(--space-3);
|
||||
}
|
||||
.preview-skeleton--block {
|
||||
height: 96px;
|
||||
}
|
||||
@keyframes preview-shimmer {
|
||||
0% {
|
||||
background-position: 100% 0;
|
||||
}
|
||||
100% {
|
||||
background-position: 0 0;
|
||||
}
|
||||
}
|
||||
@media (max-width: 760px) {
|
||||
.preview-sidebar {
|
||||
display: none;
|
||||
}
|
||||
.preview-main {
|
||||
padding: var(--space-4);
|
||||
}
|
||||
.preview-nav {
|
||||
overflow-x: auto;
|
||||
padding: var(--space-2) var(--space-4);
|
||||
}
|
||||
.preview-split,
|
||||
.preview-two-column {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
.preview-header {
|
||||
padding: var(--space-3) var(--space-4);
|
||||
}
|
||||
.preview-table-wrap {
|
||||
overflow-x: auto;
|
||||
}
|
||||
}
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
.preview-card,
|
||||
.preview-skeleton {
|
||||
transition: none;
|
||||
animation: none;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user