forked from retoor/devplacepy
feat: enforce hard test-tier requirement across all DevPlace workflow agents and feature-builder docs
Update the feature-builder agent prompt, test-maintainer agent, and all four workflow JS files (devii-tool, endpoint, feature, job-service) to codify the DevPlace test standard as a non-optional project requirement: one test file per endpoint, directory tree mirroring the URL/source path, split into three tiers (unit, api, e2e). Add explicit Test phases to devii-tool, endpoint, feature, and job-service workflows, and embed tier-specific test instructions (path mapping, fixture choice, coverage scope) directly in each workflow's meta description and TESTS constant.
This commit is contained in:
@@ -900,7 +900,7 @@ body:has(.page-messages) {
|
||||
}
|
||||
|
||||
.page:has(.page-messages) {
|
||||
padding-top: 0;
|
||||
padding-top: var(--nav-height);
|
||||
padding-bottom: 0;
|
||||
flex: 1 1 auto;
|
||||
min-height: 0;
|
||||
|
||||
@@ -143,6 +143,14 @@ devii-terminal.devii-state-fullscreen .devii-window {
|
||||
resize: none;
|
||||
}
|
||||
|
||||
/* On-screen keyboard inset: devii-terminal.js sets inline top/height from
|
||||
visualViewport so the window ends exactly at the keyboard top and the
|
||||
input row stays reachable. Drop the fixed bottom/height so the inline wins. */
|
||||
devii-terminal.devii-keyboard-visible.devii-state-fullscreen .devii-window {
|
||||
bottom: auto;
|
||||
transition: none;
|
||||
}
|
||||
|
||||
/* Title bar */
|
||||
devii-terminal .devii-titlebar {
|
||||
display: flex;
|
||||
@@ -493,6 +501,13 @@ devii-terminal.devii-mobile .devii-winctl button[data-win="fullscreen"] {
|
||||
height: 30px;
|
||||
font-size: 16px;
|
||||
}
|
||||
devii-terminal .devii-inputrow {
|
||||
min-height: 44px;
|
||||
}
|
||||
devii-terminal .devii-input {
|
||||
min-height: 44px;
|
||||
font-size: 16px;
|
||||
}
|
||||
}
|
||||
|
||||
/* Devii client-side tutorial overlays (attached to document.body) */
|
||||
|
||||
@@ -496,6 +496,10 @@ textarea.param-input {
|
||||
.code-copy-btn {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.content-copy-btn {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
/* ---- Unified code blocks: highlight + line numbers + copy (widget tabs, response, prose) ---- */
|
||||
|
||||
@@ -95,6 +95,15 @@
|
||||
resize: none;
|
||||
}
|
||||
|
||||
/* On-screen keyboard inset: visualViewport sets inline top/height from
|
||||
FloatingWindow.js so the window shrinks above the keyboard instead of
|
||||
being pushed off-screen. Drop the fixed bottom/height so the inline wins. */
|
||||
.fw-host.fw-state-fullscreen.fw-keyboard-visible .fw-window,
|
||||
.fw-host.fw-state-maximized.fw-keyboard-visible .fw-window {
|
||||
bottom: auto;
|
||||
transition: none;
|
||||
}
|
||||
|
||||
.fw-host .fw-titlebar {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
@@ -14,6 +14,12 @@
|
||||
font-size: 1.5rem;
|
||||
font-weight: 700;
|
||||
}
|
||||
.issues-header-actions {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
.issues-filters {
|
||||
display: flex;
|
||||
gap: 0.5rem;
|
||||
|
||||
@@ -399,20 +399,20 @@
|
||||
}
|
||||
}
|
||||
|
||||
.landing-bots-intro {
|
||||
.landing-help-intro {
|
||||
max-width: 760px;
|
||||
margin: 0 0 1.5rem;
|
||||
color: var(--text-secondary);
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
.landing-bots-grid {
|
||||
.landing-help-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
|
||||
gap: 1rem;
|
||||
}
|
||||
|
||||
.landing-bot-card {
|
||||
.landing-help-card {
|
||||
background: var(--bg-card);
|
||||
border: 1px solid var(--border);
|
||||
border-radius: var(--radius-xl);
|
||||
@@ -422,34 +422,87 @@
|
||||
gap: 0.5rem;
|
||||
}
|
||||
|
||||
.landing-bot-card:hover {
|
||||
.landing-help-card:hover {
|
||||
transform: translateY(-2px);
|
||||
box-shadow: var(--shadow-lg);
|
||||
}
|
||||
|
||||
.landing-bot-card-lead {
|
||||
.landing-help-card-lead {
|
||||
border-color: var(--accent);
|
||||
}
|
||||
|
||||
.landing-bot-icon {
|
||||
.landing-help-icon {
|
||||
font-size: 1.75rem;
|
||||
}
|
||||
|
||||
.landing-bot-card h3 {
|
||||
.landing-help-card h3 {
|
||||
margin: 0;
|
||||
color: var(--text-primary);
|
||||
font-size: 1.05rem;
|
||||
}
|
||||
|
||||
.landing-bot-card p {
|
||||
.landing-help-card p {
|
||||
margin: 0;
|
||||
color: var(--text-secondary);
|
||||
font-size: 0.9rem;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.landing-help-link {
|
||||
margin-top: auto;
|
||||
color: var(--accent);
|
||||
font-size: 0.9rem;
|
||||
font-weight: 600;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.landing-help-link:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.landing-help-links {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 1rem;
|
||||
margin-top: auto;
|
||||
}
|
||||
|
||||
.landing-help-links a {
|
||||
color: var(--accent);
|
||||
font-size: 0.9rem;
|
||||
font-weight: 600;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.landing-help-links a:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.landing-help-cta {
|
||||
margin-top: auto;
|
||||
align-self: flex-start;
|
||||
background: var(--accent);
|
||||
color: var(--white);
|
||||
border: none;
|
||||
border-radius: var(--radius-lg);
|
||||
padding: 0.6rem 1.1rem;
|
||||
font-size: 0.95rem;
|
||||
font-weight: 600;
|
||||
cursor: pointer;
|
||||
transition: filter 0.15s ease;
|
||||
}
|
||||
|
||||
.landing-help-cta:hover {
|
||||
filter: brightness(1.08);
|
||||
}
|
||||
|
||||
@media (max-width: 480px) {
|
||||
.landing-bots-grid {
|
||||
.landing-help-grid {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.landing-help-cta {
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -120,6 +120,36 @@
|
||||
overflow-x: auto;
|
||||
}
|
||||
|
||||
dp-content.rendered-content {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.content-copy-btn {
|
||||
position: absolute;
|
||||
top: 0.25rem;
|
||||
right: 0.25rem;
|
||||
z-index: 2;
|
||||
padding: 0.2rem 0.6rem;
|
||||
font-size: 0.75rem;
|
||||
color: var(--text-secondary);
|
||||
background: var(--bg-card);
|
||||
border: 1px solid var(--border-light);
|
||||
border-radius: var(--radius);
|
||||
cursor: pointer;
|
||||
opacity: 0;
|
||||
transition: opacity 0.15s ease;
|
||||
}
|
||||
|
||||
dp-content:hover .content-copy-btn,
|
||||
.content-copy-btn:focus {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.content-copy-btn:hover {
|
||||
color: var(--white);
|
||||
border-color: var(--accent);
|
||||
}
|
||||
|
||||
.embed-youtube {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
min-height: 0;
|
||||
display: flex;
|
||||
width: 100%;
|
||||
--kb-inset: 0px;
|
||||
}
|
||||
|
||||
.messages-layout {
|
||||
@@ -292,11 +293,16 @@
|
||||
|
||||
.messages-input-area {
|
||||
padding: 0.75rem 1rem;
|
||||
padding-bottom: calc(0.75rem + var(--kb-inset) + env(safe-area-inset-bottom));
|
||||
padding-left: calc(1rem + env(safe-area-inset-left));
|
||||
padding-right: calc(1rem + env(safe-area-inset-right));
|
||||
border-top: 1px solid var(--border);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
flex-shrink: 0;
|
||||
min-height: 56px;
|
||||
background: var(--bg-card);
|
||||
}
|
||||
|
||||
.messages-input-area input[type="text"] {
|
||||
@@ -403,13 +409,23 @@
|
||||
.messages-layout {
|
||||
grid-template-columns: 1fr;
|
||||
min-height: 0;
|
||||
height: 100%;
|
||||
border-radius: 0;
|
||||
border-left: none;
|
||||
border-right: none;
|
||||
}
|
||||
.messages-list {
|
||||
display: flex;
|
||||
min-height: 0;
|
||||
height: 100%;
|
||||
}
|
||||
.messages-list.hide {
|
||||
display: none;
|
||||
}
|
||||
.messages-main {
|
||||
min-height: 0;
|
||||
height: 100%;
|
||||
}
|
||||
.messages-main.hide {
|
||||
display: none;
|
||||
}
|
||||
@@ -418,6 +434,9 @@
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
.messages-input-area input[type="text"] {
|
||||
font-size: 16px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 360px) {
|
||||
@@ -427,6 +446,9 @@
|
||||
|
||||
.messages-input-area {
|
||||
padding: 0.5rem 0.75rem;
|
||||
padding-bottom: calc(0.5rem + var(--kb-inset) + env(safe-area-inset-bottom));
|
||||
padding-left: calc(0.75rem + env(safe-area-inset-left));
|
||||
padding-right: calc(0.75rem + env(safe-area-inset-right));
|
||||
}
|
||||
|
||||
.message-bubble {
|
||||
|
||||
@@ -0,0 +1,82 @@
|
||||
/* retoor <retoor@molodetz.nl> */
|
||||
|
||||
.planning-header {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
justify-content: space-between;
|
||||
gap: 1rem;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.planning-subtitle {
|
||||
margin: 0.25rem 0 0;
|
||||
color: var(--text-secondary);
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
|
||||
.planning-status {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.75rem;
|
||||
padding: 1rem 1.25rem;
|
||||
margin: 1.5rem 0;
|
||||
color: var(--text-secondary);
|
||||
background: var(--bg-card);
|
||||
border: 1px solid var(--border);
|
||||
border-radius: var(--radius-lg);
|
||||
}
|
||||
|
||||
.planning-spinner {
|
||||
width: 1.1rem;
|
||||
height: 1.1rem;
|
||||
border: 2px solid var(--border-light);
|
||||
border-top-color: var(--accent);
|
||||
border-radius: 50%;
|
||||
animation: planning-spin 0.8s linear infinite;
|
||||
}
|
||||
|
||||
@keyframes planning-spin {
|
||||
to {
|
||||
transform: rotate(360deg);
|
||||
}
|
||||
}
|
||||
|
||||
.planning-result {
|
||||
margin: 1.5rem 0;
|
||||
}
|
||||
|
||||
.planning-actions {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 1rem;
|
||||
flex-wrap: wrap;
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
.planning-hint {
|
||||
color: var(--text-secondary);
|
||||
font-size: 0.85rem;
|
||||
}
|
||||
|
||||
.planning-report {
|
||||
display: block;
|
||||
padding: 1.5rem;
|
||||
background: var(--bg-card);
|
||||
border: 1px solid var(--border);
|
||||
border-radius: var(--radius-lg);
|
||||
}
|
||||
|
||||
.planning-empty {
|
||||
margin: 1.5rem 0;
|
||||
}
|
||||
|
||||
@media (max-width: 600px) {
|
||||
.planning-header {
|
||||
flex-direction: column;
|
||||
align-items: stretch;
|
||||
}
|
||||
|
||||
.planning-report {
|
||||
padding: 1rem;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user