Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dynamic Tab Investigation #632

Open
Dammshine opened this issue Apr 4, 2024 · 1 comment
Open

Dynamic Tab Investigation #632

Dammshine opened this issue Apr 4, 2024 · 1 comment
Assignees

Comments

@Dammshine
Copy link
Contributor

https://leetcode.com/problems/maximum-nesting-depth-of-the-parentheses/?envType=daily-question&envId=2024-04-04

Leetcode got a really cool feature, where it alow you to arrange every component's position, adjust, merge tab. We want to support that in our code .

@a-kuchuk
Copy link
Contributor

Resources:

  1. Drag and Drop Libraries:

    • React DnD: A popular library for implementing drag and drop functionality in React applications.
  2. Resizable Components Libraries:

    • react-resizable: A library for implementing resizable components in React applications.
  3. Example: React DnD Example: An example demonstrating how to implement drag and drop functionality using React DnD.

Prototype Design Outline:

  1. Draggable Tabs:

    • Use a library like React DnD
  2. Resizable Tabs:

    • Utilize a library like react-resizable
    • Implement auto resizing via events?
  3. Event Handling:

    • Implement event handlers to capture user interactions such as dragging and resizing.
    • Update the layout and tab positions accordingly in response to these events.
  4. Persistence:

    • The layout should be restored to a default state when the user reloads the page?

@Dammshine Dammshine linked a pull request Sep 11, 2024 that will close this issue
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 a pull request may close this issue.

2 participants