feat: enhance note creation and navigation UX
- Added note creation event handlers to sync selection, scrolling and focus across components - Improved context menu styling with better opacity and z-index handling - Updated mobile layout to hide search input on larger screens - Fixed focus timing issues in move-note-to-folder component - Added URL state management for newly created notes - Removed unused archived note files - Added proper note ID tracking and scroll-into-view behavior - Enhanced error
This commit is contained in:
@@ -31,6 +31,8 @@
|
||||
(parametersOpened)="setView('parameters')"
|
||||
(testsPanelRequested)="setView('tests-panel')"
|
||||
(helpPageRequested)="openHelpPage()"
|
||||
(noteCreated)="onNoteCreated($event)"
|
||||
(noteCreatedAndSelected)="onNoteCreatedAndSelected($event)"
|
||||
></app-shell-nimbus-layout>
|
||||
} @else {
|
||||
<main class="relative flex min-h-screen flex-col bg-bg-main text-text-main lg:flex-row lg:h-screen lg:overflow-hidden">
|
||||
@@ -500,7 +502,7 @@
|
||||
}
|
||||
</button>
|
||||
</div>
|
||||
<div class="flex flex-1 items-center gap-3">
|
||||
<div class="flex flex-1 items-center gap-3 lg:hidden">
|
||||
<div class="relative w-full flex-1 min-w-0">
|
||||
<app-search-input-with-assistant
|
||||
[value]="sidebarSearchTerm()"
|
||||
@@ -514,7 +516,7 @@
|
||||
/>
|
||||
</div>
|
||||
<button
|
||||
class="hidden rounded-full border border-border px-3 py-2 text-xs font-semibold uppercase tracking-wide text-text-muted transition hover:bg-bg-muted lg:inline-flex"
|
||||
class="rounded-full border border-border px-3 py-2 text-xs font-semibold uppercase tracking-wide text-text-muted transition hover:bg-bg-muted"
|
||||
(click)="toggleOutline()"
|
||||
[attr.aria-pressed]="isOutlineOpen()"
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user