Skip to content

fix: drag and drop usability, removing the flick view#61

Merged
luizhcastro merged 1 commit intostagingfrom
fix/board-drag-and-drop
Feb 6, 2026
Merged

fix: drag and drop usability, removing the flick view#61
luizhcastro merged 1 commit intostagingfrom
fix/board-drag-and-drop

Conversation

@luizhcastro
Copy link
Member

No description provided.

@luizhcastro luizhcastro self-assigned this Feb 6, 2026
@luizhcastro luizhcastro merged commit fc5ab34 into staging Feb 6, 2026
luizhcastro added a commit that referenced this pull request Feb 6, 2026
* Feat/add new app configs and fix mobile view (#51)

* feat(web): add site config and meta theme colors

- Add siteConfig with name, url, ogImage, description, links, authors, keywords
- Add META_THEME_COLORS for light/dark theme (white and zinc-950)
- Centralize app metadata for reuse in layout, OG and manifest

* feat(web): add fonts utility with Geist, Inter and RTL support

- Export fontVariables combining Geist, Geist Mono, Inter
- Add Noto Sans Arabic and Noto Sans Hebrew for RTL languages
- Use cn() to merge CSS variables for layout consumption

* chore(web): add favicons and PWA assets, remove app favicon

- Add favicon.ico, favicon-16x16/32x32, apple-touch-icon, android-chrome icons
- Add site.webmanifest with theme_color and display standalone
- Remove favicon from app dir in favor of public/

* feat(web): wire root layout with config, fonts and metadata

- Use siteConfig for title, description, keywords, authors, openGraph, twitter
- Set metadataBase, icons and manifest from config
- Apply fontVariables on html and remove inline font setup
- Add theme-color meta and inline script for flash-free theme/layout init
- Rely on public favicon and manifest URLs

* feat(web): add dynamic Open Graph image route

- Add GET handler in app/og/ for OG image via next/og ImageResponse
- Load Geist and Geist Mono from base64 JSON for ImageResponse
- Render 1200x628 layout with Blaboard title and black background
- Add note for contributors to improve layout/design

* refactor(web): theme-provider defaults and providers formatting

- Set default props and enableColorScheme in ThemeProvider
- Normalize indentation in providers and theme-provider

* feat(theme): keep meta theme-color in sync with theme changes

Introduce useMetaColor hook to update the browser theme color dynamically
when switching between light and dark modes, fixing mobile UI color
mismatch after theme toggles.

* chore(biome): ignore noDangerouslySetInnerHtml for theme bootstrap
script

Adds a Biome lint ignore for `dangerouslySetInnerHTML` in the layout
theme
bootstrap script. This is required to prevent theme flash before
hydration,
ensuring the correct theme and `meta[name="theme-color"]` are applied on
the
first paint without affecting SEO or hydration stability.

* refactor: use NEXT_PUBLIC_SERVER_URL for site URL and ogImage

* refactor: switch frontend to NEXT_PUBLIC_FRONTEND_URL

* refactor: add NEXT_PUBLIC_FRONTEND_URL to web env sample

* feat: add theme options dropdown to ModeToggle

* refacror: remove layout class from localStorage

* refactor: clean up comments in route.tsx

Removed contributor notes and documentation comments.

* Refact/side bar (#59)

* refactor: move Sidebar to global authenticated layout

- Create (authenticated) route group with shared layout
- Move Sidebar from components/board to components/layout
- Wrap authenticated pages with OrgGuard in layout
- Simplify TaskBoard and TaskDetailsPage by removing Sidebar
- Delete old (board) and task directories

* refactor(sidebar): update styles, icons and typography

- Update Phosphor icons to use new naming convention
- Change default font to Onest
- Adjust sidebar colors and dark mode theme
- Improve button and navigation item styling
- Add keyboard shortcut visual styling

* feat(sidebar): add responsive layout with mobile drawer

- Add SidebarProvider, SidebarTrigger, and useSidebar for mobile state
- Implement mobile drawer with overlay and slide animation
- Restructure sidebar with fixed header/footer and scrollable content
- Add mobile header with hamburger menu trigger
- Adjust paddings and gaps to match Figma design (6px icon-text gap)
- Update icon imports to use new naming convention

* feat(sidebar): add organization logo support

- Add organization logo display using Next.js Image component
- Show first letter fallback when no logo is available
- Truncate long organization names
- Update icon imports to use new naming convention
- Adjust paddings and gaps to match design

* style(sidebar): add subtle hover effects with rounded corners

- Add rounded-lg/xl hover backgrounds to all interactive items
- Add small margin (px-1.5) from sidebar edges for hover effect
- Consistent hover styling across all sections
- Remove negative margins approach for cleaner implementation

* feat(sidebar): add collapsible sections and improve interactions

- Add collapsible Projects and Teams sections with caret icons
- Add active state background for current page navigation
- Change footer links to hyperlink style with underline on hover
- Reduce spacing between sections

* feat(sidebar): add smooth animations and functional pin system

- Add functional pin toggle for Projects and Teams items
- Pinned items appear at top, others sorted alphabetically
- Add smooth expand/collapse animations using CSS Grid
- Improve dropdown menu animations with custom easing
- Use Linear-style cubic-bezier curve for fluid motion

* feat(sidebar): add drag and drop for section reordering

- Add framer-motion dependency for animations
- Implement Reorder.Group for Projects and Teams sections
- Add drag handle icon that appears on hover
- Sections animate smoothly when reordered

* feat(sidebar): add command palette with cmdk

- Add cmdk library for command menu functionality
- Create CommandPalette component with search, pages, projects, teams and actions
- Connect search button in sidebar to open command palette
- Support keyboard shortcuts (⌘K, Ctrl+/) to toggle
- Add smooth animations with Framer Motion
- Add small gap between nav items to prevent hover overlap

* style(sidebar): improve organization dropdown UX

- Replace trash icon with edit icon (PencilSimpleIcon)
- Add handleEditOrg to redirect to organization settings
- Reduce dropdown item padding for smaller hover area
- Add gap between dropdown items to prevent hover overlap
- Adjust avatar size and border radius

* style(sidebar): add cursor-pointer and improve drag UX

- Add cursor-pointer to all clickable elements
- Add solid background to dragged sections to prevent transparency
- Reduce footer button clickable area to content only (w-fit)
- Update dropdown menu items to use cursor-pointer

* Feat/ws impl (#60)

* feat(ws): add authenticated websocket plugin with org scoping and ping/pong

Validate Better Auth session on connect; scope clients per organization; add ping/pong handling and message size limit. Let Elysia handle send errors.

* feat(ws): implement robust websocket client with backoff, heartbeat, and error callback

Add exponential backoff with jitter, heartbeat ping/pong, message size validation, and replace console logs with onError callback. Integrate with board UI for emitting events on mutations.

* refactor(board): add mutation callbacks and types for websocket integration

Expose optional onSuccess callbacks in task/column mutations and export useWebSocket from hooks index; add types for websocket messages.

* fix: drag and drop usability, removing the flick view (#61)

---------

Co-authored-by: Jônattas Moraes <135550080+jonattasmoraes@users.noreply.github.com>
Co-authored-by: Daniel Rody <113403319+DaNnielRody@users.noreply.github.com>
@luizhcastro luizhcastro deleted the fix/board-drag-and-drop branch February 6, 2026 02:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant