Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
import java.util.UUID;

@RestController
@RequestMapping("/ap1/v1/projects/{projectId}/notes")
@RequestMapping("/api/v1/projects/{projectId}/notes")
Comment thread
MathCunha16 marked this conversation as resolved.
Resolved
public class NoteController implements NoteApi{

private final CreateNoteUseCase createNoteUseCase;
Expand Down
797 changes: 782 additions & 15 deletions frontend/src/components/ProjectDetailView.tsx

Large diffs are not rendered by default.

282 changes: 282 additions & 0 deletions frontend/src/components/TagsManagerModal.module.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,282 @@
.overlay {
position: fixed;
inset: 0;
background-color: rgba(0, 0, 0, 0.75);
backdrop-filter: blur(6px);
display: flex;
align-items: center;
justify-content: center;
z-index: 100;
padding: 1.5rem;
}

.modal {
background-color: var(--color-card);
border: 1px solid var(--color-border);
border-radius: var(--radius);
width: 100%;
max-width: 520px;
max-height: 85vh;
display: flex;
flex-direction: column;
box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
animation: modal-in 0.2s cubic-bezier(0.16, 1, 0.3, 1);
overflow: hidden;
}

@keyframes modal-in {
from {
opacity: 0;
transform: scale(0.95) translateY(10px);
}
to {
opacity: 1;
transform: scale(1) translateY(0);
}
}

.header {
padding: 1.25rem 1.5rem;
border-bottom: 1px solid var(--color-border);
display: flex;
align-items: center;
justify-content: space-between;
}

.title {
font-size: 1.1rem;
font-weight: 700;
font-family: var(--font-mono);
color: var(--color-foreground);
}

.closeBtn {
background: transparent;
border: none;
cursor: pointer;
color: var(--color-muted-foreground);
display: flex;
align-items: center;
justify-content: center;
padding: 0.25rem;
border-radius: var(--radius);
transition: all 0.15s ease;
}

.closeBtn:hover {
background-color: var(--color-secondary);
color: var(--color-foreground);
}

.content {
padding: 1.5rem;
overflow-y: auto;
display: flex;
flex-direction: column;
gap: 1.5rem;
}

/* Create tag form */
.createSection {
background-color: rgba(255, 255, 255, 0.02);
border: 1px solid var(--color-border);
border-radius: var(--radius);
padding: 1rem;
display: flex;
flex-direction: column;
gap: 0.75rem;
}

.sectionLabel {
font-size: 0.7rem;
font-weight: 700;
text-transform: uppercase;
color: var(--color-muted-foreground);
font-family: var(--font-mono);
letter-spacing: 0.05em;
}

.inputGroup {
display: flex;
gap: 0.75rem;
}

.input {
flex: 1;
background-color: var(--color-background);
border: 1px solid var(--color-border);
color: var(--color-foreground);
padding: 0.5rem 0.75rem;
border-radius: var(--radius);
font-size: 0.85rem;
transition: border-color 0.15s ease;
}

.input:focus {
outline: none;
border-color: var(--color-primary);
}

.btnCreate {
padding: 0.5rem 1rem;
font-size: 0.82rem;
font-weight: 600;
background-color: var(--color-primary);
color: var(--color-primary-foreground);
border: 1px solid var(--color-primary);
border-radius: var(--radius);
cursor: pointer;
transition: all 0.15s ease;
}

.btnCreate:hover {
filter: brightness(1.1);
}

.btnCreate:disabled {
opacity: 0.5;
cursor: not-allowed;
}

/* Color palettes */
.colorPalette {
display: flex;
flex-wrap: wrap;
gap: 0.375rem;
}

.colorBtn {
width: 20px;
height: 20px;
border-radius: 50%;
border: 2px solid transparent;
cursor: pointer;
padding: 0;
transition: transform 0.1s ease;
}

.colorBtnActive {
border-color: var(--color-foreground);
transform: scale(1.15);
}

/* Tag list and items */
.listSection {
display: flex;
flex-direction: column;
gap: 0.75rem;
}

.searchBar {
background-color: var(--color-background);
border: 1px solid var(--color-border);
color: var(--color-foreground);
padding: 0.5rem 0.75rem;
border-radius: var(--radius);
font-size: 0.85rem;
margin-bottom: 0.5rem;
width: 100%;
}

.searchBar:focus {
outline: none;
border-color: var(--color-primary);
}

.tagList {
display: flex;
flex-direction: column;
gap: 0.5rem;
max-height: 250px;
overflow-y: auto;
padding-right: 0.25rem;
}

.tagRow {
display: flex;
align-items: center;
justify-content: space-between;
padding: 0.5rem;
border: 1px solid var(--color-border);
border-radius: var(--radius);
background-color: var(--color-card);
transition: border-color 0.15s ease;
}

.tagRow:hover {
border-color: var(--color-muted-foreground);
}

.tagLabel {
display: flex;
align-items: center;
gap: 0.5rem;
}

.tagBadge {
display: flex;
align-items: center;
gap: 0.375rem;
padding: 0.125rem 0.5rem;
border-radius: var(--radius-sm);
font-size: 0.75rem;
font-family: var(--font-mono);
font-weight: 600;
border: 1px solid transparent;
}

.tagActions {
display: flex;
align-items: center;
gap: 0.375rem;
}

.actionBtn {
background: transparent;
border: 1px solid var(--color-border);
border-radius: var(--radius);
width: 24px;
height: 24px;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
color: var(--color-muted-foreground);
transition: all 0.15s ease;
}

.actionBtn:hover {
color: var(--color-foreground);
background-color: var(--color-secondary);
border-color: var(--color-muted-foreground);
}

.actionBtnDanger:hover {
background-color: var(--color-destructive);
color: var(--color-destructive-foreground);
border-color: var(--color-destructive);
}

/* Edit Tag inline form */
.editForm {
display: flex;
align-items: center;
gap: 0.5rem;
width: 100%;
}

.inlineColors {
display: flex;
gap: 0.25rem;
margin-right: 0.5rem;
}

.noTags {
text-align: center;
padding: 1.5rem;
font-size: 0.75rem;
color: var(--color-muted-foreground);
font-family: var(--font-mono);
border: 1px dashed var(--color-border);
border-radius: var(--radius);
}
Loading