Git Komut Rehberi & Terminal Asistanı
Sıfırdan Yeni Bir Depo Başlatın:
Mevcut Bir Git Deposu veya Klasörü Gönderin:
Hataları Geri Alma, İptal & Temizlik:
Son commit'i geri al (yapılan değişiklikleri korur):
git reset --soft HEAD~1
Yapılan yerel değişiklikleri iptal et (çalışma ağacını temizler):
git restore .
Takip edilmeyen gereksiz dosyaları sil:
git clean -fd
Değişiklikleri geçici sakla ve geri getir (stash):
git stash git stash pop
Dal (Branch) ve Sürüm Etiketleri:
Yeni dal aç ve geçiş yap:
git checkout -b yeni-ozellik git push -u origin yeni-ozellik
Sürüm etiketi (tag) oluştur ve gönder:
git tag -a v1.0.0 -m "Sürüm 1.0.0" git push origin --tags
fix: ekran okuyucuda tekrarlanan rol adlarini ve menubar ARIA yapisini duzelt
This commit is contained in:
@@ -12414,7 +12414,7 @@ function SecondaryToolbar({
|
||||
</div>
|
||||
</>
|
||||
) : (
|
||||
<div className="sketch-toolbar-ribbon" aria-label="Sketch toolbar">
|
||||
<div className="sketch-toolbar-ribbon" role="toolbar" aria-label="Eskiz Araçları">
|
||||
{sketchActive ? (
|
||||
<>
|
||||
<div className="toolbar-section sketch-create-section">
|
||||
|
||||
@@ -6332,6 +6332,9 @@ export function WorkplaneViewport({
|
||||
<button
|
||||
type="button"
|
||||
className={`lens-fov-btn ${lensMenuOpen ? "active" : ""}`}
|
||||
aria-label="Kamera Lens ve Görüş Açısı"
|
||||
aria-haspopup="menu"
|
||||
aria-expanded={lensMenuOpen}
|
||||
title="Mimari Kamera Lens & Görüş Açısı (24mm, 35mm, 50mm, 85mm)"
|
||||
onClick={() => setLensMenuOpen((prev) => !prev)}
|
||||
style={{ fontSize: "11px", fontWeight: 800, padding: "4px 2px", color: "#38bdf8" }}
|
||||
@@ -6356,6 +6359,8 @@ export function WorkplaneViewport({
|
||||
<button
|
||||
key={lens.fov}
|
||||
type="button"
|
||||
role="menuitemradio"
|
||||
aria-checked={currentFov === lens.fov}
|
||||
onClick={() => setCameraLens(lens.fov)}
|
||||
className={`flex flex-col items-start px-2 py-1.5 rounded-lg text-left transition-colors ${
|
||||
currentFov === lens.fov
|
||||
|
||||
@@ -470,8 +470,8 @@ export function GlobalAccessibilityToolbar({
|
||||
</defs>
|
||||
</svg>
|
||||
|
||||
{/* Sağ Alt Yüzen Erişilebilirlik & Komut Paleti Çubuğu */}
|
||||
<div className="snapcad-floating-a11y-dock" role="region" aria-label="Hızlı Erişilebilirlik ve Komut Çubuğu">
|
||||
{/* Sağ Alt Yüzen Erişilebilirlik & Komut Paleti */}
|
||||
<div className="snapcad-floating-a11y-dock" role="region" aria-label="Hızlı Erişilebilirlik ve Komutlar">
|
||||
<button
|
||||
type="button"
|
||||
className="snapcad-dock-btn command"
|
||||
@@ -644,7 +644,7 @@ export function GlobalAccessibilityToolbar({
|
||||
<X size={17} />
|
||||
</button>
|
||||
</div>
|
||||
<div className="snapcad-command-list" role="listbox" aria-label="Komut Sonuçları">
|
||||
<div className="snapcad-command-list" role="group" aria-label="Komut Sonuçları">
|
||||
{filteredActions.map((act) => (
|
||||
<button
|
||||
key={act.id}
|
||||
|
||||
@@ -1944,7 +1944,7 @@ export default function ClassroomsStudio({
|
||||
{/* Alt Sekmeler (Projeler, Etkinlikler, Roster) */}
|
||||
<div
|
||||
role="tablist"
|
||||
aria-label="Sınıf alt sekmeleri"
|
||||
aria-label="Sınıf Bölümleri"
|
||||
className="flex items-center gap-2 border-b border-slate-200 dark:border-slate-800 pb-2"
|
||||
>
|
||||
<button
|
||||
|
||||
@@ -1033,7 +1033,7 @@ export default function CodeblocksStudio({
|
||||
const v = Number(e.target.value);
|
||||
setPreviewStepLimit(v >= generatedShapes.length ? null : v);
|
||||
}}
|
||||
aria-label="Kod blokları adım adım yürütme sürgüsü"
|
||||
aria-label="Kod blokları adım adım yürütme"
|
||||
/>
|
||||
</label>
|
||||
|
||||
|
||||
@@ -112,10 +112,10 @@ export function EnterprisePrecisionBar({
|
||||
};
|
||||
|
||||
return (
|
||||
<footer
|
||||
<div
|
||||
className={`enterprise-precision-bar ${className}`}
|
||||
role="region"
|
||||
aria-label="Hassas Çizim ve Ölçü Kutusu (Measurements VCB)"
|
||||
aria-label="Hassas Çizim ve Ölçü Girişi"
|
||||
>
|
||||
{/* 1. Sol Kısım: Araç Modu, Canlı Eğitmen İpucu ve Yüzey Rozeti */}
|
||||
<div className="precision-group tools-group">
|
||||
@@ -287,6 +287,6 @@ export function EnterprisePrecisionBar({
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
@@ -119,7 +119,7 @@ export function EnterpriseTopBar({
|
||||
};
|
||||
|
||||
return (
|
||||
<header className="enterprise-topbar" role="banner" aria-label="SnapCAD Studio Başlık Çubuğu">
|
||||
<header className="enterprise-topbar" role="banner" aria-label="SnapCAD Studio Üst Alanı">
|
||||
{/* 1. Sol: Marka ve Proje Başlığı */}
|
||||
<div className="topbar-section left-section">
|
||||
{onBackToDashboard ? (
|
||||
@@ -188,9 +188,9 @@ export function EnterpriseTopBar({
|
||||
) : null}
|
||||
</div>
|
||||
|
||||
{/* 2. Orta: Stüdyo Değiştirici Sekmeler (Studio Switcher Pills) */}
|
||||
{/* 2. Orta: Stüdyo Değiştirici (Studio Switcher Pills) */}
|
||||
<nav className="topbar-section center-section" aria-label="SnapCAD Studio Stüdyoları">
|
||||
<div className="studio-switcher-pills" role="tablist">
|
||||
<div className="studio-switcher-pills" role="tablist" aria-label="Stüdyolar">
|
||||
<button
|
||||
type="button"
|
||||
role="tab"
|
||||
|
||||
@@ -44,7 +44,7 @@ export function PlatformFooter({ onNavigateSection, className = "" }: PlatformFo
|
||||
};
|
||||
|
||||
return (
|
||||
<footer className={`snapcad-platform-footer ${className}`} role="contentinfo" aria-label="SnapCAD Studio Kurumsal Altbilgi">
|
||||
<footer className={`snapcad-platform-footer ${className}`} role="contentinfo" aria-label="SnapCAD Studio Kurumsal">
|
||||
<div className="footer-inner-container">
|
||||
{/* 1. Sütun: Marka & Kurumsal Tanım */}
|
||||
<div className="footer-col brand-col">
|
||||
|
||||
@@ -302,7 +302,7 @@ export function SketchUpDefaultTray({
|
||||
<aside
|
||||
className="sketchup-default-tray"
|
||||
role="complementary"
|
||||
aria-label="Varsayılan Tepsi (Default Tray)"
|
||||
aria-label="Varsayılan Tepsi"
|
||||
>
|
||||
<div className="tray-top-header">
|
||||
<span className="tray-top-title">Varsayılan Tepsi</span>
|
||||
@@ -521,7 +521,7 @@ export function SketchUpDefaultTray({
|
||||
{/* 3. BİLEŞENLER (YEREL & YAKNET 3B HAVUZ) */}
|
||||
{id === "components" ? (
|
||||
<div className="tray-form-stack">
|
||||
<div className="tray-seg-tabs" role="tablist">
|
||||
<div className="tray-seg-tabs" role="tablist" aria-label="Bileşen Kaynağı">
|
||||
<button
|
||||
type="button"
|
||||
role="tab"
|
||||
|
||||
@@ -408,10 +408,8 @@ export function SketchUpMenuBar(props: SketchUpMenuBarProps) {
|
||||
<div
|
||||
ref={barRef}
|
||||
className="sketchup-menubar"
|
||||
role="menubar"
|
||||
aria-label="Klasik CAD Menü Çubuğu"
|
||||
>
|
||||
<div className="sketchup-menubar-items">
|
||||
<div className="sketchup-menubar-items" role="menubar" aria-label="Klasik CAD">
|
||||
{menus.map((menu, idx) => {
|
||||
const isOpen = openMenuId === menu.id;
|
||||
return (
|
||||
@@ -440,16 +438,18 @@ export function SketchUpMenuBar(props: SketchUpMenuBarProps) {
|
||||
</button>
|
||||
|
||||
{isOpen ? (
|
||||
<div className="sketchup-menu-dropdown" role="menu" aria-label={`${menu.label} alt menüsü`}>
|
||||
{menu.items.map((item, itemIdx) =>
|
||||
item.kind === "separator" ? (
|
||||
<div key={`${menu.id}-sep-${itemIdx}`} className="sketchup-menu-sep" role="separator" />
|
||||
) : (
|
||||
<div className="sketchup-menu-dropdown" role="menu" aria-label={menu.label}>
|
||||
{menu.items.map((item, itemIdx) => {
|
||||
if (item.kind === "separator") {
|
||||
return <div key={`${menu.id}-sep-${itemIdx}`} className="sketchup-menu-sep" role="separator" />;
|
||||
}
|
||||
const isCheckable = typeof item.checked === "boolean";
|
||||
return (
|
||||
<button
|
||||
key={item.id}
|
||||
type="button"
|
||||
role="menuitemcheckbox"
|
||||
aria-checked={Boolean(item.checked)}
|
||||
role={isCheckable ? "menuitemcheckbox" : "menuitem"}
|
||||
aria-checked={isCheckable ? item.checked : undefined}
|
||||
disabled={item.disabled}
|
||||
className={`sketchup-menu-item ${item.checked ? "checked" : ""}`}
|
||||
onClick={() => {
|
||||
@@ -465,8 +465,8 @@ export function SketchUpMenuBar(props: SketchUpMenuBarProps) {
|
||||
<kbd className="sketchup-menu-shortcut">{item.shortcut}</kbd>
|
||||
) : null}
|
||||
</button>
|
||||
),
|
||||
)}
|
||||
);
|
||||
})}
|
||||
</div>
|
||||
) : null}
|
||||
</div>
|
||||
@@ -475,7 +475,7 @@ export function SketchUpMenuBar(props: SketchUpMenuBarProps) {
|
||||
</div>
|
||||
|
||||
{/* Sağ taraf: hızlı görünüm & kısayol profili anahtarları */}
|
||||
<div className="sketchup-menubar-right">
|
||||
<div className="sketchup-menubar-right" role="group" aria-label="Hızlı Panel ve Kısayol Ayarları">
|
||||
<button
|
||||
type="button"
|
||||
className={`sketchup-quick-chip ${prefs.showLeftToolset ? "active" : ""}`}
|
||||
|
||||
@@ -124,7 +124,7 @@ export function SketchUpToolset({
|
||||
<aside
|
||||
className="sketchup-large-toolset"
|
||||
role="toolbar"
|
||||
aria-label="Büyük Araç Seti (Large Tool Set)"
|
||||
aria-label="Büyük Araç Seti"
|
||||
aria-orientation="vertical"
|
||||
>
|
||||
{TOOL_GROUPS.map((group) => (
|
||||
@@ -199,6 +199,8 @@ export function SketchUpToolset({
|
||||
className={`sketchup-mini-pill ${visualStyle === "wireframe" ? "active" : ""}`}
|
||||
onClick={() => onSelectVisualStyle("wireframe")}
|
||||
title="Tel Kafes (Wireframe)"
|
||||
aria-label="Tel Kafes"
|
||||
aria-pressed={visualStyle === "wireframe"}
|
||||
>
|
||||
TEL
|
||||
</button>
|
||||
@@ -207,6 +209,8 @@ export function SketchUpToolset({
|
||||
className={`sketchup-mini-pill ${visualStyle === "hidden-line" ? "active" : ""}`}
|
||||
onClick={() => onSelectVisualStyle("hidden-line")}
|
||||
title="Gizli Çizgi (Hidden Line)"
|
||||
aria-label="Gizli Çizgi"
|
||||
aria-pressed={visualStyle === "hidden-line"}
|
||||
>
|
||||
GİZ
|
||||
</button>
|
||||
@@ -215,6 +219,8 @@ export function SketchUpToolset({
|
||||
className={`sketchup-mini-pill ${visualStyle === "shaded" ? "active" : ""}`}
|
||||
onClick={() => onSelectVisualStyle("shaded")}
|
||||
title="Dokulu & Gölgeli (Shaded)"
|
||||
aria-label="Dokulu ve Gölgeli"
|
||||
aria-pressed={visualStyle === "shaded"}
|
||||
>
|
||||
GÖL
|
||||
</button>
|
||||
@@ -223,6 +229,8 @@ export function SketchUpToolset({
|
||||
className={`sketchup-mini-pill ${visualStyle === "monochrome" ? "active" : ""}`}
|
||||
onClick={() => onSelectVisualStyle("monochrome")}
|
||||
title="Monokrom (Monochrome)"
|
||||
aria-label="Monokrom"
|
||||
aria-pressed={visualStyle === "monochrome"}
|
||||
>
|
||||
MON
|
||||
</button>
|
||||
@@ -231,6 +239,7 @@ export function SketchUpToolset({
|
||||
className={`sketchup-mini-pill ${backEdgesEnabled ? "active" : ""}`}
|
||||
onClick={onToggleBackEdges}
|
||||
title="Arka Kenarları Göster/Gizle (Back Edges - K)"
|
||||
aria-label="Arka Kenarlar (K)"
|
||||
aria-pressed={backEdgesEnabled}
|
||||
>
|
||||
<Highlighter size={11} aria-hidden="true" />
|
||||
@@ -240,6 +249,7 @@ export function SketchUpToolset({
|
||||
className={`sketchup-mini-pill ${xRayMode ? "active" : ""}`}
|
||||
onClick={onToggleXRay}
|
||||
title="X-Ray (Röntgen - X)"
|
||||
aria-label="Röntgen Modu (X)"
|
||||
aria-pressed={xRayMode}
|
||||
>
|
||||
<Layers size={11} aria-hidden="true" />
|
||||
|
||||
@@ -510,10 +510,10 @@ export function YakNetCloudBar({
|
||||
</span>
|
||||
</button>
|
||||
|
||||
{/* YakNet Hesabı Menüsü Web Component (<yaknet-account>) */}
|
||||
{/* YakNet Hesabı Web Component (<yaknet-account>) */}
|
||||
<div
|
||||
ref={accountWidgetHostRef}
|
||||
aria-label="YakNet Hesabı ve Ekosistem Menüsü"
|
||||
aria-label="YakNet Hesabı"
|
||||
style={{ display: "flex", alignItems: "center", minHeight: "36px" }}
|
||||
/>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user